Optimization of Malaria Cell Image Classification Using Pretrained Resnet50 Architecture with Data Augmentation and Fine-Tuning

https://doi.org/10.56741/IISTR.esl.001244

Authors

Keywords:

malaria, image clasification, ResNet50, Pretrained, data augmentation, fine tuning, semma

Abstract

Malaria remains a significant health concern, particularly in tropical regions such as Indonesia, where timely and accurate diagnosis is crucial for reducing transmission and mortality. Conventional diagnosis through microscopic examination is labor-intensive, time-consuming, and highly dependent on expert availability. This study proposes an automated malaria cell image classification model using a deep learning approach based on the pretrained ResNet50 architecture. The research framework adopts the SEMMA (Sample, Explore, Modify, Model, Assess) methodology to structure the development workflow. A total of 27,558 labeled blood cell images comprising two balanced classes, Parasitized and Uninfected, were used for training and evaluation. Two model configurations were tested: a baseline model without data augmentation or fine-tuning, and an optimized model that integrates both. Augmentation techniques such as rotation, flipping, shearing, zoom, and brightness adjustment were applied to increase data diversity, while fine-tuning involved unfreezing the last 20 layers of ResNet50 to adapt pretrained features to the malaria domain. Performance was evaluated using accuracy, precision, recall, F1-score, loss, and AUC-ROC. The optimized model achieved 97.63% accuracy, 0.996 AUC-ROC, and 0.2472 loss, outperforming the baseline accuracy of 92.84%. An ablation study analyzed the individual contributions of augmentation and fine-tuning, showing that both techniques play complementary roles, with fine-tuning having the greater impact. A McNemar test confirmed that the improvements were statistically significant (p < 0.05). These findings demonstrate that the optimized ResNet50 model is effective for malaria detection and holds promise for integration into real-time diagnostic systems in resource-constrained environments.

Downloads

Download data is not yet available.

Author Biographies

Asri Mulyani, Institut Teknologi Garut

Associate Professor of Computer Science

Dede Kurniadi, Institut Teknologi Garut

Associate Professor of Computer Science

Agil Rahmat, Institut Teknologi Garut

Student at Institut Teknologi Garut

References

Kementerian Kesehatan Republik Indonesia, Buku Saku Penatalaksanaan Kasus Malaria, 2019. [Online]. Available: http://www.pdpersi.co.id/kanalpersi/data/elibrary/bukusaku_malaria.pdf. [Eng. Trans.: Pocket Book for the Management of Malaria Cases]

World Health Organization, “Malaria,” World Health Organization (WHO), 2024. [Online]. Available: https://www.who.int/news-room/questions-and-answers/item/malaria?gclid=CjwKCAiAu9yqBhBmEiwAHTx5pyt9CdR0zouYdVCrYMq35x1vuxXRecc_bQx9fybnL3kjY6laCBXtQBoC0_QQAvD_BwE. Accessed Feb. 18, 2025.

İ. Akgül and V. Kaya, “Classification of cells infected with the malaria parasite with ResNet architectures,” pp. 42–54, 2022.

F. J. P. Montalbo and A. S. Alon, “Empirical analysis of a fine-tuned deep convolutional model in classifying and detecting Malaria parasites from blood smears,” KSII Trans. Internet Inf. Syst., vol. 15, no. 1, pp. 147–165, 2021, doi: 10.3837/TIIS.2021.01.009. DOI: https://doi.org/10.3837/tiis.2021.01.009

Z. Zhu, S. Wang, and Y. Zhang, “ROENet: A ResNet-based output ensemble for malaria parasite classification,” Electronics, vol. 11, no. 13, 2022, doi: 10.3390/electronics11132040. DOI: https://doi.org/10.3390/electronics11132040

M. Muttaqin et al., “CNN classification of malaria parasites in digital microscope images using Python on Raspberry Pi,” Bul. Ilm. Sarj. Tek. Elektro, vol. 5, no. 1, pp. 108–120, 2023, doi: 10.12928/biste.v5i1.7522. [Eng. Trans.: Scientific Bulletin of Electrical Engineering Undergraduate Journal] DOI: https://doi.org/10.12928/biste.v5i1.7522

M. A. Reddy, G. S. S. R. Krishna, and T. T. Kumar, “Malaria cell-image classification using InceptionV3 and SVM,” Int. J. Eng. Res. Technol., vol. 10, no. 8, pp. 6–10, 2021.

O. P. Mmileng, A. Whata, M. Olusanya, and S. Mhlongo, “Application of ConvNeXt with transfer learning and data augmentation for malaria parasite detection in resource-limited settings using microscopic images,” PLoS One, vol. 20, no. 6, pp. 1–39, 2025, doi: 10.1371/journal.pone.0313734. DOI: https://doi.org/10.1371/journal.pone.0313734

M. Mujahid et al., “Efficient deep learning-based approach for malaria detection using red blood cell smears,” Sci. Rep., vol. 14, no. 1, pp. 1–16, 2024, doi: 10.1038/s41598-024-63831-0. DOI: https://doi.org/10.1038/s41598-024-63831-0

