CAFE-AQI: Coverage-Aware Day-Ahead AQI Forecasting with Early Warning and Conformal Uncertainty in Bangladesh
Organizations: Electrical and Computer Engineering, North South University, Dhaka, Bangladesh · Digital Health Research Division, KIOM, University of Science and Technology, Daejeon, Republic of Korea · Civil and Environmental Engineering, Islamic University of Technology, Gazipur, Bangladesh · Computer Science and Engineering, American International University-Bangladesh, Dhaka, Bangladesh
Abstract
Next-day air quality forecasting often assumes city records are equally complete and independent. However, an audit of a large Bangladesh dataset revealed a sharp coverage expansion after August 2022 and showed that 103 city labels correspond to only 61 unique AQI trajectories. To address these issues, this paper presents CAFE-AQI, a coverage-aware framework for forecasting next-day maximum AQI. It also estimates the probability of Unhealthy-or-worse conditions (AQI >= 151). Data were divided chronologically into training (2022-2023), calibration (2024), and testing (2025). To prevent duplicate records from dominating training and evaluation, identical trajectories were weighted. The framework combines temporal and pollutant features with a five-neighbor spatial context. It also includes a class-balanced warning head and risk-conditional conformal calibration aimed at providing early warnings and prediction intervals. Evaluation on the duplicate-balanced 2025 data gave an MAE of 9.76, an RMSE of 15.04, and an R-squared value of 0.910 for CAFE-AQI. Its MAE was 3.63 AQI lower than persistence (95% CI: 3.49-3.76), with lower errors in each of the 61 trajectory groups. For unhealthy-air warnings, the F1-score was 0.908 and the AUROC was 0.982. The nominal 90% intervals covered 92.09% of observations. When an entire spatial block was excluded from training, the MAE remained 10.66, showing that the lightweight model transferred reasonably well to unseen locations.
Figures & tables
| Partition | Target dates | City-days | Groups |
|---|---|---|---|
| Training | Aug. 19, 2022–Dec. 31, 2023 | 51,500 | 61 |
| Calibration | Jan. 1–Dec. 31, 2024 | 37,698 | 61 |
| Future test | Jan. 1–Nov. 23, 2025 | 33,681 | 61 |
| Model | Feat. | Device | MAE | RMSE | U-recall | Runtime (s) | |
|---|---|---|---|---|---|---|---|
| HGB: temporal only | 12 | CPU | 12.52 | 17.64 | 0.877 | 0.814 | 4.22 |
| HGB: pollutants | 24 | CPU | 9.95 | 15.31 | 0.907 | 0.815 | 3.81 |
| HGB: coordinates | 26 | CPU | 9.90 | 15.16 | 0.909 | 0.815 | 3.73 |
| CAFE-AQI: | 30 | CPU | 9.76 | 15.04 | 0.910 | 0.817 | 4.04 |
| neigh. context | |||||||
| GPU-XGBoost | 24 | GPU | 10.29 | 15.28 | 0.907 | 0.785 | 3.53 |
| Metric | Persistence | Regression | Logistic | CAFE-AQI |
|---|---|---|---|---|
| forecast | warning baseline | warning head | ||
| Precision | 0.868 | 0.979 | 0.934 | 0.943 |
| Recall | 0.868 | 0.805 | 0.871 | 0.876 |
| F1 | 0.868 | 0.883 | 0.901 | 0.908 |
| Bal. acc. | 0.894 | 0.897 | 0.917 | 0.922 |
| AUROC | – | – | 0.980 | 0.982 |
Air Quality Prediction
Air quality prediction estimates future pollutant levels and maps local exposure to support health warnings, planning, and pollution control.
See all 45 papers