Introduction

With the rapid development of the global economy and human society, total energy consumption, especially of fossil fuels, is increasing, leading to the continuous radiation of the greenhouse effect on a global scale (Dai et al. 2018). The ensuing climate warming issues have become more and more serious. As the main gas that causes the greenhouse effect, CO2 poses a great threat to the survival of human beings and the sustainable development of society (Liu et al. 2022). According to information published by the IEA (2020), China’s CO2 emissions reached 9876.5 Mt in 2019, accounting for 29.4% of the world’s total emissions. Furthermore, as shown in Fig. 1, China’s CO2 emissions have been on an increasing trend, with an especially faster rate between 2000 and 2010, increasing nearly 2.5 times. Since 2007, China has overtaken the USA as the world’s largest emitter of carbon dioxide. As the world’s second-largest economy after the USA and the largest energy consumer and importer, China is under unprecedented pressure to mitigate climate warming and reduce CO2 emissions, but its excess carbon emissions are often underpinned by significant mitigation potential from a global governance perspective.

Fig. 1
figure 1

(Source: OECD database)

CO2 emissions of China, Japan, America, and the Europe (1990 to 2019)

Faced with such a severe emission situation, in recent years China has actively implemented various policies to reduce CO2 emissions and to contribute to a slowdown in global climate warming (Ding et al. 2020). At the United Nations General Assembly, the Chinese government proposed the Intended Nationally Determined Contributions (INDCs) of peaking CO2 emissions by 2030 and achieving carbon neutrality by 2060 (Central People’s Government of the People’s Republic of China 2020a). According to IPCC calculations, the world must reach net zero CO2 emissions by 2050 if human society is to achieve the temperature control targets of the Paris Agreement (IPCC 2017). Currently, more than 120 countries and regions around the world have proposed carbon neutrality targets, covering 75% of the global GDP, 53% of the population, and 63% of carbon emissions (Lv and Hu 2021). The announcement of China’s dual carbon targets has undoubtedly energized the global carbon neutrality process and propelled global climate governance into a new era of INDCs to tackle climate change. Alongside the targets, the Chinese government has tightened its voluntary reduction commitment to reduce CO2 emission per unit of GDP by more than 65% by 2030 compared to 2005, which was 60–65% (Central People’s Government of the People’s Republic of China 2020b). The upward revision of this percentage in the commitment puts China under greater pressure to reduce emissions, which has a direct and significant impact on global trends of CO2 emissions. Hence, accurate prediction of China’s CO2 emissions is vital to achieving the 2030 emission commitments(Sun and Ren 2021), which can provide a reference for policy makers to designate medium to long-term development strategies and adjust current plans.

This paper attempts to answer two research questions: Q1. Can China’s new commitment to independent contributions under the 14th Five-Year Plan be realized? Q2. How to achieve it? To answer these questions, this paper uses the random forest (RF) model to screen China’s CO2 emission predictors and then uses the back propagation (BP) neural network to construct a forecast model. Based on this model, this study sets up five scenarios to predict the trend of China’s future total CO2 emissions and determine the optimal path to achieve the dual carbon goals.

The main contributions of this study are presented as follows. Firstly, this paper examines the topic of carbon peaking and carbon neutrality from a fresh perspective of policy adjustments under the 14th Five-Year Plan. By constructing the 13th Five-Year Plan scenario as a reference scenario, this paper measures the specific emission reduction potential that the 14th Five-Year Plan will bring in the future. Secondly, this paper uses RF to filter predictors, which allows for considering as many influencing factors of carbon emissions as possible, thus avoiding the limitations of exist literature that selects only a few influencing factors and omits other important factors. Finally, from the research findings, this paper reveals the influence degree of various factors on CO2 emissions, predicts the time and total amount of carbon peak under the 14th Five-Year Plan, and seeks the optimal development path for carbon neutrality goals. The findings can not only help China achieve its new commitments in tackling climate change, and maximize its emission reduction potential, but also provide references for other developing countries similar to China’s development model and make greater contributions to global climate governance.

Literature review

Current research on carbon emissions focuses on two main areas: analysis of the factors influencing carbon emissions and prediction of carbon emissions.

Research on the factors influencing CO2 emissions

This section compares the study on the identification and quantification methods of carbon emission influencing factors.

Identification of CO2 emission influencing factors

The identification of CO2 emission influencing factors has traditionally been the focus of research (Lin et al. 2018). Although there is considerable research on the cause of huge CO2 emissions, the factors that influence carbon emissions at various stages of development in different countries and regions are heterogeneous. Brizga et al. (2013), for instance, analyzed the specific impact of the industrial percentage on carbon emissions in the former Soviet Union. Hanif and Gago-de-Santos (2017) studied 86 developing countries to add empirical evidence to the positive impact of urbanization on CO2 emissions. Analyzing five EU countries, Balsalobre-Lorente et al. (2018) found a tight relationship between economic growth and carbon emissions. Lu (2018) discovered that energy consumption has a significant positive effect on carbon emissions in twelve Asian countries. Ma et al. (2019b) investigated the impact of trade between China, Japan, and South Korea on carbon emissions. Anser et al. (2020) conducted research on the South Asian Association for Regional Cooperation countries, taking into account the impact of population size and urbanization on carbon emissions. Xie et al. (2021) analyzed the impact of technological progress on carbon emission efficiency in 59 countries and found that technological progress will significantly improve carbon emission efficiency. Jiang et al. (2022) analyzed the impact of global industrial structure adjustment on carbon emissions. The above factors also have an impact on China’s carbon emissions. In China, researchers have also examined the impact of economic development (Zhu et al. 2020), demographic factors (Zhu and Peng 2012), urbanization, etc. on China’s carbon emissions. Accurately identifying the primary influencing factors has an important guiding effect on regional carbon emissions reduction.

Method for quantifying CO2 emission affecting factors

Numerous research have measured the factors influencing carbon emissions in order to better propose policies for carbon emission reduction. Currently, the majority of quantitative methods are centered on composition analysis, such as structural composition analysis (SDA), index composition analysis (IDA), logarithmic mean division index (LMDI), IPAT (Human Impact Population Affluence Technology) model, and STIRPAT (Stochastic Impacts by Regression on Population, Affluence, and Technology) model. José et al. (2016), for instance, used SDA to decompose the influencing factors of carbon emissions in Spain. Yao et al. (2015) used IDA to analyze the main driving forces of G20 countries’ carbon emissions. Raza and Lin (2020) used LMDI to decompose the carbon emissions generated by Pakistan’s transport sector. Shuai et al. (2017) analyzed the impact of different income levels on carbon emissions in 125 countries using the combination of IPAT and STIRPAT models. Ma et al. (2019a) quantified the drivers of carbon emissions from energy consumption in China using a combination of Kaya identity and LMDI. Ding et al. (2022) used the STIRPAT model to analyze the specific impact of urban form compactness on China’s carbon emissions.

Various machine learning methods, such as random forest (RF), can fully consider various influencing factors and well fit the variable relationship (Ye et al. 2019; Luo et al. 2020). Performance-wise, RF is completely distinct from other linear regression methods. It can accommodate the intricate nonlinear relationship between influential factors (Ye et al. 2019). Using the RF model, Fang et al. (2021) forecasted the carbon emissions created by China’s construction industry in the Pearl River Delta region. Sun et al. (2018) used the RF model to forecast the carbon dioxide influencing factors in China’s Hebei Province. Sun et al. (2018) believed that the RF model was more accurate than other models when estimating the factors influencing carbon emissions in China’s Hebei Province. Numerous academics employ RF models due to their capacity to quantify the importance of variables (Wei et al. 2018). Consequently, this article utilized RF to identify the primary determinants of CO2 emissions in China.

Research on CO2 emissions

This section will sort out the research status of CO2 emission and compare relevant measurement and prediction methods. This is the basis for finding a CO2 emission prediction method suitable for this study.

Research status of CO2 emission

Currently, the measurement and forecasting of carbon emissions are the focus of a great deal of study, including that conducted by nations and businesses. For example, Zhu and Du (2019) estimated the carbon emissions of the transportation industry in the six Asia Pacific countries from 1990 to 2016. Wang et al. (2022a) analyzed the carbon emissions of the railway transportation industry in the Brazil, Russia, India, and China from 1997 to 2017. Gao et al. (2021) analyzed the carbon emission efficiency of 28 industry sectors in China by measuring the differences between direct carbon emissions and embedded carbon emissions between 2005 and 2017. At the provincial level, Zhao et al. (2022) pointed out that the developed coastal areas in the east will be able to achieve the expected carbon emission reduction by 2030, but most provinces will hinder economic development due to carbon emission transfer. In addition, the behavior of countries in formulating carbon-peaking strategies has also led to an increase in relevant research. Jiang et al. (2019) believed that the carbon emissions of developing countries would greatly affect global carbon emissions, and predicted the possible carbon peak time in the future with China and India as examples. Duan et al. (2022) analyzed the impact mechanism between the social economic system and the energy economic system based on the experience of 10 typical developed countries in carbon peaking. Moreover, the experience of carbon peaking in developed countries can provide a good reference for developing countries (Dong et al. 2019). Li and Qin (2019) simulated the challenges that China may face in achieving the carbon peak path in 2030. Wang et al. (2022b) also put forward corresponding suggestions for China to achieve carbon peak. The time scope of the above literature research on carbon peaking is relatively short. However, with the introduction of various policies, the medium and long-term forecast is more important to optimize the path for carbon peak. Therefore, in order to better analyze the effectiveness of policies, this paper expands the time scope to the medium and long-term.

Research on CO2 emission measurement and prediction methods

For CO2 emissions, the commonly used forecasting models mainly consist of the input–output method, grey forecast model, system dynamics, and machine learning methods. For instance, Li et al. (2015) calculated the direct and indirect carbon emissions of Chinese households based on the input–output method. The grey forecast model was constructed by Li et al. (2018) to predict China’s CO2 emissions from 2016 to 2030 to explore the conditions for achieving the carbon peak target in 2030. At present, scholars have also frequently applied machine learning methods to forecasting studies due to advances in artificial intelligence techniques and demand for forecasting accuracy (Nishan and Ashiq 2020). A new prediction model Gaussian process regression based on a modified Particle Swarm Optimization algorithm (PSO-GPR) was proposed by Fang et al. (2018) for predicting the total CO2 emission of Japan, the USA, and China between 2013 and 2020. Sun and Liu (2016) employed least squares support vector machine (LSSVM) to predict the trend of carbon emissions in the three major industries and residential consumption sectors in China. Combining the Back Propagation neural network and scenario analysis, Guo et al. (2018) forecasted China’s respective CO2 emissions and intensity in 2030 under business-as-usual (BAU), strategic planning (SP), and low-carbon (LC) scenarios. BP is currently the most widely used artificial neural network (Sun and Xu 2016; Wang et al. 2016). Because it can simulate various complex nonlinear relationships, it is often used in prediction research (Wen and Yuan 2020). In contrast to econometric models and other traditional models such as IPAT and STIRPAT, which require the form of the functional relationship between input data and output results to be determined at the early stage of model construction, BP neural network is not subject to such constraints, and due to its powerful non-linear mapping capabilities, as well as its high degree of adaptability and robustness (Lu et al. 2020). This paper used BP neural network to predict the future trend of China’s CO2 emissions.

