Enhancing brain tumor detection through deep learning and explainable AI techniques.
Overview
- Dept. of Electronics and Communications Engineering, Zagazig University, P.O. 44519, Zagazig, Egypt
- Department of Electrical and Computer Engineering, Faculty of Engineering, King Abdulaziz University, 21589 Jeddah, Saudi Arabia
- College of Engineering, University of Business and Technology, 23435 Jeddah, Saudi Arabia
- Department of Engineering Mathematics and Physics, Faculty of Engineering, Zagazig University, P.O. 44519, Zagazig, Egypt
Abstract
Brain tumors are a leading cause of cancer-related mortality, and manual MRI screening remains time-consuming and observer-dependent. Deep learning (DL) offers automated detection, but clinical translation requires rigorous validation and interpretability. This study introduces a DL framework for brain tumor detection that addresses two major challenges in medical AI: limited dataset availability and lack of interpretability. Preliminary experiments identified InceptionV3 optimized with Nadam as the optimal architecture. To ensure robust validation, this model was retrained using patient-wise stratified fivefold cross-validation on 90% of the data incorporating augmentation and minority oversampling to prevent data leakage. This achieved an overall accuracy of 98.3 ± 0.9%. The final model was then trained on the entire development set using the optimal configuration, thereby leveraging all available labeled data to maximize learning capacity and enhance generalization. Performance evaluation was conducted on three levels: (i) a held out internal test set (10% of the data) for internal assessment, (ii) an external dataset of 3000 unseen images for independent validation, and (iii) quantitative explainable AI (XAI) analyses performed on both internal and external test datasets. The proposed model achieved perfect classification metrics on the internal test set, with 100% accuracy and minimal loss (0.01), and demonstrated strong generalizability on the external dataset with 96% accuracy and minimal loss (0.11). Quantitative XAI analysis demonstrated high faithfulness (Grad-CAM vs. occlusion sensitivity correlation exceeded 0.8), causal importance (top-10% occlusion drop 44% vs. 9% for random occlusion), and specificity to learned weights (Spearman correlation ≈ − 0.01). The proposed pipeline establishes a rigorous, transparent framework for data-limited medical imaging, demonstrating high diagnostic performance with clinically aligned explanations and providing a reliable foundation for trustworthy AI in brain tumor detection.
Supplementary Information: The online version contains supplementary material available at 10.1038/
Reproduced under the paper's license (CC BY), from the paper cited above.
Code
The paper links to its data and to no code of its authors: see the Data section.
Tracing map
A tracing map links a paper to the code its authors published: this paper has none, so it has no map.
Data
Datasets cited
- kaggle.com/
datasets/ , at Kaggle; found in “Data availability”ahmedhamada0 - kaggle.com/
navoneel/ , at Kaggle; found in “Data availability”brain-mri-images-for-bra in-tumor-detection—br35h
Data availability
This study utilized two publicly available datasets for research purposes. —Brain MRI Images for Brain Tumor Detection (Chakrabarty, N., Kaggle, 2019). Available at: https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 12 keywords, 6 MeSH terms, 1 funder, 33 references.
Cite
This paper
Hassan, S. A., Hathah, A., Elnokity, O. E., Morfeq, A., Abdelfattah, W., Ateya, A. A., & Elsawy, N. (2026). Enhancing brain tumor detection through deep learning and explainable AI techniques. Scientific reports, 16(1), 20558. https://
BibTeX
@article{hassan2026enhan
author = {Hassan, Shaymaa A and Hathah, Anfal and Elnokity, Omar E and Morfeq, Ali and Abdelfattah, Waleed and Ateya, Abdelhamied A and Elsawy, Nabila},
title = {{Enhancing brain tumor detection through deep learning and explainable AI techniques}},
journal = {Scientific reports},
year = {2026},
month = jul,
volume = {16},
number = {1},
pages = {20558},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/
url = {https://
pmid = {42401645},
pmcid = {PMC13332870}
}
RIS
TY - JOUR
AU - Hassan, Shaymaa A
AU - Hathah, Anfal
AU - Elnokity, Omar E
AU - Morfeq, Ali
AU - Abdelfattah, Waleed
AU - Ateya, Abdelhamied A
AU - Elsawy, Nabila
TI - Enhancing brain tumor detection through deep learning and explainable AI techniques
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/
VL - 16
IS - 1
SP - 20558
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Enhancing brain tumor detection through deep learning and explainable AI techniques",
"container-title": "Scientific reports",
"author": [
{
"family": "Hassan",
"given": "Shaymaa A"
},
{
"family": "Hathah",
"given": "Anfal"
},
{
"family": "Elnokity",
"given": "Omar E"
},
{
"family": "Morfeq",
"given": "Ali"
},
{
"family": "Abdelfattah",
"given": "Waleed"
},
{
"family": "Ateya",
"given": "Abdelhamied A"
},
{
"family": "Elsawy",
"given": "Nabila"
}
],
"container-title-short":
"volume": "16",
"issue": "1",
"page": "20558",
"DOI": "10.1038/
"PMID": "42401645",
"PMCID": "PMC13332870",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
4
]
]
}
}
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1049/htl2.70053
- BTdiagAI: A Web-Deployed Hybrid Framework for Brain Tumor Classification Using Optimized MRI Preprocessing and Deep Learning Fusion.Journal: Healthcare technology lettersIn common: kaggle.com/datasets/ahmedhamada0, structural MRI / diffusion, other condition, 2 references
- [2] doi:10.2196/84095
- Detection of Interpretable and Fine-Grained Brain Tumor Magnetic Resonance Imaging Based on Progressive Pruning: Machine Learning Model Development and Validation Study.Journal: JMIR medical informaticsIn common: kaggle.com/datasets/ahmedhamada0, structural MRI / diffusion, other condition, 2 references
- [3] doi:10.3390/jimaging12060233 [code]
- Brain Tumor Classification in MRI Images Using Combined Transfer Learning and Convolutional Neural Networks.Journal: Journal of imagingIn common: kaggle.com/datasets/ahmedhamada0, structural MRI / diffusion, other condition, 2 references
- [4] doi:10.1186/s40708-026-00303-3 [code]
- BrainFusionNet: a deep learning and XAI model to understand local, global, and sequential features of MRI images for improved brain tumour detection.Journal: Brain informaticsIn common: structural MRI / diffusion, other condition, 4 references
- [5] doi:10.1155/2024/6347920
- ContourTL-Net: Contour-Based Transfer Learning Algorithm for Early-Stage Brain Tumor Detection.Journal: International journal of biomedical imagingIn common: kaggle.com/datasets/ahmedhamada0, other condition, 2 references
- [6] doi:10.1186/s12911-024-02519-x
- Advanced AI-driven approach for enhanced brain tumor detection from MRI images utilizing EfficientNetB2 with equalization and homomorphic filtering.Journal: BMC medical informatics and decision makingIn common: kaggle.com/datasets/ahmedhamada0, structural MRI / diffusion, other condition, 1 reference
- [7] doi:10.3389/fradi.2024.1433457
- Current state and promise of user-centered design to harness explainable AI in clinical decision-support systems for patients with CNS tumors.Journal: Frontiers in radiologyIn common: kaggle.com/datasets/ahmedhamada0, structural MRI / diffusion, other condition, 1 reference
- [8] doi:10.1186/s12911-024-02699-6
- Development of brain tumor radiogenomic classification using GAN-based augmentation of MRI slices in the newly released gazi brains dataset.Journal: BMC medical informatics and decision makingIn common: kaggle.com/datasets/ahmedhamada0, structural MRI / diffusion, other condition, 1 reference
- [9] doi:10.1038/s41598-026-46803-4 [code]
- BrainGraphNet-ViT model: a hybrid model combining vision transformers and graph convolutional networks for brain tumor diagnosis.Journal: Scientific reportsIn common: kaggle.com/datasets/ahmedhamada0, structural MRI / diffusion, other condition, 1 reference
- [10] doi:10.1038/s41598-026-39926-1
- Brain tumor classification using optimized ResNet50 with dynamic precision optimization for enhanced speed and diagnostic accuracy.Journal: Scientific reportsIn common: kaggle.com/datasets/ahmedhamada0, structural MRI / diffusion, other condition, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
