How to Cite This Article
Jalil, Ali Abdulzahraa; Fatlawi, Ahmad; Al Naffakh, Hussein Ali Hussein; and Khattak, Umar Farooq
(2026)
"An Anatomy-Aware EfficientNetB0 and CBAM Framework for Suppressing Hard Boundary Bias in MRI Brain Tumor Classification,"
Polytechnic Journal: Vol. 16:
Iss.
2, Article 9.
DOI: https://doi.org/10.59341/2707-7799.1883
Document Type
Original Article
Abstract
The accurate classification of brain tumors from Magnetic Resonance Imaging (MRI) is important for prognosis and treatment planning in neuro-oncology. Although Convolutional Neural Networks (CNNs) dominate medical image analysis and achieve high scores, many rely on a clinically dangerous shortcut that we call Hard Boundary Bias (HBB). When an MRI slice is saved with zero padding, the boundary between the bright skull and the dark background forms the strongest gradient in the image, and the network fixes on this artificial edge instead of the tumor. To address this, we propose a lightweight framework that combines an EfficientNetB0 backbone with a Convolutional Block Attention Module (CBAM) to build an anatomy-aware classifier. A deterministic preprocessing stage identifies the cranial region using Otsu thresholding and crops a tight bounding box around it, removing the padded background before any feature is learned and treating the bias at its source. Using 5-fold cross-validation, the model reached 97.26% ± 0.34% on the Sartaj dataset at the slice level, since no patient identifiers are distributed with this benchmark. On the Figshare dataset it reached 80.12% ± 1.38% under a strict patient-level GroupKFold protocol that prevents data leakage, with mean AUCs of 0.9967 and 0.9527. A naive slice-level split of Figshare raises the accuracy to 92.66%, and this 12.5-point gap quantifies the optimism introduced by patient-level leakage. Grad-CAM confirms that the model focuses on pathological tissue rather than background cues. Because the framework prioritizes leakage-free evaluation and interpretability over headline accuracy, we present it as a promising research prototype whose clinical reliability would require external and prospective validation.
Receive Date
18 July 2026
Revise Date
22 Aug 2026
Accept Date
22 Aug 2026
Publication Date
11-5-2026
References
[1] Louis DN, Perry A, Reifenberger G, von Deimling A, Figarella-Branger D, Cavenee WK, et al. The 2016 World Health Organization classification of tumors of the central nervous system: a summary. Acta Neuropathol 2016;131(6): 803—20. https://doi.org/10.1007/s00401-016-1545-1.
[2] Wesseling P, Capper D. WHO 2016 classification of gliomas. Neuropathol Appl Neurobiol 2018;44(2):139—50. https://doi. org/10.1111/nan.12432.
[3] Bauer S, Wiest R, Nolte LP, Reyes M. A survey of MRI- based medical image analysis for brain tumor studies. Phys Med Biol 2013;58(13):R97—129. https://doi.org/10.1088/0031- 9155/58/13/R97.
[4] Gordillo N, Montseny E, Sobrevilla P. State of the art survey on MRI brain tumor segmentation. Magn Reson Imaging 2013;31(8):1426—38. https://doi.org/10.1016/j.mri.2013.05.002.
[5] Havaei M, Davy A, Warde-Farley D, Biard A, Courville A, Bengio Y, et al. Brain tumor segmentation with deep neural networks. Med Image Anal 2017;35:18—31. https://doi.org/ 10.1016/j.media.2016.05.004.
[6] Litjens G, Kooi T, Bejnordi BE, Setio AAA, Ciompi F, Ghafoorian M, et al. A survey on deep learning in medical image analysis. Med Image Anal 2017;42:60—88. https://doi.org/10.1016/j.media.2017.07.005.
[7] Lundervold AS, Lundervold A. An overview of deep learning in medical imaging focusing on MRI. Z Med Phys 2019;29(2):102—27. https://doi.org/10.1016/j. zemedi.2018.11.002.
[8] Anwar SM, Majid M, Qayyum A, Awais M, Alnowami M, Khan MK. Medical image analysis using convolutional neural networks: a review. J Med Syst 2018;42(11):226. https://doi.org/10.1007/s10916-018-1088-1.
[9] He K, Zhang X, Ren S, Sun J. Deep residual learning for image recognition. In: Proc IEEE conf comput vis pattern recognit (CVPR); 2016. p. 770—8. https://doi.org/10.1109/ CVPR.2016.90. Las Vegas, USA.
[10] Tan M, Le QV. EfficientNet: rethinking model scaling for convolutional neural networks. In: Proc 36th Int Conf Mach Learn (ICML), 97. Long Beach, USA: PMLR; 2019. p. 6105—14. https://proceedings.mlr.press/v97/tan19a.html.
[11] Chollet F. Xception: deep learning with depthwise separable convolutions. In: Proc IEEE conf Comput Vis Pattern Recognit (CVPR,). Honolulu, USA: IEEE, Piscataway, NJ, USA; 2017. p. 1251—8. https://doi.org/10.1109/ CVPR.2017.195.
[12] Badgeley MA, Zech JR, Oakden-Rayner L, Glicksberg BS, Liu M, Gale W, et al. Deep learning predicts hip fracture using confounding patient and healthcare variables. npj Digit Med 2019;2(1):31. https://doi.org/10.1038/s41746-019- 0105-1.
[13] Cheng J, Huang W, Cao S, Yang R, Yang W, Yun Z, et al. Enhanced performance of brain tumor classification via tumor region augmentation and partition. PLoS One 2015;10(10):e0140381. https://doi.org/10.1371/journal.pone. 0140381.
[14] Nickparvar M. Brain tumor MRI dataset (cleaned and consolidated Sartaj benchmark). San Francisco, CA, USA: Kaggle Inc.; 2021 (accessed 2025) Available from: https:// www.kaggle.com/datasets/masoudnickparvar/brain-tumor- mri-dataset.
[15] Bhuvaji S, Kadam A, Bhumkar P, Dedge S, Kanchan S. Brain tumor classification (MRI). San Francisco, CA, USA: Kaggle Inc.; 2020 (accessed 2025) Available from: https:// www.kaggle.com/datasets/sartajbhuvaji/brain-tumor- classification-mri.
[16] Abiwinanda N, Hanif M, Hesaputra ST, Handayani A, Mengko TR. Brain tumor classification using convolutional neural network. In: World Congress on Medical Physics and Biomedical Engineering 2018, IFMBE Proc vol 68/1. Prague, Czech Republic. Singapore: Springer; 2019. p. 183—9. https://doi.org/10.1007/978-981-10-9035-6_33.
[17] Deepak S, Ameer PM. Brain tumor classification using deep CNN features via transfer learning. Comput Biol Med 2019;111:103345. https://doi.org/10.1016/j.compbiomed.2019. 103345.
[18] Swati ZNK, Zhao Q, Kabir M, Ali F, Ali Z, Ahmed S, et al. Brain tumor classification for MR images using transfer learning and fine-tuning. Comput Med Imag Graph 2019;75: 34—46. https://doi.org/10.1016/j.compmedimag.2019.05.001.
[19] Pillai R, Sharma A, Sharma N, Gupta R. Brain tumor classification using VGG16, ResNet50, and Inception V3 transfer learning models. In: Proc 2023 2nd int conf innov technol (INOCON). Bangalore, India: IEEE, Piscataway, NJ, USA; 2023. p. 1—5. https://doi.org/10.1109/INOCON57975.2023. 10101252.
[20] Mathivanan SK, Sonaimuthu S, Murugesan S, Rajadurai H, Shivahare BD, Shah MA. Employing deep learning and transfer learning for accurate brain tumor detection. Sci Rep 2024;14(1):7232. https://doi.org/10.1038/s41598-024-57970-7.
[21] Khan MA, Hussain MZ, Mehmood S, Khan MF, Ahmad M, Mazhar T, et al. Transfer learning for accurate brain tumor classification in MRI: a step forward in medical diagnostics. Discov Oncol 2025;16(1):1040. https://doi.org/10.1007/ s12672-025-02671-4.
[22] Chen W, Tan X, Zhang J, Du G, Fu Q, Jiang H. A robust approach for multi-type classification of brain tumor using deep feature fusion. Front Neurosci 2024;18:1288274. https:// doi.org/10.3389/fnins.2024.1288274.
[23] Ahmed F. Enhancing brain tumor classification using vision transformers with colormap-based feature representation on BRISC2025 dataset. arXiv preprint arXiv:2603.21234 2026. https://doi.org/10.48550/arXiv.2603.21234.
[24] Mbonu CE, Belonwu TS, Chukwuogo OE, Anigbogu KS. An interpretable vision transformer framework for automated brain tumor classification. arXiv preprint arXiv:2604.21311 2026. https://doi.org/10.48550/arXiv.2604.21311.
[25] Preetha R, Priyadarsini MJP, Nisha JS. Brain tumor segmentation using multi-scale attention U-Net with EfficientNetB4 encoder for enhanced MRI analysis. Sci Rep 2025;15(1):9914. https://doi.org/10.1038/s41598-025-94267-9.
[26] El Amoury S, Smili Y, Fakhri Y. Design of an optimal CNN architecture for MRI brain tumor classification by exploiting particle swarm optimization. J Imaging 2025;11(2):31. https://doi.org/10.3390/jimaging11020031.
[27] Almaabreh O, Al-Dafi R, Tabassum A, Othman A, Abd- alrazaq A. The performance of artificial intelligence in classifying molecular markers in adult-type gliomas using histopathological images: systematic review. J Med Internet Res 2026;28:e78377. https://doi.org/10.2196/78377.
[28] Díaz-Pernas FJ, Martínez-Zarzuela M, Ant on-Rodríguez M, Gonzalez-Ortega D. A deep learning approach for brain tumor classification and segmentation using a multiscale convolutional neural network. Healthcare 2021;9(2):153. https://doi.org/10.3390/healthcare9020153.
[29] Oladimeji OO, Ibitoye AOJ. Brain tumor classification using ResNet50-convolutional block attention module. Appl Comput Inform 2023. https://doi.org/10.1108/ACI-09-2023- 0022. Epub ahead of print.
[30] Schlemper J, Oktay O, Schaap M, Heinrich M, Kainz B, Glocker B, et al. Attention gated networks: learning to leverage salient regions in medical images. Med Image Anal 2019;53:197—207. https://doi.org/10.1016/j.media.2019.01.012.
[31] Otsu N. A threshold selection method from gray-level histograms. IEEE Trans Syst Man Cybern 1979;9(1):62—6. https://doi.org/10.1109/TSMC.1979.4310076.
[32] Woo S, Park J, Lee JY, Kweon IS. CBAM: convolutional block attention module. In: Proc eur conf Comput vis. Munich, Germany: ECCV; 2018. p. 3—19. https://doi.org/10. 1007/978-3-030-01234-2_1.
[33] Müller R, Kornblith S, Hinton GE. When does label smoothing help?. In: Adv Neural Inf Process Syst, 32. Vancouver, Canada: NeurIPS; 2019. p. 4694—703. https:// proceedings.neurips.cc/paper/2019/hash/ f1748d6b0fd9d439f71450117eba2725-Abstract.html.
[34] Rasheed M, Iqbal S, Jaffar A, Akram S. Advanced deep learning-based brain tumor classification using a novel customized CNN and optimized residual network. PLoS One 2025;20(10):e0334430. https://doi.org/10.1371/journal. pone.0334430.
[35] Selvaraju RR, Cogswell M, Das A, Vedantam R, Parikh D, Batra D. Grad-CAM: visual explanations from deep networks via gradient-based localization. In: Proc IEEE Int Conf Comput Vis (ICCV,). Venice, Italy: IEEE, Piscataway, NJ, USA; 2017. p. 618—26. https://doi.org/10.1109/ICCV.2017.74.
Author query responses and proof corrections










Follow us: