A novel hybrid transformer-based framework (H-ConvNeXt-Swin) to classify brain tumors using MRI.
Overview
- Faculty of Computer Science and Engineering, Alamein International University, New Alamein City, Matrouh Egypt 51718
- Computers and Systems Department, Electronics Research Institute,Joseph Tito St, El Nozha, P.O. Box: 12622, Cairo, Cairo Governorate Egypt
- Department of Computer Science and Engineering, Faculty of Computer Science and Engineering, New Mansoura University,New Mansoura, Egypt
- Department of Electronic and Electrical Communication Engineering, Faculty of Electronic Engineering, Menoufia University,Menouf, Egypt
Abstract
This paper introduces a hybrid deep learning model combining ConvNeXt and Swin Transformer for classifying brain tumors from MRI scans. The ConvNeXt backbone is employed to obtain detailed local spatial features, whereas the Swin Transformer identifies hierarchical long-range dependencies, facilitating complementary feature representation. The proposed model is evaluated on a combined public MRI dataset of 7,023 images distributed across four categories: glioma, meningioma, pituitary, and no tumor. Experimental results demonstrate that the proposed hybrid architecture outperforms several state-of-the-art convolutional and transformer-based models, achieving an accuracy of 95.37% with competitive precision and F-score. Additionally, qualitative explainability assessment using attention-based visualization techniques offers insight into the model’s decision-making by highlighting diagnostically significant regions. Furthermore, we evaluate the proposed H-ConvNeXt-Swin model on the unified dataset and also report source-stratified performance on each of the three constituent datasets: Figshare, SARTAJ, and Br35H. Future work will focus on validating the proposed framework on multi-center clinical datasets and extending it to more complex tasks such as tumor localization and segmentation.
Reproduced under the paper's license (CC BY), from the paper cited above.
Code
The paper says that its authors' code is available on request: it was not published with the paper, so there is nothing to verify.
Code availability
The proposed hybrid ConvNeXt–Swin Transformer framework, along with the training and evaluation scripts, has not yet been made available as an open repository. However, the source code can be made available upon a reasonable request to the corresponding author for non-commercial academic research purposes, to facilitate reproducibility and additional exploration.
Reproduced under the paper's license (CC BY), from the paper cited above.
Tracing map
A tracing map links a paper to the code its authors published: this paper has none (its code is available on request), so it has no map.
Data
Datasets cited
- kaggle.com/
datasets/ , at Kaggle; found in “Data availability”masoudnickparvar
Data availability
The Brain Tumor MRI Dataset analyzed during the current study are available in the Kaggle repository: 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, 4 authors, 13 keywords, 7 MeSH terms, 1 funder, 14 references.
Cite
This paper
Abdellatef, E., Al-Makhlasawy, R. M., El-Mawla, N. A., & Shalaby, W. A. (2026). A novel hybrid transformer-based framework (H-ConvNeXt-Swin) to classify brain tumors using MRI. Scientific reports, 16(1), 24168. https://
BibTeX
@article{abdellatef2026n
author = {Abdellatef, Essam and Al-Makhlasawy, Rasha M. and El-Mawla, Nesma Abd and Shalaby, Wafaa A.},
title = {{A novel hybrid transformer-based framework (H-ConvNeXt-Swin) to classify brain tumors using MRI}},
journal = {Scientific reports},
year = {2026},
month = aug,
volume = {16},
number = {1},
pages = {24168},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/
url = {https://
pmid = {42557264},
pmcid = {PMC13444078}
}
RIS
TY - JOUR
AU - Abdellatef, Essam
AU - Al-Makhlasawy, Rasha M.
AU - El-Mawla, Nesma Abd
AU - Shalaby, Wafaa A.
TI - A novel hybrid transformer-based framework (H-ConvNeXt-Swin) to classify brain tumors using MRI
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/
VL - 16
IS - 1
SP - 24168
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "A novel hybrid transformer-based framework (H-ConvNeXt-Swin) to classify brain tumors using MRI",
"container-title": "Scientific reports",
"author": [
{
"family": "Abdellatef",
"given": "Essam"
},
{
"family": "Al-Makhlasawy",
"given": "Rasha M."
},
{
"family": "El-Mawla",
"given": "Nesma Abd"
},
{
"family": "Shalaby",
"given": "Wafaa A."
}
],
"container-title-short":
"volume": "16",
"issue": "1",
"page": "24168",
"DOI": "10.1038/
"PMID": "42557264",
"PMCID": "PMC13444078",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
5
]
]
}
}
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.1038/s41598-025-23100-0
- Hierarchical multi-scale vision transformer model for accurate detection and classification of brain tumors in MRI-based medical imaging.Journal: Scientific reportsIn common: kaggle.com/datasets/masoudnickparvar, methods / tools, structural MRI / diffusion, other condition, 3 references
- [2] doi:10.3390/bioengineering13020157 [code]
- A Robust ConvNeXt-Based Framework for Efficient, Generalizable, and Explainable Brain Tumor Classification on MRI.Journal: Bioengineering (Basel, Switzerland)In common: methods / tools, structural MRI / diffusion, other condition, 4 references
- [3] doi:10.1038/s41598-025-11574-x
- Pyramidal attention-based T network for brain tumor classification: a comprehensive analysis of transfer learning approaches for clinically reliable and reliable AI hybrid approaches.Journal: Scientific reportsIn common: kaggle.com/datasets/masoudnickparvar, structural MRI / diffusion, other condition, 2 references
- [4] doi:10.1371/journal.pone.0292768
- PRCnet: An efficient model for automatic detection of brain tumor in MRI images.Journal: PloS oneIn common: kaggle.com/datasets/masoudnickparvar, methods / tools, structural MRI / diffusion, other condition, 1 reference
- [5] doi:10.1016/j.bj.2025.100871
- BrainView: A cloud-based deep learning system for brain image segmentation, tumor detection and visualization.Journal: Biomedical journalIn common: kaggle.com/datasets/masoudnickparvar, methods / tools, structural MRI / diffusion, other condition, 1 reference
- [6] doi:10.1038/s41598-026-52658-6
- A multi-level attention CNN-transformer based framework for the detection of brain tumor using regional dual-score explainability.Journal: Scientific reportsIn common: kaggle.com/datasets/masoudnickparvar, methods / tools, structural MRI / diffusion, other condition, 1 reference
- [7] doi:10.1038/s41598-025-14917-w
- Advanced dynamic ensemble framework with explainability driven insights for precision brain tumor classification across datasets.Journal: Scientific reportsIn common: kaggle.com/datasets/masoudnickparvar, methods / tools, structural MRI / diffusion, other condition, 1 reference
- [8] doi:10.1038/s41598-025-09326-y
- Improved salp swarm algorithm-driven deep CNN for brain tumor analysis.Journal: Scientific reportsIn common: kaggle.com/datasets/masoudnickparvar, methods / tools, structural MRI / diffusion, other condition, 1 reference
- [9] doi:10.1016/j.mex.2025.103769
- BRAIN-META: A reproducible CNN-vision transformer meta-ensemble pipeline for explainable brain tumor classification.Journal: MethodsXIn common: kaggle.com/datasets/masoudnickparvar, methods / tools, structural MRI / diffusion, other condition, 1 reference
- [10] 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/masoudnickparvar, methods / tools, 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.
