Leakage-Free Spatiotemporal Count Forecasting: Benchmarking Sixteen Machine Learning Architectures with Conformal Uncertainty and Consensus Attribution

Authors

DOI:

https://doi.org/10.21015/vtcs.v14i2.2702

Abstract

Forecasting zero-inflated count series over large, heterogeneous spatio-temporal panels is complicated by a constraint machine learning practice often overlooks: the most recent observations of the target variable are not yet available when a forecast must be provided. A model trained without enforcing this constraint learns from information that does not exist at inference time, and reports accuracy it cannot reproduce in deployment. This study presents a leakage-free forecasting framework and benchmarks nineteen trained model variants spanning statistical baselines, classical machine learning, gradient boosting and deep sequence models, of which sixteen are retained after three linear-family regressors are excluded for severe overfitting. A 44-feature matrix organized into six blocks is built under a programmatically asserted admissibility rule that accepts a feature only if it is measurable from information available at least one period before the forecast origin. Evaluation uses a real panel of 355,026 municipality-week observations from 474 Brazilian municipalities over fourteen years, partitioned strictly in time. Gradient boosting dominates, with a two-stage occurrence-magnitude model attaining a log-scale R² of 0.8426, and LightGBM attains 0.8416 at 23.9 ms per 1,000 inferences, 18.9 times faster than the strongest recurrent alternative. Split-conformal calibration yields intervals whose empirical coverage is 90.0% against a 90% target. Friedman and pairwise Wilcoxon testing with Cliff's delta finds no effect size larger than small, so model selection follows inference latency and uncertainty support rather than point accuracy. Relaxing the admissibility rule inflates apparent accuracy by 0.679, whereas a four-fold reduction in training history costs 0.001 and 10% input noise costs 0.692. Data quality, not model capacity, binds deployed performance.

References

[1] N. G. Reich, S. A. Lauer, K. Sakrejda, et al., "Challenges in real-time prediction of infectious disease: A case study of dengue in Thailand," PLOS Neglected Tropical Diseases, vol. 10, p. e0004761, 2016, doi: 10.1371/journal.pntd.0004761.

[2] S. Bhatt, P. W. Gething, O. J. Brady, et al., "The global distribution and burden of dengue," Nature, vol. 496, pp. 504–507, 2013, doi: 10.1038/nature12060.

[3] World Health Organization, "Dengue and severe dengue," Geneva, Switzerland. [Online]. Available: https://www.who.int/news-room/fact-sheets/detail/dengue-and-severe-dengue. [Accessed: Jul. 6, 2026].

[4] C. T. Codeço, F. C. Coelho, O. G. Cruz, et al., "Infodengue: A nowcasting system for the surveillance of arboviruses in Brazil," Revue d'Épidémiologie et de Santé Publique, vol. 66, p. S386, 2018, doi: 10.1016/j.respe.2018.05.408.

[5] L. Breiman, "Random forests," Machine Learning, vol. 45, pp. 5–32, 2001, doi: 10.1023/A:1010933404324.

[6] T. Chen and C. Guestrin, "XGBoost: A scalable tree boosting system," in Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, New York, NY, USA, 2016, pp. 785–794, doi: 10.1145/2939672.2939785.

[7] K. Roster, C. Connaughton, and F. A. Rodrigues, "Machine-learning-based forecasting of dengue fever in Brazilian cities using epidemiologic and meteorological variables," American Journal of Epidemiology, vol. 191, pp. 1803–1812, 2022, doi: 10.1093/aje/kwac090.

[8] N. Zhao, K. Charland, M. Carabali, et al., "Machine learning and dengue forecasting: Comparing random forests and artificial neural networks for predicting dengue burden at national and sub-national scales in Colombia," PLOS Neglected Tropical Diseases, vol. 14, p. e0008056, 2020, doi: 10.1371/journal.pntd.0008056.

[9] M. S. Rahman, M. Amrin, M. A. B. Shiddik, et al., "Dengue early warning system and outbreak prediction tool in Bangladesh using interpretable tree-based machine learning model," Health Science Reports, vol. 8, no. 5, 2025, doi: 10.1002/hsr2.70726.

[10] O. S. Baquero, L. M. R. Santana, and F. Chiaravalloti-Neto, "Dengue forecasting in São Paulo city with generalized additive models, artificial neural networks and seasonal autoregressive integrated moving average models," PLOS ONE, vol. 13, p. e0195065, 2018, doi: 10.1371/journal.pone.0195065.

[11] X. Chen and P. Moraga, "Assessing dengue forecasting methods: A comparative study of statistical models and machine learning techniques in Rio de Janeiro, Brazil," Tropical Medicine and Health, vol. 53, no. 1, 2025, doi: 10.1186/s41182-025-00723-7.

[12] S. Hochreiter and J. Schmidhuber, "Long short-term memory," Neural Computation, vol. 9, pp. 1735–1780, 1997, doi: 10.1162/neco.1997.9.8.1735.

[13] A. Vaswani, N. Shazeer, N. Parmar, et al., "Attention is all you need," arXiv:1706.03762, 2017, doi: 10.48550/arXiv.1706.03762.

[14] A. Sebastianelli, D. Spiller, R. Carmo, et al., "A reproducible ensemble machine learning approach to forecast dengue outbreaks," Scientific Reports, vol. 14, no. 1, 2024, doi: 10.1038/s41598-024-52796-9.

[15] S. F. McGough, L. Clemente, J. N. Kutz, et al., "A dynamic, ensemble learning approach to forecast dengue fever epidemic years in Brazil using weather and population susceptibility cycles," Journal of the Royal Society Interface, vol. 18, p. 20201006, 2021, doi: 10.1098/rsif.2020.1006.

[16] E. C. Araujo, L. M. Carvalho, F. Ganem, et al., "Leveraging probabilistic forecasts for dengue preparedness and control: The 2024 Dengue Forecasting Sprint in Brazil," Proceedings of the National Academy of Sciences, vol. 123, no. 7, 2026, doi: 10.1073/pnas.2508989123.

[17] C. Feng, "A comparison of zero-inflated and hurdle models for modeling zero-inflated count data," Journal of Statistical Distributions and Applications, vol. 8, no. 1, 2021, doi: 10.1186/s40488-021-00121-4.

[18] A. Gasparrini, B. Armstrong, and M. G. Kenward, "Distributed lag non-linear models," Statistics in Medicine, vol. 29, pp. 2224–2234, 2010, doi: 10.1002/sim.3940.

[19] J. Pohjankukka, T. Pahikkala, P. Nevalainen, et al., "Estimating the prediction performance of spatial models via spatial k-fold cross validation," International Journal of Geographical Information Science, vol. 31, pp. 2001–2019, 2017, doi: 10.1080/13658816.2017.1346255.

[20] R. J. Hyndman and A. B. Koehler, "Another look at measures of forecast accuracy," International Journal of Forecasting, vol. 22, pp. 679–688, 2006, doi: 10.1016/j.ijforecast.2006.03.001.

[21] A. N. Angelopoulos and S. Bates, "A gentle introduction to conformal prediction and distribution-free uncertainty quantification," arXiv:2107.07511, 2021, doi: 10.48550/arXiv.2107.07511.

[22] S. Lundberg and S.-I. Lee, "A unified approach to interpreting model predictions," arXiv:1705.07874, 2017, doi: 10.48550/arXiv.1705.07874.

[23] M. T. Ribeiro, S. Singh, and C. Guestrin, "'Why should I trust you?': Explaining the predictions of any classifier," in Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, New York, NY, USA, 2016, pp. 1135–1144, doi: 10.1145/2939672.2939778.

[24] M. Baharom, N. Ahmad, R. Hod, et al., "Dengue early warning system as outbreak prediction tool: A systematic review," Risk Management and Healthcare Policy, vol. 15, pp. 871–886, 2022, doi: 10.2147/RMHP.S361106.

[25] D. Benítez-Valladares, A. Kroeger, G. Sánchez Tejeda, et al., "Validation of the Early Warning and Response System (EWARS) for dengue outbreaks: Evidence from the national vector control program in Mexico," medRxiv preprint, 2021, doi: 10.1101/2021.02.23.432448.

