Research Article

Attention-Guided Transfer Learning Framework for Four-Class Brain Tumor Classification Using MRI

DOI:

10.3791/69087

July 10th, 2026

In This Article

Summary

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

This study presents a lightweight attention-based deep learning framework for four-class brain tumor classification from MRI images using transfer learning with MobileNetV2, EfficientNetV1, and Inception-ResNet-V2. The model achieves high classification accuracy with reduced computational complexity, supporting resource-constrained clinical decision-support applications.

Abstract

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The objective of this research is to develop a lightweight yet accurate deep learning framework for classifying brain tumors into four categories—gliomas, meningiomas, pituitary tumors, and healthy brain tissue—using magnetic resonance imaging (MRI) data. The proposed methodology combines transfer learning with three pre-trained convolutional neural network models—MobileNetV2, EfficientNetV1, and Inception-ResNet-V2—integrated with an attention mechanism that emulates the human visual system’s ability to focus on clinically relevant regions of an image. This attention-guided approach enhances tumor localization while suppressing irrelevant background information. The framework is evaluated on a large, publicly available brain MRI dataset containing thousands of labeled images across the four classes. Standard preprocessing, data augmentation, and training protocols are employed to allow straightforward replication of the proposed method. Experimental results demonstrate that EfficientNetV1 achieves the highest classification performance, reaching superior accuracy compared to both MobileNetV2 and Inception-ResNet-V2. The study concludes that the proposed lightweight, attention-based framework effectively balances accuracy and computational complexity, making it highly suitable for real-time and mobile healthcare applications, particularly in resource-constrained environments.

Introduction

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Accurate classification of brain tumors using magnetic resonance imaging (MRI) plays a critical role in clinical diagnosis, treatment planning, and prognosis estimation1. Brain tumors, including glioma, meningioma, and pituitary tumors, exhibit distinct pathological characteristics and treatment responses; therefore, early and reliable identification is essential for improving therapeutic outcomes and reducing disease progression. MRI is widely preferred for brain tumor evaluation because of its superior soft-tissue contrast, noninvasive nature, and ability to visualize tumor morphology across multiple anatomical planes. However, manual interpr....

Access restricted. Please log in or start a trial to view this content.

Protocol

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

This study used a publicly available, anonymized dataset; therefore, informed consent was not required. The proposed approach comprises six components: preprocessing, convolution module, attention module, integration of convolution and attention modules, and fully connected (FC) layers. Figure 1 illustrates the complete workflow of our method.

Dataset acquisition
Labeled brain MRI images are obtained from a publicly available Kaggle dataset comprising four tumor categories and normal tissue.

Data preprocessing
Images are resized to a unif....

Access restricted. Please log in or start a trial to view this content.

Results

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Three pre-trained deep learning models, namely MobileNetV2, EfficientNetV1, and Inception-ResNet-V2, were evaluated for four-class brain tumor classification using MRI images.

Dataset Used
The proposed framework was evaluated using a publicly available brain tumor MRI dataset obtained from the Kaggle platform. The dataset consisted of 835 normal brain MRI images, 826 glioma images, 822 meningioma images, and 827 pituitary tumor images. Representative MRI samples from the d.......

Access restricted. Please log in or start a trial to view this content.

Discussion

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The performance evaluation, based on accuracy, recall, F1-score, and precision, reveals that both MobileNetV2 and Inception-ResNet-V2 achieve comparable results in brain tumor classification, each attaining an aggregate and weighted-average accuracy of 97–98%. In contrast, EfficientNet outperforms the other models, achieving 99% accuracy across macro- and weighted-average metrics, thanks to its enhanced generalization and compound scaling strategy. These findings are consistent with previous studies demonstrating t.......

Access restricted. Please log in or start a trial to view this content.

Disclosures

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The authors have no conflicts of interest to declare.

Acknowledgements

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

No external funding was received for this study.

....

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
Brain MRI DatasetIEEEhttps://dx.doi.org/10.21227/q2vt-tf46The dataset is downloaded with institutite access. The MRI dataset contains four classes: glioma, meningioma, pituitary tumor, and normal brain
CNN Accelerator (Layer Fusion)Proposed workLogical fusion of top convolutional layers to reduce memory access and improve computational efficiency
Custom Attention ModuleProposed workAttention mechanism integrating max-pooling and average-pooling to emphasize tumor-relevant regions
EfficientNetV1GooglePre-trained (ImageNet)Scalable CNN architecture providing optimal accuracy–efficiency trade-off
Google ColaboratoryGooglehttps://colab.research.google.com/Cloud-based environment used for model training, evaluation, and experimentation with GPU support
Inception-ResNet-V2GooglePre-trained (ImageNet)Deep hybrid CNN architecture combining Inception modules with residual connections
KerasGooglev2.6.0High-level neural network API built on TensorFlow for rapid model prototyping
MatplotlibMatplotlib Developersv3.4.3Visualization library used for plotting training curves, confusion matrices, and performance metrics
MobileNetV2GooglePre-trained (ImageNet)Lightweight CNN backbone optimized for mobile and edge deployment
NumPyNumPy Developersv1.21.4Core scientific computing library used for numerical operations
PandasPandas Development Teamv1.3.4Data handling and manipulation library used for dataset organization and metadata processing
PythonPython Software Foundationv3.8.10Primary programming language used for data preprocessing, model development, and evaluation
Scikit-learnScikit-learn DevelopersLatest stableUsed for performance evaluation metrics such as precision, recall, F1-score, and confusion matrices
SeabornSeaborn DevelopersLatest stableHigh-level statistical visualization library used for enhanced graphical analysis
TensorFlowGooglev2.6.0End-to-end deep learning framework used for implementing CNN backbones and attention modules

Reprints and Permissions

Request permission to reuse the text or figures of this JoVE article

Request Permission

Tags

Cancer ResearchMobileNetV2EfficientNetV1Inception ResNet V2

Related Articles