Comparative analysis of transformer architectures for brain tumor classification
Yiğitcan Çakmak, İshak Paçal
Iğdır Üniversitesi · Nakhchivan University
Key points
From the paper's conclusion- A publicly available four-class MRI dataset (Glioma, Meningioma, Pituitary, No Tumor) was used for multi-class classification.
Abstract
Aim: Early and accurate diagnosis of brain tumors is critical for treatment success, but manual magnetic resonance imaging (MRI) interpretation has limitations. This study evaluates state-of-the-art Transformer-based architectures to enhance diagnostic efficiency and robustness for this task, aiming to identify models that balance high accuracy with computational feasibility. Methods: We systematically compared the performance and computational cost of eleven models from the Vision Transformer (ViT), Data-efficient Image Transformer (DeiT), and Hierarchical Vision Transformer using Shifted Windows (Swin) Transformer families. A publicly available four-class MRI dataset (Glioma, Meningioma, Pituitary, No Tumor) was used for multi-class classification. The dataset was partitioned using stratified sampling and extensively augmented to improve model generalization. Results: All evaluated models demonstrated high accuracy (> 98.8%). The Swin-Small and Swin-Large models achieved the highest accuracy of 99.37%. Remarkably, Swin-Small delivered this top-tier performance at a fraction of the computational cost of the Swin-Large model, which is nearly four times its size and with more than double the inference speed (0.54 ms vs. 1.29 ms), showcasing superior operational efficiency. Conclusions: The largest model does not inherently guarantee the best performance. Architecturally efficient, mid-sized models like Swin-Small provide an optimal trade-off between diagnostic accuracy and practical clinical applicability. This finding highlights a key direction for developing feasible and effective AI-based diagnostic systems in neuroradiology.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A novel hybrid transformer-based framework (H-ConvNeXt-Swin) to classify brain tumors using MRI.Scientific reports · 2026
- Hierarchical multi-scale vision transformer model for accurate detection and classification of brain tumors in MRI-based medical imagingScientific Reports · 2025
- A Unified Benchmark of Deep Learning Models for Multi-Task 3D Brain Tumor Segmentation from Magnetic Resonance ImagingElectronics · 2026
- Reliability and Explainability Analysis of CNN and Vision Transformer Models for Brain Tumor MRI ClassificationInternational Journal of Engineering Trends and Technology · 2026
- An advanced deep learning approach for medical image analytics in brain tumor diagnosisHealthcare Analytics · 2026
- Explainable Transfer Learning Framework for Multi-Class Brain Tumor Classification from MRI Images Using Comparative CNN ArchitecturesJournal of Al-Farabi For Engineering Sciences · 2026