An Explainable Deep Learning Approach for Brain Tumor Detection Using MobileNet and Grad-CAM Visualization

Amalan Fadil Gaib, Safrizal Ardana Ardiyansa, Anggito Karta Wijaya, Eric Julianto, I Gusti Ngurah Bagus Ferry Mahayudha, Ando Zamhariro Royan

Abstract


Brain tumor detection remains a significant challenge due to the complex variations in tumor appearance. Although deep learning models have demonstrated high accuracy, their limited interpretability hinders clinical adoption. To address this issue, this study integrates Gradient-weighted Class Activation Mapping (Grad-CAM) into Convolutional Neural Networks (CNNs) to enhance the visual interpretability of predictions. Grad-CAM extends Class Activation Mapping (CAM) and is applicable to a wide range of deep learning architectures. The primary contribution of this work is the demonstration that combining Grad-CAM with MobileNet architectures yields an interpretable and efficient framework for diagnosis of brain tumor, effectively balancing accuracy, computational efficiency, and clinical transparency. Using a Brain Tumor MRI dataset, MobileNetV4 achieved an accuracy of 98.29% with the shortest training time (1738.82 seconds) and an ROC accuracy of 99.96%. MobileNetV3 achieved 99.62% accuracy with an ROC accuracy of 99.92%. Grad-CAM effectively highlighted tumor regions while showing uniform attention in non-tumor cases, thereby reducing false positives. These results demonstrate that lightweight models can achieve a strong balance between predictive performance, training efficiency, and interpretability. The proposed framework thus supports the development of explainable and efficient diagnostic tools for clinical practice.

Keywords


brain tumor detection; Grad-CAM; MobileNet; Visual interpretability

Full Text:

PDF

