Deep Learning Synergy: CNNs and Transformers for Epidemic Outbreak Forecasting
Alexander R.1, Shakthi Priya V.1, Sumathi G.2, Mary Valentina Janet A.1, Reni Hena Helan R.3 & Sinduja R.1 Show affiliations
- Department of Computer Science and Engineering, St. Joseph’s College of Engineering, Chennai, India
- Department of Computer Science and Engineering, SRM Institute of Science and Technology, Chennai, India
- Department of Computer Science and Engineering, Dhanalakshmi College of Engineering, Chennai, India
Journal of Computer Science, Volume 21, Issue 12, pp. 3019–3030 · doi.org/10.3844/jcssp.2025.3019.3030
Abstract
An Accurate prediction of outbreaks is extremely crucial for taking proactive public health interventions, distributing limited resources, and controlling a disease. This paper assesses and also compares the performances of the available deep learning models, namely, Convolutional Neural Network (CNN), Long Short-Term Memory (LSTM) networks, and Bidirectional Long Short-Term Memory (BiLSTM) networks, in predicting. CNNs are best for feature extraction from medical data, while LSTMs and BiLSTM take care of temporal dependencies in sequential epidemiological data. These models have been shown to struggle at the integration of spatial, temporal, and contextual factors at once, yielding lowered predictive efficiency. A hybrid model, CNN-Transformer, leverages the spatial feature extraction ability of CNNs and the self-attention mechanism of Transformers to identify long-range dependencies and multi-source epidemiological patterns. Our approach integrates feature fusion techniques for abroader understanding of diseases' spread. Experimental results demonstrates that the proposed CNN-Transformer hybrid model outperforms standard CNN, LSTM, and BiLSTM architectures halfway through predicting outbreaks of diseases like COVID-19, Tuberculosis, Influenza, Dengue, and Measles. This study clearly illustrates the promise of hybrid deep learning models towards improving the accuracy of prediction of epidemics and the advancement of epidemic disease-surveillance systems. The time-series epidemic dataset is used for outbreak forecasting, and the hybrid model achieves an overall accuracy of 98.0%.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
R., A., V., S. P., G., S., A., M. V. J., R., R. H. H. & R., S. (2025). Deep Learning Synergy: CNNs and Transformers for Epidemic Outbreak Forecasting. Journal of Computer Science, 21(12), 3019–3030. https://doi.org/10.3844/jcssp.2025.3019.3030
- Licence
- CC BY 4.0
- Issue
- Volume 21, Issue 12
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
