From cells to patients: Validation, image quality and predictive values of deep learning for malaria detection in thin blood smears

https://doi.org/10.55529/jpdmhd.62.63.72

Authors

  • Sourav Kundu Department of Tropical Medicine, School of Tropical Medicine, Kolkata, West Bengal, India. https://orcid.org/0000-0002-0969-6804
  • Tashmatova Nazgul Department of Morphological Disciplines, Jalal-Abad International University, Osh State University, Osh International Medical University, 720906, 24 Kurmanbek Str., Manas, Kyrgyzstan. https://orcid.org/0000-0002-3068-1922
  • Turgunova Muattarkhon Department of Morphological Disciplines, Jalal-Abad International University, 720906, 24 Kurmanbek Str., Manas, Kyrgyzstan. https://orcid.org/0009-0002-5410-4334

Keywords:

Malaria, Thin Blood Smear, Deep Learning, Diagnostic Accuracy, Patient-Level Validation, Image Quality

Abstract

Background: Deep learning models for malaria detection in thin blood smears report accuracies of 95-99%, but are usually validated on randomly split, high-quality cell images and evaluated per cell rather than per patient.

Objective: To re-examine these assumptions using real thin-smear data.

Methods: The NIH thin-smear dataset was used (27,556 segmented red blood cell images from 150 Plasmodium falciparum-infected and 50 healthy patients). A compact convolutional neural network was evaluated with image-level and patient-level five-fold cross-validation, under 12 simulated image degradations, and after aggregation of cell predictions into a patient-level diagnosis. Predictive values were computed for prevalences of 1-50%.

Results: On unseen patients, cell-level accuracy was 95.7%, sensitivity 93.8%, specificity 97.5% and AUROC 0.988. Image-level validation overestimated accuracy by only 0.4 percentage points but understated variation between test folds four-fold. Under patient-level validation, seven patients had an accuracy below 90% (minimum 72.8%). Blur, low resolution and stain shift reduced sensitivity to 74-83%, whereas noise and underexposure reduced specificity to 52-69%. Severe JPEG compression reduced sensitivity to 72%. At the patient level, a healthy individual with about 68 examined cells had a median of one false-positive cell. Calling any positive cell a positive diagnosis gave a sensitivity of 99.3% but a specificity of only 34%. Requiring five positive cells balanced both at 94.0%. Requiring ten positive cells removed all false positives but missed 15% of infections, mostly at low parasitaemia. At 1% prevalence, positive predictive values were 14% or less.

References

World Health Organization, World Malaria Report 2024. Geneva, Switzerland: WHO, 2024. www.who.int/publications/i/item/9789240104440

C. Wongsrichanalai, M. J. Barcus, S. Muth, A. Sutamihardja, and W. H. Wernsdorfer, “A review of malaria diagnostic tools: Microscopy and rapid diagnostic test (RDT),” American Journal of Tropical Medicine and Hygiene, vol. 77, no. 6 Suppl., pp. 119–127, 2007. https://doi.org/10.4269/ajtmh.2007.77.119

World Health Organization, Malaria Microscopy Quality Assurance Manual, Version 2. Geneva, Switzerland: WHO, 2016. www.who.int/publications/i/item/9789241549394

M. Poostchi, K. Silamut, R. J. Maude, S. Jaeger, and G. Thoma, “Image analysis and machine learning for detecting malaria,” Translational Research, vol. 194, pp. 36–55, 2018. https://doi.org/10.1016/j.trsl.2017.12.004

F. Yang et al., “Deep learning for smartphone-based malaria parasite detection in thick blood smears,” IEEE Journal of Biomedical and Health Informatics, vol. 24, no. 5, pp. 1427–1438, 2020. https://doi.org/10.1109/JBHI.2019.2939121

S. Rajaraman et al., “Pre-trained convolutional neural networks as feature extractors toward improved malaria parasite detection in thin blood smear images,” PeerJ, vol. 6, Art. no. e4568, 2018. https://doi.org/10.7717/peerj.4568