References


  1. S. Rasheed, K. Rehman, and M. Akash, “An insight into the risk factors of brain tumors and their therapeutic interventions,” Biomedicine & Pharmacotherapy, vol. 143, pp. 112–119, 2021, doi: 10.1016/j.biopha.2021.112119.

  2. I. Ilic and M. Ilic, “International patterns and trends in the brain cancer incidence and mortality: An observational study based on the global burden of disease,” Heliyon, vol. 9, no. 7, e18222, 2023, doi: 10.1016/j.heliyon.2023.e18222.

  3. Q. Ostrom, M. Price, C. Neff, et al., “CBTRUS statistical report: Primary brain and other central nervous system tumors diagnosed in the United States in 2015–2019,” Neuro-Oncology, vol. 24, no. Suppl. 5, pp. v1–v95, 2022, doi: 10.1093/neuonc/noac202.

  4. K. Miller, Q. Ostrom, C. Kruchko, et al., “Brain and other central nervous system tumor statistics, 2021,” CA: A Cancer Journal for Clinicians, vol. 71, no. 5, pp. 381–406, 2021, doi: 10.3322/caac.21693.

  5. I. Liguoro, C. Pilotto, F. Tuniz, M. Toniutti, P. Cogo, and T. Zilli, “Prospective analysis on possible changes of cognitive functions in children on follow-up for brain tumor,” Child’s Nervous System, vol. 41, no. 1, p. 97, 2025, doi: 10.1007/s00381-025-06751-2.

  6. N. Sahrizan, H. Manan, H. Hamid, J. Abdullah, and N. Yahya, “Functional alteration in the brain due to tumour invasion in paediatric patients: A systematic review,” Cancers, vol. 15, no. 7, p. 2168, 2023, doi: 10.3390/cancers15072168.

  7. S. Mekler, S. Virtue-Griffiths, and K. Pike, “Self- and informant-reported cognitive concerns associated with primary brain tumour: Systematic review,” Supportive Care in Cancer, vol. 33, no. 310, 2025, doi: 10.1007/s00520-025-09345-5.

  8. K. Figuracion, W. Jung, and S. Martha, “Ischemic stroke risk among adult brain tumor survivors: Evidence to guide practice,” Journal of the American Association of Neuroscience Nurses, vol. 53, no. 5, pp. 202–207, 2021, doi: 10.1097/JNN.0000000000000606.

  9. M. Ijaz, I. Hasan, B. Aslam, et al., “Diagnostics of brain tumor in the early stage: Current status and future perspectives,” Biomaterials Science, vol. 13, pp. 2580–2605, 2025, doi: 10.1039/d4bm01503g.

  10. D. Crosby, S. Bhatia, K. M. Brindle, et al., “Early detection of cancer,” Science, vol. 375, no. 6586, eaay9040, 2022, doi: 10.1126/science.aay9040.

  11. Y. Zhao, Y. Ding, V. Lau, et al., “Whole-body magnetic resonance imaging at 0.05 tesla,” Science, vol. 384, no. 6696, eadm7168, 2024, doi: 10.1126/science.adm7168.

  12. M. Martucci, R. Russo, F. Schimperna, et al., “Magnetic resonance imaging of primary adult brain tumors: State of the art and future perspectives,” Biomedicines, vol. 11, no. 2, p. 364, 2025, doi: 10.3390/biomedicines11020364.

  13. D. Veiga-Canuto, L. Cerdá-Alberich, C. Nebot, et al., “Comparative multicentric evaluation of inter-observer variability in manual and automatic segmentation of neuroblastic tumors in magnetic resonance images,” Cancers, vol. 14, no. 15, p. 3648, 2022, doi: 10.3390/cancers14153648.

  14. M. Rana and M. Bhushan, “Machine learning and deep learning approach for medical image analysis: Diagnosis to detection,” Multimedia Tools and Applications, pp. 1–39, 2022, doi: 10.1007/s11042-022-14305-w.

  15. S. Ardiyansa, N. Maharani, S. Anam, and E. Julianto, “Optimizing heart attack diagnosis using random forest with bat algorithm and greedy crossover technique,” BAREKENG: Jurnal Ilmu Matematika dan Terapan, vol. 18, no. 2, pp. 1053–1066, 2022, doi: 10.30598/barekengvol18iss2pp1053-1066.

  16. P. Yang and B. Yang, “Development and validation of predictive models for diabetic retinopathy using machine learning,” PLOS One, vol. 20, no. 2, e0318226, 2025, doi: 10.1371/journal.pone.0318226.

  17. H. Chen, N. Wang, X. Du, K. Mei, Y. Zhou, and G. Cai, “Classification prediction of breast cancer based on machine learning,” Computational Intelligence and Neuroscience, Article ID 6530719, 2023, doi: 10.1155/2023/6530719.

  18. L. P. D. Jayanti, S. Anam, S. A. Ardiyansa, and N. C. Maharani, “Health insurance claim classification using support vector machine with velocity pausing particle swarm optimization,” CAUCHY: Jurnal Matematika Murni dan Aplikasi, vol. 10, no. 2, pp. 698–710, 2025, doi: 10.18860/cauchy.v10i2.31914.

  19. S. A. Ardiyansa, M. Muslikh, and A. R. Alghofari, “Binary hippopotamus algorithm with random forest for optimizing feature selection problem,” Numerical Algebra, Control and Optimization, vol. 15, no. 4, pp. 1176–1191, 2025, doi: 10.3934/naco.2025009.

  20. P. Jyothi and A. Singh, “Deep learning models and traditional automated techniques for brain tumor segmentation in MRI: A review,” Artificial Intelligence Review, vol. 56, pp. 2923–2969, 2022, doi: 10.1007/s10462-022-10245-x.

  21. J. Herr, R. Stoyanova, and E. A. Mellon, “Convolutional neural networks for glioma segmentation and prognosis: A systematic review,” Critical Reviews in Oncogenesis, vol. 29, no. 3, pp. 33–65, 2024, doi: 10.1615/critrevoncog.2023050852.

  22. C. M. L. Zegers, J. Posch, A. Traverso, et al., “Current applications of deep-learning in neuro-oncological MRI,” Physica Medica, vol. 83, pp. 161–173, 2021, doi: 10.1016/j.ejmp.2021.03.003.

  23. T. Soomro, L. Zheng, A. Afifi, et al., “Image segmentation for MR brain tumor detection using machine learning: A review,” IEEE Reviews in Biomedical Engineering, vol. 16, no. 2, pp. 70–90, 2022, doi: 10.1109/RBME.2022.3185292.

  24. D. Reyes and J. Sanchez, “Performance of convolutional neural networks for the classification of brain tumors using magnetic resonance imaging,” Heliyon, vol. 10, no. 3, e25468, 2024, doi: 10.1016/j.heliyon.2024.e25468.

  25. Y. Xiao, Y. Guo, Q. Pang, X. Yang, Z. Zhao, and X. Yin, “Star-DETR: A lightweight real-time detection transformer for space targets in optical sensor systems,” Sensors, vol. 25, no. 4, p. 1146, 2025, doi: 10.3390/s25041146.

  26. S. K. Mathivanan, S. Sonaimuthu, S. Murugesan, H. Rajadurai, B. D. Shivahare, and M. A. Shah, “Employing deep learning and transfer learning for accurate brain tumor detection,” Scientific Reports, vol. 14, no. 1, p. 7232, 2024, doi: 10.1038/s41598-024-57970-7.

  27. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, “Grad-CAM: Visual explanations from deep networks via gradient-based localization,” in Proc. IEEE Int. Conf. Computer Vision (ICCV), pp. 618–626, 2016, doi: 10.48550/arXiv.1610.02391.




DOI: https://doi.org/10.18860/cauchy.v10i2.35901

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Amalan Fadil Gaib, Safrizal Ardana Ardiyansa, Anggito Karta Wijaya, Eric Julianto, I Gusti Ngurah Bagus Ferry Mahayudha, Ando Zamhariro Royan

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

Editorial Office
Mathematics Department,
Universitas Islam Negeri Maulana Malik Ibrahim Malang
Gajayana Street 50 Malang, East Java, Indonesia 65144
Faximile (+62) 341 558933
e-mail: cauchy@uin-malang.ac.id

Creative Commons License
CAUCHY: Jurnal Matematika Murni dan Aplikasi is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.