Next Article in Journal
Why Governance Is Never Perfect: Co-Evolution in Environmental Policy and Governance
Previous Article in Journal
System Thinking Approach toward Reclamation of Regional Water Management under Changing Climate Conditions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Forecasting Fine Particulate Matter Concentrations by In-Depth Learning Model According to Random Forest and Bilateral Long- and Short-Term Memory Neural Networks

1
School of Environmental and Municipal Engineering, Xi’an University of Architecture and Technology, No. 13 Yanta Road, Xi’an 710055, China
2
Key Lab of Northwest Water Resource, Environment and Ecology, MOE, Xi’an University of Architecture and Technology, No. 13 Yanta Road, Xi’an 710055, China
3
Shaanxi Key Lab of Environmental Engineering, Xi’an 710055, China
4
SDU Life Cycle Engineering, Department of Green Technology, University of Southern Denmark, 5230 Odense, Denmark
5
School of Economics and Management, China University of Mining and Technology, Xuzhou 221116, China
6
Department of Energy Conservation and Green Development, The 714 Research Institute of CSSC, Beijing 100101, China
7
School of Environment & Natural Resources, Renmin University of China, Beijing 100872, China
*
Author to whom correspondence should be addressed.
Sustainability 2022, 14(15), 9430; https://doi.org/10.3390/su14159430
Submission received: 13 June 2022 / Revised: 6 July 2022 / Accepted: 7 July 2022 / Published: 1 August 2022
(This article belongs to the Section Air, Climate Change and Sustainability)

Abstract

:
Accurate prediction of fine particulate matter concentration in the future is important for human health due to the necessity of an early warning system. Generally, deep learning methods, when widely used, perform better in forecasting the concentration of PM2.5. However, the source information is limited, and the dynamic process is uncertain. The method of predicting short-term (3 h) and long-term trends has not been achieved. In order to deal with the issue, the research employed a novel mixed forecasting model by coupling the random forest (RF) variable selection and bidirectional long- and short-term memory (BiLSTM) neural net in order to forecast concentrations of PM2.5/0~12 h. Consequently, the average absolute percentage error of 1, 6, and 12 h shows that the PM2.5 concentration prediction is 3.73, 9.33, and 12.68 μg/m3 for Beijing, 1.33, 3.38, and 4.60 μg/m3 for Guangzhou, 1.37, 4.19, and 6.35 μg/m3 for Xi’an, and 2.20, 7.75, and 10.07 μg/m3 for Shenyang, respectively. Moreover, the results show that the suggested mixed model is an advanced method that can offer high accuracy of PM2.5 concentrations from 1 to 12 h post.

1. Introduction

Air contamination can be one of the most severe worldwide issues causing ecological and environmental damage [1,2,3] as well as damage to human fitness [4,5,6], especially under long-term high-PM2.5 (diameter less than or equal 2.5 μg/m3) concentration conditions, which would pose serious threats to public health and respiratory filtration systems. PM2.5 is known as “pulmonary particulate matter” and is a key index for assessing fitness harm [7,8]. Therefore, an accurate understanding of PM2.5 concentration is of great significance for early warning of atmospheric quality, which helps to reduce health damage and economic loss.
It is indeed challenging to use a single linear model to consider the complex, multi-parameter, nonlinear PM2.5 concentration prediction process [3,9,10]. For example, Lu et al. [11] showed that the coupled model of back-propagation artificial neural network (BPANN) as well as support vector regression (SVR) have a significant advantage in solving the nonlinear relationship between the input parameters and dependent variable than those of partial least squares regression (PLSR) under the same input parameters. Thus, more and more research has employed the machine learning methods to manage the nonlinear problems. By using the artificial neural network (ANN), support vector machine (SVM), and other machine study algorithms, Zhu and Lu [12] obtained a higher correlation with R2 value at 0.8 than the linear methods performed during the PM2.5 and PM10 (diameter less than or equal 10 μg/m3) concentration forecasts. Moreover, in order to catch the hourly variation of the PM2.5 concentration, Shang et al. [13] employed the extreme learning machine (ELM) and classification regression tree (CART) mixed models.
Gradually, with the deepening of research, a series of deep networks, such as deep belief network (DBN) and long- and short-memory neural network (LSTM), were introduced to verify its performance. Each model showed better results than traditional machine learning ways [2,14,15,16,17]. Therefore, the in-depth neural nets were treated as advanced methods with systematic and scientific neuron and network structures and performed well in capturing input–output parameter characteristics. In addition to the abovementioned, BiLSTM has much more strength for forecasting PM2.5 concentration. Without considering the input parameters of forward and backward information, the normal time series features are extracted from the forward LSTM layer, and the future change information is obtained from the reverse LSTM layer to further improve the prediction results.
However, with a single deep neural net, it is hard to achieve a precise forecast of the PM2.5 concentration. For example, Dai et al. [18] showed that the RNN (recurrent neural network) model could calculate obvious deviation with gradient explosion and gradient disappearance, which is the same as the LSTM model [19], and could hardly reflect spatial information. Therefore, more and more studies introduced mixed models for prediction, which are beneficial to a singular model [9,20,21]. Using this method, each step would perform better with the advantage utilized, such as maximizing input parameter information [22], spatiotemporal data [23], deviation correction data [24], etc., to calculate more precise estimate consequences. As Zhang et al. [25] demonstrated, the PM2.5 concentration prediction could be treated as a statistical method by capturing the historical trend and assessing the future periods. Additionally, the univariate and multivariate parameters constitute forecasting input elements. Taking the autoregressive integrated moving average (ARIMA) mode as an example [26], we could acquire accuracy results just by using the PM2.5 series data information in the short term. A much better prediction could be obtained if studies apply plenty of variables as input parameters to acquire the variation of influencing factors and forecast targets [27,28]. An adaptive method for decomposing was widely used based on the RF algorithm, and the prediction of PM2.5 concentration can serve as a statistical method by capturing historical trends and assessing future periods. Univariate and multivariate parameters constitute the predictive inputs. Taking ARIMA as an example [26], accurate results can be obtained in a short period using only PM2.5 series data information.
However, the accuracy of prediction results is greatly reduced due to the increasing uncertainty of disturbance factors when dealing with a long-term forecast. Chen [29] and Sawlani et al. [30] reported that meteorological conditions and other air pollution are the main influencing factors (such as PM10, SO2, VOCs, and NOx, etc.) for changes in PM2.5 concentrations. If many variables are used as input parameters to obtain the change in influencing factors and forecast targets, better prediction results can be obtained [27,28]. An adaptive decomposition method based on the RF (random forest) algorithm was widely used, and it had advantages in managing complicated nonlinear relations between variables. Bai et al. [4] used a radio-frequency model that incorporated different spatial–temporal variable sources for PM2.5 predictions in New York state and achieved good consequences. Based on this function, the RF model has the advantage of using time series data and reflecting changing features, while the Fourier transforms method and other methods could not achieve those functions as well as the wavelet decomposition method.
In fact, the PM2.5 concentration prediction methods are in depth but still present challenges. Most of the existing time series prediction focuses on the increasing forecast performance of the original sequence without making full use of the effective information implicit in the predictive error sequence. For instance, both precision of peak forecast [31] and the long-term forecast error reduction [29] need improvement. Considering the aforementioned issues, a novel mixed model was proposed with the (RF-BiLSTM) bonding RF approach as well as BiLSTM model to forecast the concentration of PM2.5 in the short term (T + 1, T + 3 moments) as well as the long term (T + 12 moments).
Herein, we present the following innovations: (1) A novel PM2.5 concentration forecast mixed model was recommended to significantly ameliorate forecast precision for the short term as well as the long term. (2) The results showed that the RF model is introduced to decompose the test set independently while the BiLSTM model is coupled. (3) The model was compared with LSTM, SVM, RF, and Tree algorithms. (4) The model was compared with other algorithms, such as LSTM, SVM, RF, and tree. The parameters of different models were adjusted according to the model performance, and the data of different lead times were selected to observe the experimental results. (5) The new mixed-mixing model performs well in spatiotemporal generalization and in reflecting the context relationship of the time point.