J. Dean, Big Data, Data Mining, and Machine Learning: Value Creation for Business Leaders and Practitioners, 1st ed. Wiley Publishing, 2014. DOI: https://doi.org/10.1002/9781118691786

Arunava, “Malaria cell images dataset,” Kaggle, 2019. [Online]. Available: https://www.kaggle.com/datasets/iarunava/cell-images-for-detecting-malaria?resource=download. Accessed Feb. 20, 2025.

R. Rajesh Sharma, K. A. Venkatesh, I. Naikwade, H. Sharma, A. Sungheetha, and G. S. Pradeep Ghatasala, “Predicting lung diseases using machine learning on X-ray images,” Procedia Comput. Sci., vol. 259, pp. 1432–1441, 2025, doi: 10.1016/j.procs.2025.04.098. DOI: https://doi.org/10.1016/j.procs.2025.04.098

F. Rehman, M. Rehman, M. Anjum, and A. Hussain, “Optimized YOLOV8: An efficient underwater litter detection using deep learning,” Ain Shams Eng. J., vol. 16, no. 1, p. 103227, 2025, doi: 10.1016/j.asej.2024.103227. DOI: https://doi.org/10.1016/j.asej.2024.103227

Tinaliah and T. Elizabeth, “Klasifikasi lesi benign dan malignant pada rongga mulut menggunakan arsitektur ResNet50,” J. Tek. Inform. dan Sist. Inf., vol. 10, no. 4, pp. 2407–4322, 2023. [Online]. Available: http://jurnal.mdp.ac.id. [Eng. Trans.: Classification of benign and malignant lesions in the oral cavity using ResNet50 architecture]

V. Li, G. Tsoumplekas, I. Siniosoglou, P. Sarigiannidis, and V. Argyriou, “Is it worth the energy? An in-depth study on the energy efficiency of data augmentation strategies for finetuning-based low/few-shot object detection,” J. Syst. Archit., vol. 167, p. 103484, 2025, doi: 10.1016/j.sysarc.2025.103484. DOI: https://doi.org/10.1016/j.sysarc.2025.103484

Y. Heryadi and T. Wahyono, Dasar-Dasar Deep Learning dan Implementasinya. Gava Media, 2021. [Eng. Trans.: Fundamentals of Deep Learning and Its Implementation]

P. Bohlol, S. Hosseinpour, and M. Soltani Firouz, “Improved food recognition using a refined ResNet50 architecture with improved fully connected layers,” Curr. Res. Food Sci., vol. 10, p. 101005, 2025, doi: 10.1016/j.crfs.2025.101005. DOI: https://doi.org/10.1016/j.crfs.2025.101005

Y. L. Sung, J. Cho, and M. Bansal, “LST: Ladder side-tuning for parameter and memory efficient transfer learning,” Adv. Neural Inf. Process. Syst., vol. 35, pp. 1–15, 2022.

L. A. Andika, P. A. N. Azizah, and R. Respatiwulan, “Analisis sentimen masyarakat terhadap hasil quick count pemilihan presiden Indonesia 2019 pada media sosial Twitter menggunakan metode Naive Bayes classifier,” Indones. J. Appl. Stat., vol. 2, no. 1, p. 34, 2019, doi: 10.13057/ijas.v2i1.29998. [Eng. Trans.: Public sentiment analysis on the 2019 Indonesian presidential election quick count results on Twitter using Naive Bayes classifier] DOI: https://doi.org/10.13057/ijas.v2i1.29998

F. Satria, Z. Zamhariri, and M. A. Syaripudin, “Prediksi ketepatan waktu lulus mahasiswa menggunakan algoritma C4.5 pada Fakultas Dakwah dan Ilmu Komunikasi UIN Raden Intan Lampung,” J. Ilm. Matrik, vol. 22, no. 1, pp. 28–35, 2020, doi: 10.33557/jurnalmatrik.v22i1.836. [Eng. Trans.: Prediction of student graduation timeliness using C4.5 algorithm at the Faculty of Da’wah and Communication, UIN Raden Intan Lampung] DOI: https://doi.org/10.33557/jurnalmatrik.v22i1.836

I. Daqiqil, Machine Learning: Teori, Studi Kasus dan Implementasi Menggunakan Python. Unri Press, 2021. [Online]. Available: https://books.google.co.id/books?id=JvBPEAAAQBAJ. [Eng. Trans.: Machine Learning: Theory, Case Studies, and Implementation Using Python]

Published

2025-08-31

How to Cite

Mulyani, A., Kurniadi, D., & Rahmat, A. (2025). Optimization of Malaria Cell Image Classification Using Pretrained Resnet50 Architecture with Data Augmentation and Fine-Tuning. Engineering Science Letter, 4(02), 83–92. https://doi.org/10.56741/IISTR.esl.001244

Plaudit