Hybrid Capsule Network for precise and interpretable detection of malaria parasites in blood smear images

IntroductionRapid and precise malaria diagnosis is critical in resource-constrained settings to enable timely treatment and reduce mortality. Existing convolutional neural network (CNN) and capsule network hybrids, although effective, often suffer from high computational demands and limited generali...

Full description

Saved in:
Bibliographic Details
Main Author: Bader Alawfi
Format: Article
Language:English
Published: Frontiers Media S.A. 2025-08-01
Series:Frontiers in Cellular and Infection Microbiology
Subjects:
Online Access:https://www.frontiersin.org/articles/10.3389/fcimb.2025.1615993/full
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849243156994850816
author Bader Alawfi
author_facet Bader Alawfi
author_sort Bader Alawfi
collection DOAJ
description IntroductionRapid and precise malaria diagnosis is critical in resource-constrained settings to enable timely treatment and reduce mortality. Existing convolutional neural network (CNN) and capsule network hybrids, although effective, often suffer from high computational demands and limited generalizability across datasets.MethodsWe propose Hybrid Capsule Network (Hybrid CapNet), a lightweight architecture combining CNN-based feature extraction with dynamic capsule routing for accurate parasite identification and life-cycle stage classification. A novel composite loss function—integrating margin, focal, reconstruction, and regression losses—was employed to enhance classification accuracy, spatial localization, and robustness to class imbalance and annotation noise. The model was evaluated on four benchmark malaria datasets (MP-IDB, MP-IDB2, IML-Malaria, MD-2019) and assessed for both intra- and cross-dataset performance.ResultsHybrid CapNet achieves superior accuracy with significantly reduced computational cost (1.35M parameters, 0.26 GFLOPs), rendering it suitable for mobile diagnostic applications. Experimental results demonstrate up to 100% accuracy in multiclass classification and consistent improvements over baseline CNN architectures in cross-dataset evaluations. Grad-CAM visualizations confirm that the model focuses on biologically relevant parasite regions, validating interpretability.DiscussionThe proposed framework delivers a pragmatic and interpretable solution for malaria diagnosis, balancing high accuracy with minimal computational requirements, and demonstrates strong potential for deployment in real-world, resource-limited clinical environments.
format Article
id doaj-art-2f3e2a3790ca4eb5bedfd3141bc18b85
institution Kabale University
issn 2235-2988
language English
publishDate 2025-08-01
publisher Frontiers Media S.A.
record_format Article
series Frontiers in Cellular and Infection Microbiology
spelling doaj-art-2f3e2a3790ca4eb5bedfd3141bc18b852025-08-20T03:59:35ZengFrontiers Media S.A.Frontiers in Cellular and Infection Microbiology2235-29882025-08-011510.3389/fcimb.2025.16159931615993Hybrid Capsule Network for precise and interpretable detection of malaria parasites in blood smear imagesBader AlawfiIntroductionRapid and precise malaria diagnosis is critical in resource-constrained settings to enable timely treatment and reduce mortality. Existing convolutional neural network (CNN) and capsule network hybrids, although effective, often suffer from high computational demands and limited generalizability across datasets.MethodsWe propose Hybrid Capsule Network (Hybrid CapNet), a lightweight architecture combining CNN-based feature extraction with dynamic capsule routing for accurate parasite identification and life-cycle stage classification. A novel composite loss function—integrating margin, focal, reconstruction, and regression losses—was employed to enhance classification accuracy, spatial localization, and robustness to class imbalance and annotation noise. The model was evaluated on four benchmark malaria datasets (MP-IDB, MP-IDB2, IML-Malaria, MD-2019) and assessed for both intra- and cross-dataset performance.ResultsHybrid CapNet achieves superior accuracy with significantly reduced computational cost (1.35M parameters, 0.26 GFLOPs), rendering it suitable for mobile diagnostic applications. Experimental results demonstrate up to 100% accuracy in multiclass classification and consistent improvements over baseline CNN architectures in cross-dataset evaluations. Grad-CAM visualizations confirm that the model focuses on biologically relevant parasite regions, validating interpretability.DiscussionThe proposed framework delivers a pragmatic and interpretable solution for malaria diagnosis, balancing high accuracy with minimal computational requirements, and demonstrates strong potential for deployment in real-world, resource-limited clinical environments.https://www.frontiersin.org/articles/10.3389/fcimb.2025.1615993/fullmalaria detectionCapsule NetworkHybrid CapNetparasite classificationlife cycle stage recognitionblood smear microscopy
spellingShingle Bader Alawfi
Hybrid Capsule Network for precise and interpretable detection of malaria parasites in blood smear images
Frontiers in Cellular and Infection Microbiology
malaria detection
Capsule Network
Hybrid CapNet
parasite classification
life cycle stage recognition
blood smear microscopy
title Hybrid Capsule Network for precise and interpretable detection of malaria parasites in blood smear images
title_full Hybrid Capsule Network for precise and interpretable detection of malaria parasites in blood smear images
title_fullStr Hybrid Capsule Network for precise and interpretable detection of malaria parasites in blood smear images
title_full_unstemmed Hybrid Capsule Network for precise and interpretable detection of malaria parasites in blood smear images
title_short Hybrid Capsule Network for precise and interpretable detection of malaria parasites in blood smear images
title_sort hybrid capsule network for precise and interpretable detection of malaria parasites in blood smear images
topic malaria detection
Capsule Network
Hybrid CapNet
parasite classification
life cycle stage recognition
blood smear microscopy
url https://www.frontiersin.org/articles/10.3389/fcimb.2025.1615993/full
work_keys_str_mv AT baderalawfi hybridcapsulenetworkforpreciseandinterpretabledetectionofmalariaparasitesinbloodsmearimages