2. Methods and Materials

2.1. Study Area and Materials

Beijing, Guangzhou, Xi’an, and Shenyang are the typical representatives of China’s capital, south, central, and northeast regions with high population density and economic prosperity. Beijing is bordered by Tianjin in the east and Hebei in the west, with high terrain in the northwest. Guangzhou presents the characteristics of high terrain in the northeast, high terrain in the southwest, and mountains next to the sea. Xi’an is the highest of all the Chinese cities, and its meteorological characteristics vary greatly from season to season. Shenyang has obvious location advantages and dense transportation networks. It is a famous industrial city that focuses on equipment manufacturing. Under such circumstances, more scientific and precise prediction consequences of PM2.5 concentration is needed to reduce risk exposure.
In the research, the surface meteorological and air quality data from January 2013 to December 2015 were applied as input parameters for the model. Therein, meteorological data including dew point temperature (DT), hourly temperature (T), wind direction at 2 m (U), and wind speed at 2 m (V) were downloaded from the national oceanic and atmospheric administration (https://www.ncdc.noaa.gov/, accessed on 6 July 2022). Hourly data of six pollutants (e.g., PM2.5, PM10 (particulate matter 10), SO2 (sulfur dioxide), NO2 (nitrogen dioxide), O3 (ozone), and CO2 (carbon dioxide)) were acquired from the Chinese ministry of environment (http://www.cnemc.cn/, accessed on 6 June 2022). The position of the research area is illustrated in Figure 1. Since there are transmission errors and sensor failures at the observation points [32], abnormal issues and irregular disappearance in the monitor information need verification as well as testing. Meanwhile, an unmodified, objective, and relatively complete basic data set of time series is the cornerstone of prediction. From previous studies, we chose the mean completion to recension pollutants concentration data, while the missing rate between 0% and 3%, and missing rate between 3.01% and 10% was applied using linear interpolation.

2.2. Random Forest

Random forest is a supervisory machine study algorithm. It extracts multiple subsets from the original data, trains each subset, and summarizes the classification results of different subsets to get the final result (Figure 2). In addition, random forest has an important feature which can calculate the importance of individual feature variables. Therefore, this study calculated the importance of each feature’s influence on PM2.5 concentration, sorted these features, and screened out the most important feature.

2.3. Bi-Directional Long Short-Term Memory

Before introducing BiLSTM, we need to know about the LSTM. Hochreiter and Schmidhuber [33] were the first researchers to propose the model of LSTM, which has achieved great success in solving many problems and has been used in many subjects [34,35]. Compared to other models, the scale of data required for LSTM studies is not as long.
LSTM consists of the import word X t , cell status C t , temporary cell status C ˜ t , concealed layer status h t , forgetting gate f t , memory gate i t , as well as output gate o t at time t. The calculation procedure is below:
(1) Count the forgetting gate and choose the data to be forgotten.
Import: concealed layer status h t 1 of former time, import word X t of present time.
Export: forgetting gate score f t .
(2) Calculate the memory gate and select the information to be memorized.
Input: hidden layer state h t 1 of the previous time, input word X t of the current time.
Output: memory gate value i t , temporary cell state C ˜ t .
(3) Calculate the cell state at the current time.
Input: memory gate value i t , forgetting gate value f t , temporary cell state C ˜ t , last moment cell status C t 1 .
Output: cell state C at the current time.
(4) Calculate the output gate and current hidden layer state.
Import: hidden layer state h t 1 of the previous time, the input word X t of the current time, cell status C t of the present time.
Export: output gate value o, hidden layer state h t .
In a word, the calculation process of LSTM is to take the operation of forgetting data and remembering novel data to the cell status, move the helpful data for succeeding time, and output concealed layer status at every time point. BiLSTM is the integration of forwarding LSTM as well as backward LSTM. The hidden layer needs to store two values, one for forwarding calculation and the other for reverse calculation. The final output value depends on these two values.

2.4. Modeling Process

Figure 3 describes the research framework of this paper. It consists of three parts:
(1) Selection of variables.
Wind direction, humidity, air pressure, air temperature, and other features were selected as the more important features of the input variables [36]. Additionally, to ensure the complete integrity of the PM2.5 sample in the time series, linear interpolation was employed to fill the missing value.
(2) Model parameter adjustment and training.
Then, the time series of training, test, and validation sets were different, and the data set ratio was shown in the following in detail. Additionally, the number of components was also different. After a comparison of different components, the fitter component could be chosen as fixed input variables. Next, the input parameters of LSTM, SVM, RF, and Tree models were adjusted to predict PM2.5 concentration.
(3) Effect evaluation.
Mean absolute error (MAE) and root mean square error (RMSE) are applied to assess the prediction results of the model and contrast them with other models to discuss the effect of the model in different regions and different lead times.
Each city’s time series data is separated into three data sets in the ratio of 7:1:2, which are the training set, the validation set, and the test set. The training set data is hourly data from April 1, 2013, to March 5, 2015, and the subsequent hourly data is the verification set from June 13. The validation set serves as a reference for fine-tuning model parameters, whereas the training set is utilized for initial model training. The split-out test set is primarily utilized to validate the model’s validity since the trained model has never encountered it before. The hourly environmental data from 14 June 2015 to 31 December 2015 was used as the test set. By comparing with the LSTM, SVM, RF, and tree models, the advantages of the RF-BiLSTM model are shown in Section 3.2.

2.5. Evaluation Indicators

To evaluate the performance, we adopted 3 statistical indexes: coefficient of determination (R2), MAE, and RMSE, which have been widely used in the assessment of precise indictors in former research scholar’s work [32,37]. The definitions of those indicators are as follows:
R 2 = 1 i = 1 T ( y i y ^ i ) 2 i = 1 T ( y i y ¯ i ) 2
M A E = t = 1 T | y i y ¯ i | T
R M S E = 1 T t = 1 T ( y i y ¯ i ) 2
where i represents the time a serial number of prediction and observation specimens, T represents the amount time serial number of prediction and observation samples, y i denotes the PM2.5 concentration in time I, y ^ i represents concentration of PM2.5 forecasting consequence of sample in time i, and y ¯ i represents the mean value the observation concentration of sample in time i. R2 denotes the degree of fitting value among the prediction concentration as well as actual concentration at the corresponding time, which when closer to the value of 1, the precise result performed much better. Additionally, the rest of the indictors of RMSE and MAPE are error assessment indicators that analyze deviation among prediction as well as actual value simultaneously.

3. Results and Discussion

3.1. Prediction Result of RF-BiLSTM

3.1.1. Prediction Results of RF Model

The time sequences of PM2.5 are usually non-stationary. This is mainly caused by the impact of air PM2.5 on meteorology and pollution emissions. RF could decompose non-stative PM2.5 time sequences in major factors and non-major factors. In order to avoid data disclosure, the meteorological parameters were decomposed using the radio frequency method, and the contribution efficiency of meteorological parameters to forecast results was evaluated by OOB value. The model was trained by randomly selecting data, and then the meteorological data were classified, and the classified data was learned, thereby increasing the precision of this model.
It is indicated in Figure 4 that five meteorology parameters were employed with the RF method to classify the importance of each element. Different meteorology parameters have different OOB values among different cities. In Beijing, the OOB value of air temperature is the highest at t-1 and has the greatest influence on PM2.5 concentration, followed by DEWP, while the OOB value of Iws is the lowest at T-4 and has little influence on PM2.5 concentration.
The OOB value of DEWP is the highest, followed by TEMP, and Iws is the lowest in different periods. Guangzhou and Xi’an have significant importance in DEWP and PRES, but HUMI has the highest importance only in Guangzhou. These phenomena show that the dew point and temperature vary greatly from day to night, and the increase rate of high PM2.5 concentration (such as BJ, SY, and XA) in winter is relatively small. It is easy to cause fine particles to adhere and condense into nucleation, and the increase in temperature and light in summer will promote atmospheric oxidation and conversion of secondary pollutants.
The results show that DEWP, TEMP, and PRES have a great influence on PM2.5 concentration. However, Guangzhou is close to the ocean, and its humidity is relatively high, which has a great relationship with PM2.5 concentration. In addition, whether it is dew point, temperature, or other factors, the RF model will conduct a preliminary screening of invalid information as input parameters of the BiLSTM model, which can significantly improve the accuracy of prediction [1,26].

3.1.2. The Comparison of Prediction Results between LSTM and RF-BiLSTM for Short-Term

Through the established model testing, it is found that the RF model classification results will have a great positive effect on the final prediction results. The R2 has increased significantly from 0.99 (LSTM model) to 0.995 (RF-BiLSTM) at the T + 1 moment. Without RF model classification, forecasting at the T + 1 moment will evaluate PM2.5 concentration at a high level. After conducting the RF model classification based on the useless information filter of previous data with similar input parameters of the BiLSTM model, the high evaluation of predicting consequences could be noticeably modified. RMSE was decreased significantly by ~26.4% (from 9.87 μg/m3 to 7.26 μg/m3), and MAE was decreased from 5.15 μg/m3 to 3.73 μg/m3, with a decrease of 27.6%. The consequences validated fully illustrate that RF classification is a very necessary step which could significantly improve the forecast precision of the mixed model.
From Figure 5a1,b1,c1, the improvement of the prediction accuracy can also be indicated at other times. The results with the RF classified results at the T + 2 and T + 3 moments are similar to those at the T + 1 moment. Additionally, forecast precision is significantly modified, especially in the capacity to forecast peak score. The degree of RF-BiLSTM strength of forecast accuracy consequences alters with time, and the R2 value ranged from 0.989 (T + 3) to 0.995 (T + 1). The reason may be that the prediction error of components increases rapidly with predicting time growth. Additionally, the same pattern applied in SY, XA, and GD cities is shown in Supplementary Materials Table S1, Figures S1–S3.

3.2. Contrast of Forecast Consequence of Different Models

3.2.1. Contrast Short-Term Forecast Consequences with SVM, TREE, and RF Models

The different forecast consequences of in-depth learning at short-term moments (T + 1 to T + 3) are indicated in Table 1 as well as Figure 6.
Table 1 shows the relationship between the concentration of PM2.5 prediction results and the actual PM2.5 concentration among the different lead times. In general, RF-BILSTM has the best performance, and MAE and RMSE have small evaluation errors. The main reason was that, based on the feature selection of the RF model, the rF-BILSTM coupling model has a lower interference factor and a higher relationship influence factor than the traditional model.
Therefore, the advantages of the RF model in reducing data noise are quite different from those of BiLSTM. MAE is 0.04–2.4 μg/m3 higher than other models, and RMSE is 0.98~5.49 μg/m3 higher than other models. The MAE and RMSE were 1.52–3.71 μg/m3 and 3.19–6.95 μg/m3 higher than those of other models. The RF-BiLSTM model was the best choice for BJ to forecast the concentration of PM2.5 3 hours ahead. The accuracy of MAE is 0.28–2.73 μg/m3 higher than other models, and RMSE is 0.31–7.53 μg/m3 higher than other models.
Through a comprehensive analysis of the three tables, the MAE and RMSE values will increase significantly with the increase in lead time, no matter which model is used in the Shenyang area. This is understandable because the longer the lead time, the lower the accuracy. In the other three locations, the trend is not obvious, and the prediction error of each model is the largest in the two-hours-ahead model, which means that the RF-BiLSTM model with one-hour-ahead is the most suitable for predicting PM2.5 concentration.
During the experiment, the parameters of different models were optimized and iterated in different ways. The specific optimization settings were as follows:
(1) The Adaptive Moment Estimation (Adam) algorithm can be used in the paper to update weight parameters of neural net. Adam is an adaptive learning rate method, of which the first and second moments of gradient are used to estimate the learning rate of dynamically adjusted parameters. The initial learning rate can be set as 0.005, the maximal epochs (number of iterations) are 100, and the number of concealed layer neurons is set to 200. To adjust model parameters more delicately during training, the learning rate will be scaled in a certain multiple after every 30 iterations, and 0.2 times will be used in modeling. The advantage of Adam is primarily that after deviation amendment, the study ratio of every iteration has some scope, making parameters relatively steady.
In this experiment, we set the threshold value of the gradient to 1 and clipped the gradient information exceeding this value to ensure the stability of the model. We standardized the model input to avoid information loss caused by different data weights.
(2) Since both decision trees and random forests are tree regression models, the optimization settings of the two models are similar, which are optimized on the number of decision trees, the minimum number of cotyledon nodes, as well as the maximal number of branch nodes. Due to the relatively wide range of parameters and their values to be optimized, in order to decrease the search time, the random search method could be adopted to adjust the parameters during the optimization process. This approach may reduce the accuracy of the model to some extent but can save up to 90% in running time.
(3) The SVM model needs to normalize the model input and adopt the Gaussian regression kernel for modeling. The values of C and Gamma are optimized using Bayes, where C represents the tolerance of the model to errors. If C is too large or too small, the phenomenon of over-fitting and under-fitting will occur, respectively. Gamma is an argument that comes with the RBF function when you select it as the kernel. The number of support vectors effects the velocity of training as well as the forecast.

3.2.2. Contrasting the Long-Term Forecast Consequences of Models Applied in Some Existing Researches

Some researches employed mixed models to forecast the PM2.5 concentration; however, none of them make long-term predictions, such as the GRU, SVM, and LSTM models suggested by [4,9,38], as well as RF and Tree referred to in the previous section. Long-term prediction consequences of the RF-BiLSTM method are shown in Figure 7 and Table 2.
Along with time increase, the forecast precision of the model reduced little by little. Although the R2 remained at more than 0.9, the MAE and RESM had a huge error compared to the moment at T + 1. It is obvious that the long-term PM2.5 concentration forecast remains challenging as well as situated further discovered. Meanwhile, the mixed model suggested in the research keeps optimal consequences at T + 1 to T + 6 moments (with R2 0.97–1.00, RMSE 7.26–16.93 μg/m3, MAE 3.73–9.33μg/m3). Consequently, in traditional machine study models, the R2 value is usually lower than 0.8 at T + 6. All those results indicated that the RF-BiSLTM model is more suited to the integration of RF than other deep learning machine models, and mixed models could offer an efficient reference for policy execution.

3.3. The Evaluation of the Model Robustness and Spatiotemporal Generalization

3.3.1. Validation of Spatial Generalization of Mixed Model

To test the spatial generalization of the mixed model, we randomly chose Guangzhou, Xi’an, and Shenyang, three cities distributed in northeast, northwest, and south China and with large geographical differences from Beijing and serious changes to forecast future variation of PM2.5 concentration. The RF-BiLSTM mixed model prediction results in the next six moments and further span in the twelve moments are shown in Table 3, Table 4 and Table 5 and Supplementary Materials Figures S7–S9, and the kinds of input parameters were all classified using RF model.
Consequences indicated that the mixed model and change variation of forecast results in this study are also suitable for Guangzhou, Xi’an, and Shenyang (the R2 value at the T + 1 moment could be 0.99, 1.00, and 1.00, separately), proving that the mixed model has great spatial generalization. GZ and XA have the best results in the three cities. On the other hand, the suspension of training group, continuous training group, and experimental group have significant influence on the prediction results. Compared with the LSTM, SVM, RF, and Tree model, the same regulars can be found in these three cities. Although R2 can sometimes keep the same value, the MAE and RMSE can have bigger errors than RF-BiLSTM. Taking XA for example, the MAE and RMSE of the Tree model have more than 4~5 times the errors than the former model results. The results demonstrated that the mixed model has great generalization and firmness in the short term.

3.3.2. Validation of Temporal Generalization of Mixed Model

To test the mixed model long-term robustness and generalization, this study compared long-term prediction results. The forecast consequences of the RF-BiLSTM model at further time are indicated in Table 6, Table 7 and Table 8, and the types of import parameters are identical as those in the short term. For GZ and XA, the R2 have better performance with the value at 0.9, which demonstrated that the mixed model can reproduce PM2.5 concentration variation trend characteristics.
However, MAE and RMSE values would be closely related to local conditions for simulating contaminant concentrations in the area. For example, when the background concentration of XA and GZ is relatively low, the deviation of prediction results of the model is small (GZ MAE: 1.33–4.60 μg/m3, 1.77–6.52 μg/m3, MAE: 1.37–6.35 μg/m3, RMSE: The deviation of the model prediction results was large (MAE: 2.20–6.35 μg/m3, GZ: 4.51–25.37 μg/m3). This result indicated that the mixed model could better predict the concentration change trend with time going on, regardless of BJ or other regions, but the accuracy decreases gradually at the T + 6 moment.

4. Conclusions

The environmental damage caused by frantic industrial development will eventually have an impact on human health, and PM2.5 is not the only product, but it is a crucial one. Accurately predicting PM2.5 concentrations can help to issue air quality alerts, allow people to avoid long-term exposure to high pollution levels, and ease the pain of respiratory diseases. The PM2.5 concentration curves of four typical cities with regional characteristics, Shenyang, Beijing, Xi’an, and Guangzhou, were illustrated by using the random forest model. The conclusion is as follows:
(1) The variation of the concentration of PM2.5 in China is related to lifestyle and meteorological factors. Xi’an is located in the mainland, so the accumulation of pollutants is mainly due to the more stationary wind. Meanwhile, Guangzhou is located in the south, adjacent to the Pearl River, and the air humidity is higher than in other areas, so the pollutant accumulation level is low. By comparing weekend and weekday PM2.5 concentrations, it was found that human activities also have an impact on pollutant levels in the area.
(2) Feature selection can effectively reduce the model complexity by compressing the input variable dimensions. In this paper, the DEWP, TEMP, HUMI, PRES, and Iws of different lead times are selected as input variables according to the correlations assessed using RF. The selected variables contain most of the previous environmental attributes to ensure the accuracy of the model. Since the input dimension was reduced by 80%, the memory required for model operation was doubled, making it possible to deploy edge computing on low-performance computers.
(3) The proposed RF-BiLSTM mixed model shows superior performance on different statistical indicators compared to others. The model can identify and fit the variation rule of concentration, and it can also identify the key variables to some extent. At the same time, it is highly portable and can be used to predict pollutants in different geographical areas at a low cost. In future work, the model will be improved in the following aspects: for regions with the same geographical characteristics, input variables are selected to verify the universality of the model, and the random forest feature selection method is selected. Other feature selection methods will also be tested for better performance.
(4) In recent years, the majority of cities in China have witnessed the high frequency of haze pollution. With the help of the forecasting model, especially in short- and long-term prediction, PM2.5 concentration variation characteristics have been significantly captured based on the RF-BiLSTM model. Under this circumstance, joint prevention and control and targeted policies to reduce emissions could be established and implemented, and human health can be significantly improved.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/su14159430/s1, Table S1. Meteorological Statistics, Figure S1 Comparison of PM2.5 concentration prediction results before and after RF model optimization in GZ, Figure S2 Comparison of PM2.5 concentration prediction results before and after RF model optimization in XA, Figure S3 Comparison of PM2.5 concentration prediction results before and after RF model optimization in SY, Figure S4 Fitting diagrams of RF-BiLSTM, LSTM, SVM, RF, Tree different models at T + 1 to T + 3 moments in GZ, Figure S5 Fitting diagrams of RF-BiLSTM, LSTM, SVM, RF, Tree different models at T + 1 to T + 3 moments in XA, Figure S6 Fitting diagrams of RF-BiLSTM, LSTM, SVM, RF, Tree different models at T + 1 to T + 3 moments in SY, Figure S7 Comparison of RF-BiLSTM results at T + 1 to T + 12 different moments in GZ, Figure S8 Comparison of RF-BiLSTM results at T + 1 to T + 12 different moments in XA, Figure S9 Comparison of RF-BiLSTM results at T + 1 to T + 12 different moments in SY.

Author Contributions

L.Y.: conceptualization, methodology, resources, supervision. J.Z.: writing—original draft, visualization. K.S.: software, validation. H.H., P.G., and C.J.: writing—review and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available in Section 2.1. Study Area and Materials.

Acknowledgments

We thank all authors who kindly provided their hard work to the program.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Guan, P.; Zhou, Y.; Cheng, S.; Duan, W.; Yao, S.; Li, J.; Yue, L. Characteristics of heavy pollution process and source appointment in typical heavy industry cities. China Environ. Sci. 2020, 40, 31–40. [Google Scholar]
  2. Liu, H.; Long, Z.; Duan, Z.; Shi, H. A New Model Using Multiple Feature Clustering and Neural Networks for Forecasting Hourly PM2.5 Concentrations, and Its Applications in China. Engineering 2020, 6, 944–956. [Google Scholar] [CrossRef]
  3. Wang, J.; Niu, T.; Wang, R. Research and Application of an Air Quality Early Warning System Based on a Modified Least Squares Support Vector Machine and a Cloud Model. Int. J. Environ. Res. Public Health 2017, 14, 249. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Bai, Y.; Li, Y.; Zeng, B.; Li, C.; Zhang, J. Hourly PM2.5 concentration forecast using stacked autoencoder model with emphasis on seasonality. J. Clean. Prod. 2019, 224, 739–750. [Google Scholar] [CrossRef]
  5. Deng, Y.; Wang, B.; Lu, Z. A hybrid model based on data preprocessing strategy and error correction system for wind speed forecasting. Energy Convers. Manag. 2020, 212, 112779. [Google Scholar] [CrossRef]
  6. O’Donnell, M.J.; Fang, J.; Mittleman, M.A.; Kapral, M.K.; Wellenius, G.A.; Investigators of the Registry of Canadian Stroke Network. Fine Particulate Air Pollution (PM2.5) and the Risk of Acute Ischemic Stroke. Epidemiology 2011, 22, 422–431. [Google Scholar] [CrossRef] [Green Version]
  7. Guan, P.; Wang, X.; Cheng, S.; Zhang, H. Temporal and spatial characteristics of PM2.5 transport fluxes of typical inland and coastal cities in China. J. Environ. Sci. 2021, 103, 229–245. [Google Scholar] [CrossRef]
  8. Guan, P.; Zhang, H.; Zhang, Z.; Chen, H.; Bai, W.; Yao, S.; Li, Y. Assessment of Emission Reduction and Meteorological Change in PM2.5 and Transport Flux in Typical Cities Cluster during 2013–2017. Sustainability 2021, 13, 5685. [Google Scholar] [CrossRef]
  9. Wang, P.; Zhang, G.; Chen, F.; He, Y. A hybrid-wavelet model applied for forecasting PM2.5 concentrations in Taiyuan city, China. Atmos. Pollut. Res. 2019, 10, 1884–1894. [Google Scholar] [CrossRef]
  10. Wang, T.; Han, Y.; Hua, W.; Tang, J.; Huang, J.; Zhou, T.; Huang, Z.; Bi, J.; Xie, H. Profiling Dust Mass Concentration in Northwest China Using a Joint Lidar and Sun-Photometer Setting. Remote Sens. 2021, 13, 1099. [Google Scholar] [CrossRef]
  11. Lu, X.; Sha, Y.H.; Li, Z.; Huang, Y.; Chen, W.; Chen, D.; Shen, J.; Chen, Y.; Fung, J.C.H. Development and application of a hybrid long-short term memory—Three dimensional variational technique for the improvement of PM2.5 forecasting. Sci. Total Environ. 2021, 770, 144221. [Google Scholar] [CrossRef]
  12. Zhu, H.; Lu, X. The Prediction of PM2.5 Value Based on ARMA and Improved BP Neural Network Model. In Proceedings of the 8th International Conference on Intelligent Networking and Collaborative Systems (INCoS), Ostrava, Czech Republic, 7–9 September 2016; pp. 515–517. [Google Scholar]
  13. Shang, Z.; Deng, T.; He, J.; Duan, X. A novel model for hourly PM2.5 concentration prediction based on CART and EELM. Sci. Total Environ. 2019, 651, 3043–3052. [Google Scholar] [CrossRef] [PubMed]
  14. Xing, H.; Wang, G.; Liu, C.; Suo, M. PM2.5 concentration modeling and prediction by using temperature-based deep belief network. Neural Netw. 2021, 133, 157–165. [Google Scholar] [CrossRef] [PubMed]
  15. Zhao, J.; Deng, F.; Cai, Y.; Chen, J. Long short-term memory—Fully connected (LSTM-FC) neural network for PM2.5 concentration prediction. Chemosphere 2019, 220, 486–492. [Google Scholar] [CrossRef] [PubMed]
  16. Ding, A.; Huang, X.; Nie, W.; Chi, X.; Xu, Z.; Zheng, L.; Xu, Z.; Xie, Y.; Qi, X.; Shen, Y.; et al. Significant reduction of PM2.5 in eastern China due to regional-scale emission control: Evidence from SORPES in 2011–2018. Atmos. Chem. Phys. 2019, 19, 11791–11801. [Google Scholar] [CrossRef] [Green Version]
  17. Du, L.; Wang, Y.; Wu, Z.; Hou, C.; Mao, H.; Li, T.; Nie, X. PM2.5-Bound Toxic Elements in an Urban City in East China: Concentrations, Sources, and Health Risks. Int. J. Environ. Res. Public Health 2019, 16, 164. [Google Scholar] [CrossRef] [Green Version]
  18. Dai, X.; Liu, J.; Li, Y. A recurrent neural network using historical data to predict time series indoor PM2.5 concentrations for residential buildings. Indoor Air 2021, 31, 1228–1237. [Google Scholar] [CrossRef] [PubMed]
  19. Li, T.; Hua, M.; Wu, X. A Hybrid CNN-LSTM Model for Forecasting Particulate Matter (PM2.5). IEEE Access 2020, 8, 26933–26940. [Google Scholar] [CrossRef]
  20. Niu, Y.; Cheng, S.-Y.; Ou, S.-J.; Yao, S.-Y.; Shen, Z.-Y.; Guan, P.-B. Applying Photochemical Indicators to Analyze Ozone Sensitivity in Handan. Huanjing Kexue 2021, 42, 2691–2698. [Google Scholar]
  21. Wu, Q.; Lin, H. A novel optimal-hybrid model for daily air quality index prediction considering air pollutant factors. Sci. Total Environ. 2019, 683, 808–821. [Google Scholar] [CrossRef] [PubMed]
  22. Du, S.; Li, T.; Yang, Y.; Horng, S.-J. Deep Air Quality Forecasting Using Hybrid Deep Learning Framework. IEEE Trans. Knowl. Data Eng. 2021, 33, 2412–2424. [Google Scholar] [CrossRef] [Green Version]
  23. Zhu, J.; Deng, F.; Zhao, J.; Zheng, H. Attention-based parallel networks (APNet) for PM2.5 spatiotemporal prediction. Sci. Total Environ. 2021, 769, 145082. [Google Scholar] [CrossRef]
  24. Sun, W.; Li, Z. Hourly PM2.5 concentration forecasting based on mode decomposition-recombination technique and ensemble learning approach in severe haze episodes of China. J. Clean. Prod. 2020, 263, 121442. [Google Scholar] [CrossRef]
  25. Zhang, L.; Lin, J.; Qiu, R.; Hu, X.; Zhang, H.; Chen, Q.; Tan, H.; Lin, D.; Wang, J. Trend analysis and forecast of PM2.5 in Fuzhou, China using the ARIMA model. Ecol. Indic. 2018, 95, 702–710. [Google Scholar] [CrossRef]
  26. Huang, G.; Li, X.; Zhang, B.; Ren, J. PM2.5 concentration forecasting at surface monitoring sites using GRU neural network based on empirical mode decomposition. Sci. Total Environ. 2021, 768, 144516. [Google Scholar] [CrossRef] [PubMed]
  27. Chang-Hoi, H.; Park, I.; Oh, H.-R.; Gim, H.-J.; Hur, S.-K.; Kim, J.; Choi, D.-R. Development of a PM2.5 prediction model using a recurrent neural network algorithm for the Seoul metropolitan area, Republic of Korea. Atmos. Environ. 2021, 245, 118021. [Google Scholar] [CrossRef]
  28. Zhang, B.; Zhang, H.; Zhao, G.; Lian, J. Constructing a PM2.5 concentration prediction model by combining auto-encoder with Bi-LSTM neural networks. Environ. Model. Softw. 2020, 124, 104600. [Google Scholar] [CrossRef]
  29. Cheng, Y.; Zhang, H.; Liu, Z.; Chen, L.; Wang, P. Hybrid algorithm for short-term forecasting of PM2.5 in China. Atmos. Environ. 2019, 200, 264–279. [Google Scholar] [CrossRef]
  30. Sawlani, R.; Agnihotri, R.; Sharma, C. Chemical and isotopic characteristics of PM2.5 over New Delhi from September 2014 to May 2015: Evidences for synergy between air-pollution and meteorological changes. Sci. Total Environ. 2021, 763, 142966. [Google Scholar] [CrossRef] [PubMed]
  31. Qi, Y.; Li, Q.; Karimian, H.; Liu, D. A hybrid model for spatiotemporal forecasting of PM2.5 based on graph convolutional neural network and long short-term memory. Sci. Total Environ. 2019, 664, 1–10. [Google Scholar] [CrossRef]
  32. Yang, K.; Teng, M.; Luo, Y.; Zhou, X.; Zhang, M.; Sun, W.; Li, Q. Human activities and the natural environment have induced changes in the PM2.5 concentrations in Yunnan Province, China, over the past 19 years. Environ. Pollut. 2020, 265, 114878. [Google Scholar] [CrossRef] [PubMed]
  33. Hochreiter, S.; Schmidhuber, J.J.N.C. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
  34. Choi, S.W.; Kim, B.H.S. Applying PCA to Deep Learning Forecasting Models for Predicting PM2.5. Sustainability 2021, 13, 3726. [Google Scholar] [CrossRef]
  35. Shi, L.; Zhang, H.; Xu, X.; Han, M.; Zuo, P. A balanced social LSTM for PM2.5 concentration prediction based on local spatiotemporal correlation. Chemosphere 2022, 291, 133124. [Google Scholar] [CrossRef]
  36. Wei, J.; Yang, F.; Ren, X.-C.; Zou, S. A Short-Term Prediction Model of PM2.5 Concentration Based on Deep Learning and Mode Decomposition Methods. Appl. Sci. 2021, 11, 6915. [Google Scholar] [CrossRef]
  37. Yu, Z.; Yang, K.; Luo, Y.; Shang, C. Spatial-temporal process simulation and prediction of chlorophyll-a concentration in Dianchi Lake based on wavelet analysis and long-short term memory network. J. Hydrol. 2020, 582, 124488. [Google Scholar] [CrossRef]
  38. Niu, M.; Wang, Y.; Sun, S.; Li, Y. A novel hybrid decomposition-and-ensemble model based on CEEMD and GWO for short-term PM2.5 concentration forecasting. Atmos. Environ. 2016, 134, 168–180. [Google Scholar] [CrossRef]
Figure 1. Spatial distribution of the Beijing (BJ), Guangdong (GD), Xi’an (XA), and Shenyang (SY) study areas.
Figure 1. Spatial distribution of the Beijing (BJ), Guangdong (GD), Xi’an (XA), and Shenyang (SY) study areas.
Sustainability 14 09430 g001
Figure 2. The basic principle of random forest.
Figure 2. The basic principle of random forest.
Sustainability 14 09430 g002
Figure 3. The process of the RF-BiLSTM mixed model step.
Figure 3. The process of the RF-BiLSTM mixed model step.
Sustainability 14 09430 g003
Figure 4. Importance assessment using the OOB value in four typical cities.
Figure 4. Importance assessment using the OOB value in four typical cities.
Sustainability 14 09430 g004
Figure 5. Contrast of the concentration of PM2.5 forecast consequence before and after RF model optimizing in BJ point.
Figure 5. Contrast of the concentration of PM2.5 forecast consequence before and after RF model optimizing in BJ point.
Sustainability 14 09430 g005
Figure 6. Fitting diagrams of RF-BiLSTM, LSTM, SVM, RF, and Tree different models at T + 1, T + 2, and T + 3 moments in BJ.
Figure 6. Fitting diagrams of RF-BiLSTM, LSTM, SVM, RF, and Tree different models at T + 1, T + 2, and T + 3 moments in BJ.
Sustainability 14 09430 g006aSustainability 14 09430 g006b
Figure 7. Comparison of RF-BiLSTM results at T + 1 to T + 12 different moments in BJ.
Figure 7. Comparison of RF-BiLSTM results at T + 1 to T + 12 different moments in BJ.
Sustainability 14 09430 g007aSustainability 14 09430 g007b
Table 1. Forecast consequences of the distinct models at short-term moments in BJ.
Table 1. Forecast consequences of the distinct models at short-term moments in BJ.
ModelBJ(T + 1)BJ(T + 2)BJ(T + 3)
R2MAERMSER2MAERMSER2MAERMSE
LSTM0.99 5.159.860.99 6.4512.210.98 6.9613.41
RF-BiLSTM1.00 3.737.260.99 5.2310.20.99 5.3610.47
SVM0.97 9.8718.60.91 16.8231.150.84 22.2840.39
RF0.94 11.4823.960.87 19.0936.690.76 25.3749.49
Tree0.95 11.2921.820.88 18.6634.570.80 24.4745.23
Table 2. Forecast consequences of distinct moments in BJ.
Table 2. Forecast consequences of distinct moments in BJ.
MomentT + 1T + 2T + 3T + 4T + 5T + 6T + 7T + 8T + 9T + 10T + 11T + 12
R21.00 0.99 0.99 0.98 0.98 0.97 0.96 0.97 0.97 0.96 0.94 0.95
MAE3.735.235.367.297.359.3311.8910.429.8510.8412.8912.68
RMSE7.26 10.20 10.47 13.69 12.81 16.93 19.03 17.61 17.11 19.01 24.14 23.33
Table 3. Forecast consequences of distinct models at short-term moments in GZ.
Table 3. Forecast consequences of distinct models at short-term moments in GZ.
ModelGZ(T + 1)GZ(T + 2)GZ(T + 3)
R2MAERMSER2MAERMSER2MAERMSE
LSTM0.98 1.982.680.98 2.393.30.96 2.854.03
RF-BiLSTM0.99 1.331.770.98 2.062.820.98 2.263.13
SVM0.89 4.646.930.79 6.589.770.70 7.9111.66
RF0.89 4.897.120.78 6.9110.090.70 8.3111.78
Tree0.89 4.964.960.78 6.8610.010.69 8.411.93
Table 4. Forecast consequences of distinct models at short-term moments in XA.
Table 4. Forecast consequences of distinct models at short-term moments in XA.
ModelXA(T + 1)XA(T + 2)XA(T + 3)
R2MAERMSER2MAERMSER2MAERMSE
LSTM1.00 1.653.070.99 2.093.920.99 2.084.43
RF-BiLSTM1.00 1.372.750.99 1.653.520.99 1.784.16
SVM0.99 3.034.720.96 5.758.850.92 8.0712.19
RF0.99 3.375.30.96 6.049.250.91 8.5112.91
Tree0.99 3.585.440.95 6.369.610.91 8.8313.2
Table 5. Forecast consequences of distinct models at short-term moments in SY.
Table 5. Forecast consequences of distinct models at short-term moments in SY.
ModelSY(T + 1)SY(T + 2)SY(T + 3)
R2MAERMSER2MAERMSER2MAERMSE
LSTM0.99 3.859.220.98 5.1111.240.97 6.1115.07
RF-BiLSTM1.00 2.24.510.99 3.176.710.99 4.7910.35
SVM0.97 8.3115.30.91 14.0725.580.84 18.3633.17
RF0.93 9.8521.580.84 16.6833.590.72 22.1744.08
Tree0.94 10.5820.670.83 16.8234.660.76 21.5441.05
Table 6. Forecast consequences of distinct moments in GZ.
Table 6. Forecast consequences of distinct moments in GZ.
MomentT + 1T + 2T + 3T + 4T + 5T + 6T + 7T + 8T + 9T + 10T + 11T + 12
R20.99 0.98 0.98 0.96 0.95 0.95 0.94 0.93 0.94 0.93 0.92 0.91
MAE1.332.062.262.913.193.383.573.843.753.974.134.6
RMSE1.77 2.82 3.13 4.20 4.60 4.87 5.14 5.48 5.36 5.67 5.91 6.52
Table 7. Forecast consequences of distinct moments in XA.
Table 7. Forecast consequences of distinct moments in XA.
MomentT + 1T + 2T + 3T + 4T + 5T + 6T + 7T + 8T + 9T + 10T + 11T + 12
R21.00 0.99 0.99 0.99 0.98 0.97 0.97 0.97 0.98 0.97 0.95 0.94
MAE1.371.651.782.162.694.193.984.093.614.675.936.35
RMSE2.75 3.52 4.16 4.82 5.82 7.12 7.26 7.32 7.01 8.19 9.57 10.38
Table 8. Forecast consequences of distinct moments in SY.
Table 8. Forecast consequences of distinct moments in SY.
MomentT + 1T + 2T + 3T + 4T + 5T + 6T + 7T + 8T + 9T + 10T + 11T + 12
R21.00 0.99 0.99 0.97 0.71 0.94 0.94 0.93 0.94 0.90 0.87 0.91
MAE2.23.174.795.96.27.757.888.898.4510.610.6510.07
RMSE4.51 6.71 10.35 14.14 14.17 20.27 19.90 22.20 20.73 26.52 29.59 25.37
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhao, J.; Yuan, L.; Sun, K.; Huang, H.; Guan, P.; Jia, C. Forecasting Fine Particulate Matter Concentrations by In-Depth Learning Model According to Random Forest and Bilateral Long- and Short-Term Memory Neural Networks. Sustainability 2022, 14, 9430. https://doi.org/10.3390/su14159430

AMA Style

Zhao J, Yuan L, Sun K, Huang H, Guan P, Jia C. Forecasting Fine Particulate Matter Concentrations by In-Depth Learning Model According to Random Forest and Bilateral Long- and Short-Term Memory Neural Networks. Sustainability. 2022; 14(15):9430. https://doi.org/10.3390/su14159430

Chicago/Turabian Style

Zhao, Jie, Linjiang Yuan, Kun Sun, Han Huang, Panbo Guan, and Ce Jia. 2022. "Forecasting Fine Particulate Matter Concentrations by In-Depth Learning Model According to Random Forest and Bilateral Long- and Short-Term Memory Neural Networks" Sustainability 14, no. 15: 9430. https://doi.org/10.3390/su14159430

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop