Abstract

Among the existing GDP forecasting methods, time series forecasting and regression model forecasting are the two most commonly used forecasting methods. However, traditional macroeconomic forecasting models are unable to accurately achieve optimal forecasts of highly complex nonlinear dynamic macroeconomic systems due to the influence of multiple confounding factors. In order to solve the above problems, a GDP economic forecasting model based on an improved RBF neural network is proposed. First, the main traditional GDP forecasting methods are analyzed. Then, RBF neural networks are used to solve the problem that traditional forecasting technology methods cannot handle multi-factor complex nonlinearities well. Second, to further improve the convergence speed and accuracy of the RBF neural network learning algorithm, the Shuffled Frog Leaping Algorithm with global search capability and high practicality is fused into the RBF network training. Finally, the improved RBF neural network is used to build a GDP economic forecasting model. The performance of the Shuffled Frog Leaping Algorithm and the improved RBF neural network was tested using the approximation of Hermit polynomials and the Iris classification problem as simulation examples. The experimental results show that the improved RBF neural network-based GDP economic forecasting model achieves more accurate forecasting accuracy than other forecasting methods.

1. Introduction

Economic globalization is an important feature of economic development in today’s world. An important indicator in the economic sphere—gross domestic product (GDP)—has also become a growing concern, and is an important economic indicator of a country’s economic situation, providing an important basis for the health of the economy. GDP is the market value of all final goods and services produced within a country in a given period, and GDP growth is an important economic indicator of the health of a country’s economy [16]. The famous American economist and Nobel Prize winner Paul Anthony called GDP “one of the greatest inventions of the century.” In-depth research and analysis of GDP are of great importance to macroeconomic regulation and the formulation of economic policies.

Macroeconomics is the study of the entire national economic activity. The development and changes in macroeconomics are influenced by a variety of factors. These factors are interlinked and interact with each other, making the process of macroeconomic development trendy, cyclical, open, and nonlinear. With the development of economic statistics, econometrics, and other related techniques, forecasting has become an emerging practical and comprehensive discipline. Forecasting is to rely on historical information and the current situation and to explore the laws of the evolution of things according to certain theories, so as to form hypotheses and judgments. The past and present operation of the macroeconomic system is the basis for forecasting [79]. In macroeconomic forecasting, the traditional methods are mainly time series analysis and multiple regression methods.

The historical data collected in macroeconomic forecasting is generally time series data. Time series refers to the sequence formed by sorting the data of the same statistical variables according to the time sequence of occurrence. The purpose of studying time series is to discover the intrinsic links between data through the analysis of historical data, so that future data can be predicted. Most of the modeling and forecasting of time series use statistical regression models for continuous time series. Another analytical method that is more widely used is Autoregressive Moving Average (ARMA) and Autoregressive Integrated Moving Average (ARIM). For non-stationary time series, the series is made stationary by differencing it several times and then the series is represented as a combination of white noise and moving average [1013]. Another mainstream forecasting method is multiple regression, also known as the Vector Autoregressive (VAR) method, which is a statistically based model that constructs a model from a function of the lagged values of all the endogenous variables in the system. VAR does not require any implementation constraints and has been widely used in economic forecasting in recent years.

The above traditional methods are the dominant approaches in the field of economic forecasting. Both methods use linear models to simulate real-life complex systems in order to make forecasts, and therefore often do not give a good result when dealing with complex non-linear systems [14]. A large number of researchers have noticed the limitations of linear models and have therefore turned their attention to non-linear models. At the beginning of the research on non-linear models, people still habitually rely on the traditional ideas of model research. The general idea of traditional forecasting methods is to set up a model by observing and analyzing the changes in the system, then to test the model for estimation and finally to select the best model. However, economic historical data usually has very complex non-linear time-series data and forecasting using traditional methods often faces many problems [1517]. Traditional methods focus on the analysis of causality and the relationship between time series of the data. In the actual forecasting process, such methods lose the amount of information due to problems such as multicollinearity and error series, making the forecasting accuracy unsatisfactory. In fact GDP is influenced by multiple factors and the relationships between various factors are complex, presenting complex time series and non-linearity, which makes GDP forecasting very difficult.

In the face of unsolvable complex non-linear problems, people have started to look beyond traditional methods to find new ways of research. The human brain can handle a variety of complex non-linear problems very quickly, and researchers have been inspired by the idea of how to simulate the human brain to deal with complex non-linear problems. An artificial neural network (ANN) is an intelligent bionic model that mimics the function of neurons in the brain [1821], and is a non-linear complex network system consisting of a large number of interconnected neurons. There are various learning algorithms for ANNs, but backpropagation (BP) is the most widely used weight correction algorithm for neural networks. ANNs have proven to be very effective in building predictive models, automatically learning from previous experience in a sample of data without the need for complex query and representation processes.

Currently, research on neural network-based forecasting has focused on time series forecasting and regression forecasting. Doucoure et al. [22] collected real-time series data and removed the most recent data in each series from the sample. These latest data were then predicted with reference to each prediction model. Finally, the obtained prediction results were compared with the real data. The results show that ANN has higher performance than ARMA. Wu and Lee [23] used a support vector machine based on principal component analysis to forecast regional economies. Haoret al [24] applied BP neural networks to CPI forecasting. Wang et al. [25] proposed a GDP forecasting model based on principal component analysis and Bayesian regularised BP neural networks. In addition, ANNs are also heavily applied to stock prices, stock market indices, exchange rates, commodity price forecasting, early warning of financial conditions, traffic flow forecasting, etc. Numerous research results have shown that ANN can be successfully applied to macroeconomic forecasting.

The advent of radial basis function (RBF) neural networks has brought new life to the research and application of ANNs [2628]. The structure of RBF neural networks is similar to that of multilayer forward neural networks, but it is a three-layer feedforward network with a single hidden layer. BP networks are typically global approximation networks, whereas RBF networks can determine the appropriate network topology for the problem, learn quickly, and do not suffer from local minima. The research and application of RBF neural networks is also gaining importance. Due to the advantages of RBF neural networks, they are beginning to replace BP networks in an increasing number of fields.

Therefore, this study proposes an economic forecasting model for GDP based on an improved RBF neural network. In this study, a GDP forecasting model is built using a RBF neural network optimized by the Shuffled Frog Leaping Algorithm (SFLA). When training the network, a normalization process was used to preprocess the input and output data of the neural network to ensure that the data were of the same order of magnitude, and the forecasting results were compared with the traditional forecasting model. The experimental results show that the improved RBF neural network has better application in GDP forecasting. The main objective of this study is to use the improved RBF neural network as an alternative to traditional GDP forecasting methods (time series forecasting and regression model forecasting) in order to solve the problem of optimal forecasting of highly complex nonlinear dynamic macroeconomic systems.

The main innovations and contributions of this paper include:(1)RBF neural networks are used to solve the problem of complex nonlinearities of multiple factors that cannot be well handled by traditional prediction technology methods.(2)To further improve the convergence speed and accuracy of the RBF neural network learning algorithm, SFLA, which has global search capability and high practicality, is fused into the RBF network training.

The rest of the study is organized as follows: In Section 2, the problems with the main traditional GDP forecasting methods are studied in detail, while Section 3 provides the Improved RBF neural network. Section 4 provides the economic forecasting model for GDP based on SFLA-RBF neural network. Section 5 provides the experimental results and analysis. Finally, the paper is concluded in Section 6.

2. Problems with the Main Traditional GDP Forecasting Methods

Forecasting is the advanced estimation of things that have not yet occurred and is a comprehensive study of the interconnections of things. Economic forecasting methods can be divided into two main categories: qualitative forecasting and quantitative forecasting. The former is based on human experience and subjective judgment to obtain forecasts directly, while the latter is based on historical data to build mathematical models and then make quantitative forecasts. Among the classical quantitative forecasting methods are regression forecasting analysis, econometric model forecasting and random time series forecasting. In terms of the timing of forecasts, they can be divided into long-term forecasts, medium-term forecasts, and short-term forecasts.

2.1. Stochastic Time Series Forecasting

Time series analysis refers to the processing of data analysis of data series arranged in chronological order. ARMA is widely used in forecasting in the economic field. In terms of short-term forecasting, ARMA can achieve a high level of forecasting accuracy. In general, the ARMA model is defined as follows:where is the autoregressive order, is the moving average order, is the autoregressive average coefficient, and is the sliding average coefficient. If we use the backward shift operator, we can obtain the new equation given as follows.where e is a random interference error term, and B is a white noise sequence with mean value of 0.

The main contribution of the ARMA model is the discovery that the more pronounced changes in the economic time series are predictable and that such changes are derived from a particular type of non-linear dependence. From a forecasting point of view, the use of ARMA models not only improves the accuracy of the forecast values compared to ordinary least squares, but also the reliability of the forecast values is known. When the variance is large, the confidence interval for the predicted value is larger and therefore less reliable. Conversely, the reliability of the predicted values is better. Using this property, ARMA models are of great practical value when performing risk analysis on stocks, bonds, futures and options etc.

