Efficient hybrid CNN-transformer model for accurate blood cancer detection
PeerJ Computer Science · 05.12.2025 · 11 · e3335
DOI: 10.7717/peerj-cs.3335 ↗Kurz gefasst
Fachartikel in der Zeitschrift PeerJ Computer Science, online erschienen am 05.12.2025. Verfasst von Wiem Abdelbaki und 6 weiteren Autor:innen. Die Arbeit wurde bisher 12-mal zitiert (Crossref) und nennt 44 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Princess Nourah bint Abdulrahman University Researchers, Riyadh, Saudi Arabia, The Deanship of Postgraduate Studies and Scientific Research at Majmaah University.
Abstract (Originalsprache)
When the number of white blood cells (WBCs) in the human body becomes imbalanced, leukemia (blood cancer) can develop, affecting individuals of all ages. Early and accurate detection is crucial for improving patient outcomes, yet manual diagnosis is time-consuming and prone to subjectivity. This study proposes an efficient hybrid convolutional neural network (CNN)-transformer model for automated blood cancer detection, integrating convolutional layers for localized feature extraction with transformer-based attention mechanisms for capturing global dependencies. The architecture employs depthwise separable convolutions, efficient multi-head self-attention (EMHSA), and an efficient multilayer perceptron (EMLP) block, optimized via Bayesian hyperparameter tuning. The proposed model was evaluated on two publicly available datasets: the Blood Cancer dataset (binary classification) and the Blood Cells Cancer (ALL) dataset (four-class classification). Using a 50:50 training-testing split, the model achieved 100% accuracy, 100% precision, 100% recall, and 100% F1-score on the Blood Cancer dataset, and 99% accuracy, 99% precision, 100% recall, and 99% F1-score on the ALL dataset. Additional experiments with 80:20, 70:30, and 60:40 splits confirmed consistent performance above 98% across all metrics, demonstrating strong robustness. The model contains only 2.04 million trainable parameters, significantly fewer than standard CNN or transformer-based architectures, making it computationally lightweight and suitable for deployment in resource-constrained clinical environments. These results highlight the potential of the proposed hybrid framework to provide accurate and efficient blood cancer classification, advancing the applicability of deep learning in hematological diagnostics.
Förderung
- Princess Nourah bint Abdulrahman University Researchers, Riyadh, Saudi Arabia
- The Deanship of Postgraduate Studies and Scientific Research at Majmaah University
Zitieren
APA
Abdelbaki, W., Abbas, M. J., P, F. R. P., Nasir, I. M., Alsekait, D. M., Thaljaoui, A., & AbdElminaam, D. S. (2025). Efficient hybrid CNN-transformer model for accurate blood cancer detection. PeerJ Computer Science, 11, e3335. https://doi.org/10.7717/peerj-cs.3335
Vancouver
Abdelbaki W, Abbas MJ, P FRP, Nasir IM, Alsekait DM, Thaljaoui A, et al. Efficient hybrid CNN-transformer model for accurate blood cancer detection. PeerJ Computer Science. 2025;11:e3335. doi:10.7717/peerj-cs.3335
BibTeX
@article{Abdelbaki2025,
author = {Abdelbaki, Wiem and Abbas, Muhammad John and P, Fathimathul Rajeena P. and Nasir, Inzamam Mashood and Alsekait, Deema Mohammed and Thaljaoui, Adel and AbdElminaam, Diaa Salama},
title = {Efficient hybrid CNN-transformer model for accurate blood cancer detection},
journal = {PeerJ Computer Science},
year = {2025},
volume = {11},
pages = {e3335},
doi = {10.7717/peerj-cs.3335}
}
EUVIMED