A calibration-aware hierarchical CNN-SWIN fusion framework for robust Cross-Dataset brain MRI analysis.
Overview
- School of Microelectronics, Tianjin University, Tianjin, China
- Department of Data Science, National University of Computer and Emerging Sciences (FAST–NUCES), Lahore, Pakistan
- School of Material Science and Engineering, Zhejiang University, Hangzhou, China
- Department of Computer Science, Yobe State University, Damaturu, Nigeria
- Center for Distance and Online Education, Lovely Professional University, Phagwara, Punjab, India
- Department of Biomedical Engineering, School of Precision Instruments and Opto-electronics Engineering, Tianjin University, Tianjin, China
Abstract
Introduction: Deep learning approaches have become central to brain MRI analysis; however, their reliability under dataset shift remains a critical barrier to safe and scalable deployment in neuroscience and clinical research. While convolutional neural networks (CNNs) provide strong locality-driven inductive biases for robust feature extraction, they lack global contextual awareness. Conversely, transformer-based architectures capture long-range dependencies but often exhibit reduced robustness and miscalibrated confidence when applied to heterogeneous medical imaging data, particularly in Cross-Dataset settings.
Methods: In this work, we propose a calibration-aware hierarchical CNN-Transformer fusion framework designed for robust brain MRI analysis under dataset shift. The architecture integrates a pretrained multi-scale CNN backbone with a hierarchical transformer branch and performs scale-aligned fusion through cross-attention mechanisms. By allowing local convolutional features to selectively query global contextual representations, the proposed design maintains stable feature contributions during fusion and mitigates overconfident reliance on transformer features when generalization degrades across datasets. The framework is evaluated using a strict Cross-Dataset protocol, where models are trained on one dataset and tested on a distinct dataset.
Results: Experimental results demonstrate that the proposed fusion model achieves competitive classification performance while substantially improving probabilistic calibration relative to both CNN-only and transformer-only baselines. Specifically, the model attains an average accuracy of 99.20% and achieves lower Expected Calibration Error (ECE = 0.0041), Brier score (0.0028), and Negative Log-Likelihood (NLL = 0.0277) compared to a standalone Swin Transformer and a strong ResNet50 baseline.
Discussion: These findings demonstrate that calibration-aware hierarchical CNN-Transformer fusion enhances both predictive reliability and robustness under Cross-Dataset evaluation. By improving the alignment between predictive confidence and empirical correctness, the proposed method supports safer large-scale analysis of heterogeneous brain MRI data, with important implications for multi-center neuroscience studies and trustworthy clinical decision support.
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
- figshare:30533120, at figshare; found in “Data availability statement”
- kaggle.com/
datasets/ , at Kaggle; found in “Data availability statement”mohamadabouali1
Data availability statement
The datasets analyzed in this study are publicly available and were obtained from open-access repositories. The first dataset is the BRISC (Brain Tumor Image Segmentation and Classification) dataset, which provides annotated brain MRI scans for tumor classification and related research tasks. The dataset is publicly available via Figshare 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, 29 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 6 authors, 6 keywords, 9 references.
Cite
This paper
Younis, A., Qiang, L., Rehman, A., Hussain, H., Adamu, M. J., & Kawuwa, H. B. (2026). A calibration-aware hierarchical CNN-SWIN fusion framework for robust Cross-Dataset brain MRI analysis. Frontiers in neuroscience, 20, 1782306. https://
BibTeX
@article{younis2026calib
author = {Younis, Ayesha and Qiang, Li and Rehman, Abdur and Hussain, Hamid and Adamu, Mohammed Jajere and Kawuwa, Halima Bello},
title = {{A calibration-aware hierarchical CNN-SWIN fusion framework for robust Cross-Dataset brain MRI analysis}},
journal = {Frontiers in neuroscience},
year = {2026},
month = apr,
volume = {20},
pages = {1782306},
publisher = {Frontiers Media SA},
issn = {1662-4548},
doi = {10.3389/
url = {https://
pmid = {42057902},
pmcid = {PMC13121271}
}
RIS
TY - JOUR
AU - Younis, Ayesha
AU - Qiang, Li
AU - Rehman, Abdur
AU - Hussain, Hamid
AU - Adamu, Mohammed Jajere
AU - Kawuwa, Halima Bello
TI - A calibration-aware hierarchical CNN-SWIN fusion framework for robust Cross-Dataset brain MRI analysis
T2 - Frontiers in neuroscience
J2 - Front Neurosci
PY - 2026
DA - 2026/
VL - 20
SP - 1782306
SN - 1662-4548
PB - Frontiers Media SA
DO - 10.3389/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3389/
"type": "article-journal",
"title": "A calibration-aware hierarchical CNN-SWIN fusion framework for robust Cross-Dataset brain MRI analysis",
"container-title": "Frontiers in neuroscience",
"author": [
{
"family": "Younis",
"given": "Ayesha"
},
{
"family": "Qiang",
"given": "Li"
},
{
"family": "Rehman",
"given": "Abdur"
},
{
"family": "Hussain",
"given": "Hamid"
},
{
"family": "Adamu",
"given": "Mohammed Jajere"
},
{
"family": "Kawuwa",
"given": "Halima Bello"
}
],
"container-title-short":
"volume": "20",
"page": "1782306",
"DOI": "10.3389/
"PMID": "42057902",
"PMCID": "PMC13121271",
"ISSN": "1662-4548",
"publisher": "Frontiers Media SA",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
14
]
]
}
}
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.3390/jcm12020538 [code]
- HMNet: Hierarchical Multi-Scale Brain Tumor Segmentation Network.Journal: Journal of clinical medicineIn common: methods / tools, 1 reference, author Mohammed Jajere Adamu
- [2] doi:10.1007/s10571-025-01660-z [code]
- Explainable Hybrid Deep Learning Framework Integrating MobileNetV2, EfficientNetV2B0, and KNN for MRI-Based Brain Tumor Classification.Journal: Cellular and molecular neurobiologyIn common: methods / tools, structural MRI / diffusion, author Mohammed Jajere Adamu
- [3] doi:10.3389/fnimg.2022.1023481 [code]
- Improving across-dataset brain tissue segmentation for MRI imaging using transformer.Journal: Frontiers in neuroimagingIn common: methods / tools, structural MRI / diffusion, 2 references
- [4] doi:10.1038/s41598-025-23820-3
- A swarm intelligence-driven hybrid framework for brain tumor classification with enhanced deep features.Journal: Scientific reportsIn common: methods / tools, structural MRI / diffusion, 2 references
- [5] doi:10.3389/frai.2026.1771088 [code]
- Few-shot deployment of pretrained MRI transformers in brain imaging tasks.Journal: Frontiers in artificial intelligenceIn common: methods / tools, structural MRI / diffusion, 2 references
- [6] doi:10.1038/s41598-025-09833-y [code]
- A novel hybrid vision UNet architecture for brain tumor segmentation and classification.Journal: Scientific reportsIn common: methods / tools, 2 references
- [7] doi:10.3390/diagnostics16040593
- Progression-Aware and Explainable CNN-Transformer Framework for Multiclass Alzheimer's Disease Staging Using MRI.Journal: Diagnostics (Basel, Switzerland)In common: methods / tools, structural MRI / diffusion, 2 references
- [8] doi:10.1038/s41598-025-19894-8 [code]
- Morphometric similarity network-based graph convolutional networks for schizophrenia classification.Journal: Scientific reportsIn common: methods / tools, structural MRI / diffusion, 2 references
- [9] doi:10.1038/s41598-025-14901-4
- Enhanced MRI brain tumor detection using deep learning in conjunction with explainable AI SHAP based diverse and multi feature analysis.Journal: Scientific reportsIn common: methods / tools, structural MRI / diffusion, 2 references
- [10] doi:10.1093/biomethods/bpae086 [code]
- MRI-based whole-brain elastography and volumetric measurements to predict brain age.Journal: Biology methods & protocolsIn common: methods / tools, structural MRI / diffusion, 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: 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.