Materials and methods

Identification model of key influencing factors of CO2 emissions

Potential influencing factors

With reference to previous studies (Niu et al. 2020), this paper classified influencing factors of CO2 emissions into nine categories: economic development, population size, age structure, urbanization, energy consumption, energy structure, industry structure, technological level, and trade exchange, and selected representative indicators in each category as the bases for identifying the key factors, as shown in Table 1.

Table 1 Categories and indicators of potential influencing factors of China’s CO2 emissions

Random Forest

An excessive number of predictors will increase the training time of the model and the difficulty of prediction. Therefore, it was necessary to identify the key factors of CO2 emissions from the abovementioned 26 potential influencing indicators as predictors. This paper adopted RF to measure the importance of factors through the Gini index obtained by the algorithm, so as to analyze the impact of factors on China’s CO2 emissions and identify the key variables.

In RF, the Gini index can reflect the impurity of the internal attribute division of the node. The larger the Gini index, the higher the impurity of the node division. Assuming that there are \(C\) variables, namely, \({X}_{1}\), \({X}_{2}\), \({X}_{3}\),…, \({X}_{C}\), the calculation formula of the Gini Index is as follows:

$${GI}_{m}=\sum\nolimits_{k=1}^{K}{p}_{k}(1-{p}_{k})=1-\sum\nolimits_{k=1}^{K}{{p}_{k}}^{2}.$$
(1)

In the formula, \({GI}_{m}\) represents the Gini index of node \(m\), \(K\) indicates that there are \(K\) categories in node \(m\), \({p}_{k}\) is the sample weight of category \(k\) in node \(m\).

The importance of the variable \({X}_{j}\) in the node \(m\), that is, the change of the Gini index before and after the split of the node \(m\), is calculated as follows:

$${VIM}_{jm}^{(Gini)}={GI}_{m}-{GI}_{r}-{GI}_{l}.$$
(2)

where \({GI}_{r}\) and \({GI}_{l},\) respectively, represent the Gini index of two new nodes \(r\) and \(l\) formed after node \(m\) is split.

If the node where the variable \({X}_{j}\) appears in the decision tree \(i\) is in the set \(M\), then the importance of \({X}_{j}\) in the \(i\)-th decision tree is calculated by the formula:

$${VIM}_{ij}^{(Gini)}={\sum }_{m\in M}{VIM}_{jm}^{(Gini)}.$$
(3)

Assuming that RF constructs \(n\) trees, the importance of the variable \({X}_{j}\) in the entire forest is:

$${VIM}_{j}^{(Gini)}={\sum }_{i=1}^{n}{VIM}_{ij}^{(Gini)}.$$
(4)

Finally, the abovementioned importance is normalized to obtain the importance score of variable \({X}_{j}\):

$${VIM}_{j}=\frac{{VIM}_{j}^{(Gini)}}{{\sum }_{c=1}^{C}{VIM}_{c}^{(Gini)}}.$$
(5)

The algorithm evaluates the relative importance \(\left(VIM\right)\) of each influencing factor by calculating the average reduction degree of the Gini index before and after the node splitting (Wei et al. 2018). When \(VIM\) is very large, it indicates that the impact of this variable on CO2 emissions is very significant.

Carbon peak forecast model: Back Propagation neural network

This paper used this model to predict the future trend of China’s CO2 emissions.

Assuming that the input layer has \(n\) neurons, the hidden layer has \(p\) neurons, and the output layer has \(q\) neurons, the input vector \(X=({x}_{1}, {x}_{2},{x}_{3},\dots ,{x}_{n})\), \({x}_{1}\sim {x}_{n}\) respectively represent the key influencing factors screened by RF. The training process of BP can be divided into the following parts: the first is the forward propagation of information, that is, the calculation of the input and output of each layer of neurons.

The output formula of hidden layer neurons is shown in (6):

$$\begin{array}{cc}{hO}_{h}\left(k\right)=f\left(\sum_{i=1}^{n}{w}_{hi}{x}_{i}\left(k\right)-{b}_{h}\right)& h=\mathrm{1,2},3,\dots ,p.\end{array}$$
(6)

In the formula, \(k\) represents the \(k\)-th sample data, \(k=\mathrm{1,2},\dots ,m\); \({hO}_{h}\left(k\right)\) is the output of the hidden layer neuron \(h\), \({w}_{hi}\) is the weight of the influence degree of the input layer neuron \(i\) on the hidden layer neuron \(h\),\({b}_{h}\) represents the threshold of the hidden layer neuron \(h,\) \(f(.)\) is the activation function of the hidden layer; this paper used the hyperbolic tangent activation function:

$$\begin{array}{cc}f\left(x\right)=\frac{{e}^{x}-{e}^{-x}}{{e}^{x}+{e}^{-x}}=\frac{2}{1+{e}^{-2x}}-1,& f\left(x\right)\in \left(-\mathrm{1,1}\right).\end{array}$$
(7)

