Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

Scientific Reports
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. scientific reports
  3. articles
  4. article
Multi-class classification of brain tumor using a ResNet101 backbone integrated with multi-scale deformable attention module and advanced data augmentations
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 03 April 2026

Multi-class classification of brain tumor using a ResNet101 backbone integrated with multi-scale deformable attention module and advanced data augmentations

  • B. Sidda Reddy1,
  • Ranjeet Ranjan Jha2,
  • Abhishek Dasore3,
  • Deekshitha Desur4,
  • Kiran Shahapurkar5,
  • Vineet Tirth6,7,
  • Ali Algahtani6,8,
  • Vijayabhaskara Rao Bhaviripudi9 &
  • …
  • Gezahgn Gebremaryam10 

Scientific Reports , Article number:  (2026) Cite this article

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Cancer
  • Computational biology and bioinformatics
  • Mathematics and computing
  • Oncology

Abstract

Magnetic Resonance Imaging (MRI) scans are crucial role in identifying brain tumors, ensuring accurate clinical diagnosis and effective personalized treatment planning to improve the chances of survival in patients. However, consistent multi-class classification of brain tumours remains a major challenge due to the considerable variability in tumor morphology and the subtle differences among multiple pathological categories. Although there have been tremendous advancements in convolutional neural networks (CNNs) and attention-based deep learning frameworks, challenges remain in achieving robustness performance across multi-class tumor datasets while maintaining interpretability for clinical use. This paper addresses these challenges, by adopting a novel multi-scale deformable attention module (MS-DAM) framework built on ResNet101. The framework is applied on the Kaggle 14-class MRI Brain tumor dataset, to enhance diagnostic accuracy and computational efficiency by capturing the global contextual and local tumor specific features. To improve generalization, hybrid augmentation strategy combined with mixup regularization has been implemented. The explainabiliy of the model is achieved through Grad-CAM and SHAP analyses. The test results of the proposed model are compared with those reported in the existing literature and superior classification accuracy and generalization are observed. The accuracy of the validation and test data set is achieved 96.89% and 99.21% respectively.

Data availability

The implementation code, training pipeline, and evaluation scripts used in this study are publicly available to ensure transparency and reproducibility of the reported results. The complete source code can be accessed through the following GitHub repository: https://github.com/bathinisiddareddy-arch/siddareddy.

