Brain Tumor Classification in MRI Images Using Convolutional Neural Networks with Explainable Artificial Intelligence
DOI:
https://doi.org/10.30871/jaic.v10i4.13594Keywords:
EfficientNetB0, ResNet50, Transfer Learning, 5-Fold Cross-ValidationAbstract
Brain tumors are a condition requiring rapid and accurate diagnosis. This study aims to enhance the transparency of Convolutional Neural Network (CNN)-based brain tumor classification models by implementing Explainable Artificial Intelligence (XAI) techniques, specifically Eigen-CAM and LIME. The models were developed using a transfer learning approach on ResNet50 and EfficientNetB0 architectures, utilizing a dataset of 3,000 MRI images categorized into glioma, meningioma, and pituitary tumor classes. Test results indicate that ResNet50 achieved the best performance, with accuracy, precision, recall, and F1-score values of 94%, while EfficientNetB0 achieved 93%. The application of 5-fold cross-validation improved the models' generalization capabilities and reduced the risk of overfitting. Visualizations using Eigen-CAM and LIME demonstrate that the models focus on relevant tumor regions, thereby increasing the transparency and reliability of MRI-based classification.
Downloads
References
[1] Amila, E. Sembiring, A. S. Marbun, A. Prity, H. Agustina, and W. E. M. Purba, “Edukasi Deteksi Dini Dan Pencegahan Tumor Otak Pada Anak Dan Remaja,” Abdimas Mutiara, vol. 6, no. 1, pp. 169–175, 2025.
[2] U. Sandhya, “Brain tumor detection and classification with DGMM – RBCNN technique,” vol. 6, no. April, pp. 7345–7361, 2022.
[3] M. S. Mithun and S. J. Jawhar, “Journal of Radiation Research and Applied Sciences Detection and classification on MRI images of brain tumor using YOLO NAS deep learning model,” J. Radiat. Res. Appl. Sci., vol. 17, no. 4, p. 101113, 2024, doi: 10.1016/j.jrras.2024.101113.
[4] V. Le, T. Pham, and C. Author, “Ovarian Tumors Detection and Classification on Ultrasound Images Using One-stage Convolutional Neural Networks,” vol. 5, no. 2, pp. 561–581, 2024, doi: 10.18196/jrc.v5i2.20589.
[5] M. Aamir et al., “Brain Tumor Detection and Classification Using an Optimized Convolutional Neural Network,” 2024.
[6] B. S. Shukur and M. M. Mijwil, “Involving machine learning techniques in heart disease diagnosis : a performance analysis,” vol. 13, no. 2, pp. 2177–2185, 2023, doi: 10.11591/ijece.v13i2.pp2177-2185.
[7] D. P. Mawardi, M. Novita, N. D. Saputro, F. Teknik, and U. Pgri, “Deteksi Awal Klasifikasi Jenis Penyakit Kanker Kulit Dengan Algoritma Convolutional Neural Network ( CNN ) Berbasis Mobile Apps,” vol. 3, no. 2, pp. 1–6, 2024.
[8] I. G. L. Yudha, N. A. Sanjaya ER, A. A. I. N. E. Karyawati, I. B. G. Dwidasmara, I. G. N. A. C. Putra, and I. B. M. Mahendra, “Article Classification Using Convolutional Neural Network (CNN) And Chi-Square Feature Selection,” JELIKU (Jurnal Elektron. Ilmu Komput. Udayana), vol. 11, no. 3, p. 529, 2022, doi: 10.24843/jlk.2023.v11.i03.p08.
[9] Y. I. Salsabila, H. Mustofa, and M. A. Ulinuha, “Teknik Transfer Learning Pada Arsitektur Resnet-50,” vol. 9, no. 1, pp. 128–139, 2025, doi: 10.52362/jisicom.v9i1.1925.
[10] A. Resnet-, “Klasifikasi Jenis Burung Menggunakan Metode CNN Dan Arsitektur ResNet-50 1,2,” vol. 10, no. 3, pp. 34–46, 2023.
[11] K. Ali, Z. Ahmed, A. Ayub, and A. Ali, “Neuroscience Informatics Multiclass skin cancer classification using EfficientNets – a first step towards preventing skin cancer,” Neurosci. Informatics, vol. 2, no. 4, p. 100034, 2022, doi: 10.1016/j.neuri.2021.100034.
[12] M. B. Kurniawan and E. Utami, “Perbandingan Kinerja ResNet50, VGG16, dan MobileNetV2 untuk Klasifikasi Tumor Otak pada Citra MRI Performance Comparison of ResNet50, VGG16, and MobileNetV2 for Brain Tumor Classification on MRI Images,” Sist. J. Sist. Inf., vol. 14, pp. 767–777, 2025.
[13] N. Firdaus et al., “Pengaruh Preprocessing Pada Deteksi Glioblastoma Pada Citra Magnetic Resonance Imaging Dengan,” vol. 9, no. 12, pp. 1–11, 2025.
[14] Y. B. Nainggolan, R. S. Perdana, and A. A. Soebroto, “Klasifikasi Penyakit Tumor Otak berdasarkan Citra MRI Menggunakan Metode Convolutional Neural Network EfficientNetV2-S,” vol. 9, no. 10, 2025.
[15] J. Teknik, I. Cit, D. Kurniawan, and L. Pujiastuti, “Jurnal Teknik Informatika CIT Medicom yang dapat dipercaya Machine Translated by Google,” vol. 15, no. 5, pp. 240–246, 2023.
[16] Q. A. Fitroh and S. Uyun, “Pembelajaran Transfer Mendalam untuk Meningkatkan Klasifikasi Akurasi Gambar Dermoskopi Kanker Kulit,” vol. 12, pp. 78–84, 2023.
[17] A. N. Fajrina, Z. H. Pradana, S. I. Purnama, and S. Romadhona, “Penerapan Arsitektur EfficientNet-B0 Pada Klasifikasi Leukimia Tipe Acute Lymphoblastik Leukimia,” J. Ris. Rekayasa Elektro, vol. 6, no. 1, p. 59, 2024, doi: 10.30595/jrre.v6i1.22090.
[18] H. A. Wahyudi, D., Soesanti, I., & Nugroho, “Optimizing Hyperparameters of YOLO to Improve Performance of Brain Tumor Detection in MRI Images,” 2023 6th Int. Conf. Inf. Commun. Technol. (ICOIACT), pp. 413–418, 2023, [Online]. Available: https://doi.org/10.1109/ICOIACT59844.2023.10455813
[19] W. Wijiyanto, A. I. Pradana, S. Sopingi, and V. Atina, “Teknik K-Fold Cross Validation untuk Mengevaluasi Kinerja Mahasiswa,” J. Algoritm., vol. 21, no. 1, pp. 239–248, 2024, doi: 10.33364/algoritma/v.21-1.1618.
[20] L. Mardiana, D. Kusnandar, and N. Satyahadewi, “Analisis Diskriminan Dengan K Fold Cross Validation Untuk Klasifikasi Kualitas Air Di Kota Pontianak,” Bul. Ilm. Mat. Stat. dan Ter., vol. 11, no. 1, pp. 97–102, 2022, [Online]. Available: https://jurnal.untan.ac.id/index.php/jbmstr/article/view/51608
[21] U. Multi, D. Palembang, J. Rajawali, and N. Palembang, “Klasifikasi Kanker Kulit Pada Citra Dermatoskopi Menggunakan CNN 1,2,” vol. 5, no. 1, 2024, doi: 10.35957/algoritme.xxxx.
[22] L. Gilpin, L. H., Bau, D., Yuan, B. Z., Bajwa, A., Specter, M., & Kagal, “Explaining explanations: An overview of interpretability of machine learning,” Proc. - 2018 IEEE 5th Int. Conf. Data Sci. Adv. Anal. DSAA 2018, pp. 80–89, 2018, [Online]. Available: https://doi.org/10.1109/DSAA.2018.00018
[23] M. T. Ribeiro, S. Singh, and C. Guestrin, “‘Why Should I Trust You?’ Explaining the Predictions of Any Classifier,” NAACL-HLT 2016 - 2016 Conf. North Am. Chapter Assoc. Comput. Linguist. Hum. Lang. Technol. Proc. Demonstr. Sess., vol. 2016, no. 1, pp. 97–101, 2016, doi: 10.18653/v1/n16-3020.
[24] M. P. Hendaria, S. Maliawan, U. Pusat, S. Denpasar, and K. S. Skuamosa, “Kanker kulit,” pp. 1–17.
[25] F. A. Aschieri, F., Ciabattoni, A., & Genco, “Classical proofs as parallel programs. Electronic Proceedings in Theoretical Computer Science,” EPTCS, vol. 277, pp. 43–57, 2018, [Online]. Available: https://doi.org/10.4204/EPTCS.277.4
[26] A. Chattopadhay, A. Sarkar, P. Howlader, and V. N. Balasubramanian, “Grad-CAM++: Generalized gradient-based visual explanations for deep convolutional networks,” Proc. - 2018 IEEE Winter Conf. Appl. Comput. Vision, WACV 2018, vol. 2018-Janua, pp. 839–847, 2018, doi: 10.1109/WACV.2018.00097.
[27] T. A. M and Q. N. Azizah, “Klasifikasi Tumor Otak Menggunakan Ekstraksi Fitur HOG dan Support Vector Machine,” J. Khatulistiwa Inform., vol. 4, no. 1, pp. 45–50, 2022, [Online]. Available: https://www.neliti.com/publications/491268/
[28] M. N. M. Hakim, A. B. Nugroho, and A. E. Minarno, “Prediksi Tumor Otak Menggunakan Metode Convolutional Neural Network,” Inform. Mulawarman J. Ilm. Ilmu Komput., vol. 17, no. 1, p. 48, 2023, doi: 10.30872/jim.v17i1.5246.
[29] A. B. Wicaksono and B. P. Hartato, “Analisis Performa Arsitektur Cnn Inceptionv3 Dan Vgg16 Dalam Klasifikasi Deteksi Kanker Otak,” JIPI (Jurnal Ilm. Penelit. dan Pembelajaran Inform., vol. 10, no. 2, pp. 938–948, 2025, doi: 10.29100/jipi.v10i2.6090.
[30] R. R. Siregar and A. M. Husein, “Klasifikasi Tumor Otak Pada Gambar Magnetic Resonance Images ( MRI ) Dengan Pendekatan Pembelajaran Mendalam,” vol. 4, no. 1, pp. 62–68, 2024.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Muhammad Abdul Ghofur, Nirma Ceisa Santi, Hastie Audytra

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) ) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).