2.2. Regression Model Predictions

A regression model, also known as a causal model, is used to make forecasts based on the historical values of variables and the historical values of other relevant variables. The regression analysis has a very wide range of applicability, not only for micro-forecasting but also for macro-forecasting. Regression analysis methods are not only suitable for short-term forecasting but also for long-term forecasting. Linear regression models are the simplest econometric models.where is the explanatory variable, is the explanatory variable, is the theoretical parameter, and is the random perturbation term. Perturbation terms arise for two main reasons: (1) the stochastic nature of objective phenomena. The stochastic nature of human behavior, the stochastic nature of the social environment, and the stochastic nature of the natural environment dictate the need to introduce perturbation terms into the regression model. (2) Measurement error. When collecting and collating data, some subjective or objective measurement error always arises, resulting in the observed values of some variables not being equal to the actual values.

The assumptions of the regression model require that the explanatory variables are independent of the random error term.

The estimation of the regression model parameters is achieved through ordinary least squares estimation. The least squares estimate is a linear function of the observed Y variable with a mean equal to the true value of the overall regression parameters.

2.3. Evaluation of Traditional GDP Forecasting Methods

Time series forecasting has the advantages of being simple, intuitive and easy to understand, and can easily remove interfering components from the data series. However, there are two problems with time series forecasting: firstly, when there are many forecast items, a large amount of data needs to be stored. Secondly, the most recent observations contain more information than earlier observations and should have a larger weight. In addition, many studies have shown that the prediction accuracy of time series forecasting is low. Time series forecasting assumes that changes in the predictor are only time-dependent. However, in fact, the forecasting object has a close and complex relationship with external factors. Time series forecasting is generally used for short-term forecasting as it relies heavily on the principle of inertia. The disadvantage of time series forecasting is that it is less able to identify changes in the forecast object.

Regression forecasting is a forecasting method based on the principle of correlation. As the forecast object is influenced by certain factors, changes in these factors will lead to changes in the forecast object. The basic idea of regression forecasting is to analyze and study the interrelationship between the forecast object and the relevant factors. As regression analysis has a more rigorous theoretical basis and more mature calculation and analysis methods, the regression forecasting method is more theoretical. Regression forecasting models can obtain relatively accurate forecasting results. In fact, there is a complex intrinsic relationship between the prediction object and the relevant factors. The correlation is a common socio-economic phenomenon and therefore regression forecasting is widely used. The disadvantage of regression forecasting is that the selection of correlates often depends on the knowledge and experience of the forecaster. Although some of the variables have a strong correlation with the predictor variables, they may actually have no effect on the outcome of the prediction.

3. Improved RBF Neural Network

3.1. Principle of RBF Neural Networks

In the study, the economic data are processed using the RBF neural network model. In the RBF neural network model, let the input samples be , , where m and n represent the total number of samples and the total number of features of one sample respectively. In general, the number of neurons and the total number of features in the input layer are equal. The number of neurons in the input layer is generally smaller than the total number of features after the sample features have been filtered [29]. The output of the k-th sample after the model is , and n is the number of neurons in the output layer. A diagram of the radial basis function in the plane is shown in Figure 1.

An RBF network is usually a three-layer feedforward network with the structure shown in Figure 2.

First, the input samples are adjusted by the weighting coefficients to give the values of the first hidden layer [30].

The values of the first implied layer need to be feature transformed.where is a real number greater than 0 and is the j-th hidden layer centroid. The feature transformation function selected for the RBF neural network is the Gaussian function. The first hidden layer is used as input, and the values of the second hidden layer are obtained after adjustment of the weight coefficients.

The conversion function is then used to perform the solution operation.

The output after all implied layers requires additional weights .

The Gaussian function is solved to obtain the output of the whole model [31].

The error results for the k-th sample are shown as follows:

The errors for all samples are shown as follows:

Solve for the weights between the implied and output layers [32].where, is the learning speed and .

3.2. Improved RBF Based on SFLA

There are two main ways to optimize the RBF neural network: firstly, by continuously optimizing the weights of the layers in the RBF neural network through the algorithm. By optimizing the weights, the output of the RBF neural network is brought closer to the actual result; secondly, the number of nodes and the distribution of nodes in the RBF neural network are continuously adjusted by the algorithm, so that the output of the RBF neural network is brought closer to the actual result. In practice, it is also possible to use a mixture of these two approaches to be able to obtain the global optimal solution.