The output formula of neurons in the output layer is shown in (8):

$$\begin{array}{cc}{yO}_{o}\left(k\right)=g\left(\sum_{h=1}^{p}{w}_{oh}{hO}_{h}\left(k\right)-{b}_{o}\right)& o=\mathrm{1,2},3,\dots ,q.\end{array}$$
(8)

Similarly, \({yO}_{o}\left(k\right)\) is the actual output of the output layer neuron \(o\), that is, the predicted value of the \(k\)-th sample; \({w}_{oh}\) represents the weight of the hidden layer neuron \(h\)’s influence on the output layer neuron \(o\), \({b}_{o}\) represents the threshold of the output layer neuron \(o\), \(g\left(.\right)\) is the activation function of the output layer; this paper used the identity activation function:

$$g\left(x\right)=x.$$
(9)

The second part of the process is error back propagation. The expected output and actual output of the network are used to calculate the error function, and the weights and thresholds are updated by back-propagating error layer by layer so that the actual output is as close to the expected output as possible.

The error function is defined as Formula (10):

$$e=\frac{1}{2}\sum\nolimits_{o=1}^{q}{({d}_{o}\left(k\right)-{yO}_{o}(k))}^{2}.$$
(10)

Among them, \({d}_{o}(k)\) is the expected output of output layer neuron \(o\), that is, the actual value of the \(k\)-th sample; \({yO}_{o}\left(k\right)\) is the actual output of output layer neuron \(o\), that is, the predicted value of the \(k\)-th sample.

Finally, the global error is calculated as shown in Formula (11). When the error reaches the preset accuracy or the number of iterations exceeds the set maximum number of times, BP training is ended; otherwise, the above steps are returned until the output error meets the requirements.

$$E=\frac{1}{2m}\sum\nolimits_{k=1}^{m}\sum\nolimits_{o=1}^{q}{({d}_{o}\left(k\right)-{yO}_{o}(k))}^{2}.$$
(11)

Based on the above principles, this paper selected the coefficient of determination \({R}^{2}\), mean absolute percentage error \(\mathrm{MAPE}\), mean absolute error \(\mathrm{MAE}\), mean square error \(\mathrm{MSE}\) and root mean square error \(\mathrm{RMSE}\) for evaluating the reliability of the model (Yan et al. 2018; Hu et al. 2020). The calculation methods of these five error indicators are presented as follows:

$${R}^{2}=1-\left(\frac{{\sum }_{k=1}^{m}{\left(d\left(k\right)-yO\left(k\right)\right)}^{2}}{{\sum }_{k=1}^{m}{d\left(k\right)}^{2}}\right).$$
(12)
$$\mathrm{MAPE}=\frac{1}{m}{\sum }_{k=1}^{m}\left|\frac{yO\left(k\right)-d(k)}{d(k)}\right|\times 100\mathrm{\%}$$
(13)
$$\mathrm{MAE}=\frac{1}{m}{\sum }_{k=1}^{m}\left|yO\left(k\right)-d(k)\right|$$
(14)
$$\mathrm{MSE}=\frac{1}{m}{\sum }_{k=1}^{m}{(d\left(k\right)-yO\left(k\right))}^{2}$$
(15)
$$\mathrm{RMSE}=\sqrt{\frac{1}{m}{\sum }_{k=1}^{m}{(d\left(k\right)-yO\left(k\right))}^{2}}$$
(16)

In the above formula, \(d(k)\) is the actual value of the CO2 emission of the \(k\)-th observation sample; \(yO(k)\) is the predicted value of the CO2 emission obtained by BP of the \(k\)-th sample. The closer \({R}^{2}\) is to 1, the better the prediction effect of the BP. For MAPE, MAE, MSE, and RMSE, the lower the indicator value, the higher the forecasting accuracy.

Scenario analysis setting

To analyze the impact of different development paths and policy preferences on China’s achievement of carbon peaking, five scenarios based on the adjustments to the 14th Five-Year Plan and potential space for abatement were constructed:

  1. (i).

    The 13th Five-Year Plan scenario: this scenario continues the low-carbon development policies set out during China’s 13th Five-Year Plan period, but no further energy savings or emission reduction policies will be considered.

  2. (ii).

    The 14th Five-Year Plan scenario: this scenario follows the new emission reduction, energy, and technology measures deployed in China’s 14th Five-Year Plan, and the values of the predictors are consistent with the target values of the 14th Five-Year Plan. This scenario differs from the 13th Five-Year Plan scenario in terms of economic growth, population size, energy structure, and innovation-drive intensity. It can be used as a reference for comparison with the energy optimization, technology breakthrough, and dual control scenarios.

  3. (iii).

    Energy optimization scenario: under the 14th Five-Year Plan, the greatest potential of energy structure optimization will be realized. In this scenario, the Chinese government will encourage the use of renewable and clean energy to replace traditional fossil fuels through energy technology changes, pricing policies, clean energy subsidies, and mandatory energy structure reforms, in order to maximize the decarbonization and cleanliness of the energy system. Under this scenario, the rate of change of the variables related to energy structure is set optimally compared to other scenarios, and the value of investment in R&D will be strengthened based on the 14th Five-Year Plan.

  4. (iv).

    Technology breakthrough scenario: under this scenario, the government will increase R&D intensity of green technology based on the 14th Five-Year Plan and strive to achieve technological breakthroughs in plastic waste recycling, carbon capture and storage, and battery energy storage, in order to promote the efficient recycling and reuse of resources. With the development of technology, the popularization of clean energy will also break through the existing technological bottleneck and lead to a significant increase in energy efficiency. Therefore, based on the 14th Five-Year Plan scenario, this paper strengthened the expected rate of change parameters for energy consumption intensity, share of renewable energy, and natural gas. The growth rate in the ratio of R&D expenditure to GDP is higher than in the other scenarios.

  5. (v).

    Dual control scenario: this paper obtained an optimal scenario, called the dual control scenario, by combining the energy optimization and technology breakthrough scenarios. Under the dual control scenario, China is expected to adopt a two-pronged approach from both green technology innovation and energy structure transformation.

