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, not to its authors' code: 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.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
- [2] 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
- [3] 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
- [4] 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
- [5] doi:10.1186/s40708-026-00325-x
- CAE-BrainNet: a statistically validated class-adaptive attention ensemble model for explainable brain tumor classification from MRI.Journal: Brain informaticsIn common: kaggle.com/datasets/ahmedhamada0, structural MRI / diffusion, other condition, 1 reference
- [6] doi:10.3389/frai.2026.1849051
- Query-guided learning for efficient and interpretable multi-class brain tumor classification in MRI.Journal: Frontiers in artificial intelligenceIn common: kaggle.com/datasets/ahmedhamada0, structural MRI / diffusion, other condition, 1 reference
- [7] doi:10.1038/s41598-026-50158-1 [code]
- NeXtSwin-X: dual-branch cross-attention fusion of ConvNeXt and swin transformer for accurate brain tumor classification from MRI and CT.Journal: Scientific reportsIn common: kaggle.com/datasets/ahmedhamada0, structural MRI / diffusion, other condition
- [8] doi:10.1371/journal.pone.0346821
- LHW-Net: An ensemble-based machine learning framework for brain tumor classification.Journal: PloS oneIn common: kaggle.com/datasets/ahmedhamada0, other condition
- [9] doi:10.1162/imag.a.1129
- Deep learning interpretability in neuroimaging: A comprehensive survey and methodological recommendations.Journal: Imaging neuroscience (Cambridge, Mass.)In common: 3 references
- [10] doi:10.1038/s41598-026-55136-1 [code]
- CAHA-Net: A novel MR image classification model based on DenseNet incorporating coordinate attention and hybrid augmentation.Journal: Scientific reportsIn common: structural MRI / diffusion, other condition, 2 references
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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
