•  
  •  
 

Corresponding Author

Halah F. Oleiwi

Document Type

Original Study

Keywords

Air quality forecasting, Cross-city generalization, Residual LSTM, Multi-horizon forecasting, Leave-one-city-out validation

Abstract

Accurate forecasting is an arduous challenge because of the non-linear and dynamic behavior of atmospheric pollutants in many urban environments. Most previous research reports high predictive performance; however, much of this research uses either random splits between training and test data or city-specific evaluations which do not adequately assess the ability to generalize out of sample. This study uses a Leave-One-City-Out (LOCO) evaluation method to develop a deep learning-based temporal learning model with Residual Long Short-Term Memory (LSTM) network for predicting cross-city AQI. The framework incorporates PM2.5, PM10, NOx-related gases, CO, SO2, O3 and volatile compounds to model temporal AQI dynamics across multiple cities. It employs a residual prediction mechanism to improve temporal stability. Multi-horizon forecasting performance from 1-hour to 6-hours ahead is also evaluated. All preprocessing and normalization are conducted solely on training cities to maintain methodological rigor by avoiding data leakage during cross-city evaluation. The proposed Residual LSTM model is validated against several baseline and deep learning techniques like Linear Regression, Random Forest, Transformer-based forecasting with scaled residuals and LSTM using attention mechanisms. Experimental results show that proposed Residual LSTM outperforms the competing models in terms of cross-city generalization and predictive robustness against growing forecasting horizons. The results further reveal that accuracy in forecasting tends to decrease as the prediction horizon increases — which can be expected, as accumulated uncertainty is growing with longer time horizons. The final model is able to maintain consistent predictive capability throughout a larger range of forecast periods. This indicates that the spatial generalization to other cities that were unobserved during training will hold up well when tested with the LOCO protocol. In addition to testing for spatial generalization, the model would also need to be evaluated over time frames outside of those used for training if it were to be deployed as an operational early warning system.

Share

COinS