Temporal modeling of HIV/AIDS in Santos (SP) using probabilistic deep learning architectures
DOI:
https://doi.org/10.53455/re.v8i.331Keywords:
Time series, Epidemiological forecasting, Urban health, Spatial epidemiologyAbstract
Context: HIV/AIDS remains a major public health challenge in Brazil, particularly in urban and port municipalities characterized by high population mobility and socio-spatial complexity. In this context, deep learning models have been widely explored for epidemiological forecasting due to their ability to represent non-linear temporal patterns and complex multivariate relationships. Methodology: This study aimed to evaluate the performance of probabilistic deep learning architectures for temporal modeling of HIV/AIDS in the municipality of Santos (SP, Brazil). Monthly epidemiological, climatic, and socioeconomic data from 2000 to 2023 were used. The variables were integrated into a multivariate temporal panel and submitted to the DeepAR, N-HiTS, and TFT architectures. Validation was performed using a rolling origin strategy considering prediction horizons of 1, 3, 6, and 12 months. Results or Conclusions: The results demonstrated that the architectures presented distinct performances according to the prediction horizon and the statistical behavior of the epidemiological series. DeepAR showed greater predictive stability in medium- and long-term horizons, associated with the use of the Negative Binomial distribution for modeling overdispersed and asymmetric series. Predictive degradation was also observed during the COVID-19 pandemic period, indicating model sensitivity to changes in epidemiological notification systems. The results reinforce the potential of probabilistic architectures applied to epidemiological forecasting in complex urban environments.
Downloads
References
Antonio, F. J., Picoli Jr, S., Teixeira, J. J. V., & Mendes, R. D. S. (2014). Growth patterns and scaling laws governing AIDS epidemic in Brazilian cities. PLoS One, 9(10), e111015. https://doi.org/10.48550/arXiv.1409.3306
Aribe Jr, S. G., Gerardo, B. D., & Medina, R. P. (2024). Time Series Forecasting of HIV/AIDS in the Philippines Using Deep Learning: Does COVID-19 Epidemic Matter?. arXiv preprint arXiv:2401.05933. https://doi.org/10.48550/arXiv.2401.05933
Challu, C., Olivares, K. G., Oreshkin, B. N., Ramirez, F. G., Canseco, M. M., & Dubrawski, A. (2023, June). Nhits: Neural hierarchical interpolation for time series forecasting. In Proceedings of the AAAI conference on artificial intelligence (Vol. 37, No. 6, pp. 6989-6997). https://doi.org/10.1609/aaai.v37i6.25852
Dias, B. R. L., Rodrigues, T. B., Gomes, D. et al. (2022). The temporal and spatial epidemiology employed in the elimination of the HIV Epidemic in the Largest Capital of the brazilian rainforest. Tropical Medicine and Infectious Disease, 7(9), 225. https://doi.org/10.3390/tropicalmed7090225
Hearst, N., Lacerda, R., Gravato, N., Hudes, E. S., & Stall, R. (1999). Reducing AIDS risk among port workers in Santos, Brazil. American journal of public health, 89(1), 76-78. https://doi.org/10.2105/ajph.89.1.76
Hewamalage, H., Bergmeir, C., & Bandara, K. (2021). Recurrent neural networks for time series forecasting: Current status and future directions. International Journal of Forecasting, 37(1), 388-427. https://doi.org/10.48550/arXiv.1909.00590
Instituto Brasileiro de Geografia e Estatística. (2023). Cidades. https://cidades.ibge.gov.br/brasil/sp/santos/panorama
Lim, B., Arık, S. Ö., Loeff, N., & Pfister, T. (2021). Temporal fusion transformers for interpretable multi-horizon time series forecasting. International journal of forecasting, 37(4), 1748-1764. https://doi.org/10.1016/j.ijforecast.2021.03.012
Marconato, J. V., Genaro, L. E., Valsecki Júnior, A., & Rosell, F. L. (2024). Temporal Patterns and Variations in HIV/AIDS detection: Notifications in Brazil (2013-2022). DST j. bras. doenças sex. transm, e24361404-e24361404. https://doi.org/10.5327/DST-2177-8264-2024361404.
Montanha, R. M., Gioia, T. B., Ramos, A. C. V. et al. (2024). HIV and AIDS in the state of Paraná, Brazil, 2007-2022: trends and spatiotemporal distribution. Revista Brasileira de Epidemiologia, 27, e240015. https://doi.org/10.1590/1980-549720240015
Nery, L. M., Nicomedes, N. P., Camargo, P. C. M. G., Outeiro, S. A., Lusquino Filho, L. A. D., Farias, C. M., & Silva, D. C. C. (2026). Analysis of models to estimate morbidity rates of respiratory diseases through deep learning. Tropical Medicine & International Health, 31, 1-12.
Ngcobo, S., Mntla, E. M., Shock, J., Louw, M., Mbonambi, L., Serite, T., & Rossouw, T. (2025). Artificial intelligence for HIV care: a global systematic review of current studies and emerging trends. Journal of the International AIDS Society, 28(10), e70045. https://doi.org/10.1002/jia2.70045
Nicomedes, N. P., Camargo, P. C. M. G., Arenas, L. A. O., Nery, L. M., Lusquino Filho, L. A. D., & Silva, D. C. C. (2026). Spatial patterns of mortality from respiratory diseases and their relationship with socio-environmental indicators in Brazil. Bioscience Journal, 42, e42012.
Salinas, D., Flunkert, V., Gasthaus, J., & Januschowski, T. (2020). DeepAR: Probabilistic forecasting with autoregressive recurrent networks. International journal of forecasting, 36(3), 1181-1191. https://doi.org/10.1016/j.ijforecast.2019.07.001
Shitu, D., Senishaw, A. F., Hordofa, Z. R., Tadele, M. M., & Teferi, G. H. (2025). Forecasting trends of HIV infection using deep learning models in East Gojjam zone, North West Ethiopia, 2025. medRxiv, 2025-10. https://doi.org/10.1101/2025.10.05.25337384
Silva, D. C. D. C., Lourenço, R. W., Cordeiro, R. C., & Cordeiro, M. R. D. (2014). Análise da relação entre a distribuição espacial das morbidades por obesidade e hipertensão arterial para o estado de São Paulo, Brasil, de 2000 a 2010. Ciência & Saúde Coletiva, 19, 1709-1719. https://doi.org/10.1590/1413-81232014196.15572013
Souza, D. E. D., Carmo, C. N. D., & Welch, J. R. (2023). Análise temporal e fatores contextuais associados ao HIV/aids no Brasil entre 2000 e 2019. Revista de Saúde Pública, 57, 91. https://doi.org/10.11606/s1518-8787.2023057005508
Thanh, D. P., Van, D. N., Tan, T. T., & Nguyen, V. A. (2024). Spatio-temporal graph learning with epidemiological factors for HIV epidemic short-term prediction. Journal of Computer Science and Cybernetics, 40(4), 363-380. https://doi.org/10.15625/1813-9663/21185
Wang, G., Wei, W., Jiang, J. et al. (2019). Application of a long short-term memory neural network: a burgeoning method of deep learning in forecasting HIV incidence in Guangxi, China. Epidemiology & Infection, 147, e194. https://doi.org/10.1017/S095026881900075X
Werle, J. E., Teston, E. F., Rossi, R. M. et al. (2022). HIV/AIDS and the social determinants of health: a time series study. Revista Brasileira de Enfermagem, 75(04), e20210499. https://doi.org/10.1590/0034-7167-2021-0499
Xavier, A. C., Scanlon, B. R., King, C. W., & Alves, A. I. (2022). New improved Brazilian daily weather gridded data (1961–2020). International Journal of Climatology, 42(16), 8390-8404. https://doi.org/10.1002/joc.7731
Downloads
Submitted on
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Nícholas de Paula Nicomedes, Leopoldo André Dutra Lusquino Filho, Darllan Collins da Cunha e Silva

This work is licensed under a Creative Commons Attribution 4.0 International License.
The magazine follows the Creative Commons (CC BY) standard, which allows the remix, adaptation and creation of works derived from the original, even for commercial purposes. New works must mention the author(s) in the credits.
Funding data
-
Conselho Nacional de Desenvolvimento Científico e Tecnológico
Grant numbers 442318/2024-3 -
Coordenação de Aperfeiçoamento de Pessoal de Nível Superior
Grant numbers 001