In this study, SFLA is used to optimize the RBF neural network weights. The structure of the network model is generated based on the initial weights and random pre-defined nodes. Multiple weights are used as the input set for SFLA and the network structure model with the smaller error function is selected for optimization.

To further improve the prediction accuracy, SFLA was chosen to optimie the weight parameters of the RBF neural network. Let there be P frogs in the pond forming a frog population, denoted as . The Root Mean Square Error (RMSE) of GDP prediction was chosen as the fitness function and the fitness of all frogs was calculated. The frog with the highest fitness is recorded as . Firstly, P frogs were randomly divided into M groups, and then the search for the maximum amount of food was conducted within each of the M groups.where is the best individual in the group, is the worst individual before and after the move in the group, is the worst individual after the move in the group, is a random number, and is the move step.

The main steps of SFLA are shown as follows:Step 1: SFLA applies the results after the t-th iteration during the (t + 1)-th computational iteration, moving the frog with the larger RMSE continuously closer to the frog with the smaller RMSE.Step 2: If the value of solved at time t + 1 is larger than (with better fitness), then replace with . For the frog movement step problem, a step factor C can be introduced. For the frog, the distance of the movement is calculated as follows:In this regard, the step factor is updated as shown as follows:Where is the minimum movement step of the frog in the current population and is the maximum movement step of the frog in the current population. These two variables can be set as appropriate. is the sum of the fitness values of all frogs in the population, and is the number of times the frog has moved at the current moment [33].Step 3: When the fitness values of all frogs in the population are close to and the error is within the set threshold, the iteration of the algorithm stops. The distribution of all frogs at the current moment is output, which is the optimal solution.

After the optimal weight solution is obtained, the GDP prediction model of RBF neural network can be determined. The process of finding the optimal individual by SFLA is the process of solving for the optimal solution of the RBF neural network weights. The optimal result of the SFLA training is the optimal RBF neural network structure model.

4. Economic Forecasting Model for GDP Based on SFLA-RBF Neural Network

4.1. GDP Sample Data Processing

We selected the five most influential indicators on GDP: employed population F1, fixed asset investment F2, fiscal expenditure F3, total foreign trade exports F4, and total retail sales of social consumer goods F5 as the initial variables, as shown in Table 1. These five indicators were preprocessed as input variables for the SFLA-RBF neural network.

Therefore, before using neural networks for GDP forecasting, the raw data is normalized to avoid the effect of overloading the raw data.where max and min are the maximum and minimum values in the sample data respectively, x is the original sample data and y is the transformed value. This not only avoids the input data falling into the saturation region, but also maintains the original characteristics of the data. When the neural network has finished processing, then the inverse normalization operation is done. The normalized data is shown in Table 2.

4.2. Implementation of the GDP Economic Forecasting Model

The flow of the SFLA-RBF neural network-based GDP economic forecasting model is shown as follows:Step 1: Input of the normalized data GDP sample data, followed by initialization and vectorization.Step 2: random generation of RBF neural network weights.Step 3: Treat the weights randomly generated in step 2 above as separate individuals and set the fitness function to find ;.Step 4: Iteration and migration process according to the SFLA algorithm and determine whether the cut-off condition is met, if so skip to the next step, otherwise continue the iterative operation.Step 5: Arrange the values in descending order to obtain the weighted global optimal solution for the RBF network.Step 6: The optimized RBF neural network structure model is obtained, which can effectively achieve accurate GDP prediction.

5. Experimental Results and Analysis

5.1. Experimental Setup

