Fusion of Autoencoder Feature Refinement and Vision Transformers for High-Precision Brain Tumor Diagnosis using MRI Scan
G. LavanyaDepartment of Artificial Intelligence and Data Science, Saveetha Engineering College, Chennai, Tamil Nadu, India. lavanyajoyce2021@gmail.com0000-0001-8958-3123
S. SelvanayakiDepartment of Artificial Intelligence and Data Science, Saveetha Engineering College, Chennai, Tamil Nadu, India. s.selvanayaki.be@gmail.com0000-0003-2652-8236
S. Shanmuga PriyaDepartment of Artificial Intelligence and Data Science, Saveetha Engineering College, Chennai, Tamil Nadu, India. spriyasenthil2009@gmail.com0000-0002-5080-0204
K.S. Dhinesh KumarDepartment of Artificial Intelligence and Data Science, Saveetha Engineering College, Chennai, Tamil Nadu, India. maildini89@gmail.com0009-0002-0335-5192
Keywords: Deep Learning, Autoencoders, Vision Transformers, Explainable Artificial Intelligence.
Abstract
An accurate diagnosis of brain tumors based on MRI imaging data is of crucial importance for timely clinical intervention in neuro-oncology, but deep learning approaches commonly used suffer from image noise issues, computational complexity, and insufficient global context representation. In order to address these concerns, this research suggests a new hybrid approach combining the Autoencoder model for unsupervised latent features improvement and the Vision Transformer for spatial dependency representation in the long range, complemented by Grad-CAM for explanatory visualization. The proposed method uses the Autoencoder to transform images into low-noise feature representations that will further be utilized by the self-attention mechanism of the Vision Transformer. The model is trained via a dual loss function (Lc = λclsLcls + λaeLae ) Aiming at achieving a good balance between reconstruction and classification tasks. The evaluation carried out using a data set of 7,023 MRI scans belonging to four disease classes, namely, Glioma, Meningioma, Pituitary tumor, and No tumor confirmed the effectiveness of the proposed framework as opposed to baseline architectures. The AE + ViT architecture demonstrated overall accuracy of 99.61%, precision of 99.19%, recall of 99.05%, specificity of 99.70%, and F1 score of 99.12%. Additionally, the hybrid architecture revealed fast convergence and high generalization abilities, obtaining the minimum value of validation loss of 0.045 in Epoch 8 in comparison to ViT (0.061) and ResNet18 (0.079). Grad-CAM heat maps verified effective allocation of attention according to the pathological areas of tissues. Therefore, the AE + ViT framework can be considered as a promising tool for automated brain tumor classification due to its high accuracy and stability.