A Unified Spatio-Temporal Data Processing Framework for Multi-Source Air Quality Forecasting
Abstract
1. Introduction
1.1. Problem Statement
1.2. Motivation
1.3. Contributions
- A unified preprocessing layer that harmonizes pollutant identifiers, units, timestamps, and geospatial metadata across regulatory CPCB stations and community IoT platforms, thereby producing an interoperable sensor network representation.
- A multi-stage quality control and imputation strategy in which corrupted records are removed and missing observations are reconstructed with a Robocentric Iterated Extended Kalman Filter (RIEKF), such that temporal continuity is preserved before graph construction.
- A fused spatio-temporal representation and dynamic graph formulation that combine synchronized pollutant observations with spatial descriptors, emission proximity cues, and mobility-aware interactions, together with a peripheral enhancement mechanism that limits bias toward highly connected nodes.
- An empirical evaluation on Delhi data showing improved held-out forecasting and AQI classification performance relative to the selected baselines, while explicitly acknowledging the study scope, the lack of full multi-run uncertainty statistics, and the sensitivity of results to upstream preprocessing and graph design choices.
2. Literature Review
3. Proposed Methodology
3.1. Data Acquisition
3.2. Schema Harmonization and Data Cleaning
3.2.1. Schema Harmonization
3.2.2. Multi-Stage Data Cleaning and Missing-Value Imputation
3.3. Temporal Alignment and Spatial Enrichment
3.3.1. Temporal Alignment onto a Uniform Sampling Grid
3.3.2. Spatial Enrichment of Sensor Observations
3.3.3. Unified Spatio-Temporal Data Fusion
3.4. Dynamic Graph Construction and Mobility-Aware GNN-Based Forecasting
3.4.1. Dynamic Graph Construction
3.4.2. Mobility-Aware Peripheral-Enhanced GNN Architecture
3.4.3. Peripheral Enhancement Mechanism
3.4.4. Forecasting and AQI Categorization
4. Results and Discussion
4.1. Dataset Description and Experimental Configuration
4.2. Evaluation Metrics for Forecasting and Classification
4.2.1. Temporal Forecasting Metrics
4.2.2. AQI Classification Metrics
4.3. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
List of Abbreviations and Symbols
| AI | Artificial Intelligence |
| AI-STA | AI-Driven Spatio-Temporal Analytics baseline |
| ANN | Artificial Neural Network |
| API | Application Programming Interface |
| AQI | Air Quality Index (dimensionless, 0–500 CPCB scale) |
| BOA | Butterfly Optimization Algorithm |
| CPCB | Central Pollution Control Board |
| CEP | Complex Event Processing |
| CNN | Convolutional Neural Network |
| CO | Carbon Monoxide (µg/m3 or ppm) |
| CPCB-GNN | Proposed Mobility-Aware Peripheral-Enhanced Graph Neural Network |
| CSV | Comma-Separated Values |
| CTM | Chemistry-Transport Model |
| DCRNN | Diffusion Convolutional Recurrent Neural Network |
| F_t | Jacobian of state-transition function f(·) |
| GNN | Graph Neural Network |
| GRU | Gated Recurrent Unit |
| H_t | Jacobian of observation function h(·) |
| IoT | Internet of Things |
| JSON | JavaScript Object Notation |
| k-NN | k-Nearest Neighbors |
| K_t^(i) | Kalman gain at iteration i |
| LSTM | Long Short-Term Memory |
| MAE | Mean Absolute Error (µg/m3) |
| MAPE | Mean Absolute Percentage Error (%) |
| ML | Machine Learning |
| NH3 | Ammonia (µg/m3) |
| NO2 | Nitrogen Dioxide (µg/m3 or ppb) |
| O3 | Ozone (µg/m3 or ppb) |
| OpenAQ | Open Air Quality community data platform |
| P_t | State error covariance matrix |
| PM2.5 | Particulate Matter ≤ 2.5 µm aerodynamic diameter (µg/m3) |
| PM10 | Particulate Matter ≤ 10 µm aerodynamic diameter (µg/m3) |
| ppb | Parts per billion (10−9 mol/mol) |
| ppm | Parts per million (10−6 mol/mol) |
| Q | Process noise covariance matrix |
| R | Observation noise covariance matrix |
| RDF | Resource Description Framework |
| REST | Representational State Transfer |
| RIEKF | Robocentric Iterated Extended Kalman Filter |
| RMSE | Root Mean Square Error (µg/m3) |
| SARIMA | Seasonal AutoRegressive Integrated Moving Average |
| SO2 | Sulfur Dioxide (µg/m3 or ppb) |
| SVM | Support Vector Machine |
| V_t | Observation noise vector; V_t ~ N(0, R) (µg/m3) |
| W_t | Process noise vector; W_t ~ N(0, Q) (µg/m3) |
| x_t | Latent pollutant state vector at time t (µg/m3) |
| z_t | Observed measurement vector at time t (µg/m3) |
| ε | Small numerical stability constant (Equation (20), dimensionless) |
| λ | Spatial decay parameter (Equation (12), m−1) |
| φ_ij | Emission proximity influence weight (Equation (12), dimensionless) |
| π_i^(t_k) | Peripheral weighting factor for node i (Equation (20), dimensionless) |
| δ_i^(t_k) | Degree of node i at time t_k (Equation (19), dimensionless) |
| ω1, ω2, ω3 | Adjacency weighting coefficients (Equation (17)); ∑ω = 1 (dimensionless) |
| σ | Distance decay bandwidth in adjacency (Equation (17), m) |
References
- Sonawani, S.; Patil, K. Air quality measurement, prediction and warning using transfer learning based IOT system for ambient assisted living. Int. J. Pervasive Comput. Commun. 2024, 20, 38–55. [Google Scholar] [CrossRef]
- Sonawani, S.; Patil, K.; Chumchu, P. NO2 pollutant concentration forecasting for air quality monitoring by using an optimised deep learning bidirectional GRU model. Int. J. Comput. Sci. Eng. 2021, 24, 64–73. [Google Scholar] [PubMed]
- Al-Eidi, S.; Amsaad, F.; Darwish, O.; Tashtoush, Y.; Alqahtani, A.; Niveshitha, N. Comparative analysis study for air quality prediction in smart cities using regression techniques. IEEE Access 2023, 11, 115140–115149. [Google Scholar] [CrossRef]
- Martín-Baos, J.Á.; Rodriguez-Benitez, L.; García-Ródenas, R.; Liu, J. IoT based monitoring of air quality and traffic using regression analysis. Appl. Soft Comput. 2022, 115, 108282. [Google Scholar] [CrossRef]
- Hameed, S.; Islam, A.; Ahmad, K.; Belhaouari, S.B.; Qadir, J.; Al-Fuqaha, A. Deep learning based multimodal urban air quality prediction and traffic analytics. Sci. Rep. 2023, 13, 22181. [Google Scholar] [CrossRef]
- Karnati, H. IoT-based air quality monitoring system with machine learning for accurate and real-time data analysis. arXiv 2023, arXiv:2307.00580. [Google Scholar]
- Senthivel, S.; Chidambaranathan, M. Machine learning approaches used for air quality forecast: A review. Rev. d’Intell. Artif. 2022, 36, 73. [Google Scholar] [CrossRef]
- Ramadan, M.N.; Ali, M.A.; Khoo, S.Y.; Alkhedher, M.; Alherbawi, M. Real-time IoT-powered AI system for monitoring and forecasting of air pollution in industrial environment. Ecotoxicol. Environ. Saf. 2024, 283, 116856. [Google Scholar] [CrossRef]
- Zhu, Y.; Al-Ahmed, S.A.; Shakir, M.Z.; Olszewska, J.I. LSTM-based IoT-enabled CO2 steady-state forecasting for indoor air quality monitoring. Electronics 2022, 12, 107. [Google Scholar] [CrossRef]
- Iskandaryan, D.; Ramos, F.; Trilles, S. Graph neural network for air quality prediction: A case study in madrid. IEEE Access 2023, 11, 2729–2742. [Google Scholar] [CrossRef]
- Almalawi, A.; Alsolami, F.; Khan, A.I.; Alkhathlan, A.; Fahad, A.; Irshad, K.; Qaiyum, S.; Alfakeeh, A.S. An IoT based system for magnify air pollution monitoring and prognosis using hybrid artificial intelligence technique. Environ. Res. 2022, 206, 112576. [Google Scholar] [CrossRef]
- Samad, A.; Garuda, S.; Vogt, U.; Yang, B. Air pollution prediction using machine learning tech-niques—An approach to replace existing monitoring stations with virtual monitoring stations. Atmos. Environ. 2023, 310, 119987. [Google Scholar] [CrossRef]
- Ke, H.; Gong, S.; He, J.; Zhang, L.; Cui, B.; Wang, Y.; Mo, J.; Zhou, Y.; Zhang, H. Development and application of an automated air quality forecasting system based on machine learning. Sci. Total Environ. 2022, 806, 151204. [Google Scholar] [CrossRef] [PubMed]
- Elbaz, K.; Shaban, W.M.; Zhou, A.; Shen, S.L. Real time image-based air quality forecasts using a 3D-CNN approach with an attention mechanism. Chemosphere 2023, 333, 138867. [Google Scholar] [CrossRef] [PubMed]
- Mengara Mengara, A.G.; Park, E.; Jang, J.; Yoo, Y. Attention-based distributed deep learning model for air quality forecasting. Sustainability 2022, 14, 3269. [Google Scholar] [CrossRef]
- Kumari, S.; Choudhury, A.; Karki, P.; Simon, M.; Chowdhry, J.; Nandra, A.; Sharma, P.; Sengupta, A.; Yadav, A.; Raju, M.P.; et al. Next-Generation Air Quality Management: Unveiling Advanced Techniques for Monitoring and Controlling Pollution. Aerosol Sci. Eng. 2025, 10, 5–26. [Google Scholar] [CrossRef]
- Kumar, S.S.; Chandra, R.; Agarwal, S. Rule based complex event processing for an air quality monitoring system in smart city. Sustain. Cities Soc. 2024, 112, 105609. [Google Scholar] [CrossRef]
- Sahu, D.R.; Tomar, D.S.; Gupta, R.K.; Tiwari, H.; Kumar, M. AI-based air quality monitoring and prediction information system. In Research Handbook on Information Systems and Technology; Edward Elgar Publishing: Cheltenham, UK, 2025; pp. 144–163. [Google Scholar] [CrossRef]
- Kumari, S.; Gupta, S. Air Pollution Control: Approaches, Technologies, and Environmental Inferences. In Artificial Intelligence Techniques for Sustainable Development; CRC Press: Boca Raton, FL, USA, 2024; pp. 380–397. [Google Scholar]
- Gangwar, A.; Singh, S.; Mishra, R.; Prakash, S. The state-of-the-art in air pollution monitoring and forecasting systems using IoT, big data, and machine learning. Wirel. Pers. Commun. 2023, 130, 1699–1729. [Google Scholar] [CrossRef]
- Kataria, A.; Puri, V. AI-and IoT-based hybrid model for air quality prediction in a smart city with network assistance. IET Netw. 2022, 11, 221–233. [Google Scholar] [CrossRef]
- Ansari, M.; Alam, M. An intelligent IoT-cloud-based air pollution forecasting model using univariate time-series analysis. Arab. J. Sci. Eng. 2024, 49, 3135–3162. [Google Scholar] [CrossRef]
- Nguyen, K.D.; Tran, D.T.; Nguyen, D.T.; Inoue, K.; Lee, J.H.; Nguyen, A.Q. Learning Visual-Inertial Odometry With Robocentric Iterated Extended Kalman Filter. IEEE Access 2024, 12, 109943–109956. [Google Scholar] [CrossRef]
- Dietrich, F.M.; Advincula, X.R.; Gobbo, G.; Bellucci, M.A.; Salvalaglio, M. Machine learning nucleation collective variables with graph neural networks. J. Chem. Theory Comput. 2023, 20, 1600–1611. [Google Scholar] [CrossRef]









