OSCR

Enhancing brain tumor detection through deep learning and explainable AI techniques.

Overview

Authors: Shaymaa A Hassan1, Anfal Hathah2, Omar E Elnokity2, Ali Morfeq2, Waleed Abdelfattah3,4, Abdelhamied A Ateya1, Nabila Elsawy1
ORCID iDs: Shaymaa A Hassan
  1. Dept. of Electronics and Communications Engineering, Zagazig University, P.O. 44519, Zagazig, Egypt
  2. Department of Electrical and Computer Engineering, Faculty of Engineering, King Abdulaziz University, 21589 Jeddah, Saudi Arabia
  3. College of Engineering, University of Business and Technology, 23435 Jeddah, Saudi Arabia
  4. Department of Engineering Mathematics and Physics, Faculty of Engineering, Zagazig University, P.O. 44519, Zagazig, Egypt
Institutions: Zagazig University (Egypt); King Abdulaziz University (Saudi Arabia); University of Business and Technology (Saudi Arabia)
Journal: Scientific reports, volume 16, issue 1, article 20558
Dates: received 14 January 2026; accepted 26 June 2026; published online 4 July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41598-026-60334-y · PMID 42401645 · PMCID PMC13332870 · OpenAlex W7167341216
Open access: gold, a free copy (OpenAlex)
Categories: structural MRI / diffusion (modality), human (organism), other condition (population)
Methods: Connectivity, Statistics, Machine learning
Keywords: Brain tumor, Deep learning, MRI, Patient-wise cross-validation, External validation, Explainable AI (XAI), Cancer, Computational biology and bioinformatics, Health care, Mathematics and computing, Medical research, Oncology
MeSH: Brain Neoplasms*, Deep Learning*, Image Interpretation, Computer-Assisted*, Artificial Intelligence, Humans, Magnetic Resonance Imaging (* major topic)
Topic: Brain Tumor Detection and Classification (Computer Vision and Pattern Recognition, Computer Science), according to OpenAlex
Funding: College of Engineering, University of Business and Technology, Jeddah 23435, Saudi Arabia.
Citations: not cited yet (Europe PMC); 48 references in the paper

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/s41598-026-60334-y.

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

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://www.kaggle.com/navoneel/brain-mri-images-for-brain-tumor-detection—Br35H: Brain Tumor Detection 2020 (Hamada, A., Kaggle, 2020). Available at: [https://www.kaggle.com/datasets/ahmedhamada0/brain-tumor-detection].

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://doi.org/10.1038/s41598-026-60334-y

BibTeX

@article{hassan2026enhancing,
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/s41598-026-60334-y},
url = {https://doi.org/10.1038/s41598-026-60334-y},
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/07/04
VL - 16
IS - 1
SP - 20558
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/s41598-026-60334-y
UR - https://doi.org/10.1038/s41598-026-60334-y
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41598-026-60334-y",
"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": "Sci Rep",
"volume": "16",
"issue": "1",
"page": "20558",
"DOI": "10.1038/s41598-026-60334-y",
"PMID": "42401645",
"PMCID": "PMC13332870",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41598-026-60334-y",
"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 letters
In 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 informatics
In 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 imaging
In 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 informatics
In 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 imaging
In 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 making
In 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 radiology
In 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 making
In 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 reports
In 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 reports
In 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.

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.