Data source

This paper selected China’s CO2 emissions data from 1990 to 2019 for research, which was collected from the OECD database. The data on influencing factors came from the China Statistical Yearbook (National Bureau of Statistics of China 2020), China Energy Statistical Yearbook (National Bureau of Statistics of China 2020), China Electricity Statistical Yearbook (China Electricity Council 2020), the official website of National Bureau of Statistics, and OECD. Two of the potential influencing factors, share of renewable energy in total primary energy supply and total primary energy consumption, were obtained from the OECD database. The data collection of variables was based on the latest materials, and this paper used extrapolation to fill in data that were not updated. GDP and GDP per capita were deflated to 1990 prices to eliminate the effects of inflation.

Results

Results of the identification of key influencing factors

The importance scores (VIMs) of each indicator obtained by constructing the RF model using Stata 16.1 are shown in Table 2.

Table 2 Importance (VIM) of factors influencing CO2 emissions

The results showed that the impact of the energy structure indicator on emissions was the most significant, indicating that China’s energy restructuring measures have made substantial progress in emission reduction in recent years. In the future, it will be possible to achieve emission reduction targets through the development of renewable energy and clean energy. However, the impact of total energy consumption also remained significant, reflecting to a large extent that the current energy mix is dominated by fossil energy and will remain so for some time to come.

The importance score of the ratio of R&D expenditure to GDP was as high as 0.7887, indicating that the role of technology effects cannot be ignored, and as the Chinese government increases the intensity of R&D in low-carbon technologies, the returns to emission reductions from high investment are gradually coming to the fore. In addition, China is undergoing a period of disappearing demographic dividend opportunities, and the impact of the share of the working population on carbon emissions is becoming increasingly important.

The importance of GDP and fixed asset investment variables was relatively low, suggesting that economic factors are no longer the main drivers of CO2 emissions and that as China’s economy enters a new normal, the concept of economic development has changed from the pursuit of total economic expansion to the concept of sustainable development that balances economic development and environmental protection.

Based on the results of RF and the way the predictors were selected in previous literature, e.g., Wen and Yuan (2020), Niu et al. (2020) selected the top seven indicators in terms of VIM value, seven indicators with VIM ≥ 0.65 (share of renewable energy in the total primary energy supply, ratio of R&D expenditure to GDP, share of primary industry in GDP, share of natural gas in total energy consumption, total energy consumption, energy consumption per unit of GDP, ratio of population aged 15–64) were selected as predictors, excluding other factors with relatively weak effects.

Back Propagation neural network for forecasting CO2 emissions

In this paper, the above seven key influencing factors of CO2 emissions were used as the input layer of the BP, and China’s CO2 emissions from 1990 to 2019 were used as the output layer. In order to ensure the generalization ability of the neural network, 70%, 15%, and 15% of the full sample size were randomly selected as the training set, validation set, and test set respectively in this paper. The results of the full sample fit of the model are shown in Fig. 2.

Fig. 2
figure 2

Back propagation neural network fitting results (1990–2019)

It can be seen that the actual and predicted values of CO2 emissions were in very good agreement (R2 = 0.998). To further evaluate the predictive ability of the completed BP neural network, the fitted values obtained from the ordinary least square regression (OLS) were compared with BP, as shown in Table 3. For MAPE, MAE, MSE, and RMSE, the lower the indicator value, the higher the forecasting accuracy. The MAPE of the BP neural network was 1.89%, while the error of OLS was 1.96%. By comparing multiple error indicators, it is confirmed that the forecasting errors of the BPNN model are smaller than those of OLS. In general, the BP neural network was stronger than OLS in terms of prediction.

Table 3 Comparison of actual and predicted values of CO2 emissions in China

Results of scenario analysis

Parameter of variables

Based on the development scenarios constructed above, each carbon emission predictor was set with reference to past development trends and relevant policy objectives.Specific parameter values are shown in Table 5 of the Appendix.

GDP

As China’s economic development enters a new normal, GDP growth will gradually slow down after a long period of high growth (Xu et al. 2019). Studies have predicted that China’s economy will grow at a moderate rate between 2010 and 2030, and at a low rate of high-quality growth after 2030 (Wang et al. 2018). Combining the above findings with the target of 6.5% set in the 13th Five-Year Plan (NDRC 2016), the average annual GDP growth rates under the 13th Five-Year Plan scenario for 2021–2025, 2026–2030, 2031–2035, and 2036–2040 were set at 6.5, 5.5, 4.5, and 3.5%, respectively, which is used to project GDP for each year. The 14th Five-Year Plan does not specify an economic development target, but over the past few 5-year plans, China has gradually reduced its GDP growth target by 0.5 percentage points, for example to 7% during the 12th Five-Year Plan and 6.5% during the 13th Five-Year Plan. Considering the ongoing impact of COVID-19 on the global economy, and referring to the parameters of Niu et al. (2020), the annual GDP growth rates for the other four scenarios are set at 5.5, 4.5, 3.5, and 2.5%.

