Brain Tumor Classification in MRI Scans Using Edge Computing and a Shallow Attention-Guided CNN
Niraj Anil Babar, Junayd Lateef, ShahNawaz Syed, Julia Dietlmeier, Noel E. O’Connor, Gregory B. Raupp, Andreas Spanias
Arizona State University · Dublin City University
Key points
From the paper's conclusion- We find that the best tradeoff between accuracy and speed-up factor is consistently achieved using depthwise separable convolutions.
Abstract
Background/Objectives: Brain tumors arise from abnormal, uncontrolled cell growth due to changes in the DNA. Magnetic Resonance Imaging (MRI) is vital for early diagnosis and treatment planning. Artificial intelligence (AI), especially deep learning, has shown strong potential in assisting radiologists with MRI analysis. However, many brain tumor classification models achieve high accuracy at the cost of large model sizes and slow inference, limiting their practicality for medical edge computing. In this work we introduce a new attention-guided classification model and explore how model parameters can be reduced without significantly impacting accuracy. Methods: We develop a shallow attention-guided convolutional neural network (ANSA_Ensemble) and evaluate its effectiveness using Monte Carlo simulations, ablation studies, cross-dataset generalization, and Grad-CAM-generated heatmaps. Several state-of-the-art model compression techniques are also applied to improve the efficiency of our classification pipeline. The model is evaluated on three open-source brain tumor datasets. Results: The proposed ANSA_Ensemble model achieves a best accuracy of 98.04% and an average accuracy of 96.69 ± 0.64% on the Cheng dataset, 95.16 ± 0.33% on the Bhuvaji dataset, and 95.20 ± 0.40% on the Sherif dataset. Conclusions: The performance of the proposed model is comparable to state-of-the-art methods. We find that the best tradeoff between accuracy and speed-up factor is consistently achieved using depthwise separable convolutions. The ablation study confirms the effectiveness of the introduced attention blocks and shows that model accuracy improves as the number of attention blocks increases. Our code is made publicly available.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- NanoNet: Ultra-Lightweight Network for MRI Brain Tumor Classification toward Edge AIarXiv · 2026
- Brain tumor classification using tumor-aware feature refinement: A novel deep learning approach with attention mechanisms for automated MRI analysis.Health informatics journal · 2026
- MRI-based brain tumor prediction using convolutional neural network frameworkScientific Reports · 2026
- An Explainable and Comparative Transfer Learning Framework for Brain Tumor Classification from MRI ImagesmedRxiv · 2026
- Efficient attention-based Ghost-ResNet for brain tumor classification in magnetic resonance imaging (MRI)Frontiers in Neuroscience · 2026
- Comparative analysis of transformer architectures for brain tumor classificationExploration of Medicine · 2025