[26] Instituto Nacional de Meteorologia, "Banco de dados meteorológicos," Brasília, Brazil. [Online]. Available: https://portal.inmet.gov.br. [Accessed: Jul. 6, 2026].

[27] National Oceanic and Atmospheric Administration, Climate Prediction Center, "Climate teleconnection indices," College Park, MD, USA. [Online]. Available: https://www.cpc.ncep.noaa.gov. [Accessed: Jul. 6, 2026].

[28] Instituto Brasileiro de Geografia e Estatística, "2022 Population Census and Regions of Influence of Cities (REGIC) 2018," Rio de Janeiro, Brazil. [Online]. Available: https://www.ibge.gov.br. [Accessed: Jul. 6, 2026].

[29] Z. Liu, Q. Zhang, L. Li, et al., "The effect of temperature on dengue virus transmission by Aedes mosquitoes," Frontiers in Cellular and Infection Microbiology, vol. 13, 2023, doi: 10.3389/fcimb.2023.1242173.

[30] Y. Tian, Y. Xu, Y. Liang, et al., "Rising dengue risk with increasing El Niño-Southern Oscillation amplitude and teleconnections," Nature Communications, vol. 16, no. 1, 2025, doi: 10.1038/s41467-025-63655-0.

[31] A. Anyamba, J.-P. Chrétien, S. C. Britch, et al., "Global disease outbreaks associated with the 2015–2016 El Niño event," Scientific Reports, vol. 9, no. 1, 2019, doi: 10.1038/s41598-018-38034-z.

[32] T. Akiba, S. Sano, T. Yanase, et al., "Optuna: A next-generation hyperparameter optimization framework," in Proc. 25th ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, New York, NY, USA, 2019, pp. 2623–2631, doi: 10.1145/3292500.3330701.

[33] T. M. Quandelacy, M. F. Vincenti-González, M. E. Grillet, et al., "Synchronized dynamics of dengue across the Americas," Science Translational Medicine, vol. 17, no. 812, 2025, doi: 10.1126/scitranslmed.adq4326.

[34] A. F. Brito, L. C. Machado, R. J. Oidtman, et al., "Lying in wait: The resurgence of dengue virus after the Zika epidemic in Brazil," Nature Communications, vol. 12, no. 1, 2021, doi: 10.1038/s41467-021-22921-7.

[35] O. Faruk, "Climate-driven advanced machine learning approach for dengue incidence forecasting in Bangladesh," Health Science Reports, vol. 9, no. 4, 2026, doi: 10.1002/hsr2.72207.

[36] S. Hossain, N. F. Juthi, N. Tasnia, et al., "Bayesian hybrid statistical and machine learning models for dengue forecasting in Bangladesh: Temporal and spatial analysis for an early warning system," medRxiv preprint, 2025, doi: 10.1101/2025.09.14.25335716.

[37] J. Briseño-Ramírez, P. Martínez-Ayala, P. N. Vargas-Becerra, et al., "Probabilistic dengue forecasting and early warning across Mexico (1985–2026): A machine-learning and statistical ensemble with conformal calibration," Research Square preprint, 2026, doi: 10.21203/rs.3.rs-10035640/v1.

[38] K. E. Johnson, M. Tang, E. Tyszka, et al., "Baseline nowcasting methods for handling delays in epidemiological data," medRxiv preprint, 2025, doi: 10.1101/2025.08.14.25333653.

[39] V. Moretti, A. Cini, I. Marisca, et al., "Position: Current benchmarking hinders real progress in deep learning for time series forecasting," arXiv:2512.22702, 2025, doi: 10.48550/arXiv.2512.22702.

Downloads

Published

2026-09-26

How to Cite

Inam, S. A., Soomro, A., Awan , A., & Sarfaraz. (2026). Leakage-Free Spatiotemporal Count Forecasting: Benchmarking Sixteen Machine Learning Architectures with Conformal Uncertainty and Consensus Attribution. VAWKUM Transactions on Computer Sciences, 14(2), 58–78. https://doi.org/10.21015/vtcs.v14i2.2702