Share of primary industry in GDP

The share of primary industry in GDP fell from 8.4 to 7.1% between 2015 and 2019, while the share of the secondary industry fell slightly and the share of tertiary industry rose significantly, reflecting the trend of China’s industrial restructuring, and the share of the primary industry will continue to maintain this momentum of gradual decline in the future. According to the World and China Energy Outlook 2050 (CNPC 2020), the structure of China’s three industries is expected to evolve to 6:31:63 in 2035, with the share of primary industry decreasing to 4% in 2050. The average annual growth rates of the share of primary industry in GDP from 2021 to 2035 and 2036 to 2040 under the 13th Five-Year Plan scenario was calculated from this, which were − 1.65% and − 2.67% respectively. In the 14th Five-Year Plan scenario, this paper referred to “China’s Energy and Electricity Development Planning Study 2030 and Outlook 2060” published in 2021 (GEIDCO 2021), which estimated that the share of the primary industry will reach 6.4, 5.9, and 4.2% in 2025, 2030, and 2050, respectively. This resulted in an average annual growth rate of − 3.63, − 1.61, and − 1.68% for this variable for 2021–2025, 2026–2030, and 2031–2040, respectively.

Ratio of population aged 15–64

With the release of the “two-child policy” dividend, the total fertility rate fell rapidly to 1.5 in 2018 and again to around 1.45 in 2019 (Yang 2021). In accordance with the declining trend of the total fertility rate during the 13th Five-Year Plan period, it will likely continue to fall below 1.4 after 2020, and the variable is expected to reach 67.64% in 2030. Subsequently, the total working-age population will fall by around 10 million every year and is expected to drop to below 900 million in 2036 (Zhang et al. 2020). In the 14th Five-Year Plan period, the relevant population plan stated that in order to actively respond to the trend of population aging, it will implement the policy of allowing one couple to have three children along with supporting measures (Central People’s Government of China 2021). With the introduction of the three-child policy, this paper suggested that the lower fertility rate in 2020 owing to COVID-19 will soon return to 1.6, and it drew on the results of Yang (2021) to set age structure parameters for the 14th Five-Year Plan scenario.

Share of renewable energy in total primary energy supply

The average annual growth rate of this variable from 2015 to 2019 was about 2.5%, and the 13th Five-Year Plan scenario will follow the historical trend, with annual growth rates set at 2.5, 3.5, 3, and 3%, respectively, for each phase. The 14th Five-Year Plan proposes to further expand the scale of wind power and photovoltaic power generation on the basis of the 13th Five-Year Plan and to achieve the goal of renewable energy becoming the mainstay of energy and electricity supply and consumption by 2025 (CCTV News 2021). Considering the overlapping effects of the various energy deployments in the 14th Five-Year Plan, the share of renewable energy in the 14th Five-Year scenario should grow faster than in the 13th Five-Year scenario (CCTV News 2021). This paper used the maximum annual growth rate of 5.4% in the past 5 years as the basis for the energy optimization scenario, in order to maximize the potential of energy structure transformation.

Share of natural gas in total energy consumption

According to the development target of the 13th Five-Year Plan for Energy Development, the proportion of natural gas consumption is expected to increase by 4.1 percentage points during the 13th Five-Year Plan period, with the proportion of natural gas consumption aiming to reach 15% in 2030 (National Energy Administration 2016). Wang and Wang (2019) predicted that the share of natural gas will be 21.8% in 2040, driven by the national 13th Five-Year Energy Policy. This paper set the parameters for the share of natural gas in the 13th Five-Year Plan scenario based on the above studies. The 14th Five-Year Plan stated that the process of optimizing energy structure should be accelerated, so the share of natural gas consumption in the 14th Five-Year Plan scenario should be significantly higher than in the 13th Five-Year Plan scenario, with a maximum annual growth rate of 13.1% in the last 5 years as the energy optimization scenario.

Ratio of R&D expenditure to GDP

With reference to the 13th Five-Year Plan, which proposed that the intensity of investment in R&D is expected to increase by 0.4 percentage points over 5 years, the average annual growth rate of this variable in the 13th Five-Year Plan scenario from 2021 to 2025 was calculated as 3.1%. According to the 14th Five-Year Plan, the average annual growth rate of whole social investment in R&D was more than 7%, and the investment intensity was higher than that of the 13th Five-Year period. According to this target, the average growth rate for the 14th Five-Year Plan scenario from 2021 to 2025 was set as 3.4%. The historical data for 2015–2019 were calculated and the maximum growth rate of 4.2% for this variable was taken as the technology breakthrough scenario.

Energy consumption intensity factor