In this study, the neural network toolbox of MATLAB 7.0 software was selected for modeling. The GDP data from 1997 to 2016 was selected as the sample object for the experiment. The experimental data were mainly obtained from the website of the National Bureau of Statistics (http://www.stats.gov.cn/). In this experiment, 14 sets of data from 1997 to 2010 were used as training samples, and 4 sets of data from 2011th to 2014 were used as test samples to test the prediction performance of the SFLA-RBF neural network model.

The parameters of the RBF neural network: initial learning rate of 0.015, number of iterations epochs of 1000, selection target of 0.0001. Parameters of the SFLA algorithm: population size of 64, number of population selections of 40, initial weight of 0.9, step size factor of 2. In the experiment, the model was first trained with 14 sets of data, and 4 sets of data were input into the model after the training was completed to obtain the prediction output of the model The predicted output of the model was obtained.

5.2. Simulation Example of SFLA-RBF Neural Network Model

First, the same RBF neural network is optimized by using the PSO algorithm [34] and the SFLA algorithm to optimize the weight parameters for the approximation of the Hermit polynomials, respectively.

The RBF network structure is 1-5-1. The simulation results at 200 iterations are shown in Figure 3. The convergence curves of the objective function values are shown in Figure 4. It can be seen that compared to the PSO-RBF algorithm, the SFLA-RBF approximation is better and almost coincides with the original function.

The simulation experiments were then programmed in MATLAB to classify the Iris problem using a three-layer RBF network. The RBF network structure was 4-6-3. The RBF neural network was trained using the PSO algorithm, the BP algorithm and the SFLA algorithm respectively. The trained neural network was then tested with samples from the test set, and the results are shown in Figure 5. It can be seen that SFLA-RBF has the fastest convergence speed and the smallest error, which is significantly better than the other two models.

5.3. Comparison of GDP Forecast Results

First, we confirmed the non-smoothness of the normalized GDP data series (Table 2) by examining the autocorrelogram, as shown in Figures 6 and 7.

It can be seen that the normalized GDP data series is non-stationary. Stochastic time series forecasting, regression model forecasting, RBF neural network, and SFLA-RBF neural network were used for GDP forecasting respectively. The RMSE was chosen as the criterion for the accuracy of the network predictions. In the simulation process, the RBF neural network structure was set differentially to verify its performance in order to fully validate the impact of SFLA-RBF on the prediction accuracy, and the simulation comparison results are shown in Table 3.

It can be seen that the RMSE of GDP prediction based on SFLA-RBF is lower for the same neural network size, indicating a higher prediction accuracy. In particular, when the number of hidden layers is 10, the prediction results of SFLA-RBF all exhibit lower RMSE, which can obtain more satisfactory prediction results. Therefore, in practice, a suitable neural network size can be chosen to accomplish GDP economic forecasting.

5.4. Effect of SFLA Parameters on GDP Forecasting Performance

In order to further validate the optimization performance of SFLA on RBF neural networks, the main parameters of SFLA were set differently. The number of groups, move steps, and number of iterations within groups were mainly simulated to verify the effect of different parameters on the prediction accuracy. The number of hidden layer neurons of the RBF neural network was set to 10 and after 10 predictions. The maximum, mean, and minimum values of its predicted RMSE were solved as shown in Table 4.

It can be seen that when the number of groups belongs to [10, 20, 30, 40, 50] and the step size [1, 3, 5], the RMSE does not exceed 0.7, and the maximum and minimum values do not deviate much from the mean value, so the algorithm is relatively stable. In practice, the SFLA parameters can be fine-tuned by changing the main parameters several times in order to achieve better prediction results.

The number of groups and step size were fixed at 30 and 3, and the number of different iterations was adjusted to verify their effect on prediction accuracy as shown in Table 5.

It can be concluded that as the number of iterations in the group increases, the maximum, minimum and mean values of RMSE slowly decrease. However, when the number of iterations is 40 and 50, the minimum and average values of RMSE for both do not change. In addition, the maximum value also remained almost unchanged and reached stability, and did not keep decreasing as the number of iterations increased. Therefore, the number of iterations should be set reasonably. If the number of iterations is increased, the prediction time will definitely increase. The number of iterations in a group should be set at a reasonable level according to the actual situation.

6. Conclusion

In order to solve the problem of optimal forecasting of high-complexity nonlinear dynamic macroeconomic systems, a GDP economic forecasting model based on an improved RBF neural network is proposed in this paper. In this paper, a GDP forecasting model is developed using an SFLA-optimised RBF neural network. When training the network, a normalization process is used to pre-process the input and output data of the neural network to ensure that the data are of the same order of magnitude, and the prediction results are compared with the traditional prediction model. The experimental results show that the improved RBF neural network has better application value in GDP prediction. When the number of hidden layers is 10, the prediction results of SFLA-RBF all exhibit lower RMSE, which leads to more desirable prediction results. Follow-up studies will further adjust the SFLA parameters to improve the time efficiency of GDP prediction.

Data Availability

The experimental data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest to report regarding the present study.

Acknowledgments

This work was supported by the Guangdong Education Science Planning Project “Research on the construction of business environment in Dawan district based on enterprise competitiveness” (2020GXJK162).