| Study | Data Sources | Methodology/Models | Primary Focus | Key Contributions | Limitations/Research Gaps |
|---|---|---|---|---|---|
| Kumari et al. (2025) [16] | Regulatory sensors, nanosensors, optical sensors, big data platforms | ANN, SVM, Decision Trees, data fusion with CTMs | Advanced air quality management and monitoring | Demonstrated evolution from traditional monitoring to sensor-driven AI systems; highlighted benefits of ML and data fusion | Limited emphasis on unified spatio-temporal preprocessing and dynamic spatial modeling |
| Kumar et al. (2024) [17] | CPCB data streams | CEP using Siddhi, Apache Kafka, RDF knowledge graphs, Decision Trees | Real-time pollutant classification for smart cities | Integrated semantic CEP with scalable data ingestion; effective for real-time event detection | Focused on rule-based classification rather than long-term forecasting; lacks deep spatio-temporal learning |
| Sahu et al. (2025) [18] | IoT sensors, satellite imagery, meteorological data | AI-driven spatio-temporal analytics | Public health exposure analysis and policy support | Highlighted integration of multi-modal data for exposure prediction and decision-making | Did not propose a concrete end-to-end forecasting architecture or graph-based modeling |
| Kumari et al. (2024) [19] | Regulatory and policy datasets | Survey of emission control and mitigation strategies | Pollution control and regulatory frameworks | Provided holistic perspective on pollution, climate change, and sustainability | Conceptual study; no predictive or data-driven forecasting framework |
| Gangwar et al. (2023) [20] | IoT devices, big data repositories | ML-based forecasting techniques (survey) | Review of modern AQ monitoring systems | Identified challenges in data reliability, sparsity, and scalability | Did not address unified data fusion or advanced spatio-temporal graph modeling |
| Kataria et al. (2022) [21] | IoT sensor nodes | CNN–LSTM–BOA, Kalman filtering | High-accuracy AQI prediction | Achieved high prediction accuracy using hybrid deep learning | Spatial dependencies among sensors not explicitly modeled; static sensor assumptions |
| Ansari et al. (2024) [22] | Meteorological and air quality time-series | BO-HyTS (SARIMA + LSTM) | Time-series forecasting | Effectively captured linear and nonlinear temporal dynamics | Lacks spatial context and multi-source data harmonization |
| Proposed Framework (This Work) | CPCB stations + community IoT sensors | Schema harmonization, RIEKF imputation, dynamic graphs, Mobility-Aware GNN | Unified spatio-temporal forecasting and AQI classification | End-to-end pipeline integrating heterogeneous data, robust imputation, spatial–temporal fusion, and dynamic graph learning | Increased computational complexity; dependent on data availability and graph construction quality |
| Attribute | CPCB Monitoring Stations | IoT-Based Sensing Platforms |
|---|---|---|
| Study Region | Delhi | Delhi |
| Data Authority | Government regulatory body 40 CPCB monitoring stations | Community-driven/private deployments from 25 sensors obtained from OpenAQ and PurpleAir |
| Sensor Grade | Reference-grade, calibrated anchors | Low-cost/community sensors; not a metrological reference |
| Study Period | 2019–2024 | 2019–2024 |
| Pollutants Measured | PM2.5, PM10, NO2, SO2, CO, O3, NH3 | PM2.5, PM10, selected gases (varies by platform) |
| Temporal Resolution | Hourly | Real-time/Hourly |
| Spatial Coverage | Sparse but strategically located | Dense, localized, and flexible |
| Data Format | Structured (CSV) | Semi-structured (JSON, API-based) |
| Reliability | High accuracy, low noise | Moderate accuracy, higher noise; used for spatial density |
| Typical Challenges | Limited spatial granularity | Sensor drift, missing values, noise |
| Category | Description |
|---|---|
| Data Sources | 40 CPCB reference-grade anchors + 25 IoT spatial-density nodes |
| Target pollutants | PM2.5 and PM10 |
| Input Features | Pollutants + spatial descriptors |
| Graph Type | Dynamic, mobility-aware 2 graph convolution layers (hidden size 64) + 1 GRU temporal layer + dual regression/classification heads Batch size 64, 100 epochs, early stopping patience 10 |
| Forecasting Horizon | Multi-step ahead |
| Regression Metrics | MAE (µg/m3), RMSE (µg/m3), MAPE (%) |
| Classification Metrics | Accuracy (%), Precision, Recall, F1-score, Cohen’s kappa |
| Optimization | Adam, joint regression–classification loss |
| Model | RMSE (µg/m3) ↓ | MAE (µg/m3) ↓ | MAPE (%) ↓ |
|---|---|---|---|
| Persistence | 29.8 | 22.7 | 18.9 |
| Seasonal naive | 27.4 | 21.1 | 17.2 |
| LSTM | 21.9 | 16.3 | 12.7 |
| DCRNN | 19.2 | 13.9 | 10.4 |
| ANN | 25.2 | 19.1 | 16.3 |
| CEP | 22.8 | 16.7 | 13.4 |
| AI-STA | 20.6 | 15.2 | 11.8 |
| Proposed CPCB-GNN | 16.9 | 11.8 | 8.6 |
| ↓ indicates lower is better. | |||
| Model | Accuracy (%) ↑ | Precision | Recall | F1-Score | Cohen’s Kappa |
|---|---|---|---|---|---|
| Persistence | 80.8 | 0.79 | 0.78 | 0.78 | 0.69 |
| Seasonal naive | 82.9 | 0.81 | 0.80 | 0.80 | 0.72 |
| LSTM | 88.7 | 0.88 | 0.87 | 0.87 | 0.82 |
| DCRNN | 91.4 | 0.90 | 0.90 | 0.90 | 0.85 |
| ANN | 86.7 | 0.85 | 0.84 | 0.84 | 0.78 |
| CEP | 88.3 | 0.87 | 0.86 | 0.86 | 0.81 |
| AI-STA | 90.2 | 0.89 | 0.88 | 0.88 | 0.84 |
| Proposed CPCB-GNN | 94.6 | 0.93 | 0.92 | 0.92 | 0.89 |
| ↑ indicates higher is better. | |||||
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Velraj, A.R.; Jagatheesaperumal, S.K. A Unified Spatio-Temporal Data Processing Framework for Multi-Source Air Quality Forecasting. Atmosphere 2026, 17, 424. https://doi.org/10.3390/atmos17040424
Velraj AR, Jagatheesaperumal SK. A Unified Spatio-Temporal Data Processing Framework for Multi-Source Air Quality Forecasting. Atmosphere. 2026; 17(4):424. https://doi.org/10.3390/atmos17040424
Chicago/Turabian StyleVelraj, Arun Raj, and Senthil Kumar Jagatheesaperumal. 2026. "A Unified Spatio-Temporal Data Processing Framework for Multi-Source Air Quality Forecasting" Atmosphere 17, no. 4: 424. https://doi.org/10.3390/atmos17040424
APA StyleVelraj, A. R., & Jagatheesaperumal, S. K. (2026). A Unified Spatio-Temporal Data Processing Framework for Multi-Source Air Quality Forecasting. Atmosphere, 17(4), 424. https://doi.org/10.3390/atmos17040424