References

  1. McFaline-Figueroa, J. R. & Lee, E. Q. Brain tumors. Am. J. Med. 131(8), 874–882. https://doi.org/10.1016/j.amjmed.2017.12.039 (2018).

    Google Scholar 

  2. DeAngelis, L. M. Brain tumors. N. Engl. J. Med. 344 (2), 114–123. https://doi.org/10.1056/NEJM200101113440207 (2001).

    Google Scholar 

  3. Tandel, G. S. et al. A review on a deep learning perspective in brain cancer classification. Cancers 11 (1), 111. https://doi.org/10.3390/cancers11010111 (2019).

    Google Scholar 

  4. Zarenia, E., Far, A. A. & Rezaee, K. Automated multi-class MRI brain tumor classification and segmentation using deformable attention and saliency mapping. Sci. Rep. 15, 8114. https://doi.org/10.1038/s41598-025-92776-1 (2025).

    Google Scholar 

  5. Chinga, A., Bendezu, W. & Angulo, A. Comparative study of CNN architectures for brain tumor classification using MRI: Exploring GradCAM for visualizing CNN focus. Eng. Proc. 83(1), 22. https://doi.org/10.3390/engproc2025083022 (2025).

    Google Scholar 

  6. Khawaldeh, S., Pervaiz, U., Rafiq, A. & Alkhawaldeh, R. S. Noninvasive grading of glioma tumor using magnetic resonance imaging with convolutional neural networks. Appl. Sci. (Basel) 8(1), 27. https://doi.org/10.3390/app8010027 (2018).

    Google Scholar 

  7. Sultan, H. H., Salem, N. M. & Al-Atabany, W. Multi-classification of brain tumor images using deep neural network. IEEE Access 7, 69215–69225. https://doi.org/10.1109/ACCESS.2019.2919122 (2019).

    Google Scholar 

  8. Ayadi, A., Elhamzi, W., Charfi, I. & Atri, M. Deep CNN for brain tumor classification. Neural Process. Lett. 53, 671–700. https://doi.org/10.1007/s11063-020-10398-2 (2021).

    Google Scholar 

  9. Deepak, S. & Ameer, P. M. Brain tumor classification using deep CNN features via transfer learning. Comput. Biol. Med. 111, 103345. https://doi.org/10.1016/j.compbiomed.2019.103345 (2019).

    Google Scholar 

  10. Çinar, A. & Yildirim, M. Detection of tumors on brain MRI images using the hybrid convolutional neural network architecture. Med. Hypotheses 139, 109684. https://doi.org/10.1016/j.mehy.2020.109684 (2020).

    Google Scholar 

  11. Nayak, D. R., Padhy, N., Mallick, P. K., Zymbler, M. & Kumar, S. Brain tumor classification using Dense Efficient-Net. Axioms 11(1), 34. https://doi.org/10.3390/axioms11010034 (2022).

    Google Scholar 

  12. Srinivas, C. et al. Deep transfer learning approaches in performance analysis of brain tumor classification using MRI images. J. Healthc. Eng. 2022, 3264367. https://doi.org/10.1155/2022/3264367 (2022).

    Google Scholar 

  13. Polat, Ö., Dokur, Z. & Ölmez, T. Brain tumor classification by using a novel convolutional neural network structure. Int. J. Imaging Syst. Technol. 32 (5), 1646–1660. https://doi.org/10.1002/ima.22763 (2022).

    Google Scholar 

  14. Huang, Z. et al. Convolutional neural network based on complex networks for brain tumor image classification with a modified activation function. IEEE Access 8, 89281–89290. https://doi.org/10.1109/ACCESS.2020.2993618 (2020).

    Google Scholar 

  15. Mondal, A. & Shrivastava, V. K. A novel parametric Flatten-p Mish activation function based deep CNN model for brain tumor classification. Comput. Biol. Med. 150, 106183. https://doi.org/10.1016/j.compbiomed.2022.106183 (2022).

    Google Scholar 

  16. Khan, M. A. & Auvee, R. B. Z. Comparative analysis of resource-efficient CNN architectures for brain tumor classification. In Proceedings of the 2024 27th International Conference on Computer and Information Technology (ICCIT) (pp. 639–644). IEEE. (2024). https://doi.org/10.1109/ICCIT64611.2024.11021970

  17. Khan, M. A. & Park, H. A convolutional block base architecture for multiclass brain tumor detection using magnetic resonance imaging. Electronics 13(2), 364. https://doi.org/10.3390/electronics13020364 (2024).

    Google Scholar 

  18. Chatterjee, S., Nizamani, F. A., Nürnberger, A. & Speck, O. Classification of brain tumours in MR images using deep spatiospatial models. Sci. Rep. 12, 1505. https://doi.org/10.1038/s41598-022-05572-6 (2022).

    Google Scholar 

  19. Verma, A. & Yadav, A. K. Improved multi-class brain tumor MRI classification with DS-Net: A patch-based deep supervision approach. Multimed. Tools Appl. 84, 36837–36870. https://doi.org/10.1007/s11042-025-20668-7 (2025).

    Google Scholar 

  20. Jia, Q. & Shu, H. BiTr-Unet: A CNN-transformer combined network for MRI brain tumor segmentation. In A. Crimi & S. Bakas (Eds.), Brainlesion: Glioma, multiple sclerosis, stroke and traumatic brain injuries (Lecture Notes in Computer Science, Vol. 12963, pp. 3–14). Springer. (2022). https://doi.org/10.1007/978-3-031-09002-8_1

  21. Karthik, A. et al. Unified approach for accurate brain tumor multi-classification and segmentation through fusion of advanced methodologies. Biomed. Signal Process. Control. 100(Part A), 106872. https://doi.org/10.1016/j.bspc.2024.106872 (2025).

    Google Scholar 

  22. Rastogi, D., Johri, P., Tiwari, V. & Elngar, A. A. Multi-class classification of brain tumour magnetic resonance images using multi-branch network with inception block and five-fold cross validation deep learning framework. Biomed. Signal Process. Control. 88(Part A), 105602. https://doi.org/10.1016/j.bspc.2023.105602 (2024).

    Google Scholar 

  23. Tabatabaei, S., Rezaee, K. & Zhu, M. Attention transformer mechanism and fusion-based deep learning architecture for MRI brain tumor classification system. Biomed. Signal Process. Control. 86(Part A), 105119. https://doi.org/10.1016/j.bspc.2023.105119 (2023).

    Google Scholar 

  24. Tummala, S., Kadry, S., Bukhari, S. A. C. & Rauf, H. T. Classification of brain tumor from magnetic resonance imaging using vision transformers ensembling. Curr. Oncol. 29(10), 7498–7511. https://doi.org/10.3390/curroncol29100590 (2022).

    Google Scholar 

  25. Mao, Y., Kim, J., Podina, L. & Kohandel, M. Dilated SE-DenseNet for brain tumor MRI classification. Sci. Rep. 15, 3596. https://doi.org/10.1038/s41598-025-86752-y (2025).

    Google Scholar 

  26. Akinyelu, A. A., Zaccagna, F., Grist, J. T., Castelli, M. & Rundo, L. Brain tumor diagnosis using machine learning, convolutional neural networks, capsule neural networks and vision transformers, applied to MRI: A survey. J. Imaging. 8(8), 205. https://doi.org/10.3390/jimaging8080205 (2022).

    Google Scholar 

  27. Aamir, M. et al. A deep learning approach for brain tumor classification using MRI images. Comput. Electr. Eng. 101, 108105. https://doi.org/10.1016/j.compeleceng.2022.108105 (2022).

    Google Scholar 

  28. Ghassemi, N., Shoeibi, A. & Rouhani, M. Deep neural network with generative adversarial networks pre-training for brain tumor classification based on MR images. Biomed. Signal Process. Control. 57, 101678. https://doi.org/10.1016/j.bspc.2019.101678 (2020).

    Google Scholar 

  29. Raza, A. et al. A hybrid deep learning-based approach for brain tumor classification. Electronics 11(7), 1146. https://doi.org/10.3390/electronics11071146 (2022).

    Google Scholar 

  30. Asiri, A. A. et al. Optimized brain tumor detection: A dual-module approach for MRI image enhancement and tumor classification. IEEE Access 12, 42868–42887. https://doi.org/10.1109/ACCESS.2024.3379136 (2024).

    Google Scholar 

  31. Anaraki, A. K., Ayati, M. & Kazemi, F. Magnetic resonance imaging-based brain tumor grades classification and grading via convolutional neural networks and genetic algorithms. Biocybern. Biomed. Eng. 39(1), 63–74. https://doi.org/10.1016/j.bbe.2018.10.004 (2019).

    Google Scholar 

  32. Srinivasa Reddy, A. Effective CNN-MSO method for brain tumor detection and segmentation. Mater. Today Proc. 57(Part 5), 1969–1974. https://doi.org/10.1016/j.matpr.2021.10.145 (2022).

    Google Scholar 

  33. Özyurt, F., Sert, E., Avci, E. & Dogantekin, E. Brain tumor detection based on convolutional neural network with neutrosophic expert maximum fuzzy sure entropy. Measurement 147, 106830. https://doi.org/10.1016/j.measurement.2019.07.058 (2019).

    Google Scholar 

  34. Sajjad, M. et al. Multi-grade brain tumor classification using deep CNN with extensive data augmentation. J. Comput. Sci. 30, 174–182. https://doi.org/10.1016/j.jocs.2018.12.003 (2019).

    Google Scholar 

  35. Kaplan, K., Kaya, Y., Kuncan, M. & Ertunç, H. M. Brain tumor classification using modified local binary patterns (LBP) feature extraction methods. Med. Hypotheses. 139, 109696. https://doi.org/10.1016/j.mehy.2020.109696 (2020).

    Google Scholar 

  36. Khalil, H. A., Darwish, S., Ibrahim, Y. M. & Hassan, O. F. 3D-MRI brain tumor detection model using modified version of level set segmentation based on dragonfly algorithm. Symmetry 12(8), 1256. https://doi.org/10.3390/sym12081256 (2020).

    Google Scholar 

  37. Alam, M. S. et al. Automatic human brain tumor detection in MRI image using template-based K means and improved fuzzy C means clustering algorithm. Big Data Cogn. Comput. 3(2), 27. https://doi.org/10.3390/bdcc3020027 (2019).

    Google Scholar 

  38. Rajesh Babu, K., Nagajaneyulu, P. V. & Satya Prasad, K. Brain tumor segmentation of T1w MRI images based on clustering using dimensionality reduction random projection technique. Current Medical Imaging Formerly Current Medical Imaging Reviews 17(3), 331–341. https://doi.org/10.2174/1573405616666200712180521 (2021).

    Google Scholar 

  39. Huang, H., Meng, F., Zhou, S., Jiang, F. & Manogaran, G. Brain image segmentation based on FCM clustering algorithm and rough set. IEEE Access 7, 12386–12396. https://doi.org/10.1109/ACCESS.2019.2893063 (2019).

    Google Scholar 

  40. Nagah Hennes, W. Brain tumor for 14 classes [Data set]. Kaggle. (2023). https://www.kaggle.com/datasets/waseemnagahhenes/brain-tumor-for-14-classes

  41. Sachdeva, J., Kumar, V., Gupta, I., Khandelwal, N. & Ahuja, C. K. Segmentation, feature extraction, and multiclass brain tumor classification. J. Digit. Imaging. 26(6), 1141–1150. https://doi.org/10.1007/s10278-013-9600-0 (2013).

    Google Scholar 

  42. Shyamala, N. & Basha, S. M. Multi-modal deep feature extraction and classifier-level integration for brain tumour classification using CT and MRI image. Artif. Intell. Eng. https://doi.org/10.1049/aie2.70009 (2026).

    Google Scholar 