In the 13th Five-Year Plan, the target was to reduce energy consumption per unit of GDP by a cumulative 15% over 5 years. Considering that China exceeded the binding target in both the 12th and 13th Five-Year Plan periods, this paper set a cumulative reduction in energy consumption per unit of GDP of 16% for the period 2021–2025 under the 13th Five-Year Plan scenario. According to the 13th Five-Year Plan for Energy Development, the growth rate of energy consumption is expected to fall from an annual average of 9% since the 10th Five-Year Plan to around 2.5%, with an average annual growth rate of less than 3% set as the development target (National Energy Administration 2016). The Energy Production and Consumption Revolution Strategy (2016–2030) stated that total energy consumption is to be controlled at 6 billion tons of standard coal in the period 2021–2030 (NDRC and National Energy Administration 2016). In the medium to long term, the growth rate of energy consumption in China will slow down, reaching a peak in 2040. After combing the various materials, the average annual growth rates of energy consumption per unit of GDP for each phase under the 13th Five-Year Plan scenario were predicted to be –3.4, –4.4, –2.4, and –2.9%, respectively.

The 14th Five-Year Plan set the target of “reducing energy consumption per unit of GDP by a cumulative 13.5%,” and this paper assumed a cumulative reduction of 14.5% from 2021 to 2025 under the 14th Five-Year scenario. Referring to the forecast in “China’s Energy and Electricity Development Planning Study 2030 and Outlook 2060”, which predicted negative growth in energy consumption after 2035, the average annual growth rates of –3.1, –3.1, –3, and –2.8% were predicted for phases of the 14th Five-Year Plan scenario. The maximum annual average rate of reduction in energy consumption per unit of GDP from 2015 to 2019 is –5.3% as the double control scenario. The forecast value of total energy consumption was calculated by multiplying the energy consumption per unit of GDP by GDP for each scenario.

Scenario predictions for carbon peaking

The predicted trends of China’s CO2 emissions under the five scenarios are presented in Fig. 3. Under the 13th Five-Year Plan scenario, China’s CO2 emissions were predicted to reach 10,507.441 and 10,683.734 Mt in 2030 and 2040, respectively. Under the 14th Five-Year Plan scenario, CO2 emissions would reach 10,434.082 Mt in 2030 and were predicted to be 10,144.024 Mt in 2040. The new development targets and policies in the 14th Five-Year Plan resulted in carbon emission reductions of 73.359 and 539.71 Mt in 2030 and 2040, respectively. The 13th Five-Year Plan scenario reached its peak in 2035, while the 14th Five-Year Plan scenario corresponded to 2030, suggesting that China can achieve the 2030 carbon peak target on schedule by following the constraints of relevant strategic plans and environmental policies during the 14th Five-Year Plan period. However, by continuing the 13th Five-Year Plan, China will not be able to meet even the basic 2030 emission peak target, which was consistent with the studies by Hong et al. (2021) and Niu et al. (2020). Compared to previous literature, this paper measured the potential for emission reductions arising from the 14th Five-Year Plan.

Fig. 3
figure 3

China’s CO2 emission trends under different scenarios (2020–2040)

Under the energy optimization and technology breakthrough scenarios, China will enter the peak carbon plateau in 2030 and 2028, respectively, with corresponding emission peaks of 10,137.986 and 10,142.486 Mt. The trends of CO2 emissions in the two scenarios largely coincided between 2020 and 2030, and once the long-term intensive R&D investment has achieved substantial green technology breakthroughs, the emission reduction effect of technological innovation will immediately become apparent, and China’s total carbon emissions will fall rapidly after 2030 under the technology breakthrough scenario. Under the dual control scenario, China’s carbon peak will be further advanced, peaking in 2025, with the lowest emissions peak of the five scenarios, at 9860.08 Mt, followed by an accelerated decline in CO2 emissions to below 8500 Mt by 2040. If this trend continues, China is expected to reach its long-term goal of carbon neutrality by 2060.

Thus, with the basic peak target completed, will China be able to meet its new commitment to reduce CO2 emissions per unit of GDP by more than 65% in 2030 compared to 2005? The predictions of China’s carbon emissions intensity in 2030 and the achievement of INDCs are shown in Table 4. Under the 14th Five-Year Plan scenario, it would be difficult to achieve China’s carbon intensity reduction target, while under the energy optimization, technology breakthrough, and dual control scenarios, CO2 emission intensity values in 2030 were estimated to be 0.02319, 0.02320, and 0.02192 Mt/108 Yuan, respectively, a reduction of 65.21, 65.20, and 67.12% compared to 2005. Therefore, in order to ensure the achievement of INDCs, China should actively carry out measures related to energy optimization and technological breakthroughs during the 14th Five-Year Plan period.

Table 4 Forecasting results of carbon intensity in 2030 under different scenarios

Discussion and suggestions

By combining the results of different scenarios, it was clear that the 14th Five-Year Plan would help China achieve its emission peak target on time, but it would still be difficult to meet the new commitment of intensity reduction. The transformation of energy structure would, to a certain extent, reduce the CO2 emissions peak. However, the emission reduction effect of energy optimization was not as strong as the effect of technological breakthroughs at a later stage. In order to advance to the carbon peaking plateau and achieve the ultimate goal of carbon neutrality, we propose the following policy suggestions to move society quickly from the 14th Five-Year Plan scenario to the three development scenarios of energy optimization, technological breakthrough, and dual control, as shown in Fig. 4:

  1. (1)

    Measures towards Energy Optimization Development Scenario.

Fig. 4
figure 4

Policy suggestions towards three peak scenarios

