Brain Tumor Detection in Magnetic Resonance Images Using Swin Transformer
DOI:
https://doi.org/10.71107/kx24gt94Keywords:
Machine learning, deep learning, Swin TransformerAbstract
The manual detection of brain tumors from MR images is time-consuming and prone to errors, necessitating the adoption of computer-assisted approaches. The role of artificial intelligence (AI) and its subsets, machine learning (ML) and deep learning (DL), is explored in automating brain tumor diagnosis. This paper discusses the severity of brain tumors, emphasizing their prevalence and low survival rates. This research explores the application of the Swin Transformer for the classification of brain tumors. The research presents the effectiveness of Swin Transformer in analyzing MRI images of different classes of brain tumors, including Glioma, Meningioma, Pituitary, and a class with no tumor. The proposed model incorporates image enhancement techniques and data augmentation methods to improve training efficiency. Results indicate that Swin Transformer outperforms other state- of-the-art models, achieving a high validation accuracy of 86.87% in brain tumor detection. The findings highlight the potential of Swin Transformer for small datasets and medical imaging tasks, offering a promising approach to enhance the accuracy and efficiency of brain tumor classification in medical imaging research.
Downloads
References
[1] Mohammed Aloraini, Asma Khan, Suliman Aladhadh, Shabana Habib, Mohammed F Alsharekh, and Muhammad Islam. Com- bining the transformer and convolution for effective brain tumor classification using mri images. Applied Sciences, 13(6):3680, 2023. DOI: https://doi.org/10.3390/app13063680
[2] Jabeen, N., Hussain, A., Ahmad, I., & Ali, J. (2025). MXenes-based hybrid for electrochemical sensing application. In MXenes as Emerging Modalities for Environmental and Sensing Applications (pp. 203-215). Elsevier. https://doi.org/10.1016/B978-0-443-21853-8.00012-8 DOI: https://doi.org/10.1016/B978-0-443-21853-8.00012-8
[3] Javeria Amin, Muhammad Almas Anjum, Muhammad Sharif, Saima Jabeen, Seifedine Kadry, and Pablo Moreno Ger. A new model for brain tumor detection using ensemble transfer learning and quantum variational classifier. Computational intelligence and neuroscience, 2022(1):3236305, 2022. DOI: https://doi.org/10.1155/2022/3236305
[4] https://www.kaggle.com/datasets/masoudnickparvar/brain-tumor-mri-dataset
[5] Muhammad Arif, F Ajesh, Shermin Shamsudheen, Oana Geman, Diana Izdrui, and Dragos Vicoveanu. [retracted] brain tumor detection and classification by mri using biologically inspired orthogonal wavelet transform and deep learning techniques. Jour- nal of Healthcare Engineering, 2022(1):2693621, 2022. DOI: https://doi.org/10.1155/2022/2693621
[6] Abdullah A Asiri, Ahmad Shaf, Tariq Ali, Unza Shakeel, Muhammad Irfan, Khlood M Mehdar, Hanan Talal Halawani, Ali H Alghamdi, Abdullah Fahad A Alshamrani, and Samar M Alqhtani. Exploring the power of deep learning: fine-tuned vision transformer for accurate and efficient brain tumor detection in mri scans. Diagnostics, 13(12):2094, 2023. DOI: https://doi.org/10.3390/diagnostics13122094
[7] Faiq Sabbar Baji, Saleema Baji Abdullah, and Fatimah S Abdul- sattar. K-mean clustering and local binary pattern techniques for automatic brain tumor detection. Bulletin of Electrical Engineering and Informatics, 12(3):1586–1594, 2023. DOI: https://doi.org/10.11591/eei.v12i3.4404
[8] Chirodip Lodh Choudhury, Chandrakanta Mahanty, Raghvendra Kumar, and Brojo Kishore Mishra. Brain tumor detection and classification using convolutional neural network and deep neural network. 2020 International Conference on Computer Science, Engineering and Applications (ICCSEA), pages 1–4, 2020. DOI: https://doi.org/10.1109/ICCSEA49143.2020.9132874
[9] Dongwei Gan, Ming Chang, and Juan Chen. 3d-effivitcaps: 3d efficient vision transformer with capsule for medical image segmentation. arXiv preprint arXiv:2403.16350, 2024.
[10] Mohamed Hammad, Mohammed ElAffendi, Abdelhamied A Ateya, and Ahmed A Abd El-Latif. Efficient brain tumor detec- tion with lightweight end-to-end deep learning model. Cancers, 15(10):2837, 2023. DOI: https://doi.org/10.3390/cancers15102837
[11] Moein Heidari, Reza Azad, Sina Ghorbani Kolahi, Rene´ Ari- mond, Leon Niggemeier, Alaa Sulaiman, Afshin Bozorgpour, Ehsan Khodapanah Aghdam, Amirhossein Kazerouni, Ilker Haci- haliloglu, et al. Enhancing efficiency in vision transformer networks: Design techniques and insights. arXiv preprint arXiv:2403.19882, 2024.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Amna Zahoor , Muhammad Irfan, Anwar khan , Muhammad Usman, Muhammad Waqas Haider (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
Most read articles by the same author(s)
- Muhammad Usman, Naila Amjad, Faiza parveen, Shoaib Hassan, Humaira Zulfiqar Ali Gondal, Ayesha Allahyar, Fatima Rashid, Length weight relationship and body composition of male population of Oreochromis mossambica in relation to body size and condition factor , Conclusions in Medicine: Vol. 1 No. 1 (2025): Conclusions in Medicine
- Muhammad Irfan, Anwar khan , Muhammad Usman, Muhammad Waqas Haider, Opinion mining of student regarding educational system using online platform , Conclusions in Medicine: Vol. 1 No. 1 (2025): Conclusions in Medicine
Similar Articles
- Muhammad Irfan, Anwar khan , Muhammad Usman, Muhammad Waqas Haider, Opinion mining of student regarding educational system using online platform , Conclusions in Medicine: Vol. 1 No. 1 (2025): Conclusions in Medicine
You may also start an advanced similarity search for this article.