Download references

Acknowledgements

The authors extend their appreciation to the Deanship of Research and Graduate Studies at King Khalid University, Kingdom of Saudi Arabia for funding this work through the Small Research Group Project under the grant number RGP1/21/46.

Author information

Authors and Affiliations

  1. Department of Mechanical Engineering, Rajeev Gandhi Memorial College of Engineering & Technology, Nandyal, Andhra Pradesh, 518501, India

    B. Sidda Reddy

  2. Department of Mathematics, Indian Institute of Technology, Patna, Bihar, 801106, India

    Ranjeet Ranjan Jha

  3. School of Computer Science and Artificial Intelligence, SR University, Warangal, Telangana, 506371, India

    Abhishek Dasore

  4. Psychiatry Department, Government Medical College, Nizamabad, Telangana, 503001, India

    Deekshitha Desur

  5. Centre of Excellence-Advanced Materials Synthesis (CoE-AMS), Department of Mechanical Engineering, Alliance School of Applied Engineering, Alliance University, Bengaluru, 562106, India

    Kiran Shahapurkar

  6. Mechanical Engineering Department, College of Engineering, King Khalid University, 61421, Abha, Aseer, Kingdom of Saudi Arabia

    Vineet Tirth & Ali Algahtani

  7. Centre for Engineering and Technology Innovations, King Khalid University, 61421, Abha, Aseer, Kingdom of Saudi Arabia

    Vineet Tirth

  8. Research Center for Advanced Materials Science (RCAMS), King Khalid University, Guraiger, PO Box 9004, 61413, Abha, Aseer, Kingdom of Saudi Arabia

    Ali Algahtani

  9. Departamento de Física, Facultidad de Ciencias Naturales Matemática y del Medio Ambiente, Universidad Tecnológica Metropolitana, Santiago, Chile

    Vijayabhaskara Rao Bhaviripudi

  10. Department of Mechanical Engineering, Wolaita Sodo University, Sodo, Ethiopia

    Gezahgn Gebremaryam