S. Rajaraman, S. Jaeger, and S. K. Antani, “Performance evaluation of deep neural ensembles toward malaria parasite detection in thin-blood smear images,” PeerJ, vol. 7, Art. no. e6977, 2019. https://doi.org/10.7717/peerj.6977

K. M. F. Fuhad, J. F. Tuba, M. R. A. Sarker, S. Momen, N. Mohammed, and T. Rahman, “Deep learning based automatic malaria parasite detection from blood smear and its smartphone based application,” Diagnostics, vol. 10, no. 5, Art. no. 329, 2020. https://doi.org/10.3390/diagnostics10050329

S. Saeb, L. Lonini, A. Jayaraman, D. C. Mohr, and K. P. Kording, “The need to approximate the use-case in clinical machine learning,” GigaScience, vol. 6, no. 5, pp. 1–9, 2017. https://doi.org/10.1093/gigascience/gix019

S. Kapoor and A. Narayanan, “Leakage and the reproducibility crisis in machine-learning-based science,” Patterns, vol. 4, no. 9, Art. no. 100804, 2023. https://doi.org/10.1016/j.patter.2023.100804

M. Roberts et al., “Common pitfalls and recommendations for using machine learning to detect and prognosticate for COVID-19 using chest radiographs and CT scans,” Nature Machine Intelligence, vol. 3, no. 3, pp. 199–217, 2021. https://doi.org/10.1038/s42256-021-00307-0

S. Dodge and L. Karam, “Understanding how image quality affects deep neural networks,” in Proc. 8th Int. Conf. Quality of Multimedia Experience (QoMEX), 2016, pp. 1–6. https://doi.org/10.1109/QoMEX.2016.7498955

D. Hendrycks and T. Dietterich, “Benchmarking neural network robustness to common corruptions and perturbations,” in Proc. Int. Conf. Learning Representations (ICLR), 2019. https://doi.org/10.48550/arXiv.1903.12261

D. G. Altman and J. M. Bland, “Diagnostic tests 2: Predictive values,” BMJ, vol. 309, no. 6947, p. 102, 1994. https://doi.org/10.1136/bmj.309.6947.102

M. M. G. Leeflang, A. W. S. Rutjes, J. B. Reitsma, L. Hooft, and P. M. M. Bossuyt, “Variation of a test’s sensitivity and specificity with disease prevalence,” Canadian Medical Association Journal, vol. 185, no. 11, pp. E537–E544, 2013. https://doi.org/10.1503/cmaj.121286

TheODDYSEY, “Malaria-Detection-Model” (mirror of the NIH malaria cell images dataset), GitHub repository. Accessed: Oct. 2026. github.com/TheODDYSEY/Malaria-Detection-Model

D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” in Proc. Int. Conf. Learning Representations (ICLR), 2015. https://doi.org/10.48550/arXiv.1412.6980

A. Paszke et al., “PyTorch: An imperative style, high-performance deep learning library,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 32, 2019, pp. 8024–8035. https://doi.org/10.48550/arXiv.1912.01703

F. Pedregosa et al., “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011. jmlr.org/papers/v12/pedregosa11a.html

P. M. Bossuyt et al., “STARD 2015: An updated list of essential items for reporting diagnostic accuracy studies,” BMJ, vol. 351, Art. no. h5527, 2015. https://doi.org/10.1136/bmj.h5527

C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger, “On calibration of modern neural networks,” in Proc. 34th Int. Conf. Machine Learning (ICML), PMLR vol. 70, 2017, pp. 1321–1330. https://doi.org/10.48550/arXiv.1706.04599

C. J. Kelly, A. Karthikesalingam, M. Suleyman, G. Corrado, and D. King, “Key challenges for delivering clinical impact with artificial intelligence,” BMC Medicine, vol. 17, Art. no. 195, 2019. https://doi.org/10.1186/s12916-019-1426-2

Published

2026-08-27

How to Cite

Kundu, S., Tashmatova, N., & Turgunova, M. (2026). From cells to patients: Validation, image quality and predictive values of deep learning for malaria detection in thin blood smears. Journal of Prevention, Diagnosis and Management of Human Diseases, 6(2), 63–72. https://doi.org/10.55529/jpdmhd.62.63.72