The energy intensity targets of the 13th Five-Year Plan are more effective, and reaching the inflection point for carbon growth in the next decade will require continued improvements in energy use efficiency and, crucially, long-term adherence to controls on total consumption. Firstly, a national plan for total primary energy consumption could be drawn up, which could then be implemented in accordance with the principle of equity and regional development strategies, taking into account the level of economic development and industrial structure of each province, and energy consumption targets could be allocated to the corresponding provinces according to demand and production. Secondly, China should strive to reduce energy losses in the processes of production, conversion, transportation, and consumption to further improve energy efficiency. On the other hand, it needs to vigorously develop green industries and assist in the transformation of overcapacity, high pollution, and energy-intensive industries toward low carbon and energy saving.

  1. (2)

    Measures towards Technology Breakthrough Development Scenario.

Promoting technological advancement by increasing investment in the R&D of low-carbon technologies are vital for China to curb CO2 emissions. The Chinese government should actively plan high-tech industrial parks to provide sophisticated support facilities for green technology innovation. It will be necessary to set up special groups to address technical challenges and promote the flow of talent, technology, and funding between regions to achieve breakthroughs in core technologies. In particular, a number of cutting-edge and disruptive successes in areas such as carbon capture, utilization, and storage (CCUS), battery energy storage, and new energy development and application are expected to be created and industrial coverage achieved.

  1. (3)

    Measures Towards Dual-Control Development Scenario.

According to the parameters set, the share of natural gas under the double control scenario is expected to be 23.374% in 2030, while the target for the share of natural gas under the 14th Five-Year Plan is about 15%. However, in either scenario, it is lower than the share in 2020 of the US (34%), which has already achieved peak carbon. In terms of the share of renewable energy, according to historical trends and the constraints of current policy targets, the value would only reach 13.615% under the 14th Five-Year Plan scenario, which is still some way from the 17.122% in the dual control scenario. The high proportion of coal and the crude energy structure dominated by fossil fuels have led to a huge pressure on China to transform its energy systems. If China is to move into a double-control development path and achieve optimal emission reduction potential, it should, on the one hand, control total coal consumption in key regions such as the Pearl River Delta, Yangtze River Delta, and Beijing-Tianjin-Hebei economic zone, gradually phase out or renovate coal-fired power stations, gradually guide the low-carbon transformation of traditional heavy industries that are dominated by coal consumption and strictly limit their expansions (Wang et al. 2018). The focus on the other hand is to deploy sustainable coverage of natural gas, and strengthen the development and use of renewable energy such as wind, water, and solar in the future, such as accelerate the construction of domestic natural gas pipelines and increase the supply of natural gas from both sea and land extraction; improve the supply and demand mechanism in the natural gas market by liberalizing price instruments to guide reasonable market competition; improve the implementation of laws and regulations related to renewable energy; and subsidize the consumption of clean energy.

Focus on policy objectives, supplemented by market mechanisms. The Chinese government needs to strengthen energy and technology-related targets based on the current strategic plan and urge local governments to put carbon reduction targets and policy plans in place. Along with policy constraints, the advantage of market mechanisms in carbon abatement should be emphasized to push China’s CO2 emissions onto the peak plateau earlier. For example, the implementation of carbon pricing needs to be accelerated, a unified carbon trading market needs to be established and a carbon tax needs to be levied. Ultimately, by playing a complementary role of the market mechanism, the efficiency of resource allocation will be improved and the purpose of carbon offsetting will be achieved.

There are three limitations to this study. First, due to the limitations of the existing database, more potential factors influencing China’s CO2 emissions, such as policy, energy, and environmental factors, are yet to be explored. Second, with the development of society and the change of policies, the importance of factors influencing CO2 emissions will also change. When selecting carbon emission predictors, this paper only selected the indicators with greater relative impact in the current stage based on the results of random forest and previous literature. Third, only five scenarios were constructed for emission projections in this study to ensure that the paper is reasonably concise, but the reality is much more than that, so more scenarios are worth exploring in the future.

Conclusions

From carbon emission peaking to carbon neutrality, the developed world will have a transition period of 50–70 years, but China will have only 30 years. Therefore, this paper discusses the realization of carbon neutrality before 2060 from the new perspective of policy adjustment in China. In this paper, the RF model was used to identify key influencing factors of CO2 emission to improve the efficiency of forecasting. To determine whether China can achieve its new 2030 carbon peaking and carbon intensity reduction commitments, a BP neural network was employed to forecast China’s CO2 emissions and intensity in 2020–2040 under the 13th Five-Year Plan, 14th Five-Year Plan, energy optimization, technology breakthrough, and dual control scenarios. The conclusions are as follows:

Firstly, energy structure factors have the most significant impact on China’s CO2 emissions, with economic development factors no longer being the dominant driver. Secondly, China’s CO2 emissions in 2030 are predicted to range from 9582.016 to 10,507.441 Mt. Thirdly, the 14th Five-Year Plan will help China achieve the carbon peak target on schedule, delivering 73.359 and 539.71 Mt CO2 reductions in 2030 and 2040 respectively and under the dual control and technology breakthrough scenarios, the times are advanced to 2025 and 2028, respectively. Finally, China cannot meet its new commitment to reducing carbon intensity under the 14th Five-Year Plan scenario, so energy optimization, technological breakthroughs, and dual control should be actively pursued, with dual control having the best emission reduction effect and the ability to achieve a 67.12% reduction in CO2 emissions intensity in 2030, compared to 2005.

Developing countries face more challenges than developed countries to meeting their carbon–neutral target. This study will not only help China to achieve its new commitments in tackling climate change and maximize its emission reduction potential but also be a reference for other developing countries considering scenarios similar to China’s development model and make greater contributions to global climate governance.