Authors
  1. B. Sidda Reddy
    View author publications

    Search author on:PubMed Google Scholar

  2. Ranjeet Ranjan Jha
    View author publications

    Search author on:PubMed Google Scholar

  3. Abhishek Dasore
    View author publications

    Search author on:PubMed Google Scholar

  4. Deekshitha Desur
    View author publications

    Search author on:PubMed Google Scholar

  5. Kiran Shahapurkar
    View author publications

    Search author on:PubMed Google Scholar

  6. Vineet Tirth
    View author publications

    Search author on:PubMed Google Scholar

  7. Ali Algahtani
    View author publications

    Search author on:PubMed Google Scholar

  8. Vijayabhaskara Rao Bhaviripudi
    View author publications

    Search author on:PubMed Google Scholar

  9. Gezahgn Gebremaryam
    View author publications

    Search author on:PubMed Google Scholar

Contributions

B. Sidda Reddy - A, Ranjeet Ranjan Jha - B, Abhishek Dasore - C, Deekshitha Desur - D, Kiran Shahapurkar - E, Vineet Tirth - F, Ali Algahtani - G, Vijayabhaskara Rao Bhaviripudi - H, Gezahgn Gebremaryam - IA.B. conceptualized the work and methodology for the work, C.D. wrote the main manuscript text and formal analysis, E.F. G., V.T. and A.A supervised the work and did the review and editing of the work, H.I. did the investigation.

Corresponding author

Correspondence to Gezahgn Gebremaryam.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Reddy, B.S., Jha, R.R., Dasore, A. et al. Multi-class classification of brain tumor using a ResNet101 backbone integrated with multi-scale deformable attention module and advanced data augmentations. Sci Rep (2026). https://doi.org/10.1038/s41598-026-45675-y

Download citation

  • Received: 16 December 2025

  • Accepted: 20 March 2026

  • Published: 03 April 2026

  • DOI: https://doi.org/10.1038/s41598-026-45675-y

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Keywords

  • Multi-class classification
  • Brain tumor
  • ResNet101
  • MS-DAM
  • Hybrid augmentation
  • Mixup
  • Grad-CAM and SHAP analysis
Download PDF

Advertisement

Explore content

  • Research articles
  • News & Comment
  • Collections
  • Subjects
  • Follow us on Facebook
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • About Scientific Reports
  • Contact
  • Journal policies
  • Guide to referees
  • Calls for Papers
  • Editor's Choice
  • Journal highlights
  • Open Access Fees and Funding

Publish with us

  • For authors
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

Scientific Reports (Sci Rep)

ISSN 2045-2322 (online)

nature.com footer links

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing: Cancer

Sign up for the Nature Briefing: Cancer newsletter — what matters in cancer research, free to your inbox weekly.

Get what matters in cancer research, free to your inbox weekly. Sign up for Nature Briefing: Cancer