Malaria Parasite Detection through CNN, Transformer, and Hybrid CNN–Transformer Models
Abstract
Malaria remains a major global health challenge, particularly in resource limited regions where reliable diagnostic tools are scarce. Traditional thick blood smear microscopy, while accurate, is time-consuming and requires expert interpretation. This study employed Artificial Intelligence as a pre-diagnostic tool to mitigate the impact of malaria by evaluating six deep learning architectures for classifying malaria-infected cell images. The models include two CNN-based architectures, CNN and AlexNet; two hybrid CNN Transformer architectures, ConvNeXt and MaxViT; and two transformer-based architectures, ViT and Swin Transformer. The dataset consisted of 1,883 Giemsa-stained blood smear samples collected from patients at Chittagong Medical College Hospital, Bangladesh, with expert annotations from the Mahidol Oxford Tropical Medicine Research Unit. All models were trained for 100 epochs using the Adam optimizer, a cosine annealing learning rate scheduler, early stopping, and a batch size of 32 samples. Among the tested models, the hybrid CNN Transformer architectures achieved the best performance, with MaxViT yielding the highest accuracy of 100%, followed by ConvNeXt with 96.63%. These findings demonstrate that combining convolutional and transformer mechanisms yields superior performance compared with single-framework models. With their high accuracy, cost-effectiveness, and computational efficiency, hybrid architectures show strong potential as reliable pre-diagnostic tools for malaria detection in resource-constrained settings.
Downloads
References
[2] M. Balmith, C. Basson and S. J. Brand, "The Malaria Burden: A South African Perspective," Journal of Tropical Medicine, pp. 1-17, 2024.
[3] M. González-Sanz, P. Berzosa and F. F. Norman, "Updates on Malaria Epidemiology and Prevention Strategies," Current Infectious Disease Reports, pp. 131-139, 2023.
[4] Q. Yu, Y. Qu, L. Zhang, X. Yao, J. Yang, S. Chen, H. Liu, Q. Wang, M. Wu, J. Tao, C. Zhou, I. L. Alage and S. Liu, "Spatial spillovers of violent conflict amplify the impacts of climate variability on malaria risk in sub-Saharan Africa," Proceedings of the National Academy of Sciences of the United States of America, 2024.
[5] P. E. Obasohan, S. J. Walters, R. Jacques and K. Khatab, "A Scoping Review of Selected Studies on Predictor Variables Associated with the Malaria Status among Children under Five Years in Sub-Saharan Africa," International Journal of Environmental Research and Public Health, p. 2119, 2021.
[6] J. O. Sarfo, M. Amoadu and P. Y. Kord, "Malaria amongst children under five in sub-Saharan Africa: a scoping review of prevalence, risk factors and preventive interventions," European Journal of Medical Research, p. 80, 2023.
[7] F. Grignaffini, P. Simeoni, A. Alisi and F. Frezza, "Computer-Aided Diagnosis Systems for Automatic Malaria Parasite Detection and Classification: A Systematic Review," Electronics, p. 3174, 2024.
[8] C. R. Maturana and A. D. d. Oliveira, "Advances and challenges in automated malaria diagnosis using digital microscopy imaging with artificial intelligence tools: A review," Frontiers in Microbiology, 2022.
[9] M. S. Rahman and M. A. B. Shiddik, "Unraveling global malaria incidence and mortality using machine learning and artificial intelligence–driven spatial analysis," Scientific Reports, p. 28334, 2025.
[10] D. A. Ramos-Briceño, . A. Flammia-D’Aleo, G. Fernández-López, F. S. Carrión-Nessi and D. A. Forero-Peña, "Deep learning-based malaria parasite detection: convolutional neural networks model for accurate species identification of Plasmodium falciparum and Plasmodium vivax," Scientific Reports, p. 3746, 2025.
[11] A. Salam, S. M. N. Hasan, M. J. Karim, S. Anower, M. Nahiduzzaman, M. E. H. Chowdhury and M. Murugappan, "Embedded System‐Based Malaria Detection From Blood Smear Images Using Lightweight Deep Learning Model," International Journal of Imaging Systems and Technology, 2024.
[12] T. S. Pillay, A. I. Khan and S. Yenice, "Artificial intelligence (AI) in point-of-care testing," Clinica Chimica Acta, p. 120341, 2025.
[13] R. Yuriy, O. Tatarina, V. Kaminskyy, T. Silina and L. Bashkirova, "Modern Methods and Prospects for Using Artificial Intelligence in Disease Diagnostics: A Narrative Review," Futurity Medicine, 2024.
[14] S. S. and S. H. D., "Malaria cell identification using improved machine learning and modified deep learning architecture," Indonesian Journal of Electrical Engineering and Computer Science, p. 2078, 2024.
[15] M. Mariki, E. Mkoba and N. Mduma, "Combining Clinical Symptoms and Patient Features for Malaria Diagnosis: Machine Learning Approach," Applied Artificial Intelligence, 2022.
[16] L. Balerdi-Sarasola, P. Fleitas, E. Bottieau, B. Genton, P. Petrone, J. Muñoz and D. Camprubí-Ferrer, "MALrisk: a machine-learning-based tool to predict imported malaria in returned travellers with fever," Journal of Travel Medicine, 2024.
[17] N. Rismayanti, "Segmentation and Feature Extraction for Malaria Detection in Blood Smears," International Journal of Artificial Intelligence in Medical Issues, pp. 18-29, 2024.
[18] M. Golumbeanu, G.-J. Yang, F. Camponovo, E. M. Stuckey, N. Hamon, M. Mondy, S. Rees, N. Chitnis, E. Cameron and M. A. Penny, "Leveraging mathematical models of disease dynamics and machine learning to improve development of novel malaria interventions," Infectious Diseases of Poverty, p. 61, 2022.
[19] L. Rosado, J. M. C. d. Costa, D. Elias and J. S. Cardoso, "Automated Detection of Malaria Parasites on Thick Blood Smears via Mobile Devices," Procedia Computer Science, pp. 138-144, 2016.
[20] C. Cortes and V. Vapnik, "Support-vector networks," Machine Learning, pp. 273-297, 1995.
[21] D. Sukumarran, K. Hasikin, A. S. M. Khairuddin, R. Ngui, W. Y. W. Sulaiman, I. Vythilingham and P. C. S. Divis, "An optimised YOLOv4 deep learning model for efficient malarial cell detection in thin blood smear images," Parasites & Vectors, p. 188, 2024.
[22] F. Yang, H. Yu, K. Silamut, R. J. Maude, S. Jaeger and S. Antani, "Smartphone-Supported Malaria Diagnosis Based on Deep Learning," in Proceedings of 10th Workshop on Machine Learning in Medical Imaging (MLMI 2019) in conjunction with MICCAI, Shenzhen, 2019.
[23] Y. S. Cho and P. C. Hong, "Applying Machine Learning to Healthcare Operations Management: CNN-Based Model for Malaria Diagnosis," Healthcare, p. 1779, 2023.
[24] A. K. Dutta, R. U. Mageswari, A. Gayathri, J. M. D. Bruxella, M. K. Ishak, S. M. Mostafa and H. Hamam, "Barnacles Mating Optimizer with Deep Transfer Learning Enabled Biomedical Malaria Parasite Detection and Classification," Computational Intelligence and Neuroscience, pp. 1-12, 2022.
[25] M. Masud, H. Alhumyani, S. S. Alshamrani, O. Cheikhrouhou, S. Ibrahim, G. Muhammad, M. S. Hossain and M. Shorfuzzaman, "Leveraging Deep Learning Techniques for Malaria Parasite Detection Using Mobile Application," Wireless Communications and Mobile Computing, pp. 1-15, 2020.
[26] K. Torres, C. M. Bachman, C. B. Delahunt, J. A. Baldeon, F. Alava, D. G. Viela, S. Proux, C. Mehanian, S. K. McGuire, C. M. Thompson, T. Ostbye, L. Hu, M. S. Jaiswal and V. Hunt, "Automated microscopy for routine malaria diagnosis: a field comparison on Giemsa-stained blood films in Peru," Malaria Journal, p. 339, 2018.
[27] Y. Lecun, L. Bottou, Y. Bengio and P. Haffner, "Gradient-based learning applied to document recognition," Proceedings of the Institute of Electrical and Electronics Engineers, pp. 2278-2324, 1998.
[28] F. Yang, M. Poostchi, H. Yu, Z. Zhou, K. Silamut, J. Yu, R. J. Maude, S. Jaeger and S. Antani, "Deep Learning for Smartphone-Based Malaria Parasite Detection in Thick Blood Smears," IEEE Journal of Biomedical and Health Informatics, pp. 1427-1438, 2020.
[29] C. Mehanian, M. Jaiswal, C. Delahunt, C. Thompson, M. Homing, L. Hu, S. McGuire, T. Ostbye, M. Mehanian, B. Wilson, C. Champlin, E. Long, S. Proux, D. Gamboa, P. Chiodini and J. Carter, "Computer-Automated Malaria Diagnosis and Quantitation Using Convolutional Neural Networks," in Proceedings of the 2017 IEEE International Conference on Computer Vision Workshops, Venice, 2017.
[30] A. Krizhevsky, I. Sutskever and G. E. Hinton, "ImageNet classification with deep convolutional neural networks," Communications of the Association for Computing Machinery, pp. 84-90, 2017.
[31] A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, J. Uszkoreit and N. Houlsby, "An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale," 2020.
[32] Z. Liu, Y. Lin, C. Yue, H. Hu, Y. Wei, Z. Zhang, S. Lin and B. Guo, "Swin Transformer: Hierarchical Vision Transformer using Shifted Windows," arXiv, 2021.
[33] Z. Liu, H. Mao, C.-Y. Wu, C. Feichtenhofer, T. Darrell and S. Xie, "A ConvNet for the 2020s," arXiv, 2022.
[34] Z. Tu, H. Talebi, H. Zhang, F. Yang, P. Milanfar, A. Bovik and Y. Li, "MaxViT: Multi-Axis Vision Transformer," arXiv, 2022.
Copyright (c) 2026 muhamad syukron, Nadia Putri Dira, Nabila Sinta Kusumadewi

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.














.jpg)





