Implementation of Xception-Vision Transformer on Brain MRI Images to Detect Alzheimer
Implementasi Xception-Vision Transformer pada citra MRI Otak untuk Mendeteksi Alzheimer
DOI:
https://doi.org/10.35793/0em1d874Keywords:
Alzheimer, Deep Learning, MRI Otak, Xception, Vision TransformerAbstract
Abstract — Alzheimer’s Disease is a progressive neurodegenerative disorder that significantly affects cognitive function and patients’ quality of life. Therefore, early detection is crucial to help slow disease progression. This study aims to implement and evaluate a deep learning model based on a hybrid Xception–Vision Transformer (ViT) architecture for classifying 2D brain MRI images into four stages of Alzheimer’s disease, namely non-demented, very mild, mild, and moderate dementia. The proposed model combines the strength of Xception in extracting local features through depthwise-separable convolution with the ability of ViT to capture global relationships among image patches using a self-attention mechanism. In addition, a lightweight modification of the ViT architecture is applied to improve computational efficiency without sacrificing classification performance. Experimental results demonstrate that the Xception–ViT model achieves very high performance, with accuracy, precision, recall, and F1-score reaching up to 99%, while exhibiting stable learning curves during training. The model’s efficiency also enables fast inference and seamless integration into a web-based interface. However, the dataset used exhibits class imbalance, which may affect the generalization capability of the model, therefore, further evaluation on more balanced and representative datasets is still required. These findings indicate that the Xception–ViT architecture has strong potential as an accurate and efficient approach for detecting Alzheimer’s disease stages from 2D brain MRI images.
Key words— Alzheimer, Brain MRI, Deep Learning, Vision Transformer, Xception
Abstrak — Penyakit Alzheimer merupakan gangguan neurodegeneratif progresif yang berdampak signifikan terhadap penurunan fungsi kognitif dan kualitas hidup penderitanya. Oleh karena itu, deteksi dini menjadi langkah penting untuk membantu memperlambat progresivitas penyakit. Penelitian ini bertujuan untuk mengimplementasikan dan mengevaluasi model deep learning berbasis arsitektur hybrid Xception–Vision Transformer (ViT) dalam melakukan klasifikasi citra MRI otak 2D pada empat tahapan perkembangan Alzheimer, yaitu non-demented, very mild, mild, dan moderate dementia. Model yang diusulkan mengombinasikan keunggulan Xception dalam mengekstraksi fitur lokal melalui mekanisme depthwise-separable convolution dengan kemampuan ViT dalam menangkap hubungan global antarpatch citra menggunakan mekanisme self-attention. Selain itu, dilakukan modifikasi arsitektur ViT dengan jumlah parameter yang lebih ringan untuk meningkatkan efisiensi komputasi tanpa mengorbankan performa klasifikasi. Hasil eksperimen menunjukkan bahwa model Xception–ViT mampu mencapai performa yang sangat tinggi dengan nilai akurasi, presisi, recall, dan F1-score hingga 99%, serta menunjukkan kurva pembelajaran yang stabil selama proses pelatihan. Efisiensi model juga memungkinkan proses inferensi dilakukan secara cepat dan diintegrasikan ke dalam antarmuka web. Namun demikian, dataset yang digunakan memiliki ketidakseimbangan distribusi kelas yang berpotensi mempengaruhi kemampuan generalisasi model, sehingga evaluasi lebih lanjut pada dataset yang lebih seimbang dan representatif masih diperlukan. Temuan ini menunjukkan bahwa arsitektur Xception–ViT berpotensi menjadi pendekatan yang akurat dan efisien untuk mendeteksi tahapan penyakit Alzheimer berbasis citra MRI otak 2D.
Kata kunci — Alzheimer, Deep Learning, MRI Otak, Vision Transformer, XceptionReferences
[1] S. Safiri et al., “Alzheimer’s disease: a comprehensive review of epidemiology, risk factors, symptoms diagnosis, management, caregiving, advanced treatments and associated challenges,” 2024, Frontiers Media SA. doi: 10.3389/fmed.2024.1474043.
[2] A. Juganavar, A. Joshi, and T. Shegekar, “Navigating Early Alzheimer’s Diagnosis: A Comprehensive Review of Diagnostic Innovations,” Cureus, Sep. 2023, doi: 10.7759/cureus.44937.
[3] D. S. Marcus, A. F. Fotenos, J. G. Csernansky, J. C. Morris, and R. L. Buckner, “Open access series of imaging studies: Longitudinal MRI data in nondemented and demented older adults,” J. Cogn. Neurosci., vol. 22, no. 12, pp. 2677–2684, Dec. 2010, doi: 10.1162/jocn.2009.21407.
[4] A. C. Mmadumbu, F. Saeed, F. Ghaleb, and S. N. Qasem, “Early detection of Alzheimer’s disease using deep learning methods,” Alzheimer’s and Dementia, vol. 21, no. 5, May 2025, doi: 10.1002/alz.70175.
[5] M. Tan and Q. V. Le, “EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks,” Sep. 2020, [Online]. Available: http://arxiv.org/abs/1905.11946
[6] F. Chollet, “Xception: Deep Learning with Depthwise Separable Convolutions,” Apr. 2017, [Online]. Available: http://arxiv.org/abs/1610.02357
[7] R. Sathya et al., “Employing Xception convolutional neural network through high-precision MRI analysis for brain tumor diagnosis,” Front. Med. (Lausanne)., vol. 11, 2024, doi: 10.3389/fmed.2024.1487713.
[8] F. Li et al., “Modeling long-range dependencies for weakly supervised disease classification and localization on chest X-ray,” Quant. Imaging Med. Surg., vol. 12, no. 6, pp. 3364–3378, Jun. 2022, doi: 10.21037/qims-21-1117.
[9] A. Dosovitskiy et al., “AN IMAGE IS WORTH 16X16 WORDS: TRANSFORMERS FOR IMAGE RECOGNITION AT SCALE.” [Online]. Available: https://github.com/
[10] J. Chen et al., “TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation.” [Online]. Available: https://github.com/Beckschen/
[11] A. Hatamizadeh et al., “UNETR: Transformers for 3D Medical Image Segmentation,” Oct. 2021, [Online]. Available: http://arxiv.org/abs/2103.10504
[12] X. Zhai, A. Kolesnikov, N. Houlsby, and L. Beyer, “Scaling Vision Transformers.”
[13] Z. Zhao et al., “Vision transformer-equipped Convolutional Neural Networks for automated Alzheimer’s disease diagnosis using 3D MRI scans,” Front. Neurol., vol. 15, 2024, doi: 10.3389/fneur.2024.1490829.
[14] A. Majee, A. Gupta, S. Raha, and S. Das, “Enhancing MRI-Based Classification of Alzheimer’s Disease with Explainable 3D Hybrid Compact Convolutional Transformers,” Mar. 2024, doi: 10.1109/IJCNN60899.2024.10650462.
[15] U. Khatri and G. R. Kwon, “Diagnosis of Alzheimer’s disease via optimized lightweight convolution-attention and structural MRI,” Comput. Biol. Med., vol. 171, Mar. 2024, doi: 10.1016/j.compbiomed.2024.108116.
[16] H. Yan, V. Mubonanyikuzo, T. E. Komolafe, L. Zhou, T. Wu, and N. Wang, “Hybrid-RViT: Hybridizing ResNet-50 and Vision Transformer for Enhanced Alzheimer’s disease detection,” PLoS One, vol. 20, no. 2 February, Feb. 2025, doi: 10.1371/journal.pone.0318998.
[17] Z. Zhang and F. Khalvati, “Introducing Vision Transformer for Alzheimer’s Disease classification task with 3D input.” [Online]. Available: http://adni.loni.usc.edu/wp-
[18] N. Shaffi, V. Viswan, and M. Mahmud, “Ensemble of vision transformer architectures for efficient Alzheimer’s Disease classification,” Brain Inform., vol. 11, no. 1, Dec. 2024, doi: 10.1186/s40708-024-00238-7.
[19] C. Parmar, J. D. Barry, A. Hosny, J. Quackenbush, and H. J. W. L. Aerts, “Data Analysis Strategies in Medical Imaging,” Clinical Cancer Research, vol. 24, no. 15, pp. 3492–3499, Aug. 2018, doi: 10.1158/1078-0432.ccr-18-0385.
[20] A. Anaya-Isaza, L. Mera-Jiménez, and M. Zequera-Diaz, “An overview of deep learning in medical imaging,” Jan. 01, 2021, Elsevier Ltd. doi: 10.1016/j.imu.2021.100723.
[21] T. Islam, M. S. Hafiz, J. R. Jim, M. M. Kabir, and M. F. Mridha, “A systematic review of deep learning data augmentation in medical imaging: Recent advances and future research directions,” Jun. 01, 2024, Elsevier Inc. doi: 10.1016/j.health.2024.100340.
[22] G. Huang, Y. Sun, Z. Liu, D. Sedra, and K. Weinberger, “Deep Networks with Stochastic Depth,” Jul. 2016, [Online]. Available: http://arxiv.org/abs/1603.09382
[23] J. Byrd and Z. C. Lipton, “What is the Effect of Importance Weighting in Deep Learning?”
[24] A. Vaswani et al., “Attention Is All You Need,” 2023.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Nadya Theresia Tangkere, Agustinus Jacobus, Alwin Melkie Sambul (Author)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Jurnal Teknik Elektro dan Komputer is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.