Global warming and environmental changes due to increased greenhouse gas (GHG) concentrations, especially CO2, are significant concerns. GHGs include methane, nitrous oxides, CO2, ozone, and water vapor. CO2 emissions result from various sources, such as fossil fuel combustion, soil erosion, deforestation, and agriculture [1]. The global challenge posed by rising carbon dioxide (CO2) emissions has spurred extensive research to understand their implications for climate and the environment. The Climate Action Note from the United Nations Environmental Program (UNEP) has highlighted that the global community is currently facing a critical climate emergency [2]. In the context of Pakistan, a country facing unique challenges due to CO2 emissions, such research becomes particularly relevant. The anthropogenic sources of CO2 emissions in Pakistan, stemming from rapid urbanization, industrialization, and agricultural activities, have the potential to badly impact local and global climate patterns [3]. According to the report of Eckstein et al. [4], Pakistan has experienced significant climate-related challenges over the past two decades. With a Climate Risk Index (CRI) score of 30.17, Pakistan is among the top 10 countries most affected by climate events from 1998 to 2017. In this context, the Government of Pakistan has implemented a number of initiatives aimed at reducing CO2 emissions within the country. Pakistan, recognizing the pivotal role of natural elements in shaping and abating climatic challenges, has introduced robust strategies for the restoration of natural capital.
In literature, various methodologies and approaches have been explored to quantify and predict CO2 emissions, contributing to the understanding of current emission trends in different sectors. Zhu et al. [5] reported a comprehensive selection of carbon emission factors for building materials to estimate retaining soil carbon emissions. Wu et al. [6] introduced a computational method in the context of electricity and fossil fuels to gauge carbon emissions during construction. For green buildings, Zhang et al. [7] introduced a model considering energy consumption, green spaces, and water systems. Wu et al. [8] studied carbon emissions in the Inner Mongolia Autonomous Region's industrial sector, while Ma et al. [9] evaluated carbon emissions from asphalt pavement construction. Kneese et al. [10] analyzed combustion carbon emissions based on material balance. Understanding the factors influencing CO2 emissions is pivotal for a sustainable future and a greener society. Therefore, researchers have primarily explored the influence of various factors such as industrial structure, population, technological environment, and energy consumption on CO2 emission [11, 12]. For example, Liu et al. [13] examined carbon emission efficiency for the Yangtze River Economic Belt through a spatial panel measurement model. Gong et al. studied the impact of industrial structure and environmental regulation in the One Belt, One Road (OBOR) region [14].
Recently, AI and ML methodologies have been successfully employed by researchers to predict CO₂ emissions from various anthropogenic sources. Masini et al. [15] explored supervised ML and high-dimensional models for time series forecasting, and Crespo Cuaresma et al. [16] investigated univariate models such as Auto Regressive for time series problems. Furthermore, Elsworth et al. [17] proposed an LSTM model addressing limitations such as sensitivity of hyperparameters for any time series model. In a similar way, artificial intelligence (AI) methodologies can be employed to predict CO2 emissions using time-series data. For instance, Amarpuri [18] predicted India's CO2 emission levels using a deep learning hybrid approach (LSTM-CNN). Kumari and Singh employed a trio of statistical approaches, consisting of couple of regression models and a modern deep learning model, to foresee CO2 emissions trend in the region of India over the coming decade [19]. Their findings concluded the superior performance of the LSTM model in CO2 emissions prediction, outperforming the other techniques with the minimum Root Mean Square Error (RMSE) of 60.635. In recent times, several studies have employed the FFNS and ANFIS for prediction of CO2 emission [20–22]. For instance, Mutascu et al. considered a single-layer, 20-neuron feed-forward ANN to forecast CO2 trend within the United States of America (USA) [23] using FFNN modeling approach. Alam et al. concluded the superiority of ANN model in forecasting CO₂ trends across Gulf countries through employing analytical methodologies encompassing autoregressive integrated moving averages (ARIMAs), artificial neural networks (ANNs), and Holt–Winters exponential smoothing (HWES) [24] Zuo et al. [25] proposed an integrated LSTM-STRIPAT model for CO2 emission prediction in China. Nasser et al. [26] proposed three robust artificial intelligence techniques, specifically the feed-forward neural network (FFNN), adaptive network-based fuzzy inference system (ANFIS), and long short-term memory (LSTM) for the prediction of CO2 emissions in Saudi Arbia.
Knowing the capabilities of the above models, it is imperative to explore their comparative effectiveness in predicting CO2 emissions in Pakistan. This study aims to address the challenges posed by CO2 emissions in Pakistan comprehensively by evaluating and comparing the predictive capabilities of ANN, GRU, and LSTM models. Furthermore, this study explores the potential of an ensemble approach to enhance predictive accuracy to gain results near possible to reality. This research aims to provide valuable insights into the future trajectory of CO2 emissions in Pakistan, contributing to informed policy formulation and sustainable development.