Brain Tumor Classification in MRI Images Based on EfficientNetB0: Impact of Learning Rate, Optimizer and Batch Size

Authors

  • Weiye Dong

DOI:

https://doi.org/10.61173/zccy4f83

Keywords:

Brain tumor classification, EfficientNetB0, Magnetic Resonance Imaging (MRI)

Abstract

Brain tumor classification based on Magnetic Resonance Imaging (MRI) images is essential for early diagnosis, yet traditional manual interpretation remains time-consuming and error-prone. This research delves into the ways in which deep learning models for brain tumor classification are impacted by changes in learning rate, optimizer, and batch size. The backbone model was created by training on a Kaggle brain MRI dataset that contained 3,264 grayscale images of four categories: glioma tumor, meningioma tumor, pituitary tumor, and no tumor. Preprocessing included normalization, grayscale-to-RGB conversion, and data augmentation. Using weights pre-trained by ImageNet, transfer learning was implemented. The model's final layer was adjusted for four-class output with Softmax activation. Experiments were conducted across four learning rates, two optimizers, and five batch sizes. There were 50 training iterations for each configuration, with validation loss serving as the basis for early termination. The following metrics were used to assess performance: recall, accuracy, precision, F1-score, and confusion matrices. Experimental results show that Adam generally delivers more stable and accurate outcomes than Stochastic Gradient Descent (SGD) under similar conditions. Higher learning rates combined with moderate batch sizes led to optimal performance. Pituitary tumors were accurately identified, while no_tumor and meningioma were often confused. These findings demonstrate how crucial hyperparameter adjustment is to enhance the accuracy of deep learning-based Identifying brain tumors.

References

[1] Li C, He WQ. Comparison of primary liver cancer mortality estimates from World Health Organization, global burden disease and global cancer observatory. Liver International. 2022 Oct;42(10):2299-316.

[2] Ostrom QT, Cioffi G, Waite K, Kruchko C, Barnholtz-Sloan JS. CBTRUS statistical report: primary brain and other central nervous system tumors diagnosed in the United States in 2014– 2018. Neuro-oncology. 2021 Oct 1;23(Supplement_3):iii1-05.

[3] Akkus Z, Galimzianova A, Hoogi A, Rubin DL, Erickson BJ. Deep learning for brain MRI segmentation: state of the art and future directions. Journal of digital imaging. 2017 Aug;30:449- 59.

[4] Achiam J, Adler S, Agarwal S, Ahmad L, Akkaya I, Aleman FL, Almeida D, Altenschmidt J, Altman S, Anadkat S, Avila R. Gpt-4 technical report. arXiv preprint arXiv:2303.08774. 2023 Mar 15.

[5] Jumper J, Evans R, Pritzel A, Green T, Figurnov M, Ronneberger O, Tunyasuvunakool K, Bates R, Žídek A, Potapenko A, Bridgland A. Highly accurate protein structure prediction with AlphaFold. nature. 2021 Aug;596(7873):583-9.

[6] Rajpurkar P, Irvin J, Zhu K, Yang B, Mehta H, Duan T, Ding D, Bagul A, Langlotz C, Shpanskaya K, Lungren MP. Chexnet: Radiologist-level pneumonia detection on chest x-rays with deep learning. arXiv preprint arXiv:1711.05225. 2017 Nov 14.

[7] Kagiyama N, Tokodi M, Sengupta PP. Machine learning in cardiovascular imaging. Heart Failure Clinics. 2022 Apr 1;18(2):245-58.

[8] Alyoubi WL, Shalash WM, Abulkhair MF. Diabetic retinopathy detection through deep learning techniques: A review. Informatics in Medicine Unlocked. 2020 Jan 1;20:100377.

[9] Zhao L, Jia K. Multiscale CNNs for brain tumor segmentation and diagnosis. Computational and mathematical methods in medicine. 2016;2016(1):8356294.

[10] Afshar P, Mohammadi A, Plataniotis KN. Bayescap: A bayesian approach to brain tumor classification using capsule networks. IEEE Signal Processing Letters. 2020 Oct 29;27:2024- 8.

[11] Chen X, Yao L, Zhang Y. Residual attention u-net for automated multi-class segmentation of covid-19 chest ct images. arXiv preprint arXiv:2004.05645. 2020 Apr 12.

[12] Shankar K, Zhang Y, Liu Y, Wu L, Chen CH. Hyperparameter tuning deep learning for diabetic retinopathy fundus image classification. IEEE access. 2020 Jun 26;8:118164- 73.

[13] Bhuvaji S. Brain Tumor Classification (MRI). Kaggle. https://www.kaggle.com/datasets/sartajbhuvaji/brain-tumorclassification-mri. 2020.

[14] Tan M, Le Q. Efficientnet: Rethinking model scaling for convolutional neural networks. InInternational conference on machine learning 2019 May 24 (pp. 6105-6114). PMLR.

Downloads

Published

2025-08-26