Tropical Medicine and Infectious Disease

An Explainable Hybrid Model for Malaria Parasite Detection and Life-Stage Classification Using Instance Segmentation and Metaheuristic Feature Selection

Alameen E. M. Abdalrahman, Karim Gasmi, Shahzad Ali, Mona Saleh Alzahrani, Nourah Saad Al-Otaibi, Sami Alanazi, Adil Mahmoud Mohamed Mahmoud, Omrane Necibi,

Computational

Key points

From the paper's conclusion
  • By integrating detection, segmentation, topology-aware feature engineering, and explainability into a unified model, this work provides a reproducible and clinically relevant basis for deploying AI-assisted malaria screening in resource-limited environments.

Abstract

Background/Objective: Accurate and automated detection of malaria parasites in blood smear images is crucial for global health, especially in settings where expert microscopists are scarce. Most current systems treat detection and classification as separate steps, rarely test cross-species generalisation, and often lack interpretable evidence for their predictions. This study addresses these gaps by developing a hybrid deep learning model that simultaneously detects malaria parasites and classifies their developmental stages within a single, end-to-end workflow. Methods: Five object detectors were benchmarked on the BBBC041 dataset, with YOLOv8s selected for its optimal balance of accuracy and computational efficiency. The Segment Anything Model (SAM) was applied to refine cell masks to pixel-level precision. Each detected cell was represented by a 68-dimensional feature vector combining morphological, topological, and deep convolutional features. A genetic algorithm reduced this to 34 informative features, halving dimensionality while preserving discriminative power. A support vector machine classifier was then trained on the balanced feature set using SMOTE to address class imbalance. Results: The proposed model achieved a YOLOv8s detection mAP@0.5 of 0.4820 on the BBBC041 held-out test set. Binary parasitised-vs-uninfected classification under five-fold stratified cross-validation with within-fold SMOTE yielded a macro F1 of 0.7952 ± 0.0314 and an AUC of 0.9791 for the best classifier (XGBoost). Cross-dataset evaluation on the MP-IDB benchmark confirmed strong generalisation across parasite species without retraining, yielding high IoU and Dice scores, with 94.3% of images correctly segmented at an IoU threshold above 0.3. Grad-CAM visualisations further confirmed that the model’s attention aligns with biologically relevant parasite regions. Conclusions: These results demonstrate a robust, interpretable, and generalisable framework for automated malaria diagnosis. By integrating detection, segmentation, topology-aware feature engineering, and explainability into a unified model, this work provides a reproducible and clinically relevant basis for deploying AI-assisted malaria screening in resource-limited environments.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers