Precision meets generalization: Enhancing brain tumor classification via pretrained DenseNet with global average pooling and hyperparameter tuning

PLoS One. 2024 Sep 6;19(9):e0307825. doi: 10.1371/journal.pone.0307825. eCollection 2024.

Abstract

Brain tumors pose significant global health concerns due to their high mortality rates and limited treatment options. These tumors, arising from abnormal cell growth within the brain, exhibits various sizes and shapes, making their manual detection from magnetic resonance imaging (MRI) scans a subjective and challenging task for healthcare professionals, hence necessitating automated solutions. This study investigates the potential of deep learning, specifically the DenseNet architecture, to automate brain tumor classification, aiming to enhance accuracy and generalizability for clinical applications. We utilized the Figshare brain tumor dataset, comprising 3,064 T1-weighted contrast-enhanced MRI images from 233 patients with three prevalent tumor types: meningioma, glioma, and pituitary tumor. Four pre-trained deep learning models-ResNet, EfficientNet, MobileNet, and DenseNet-were evaluated using transfer learning from ImageNet. DenseNet achieved the highest test set accuracy of 96%, outperforming ResNet (91%), EfficientNet (91%), and MobileNet (93%). Therefore, we focused on improving the performance of the DenseNet, while considering it as base model. To enhance the generalizability of the base DenseNet model, we implemented a fine-tuning approach with regularization techniques, including data augmentation, dropout, batch normalization, and global average pooling, coupled with hyperparameter optimization. This enhanced DenseNet model achieved an accuracy of 97.1%. Our findings demonstrate the effectiveness of DenseNet with transfer learning and fine-tuning for brain tumor classification, highlighting its potential to improve diagnostic accuracy and reliability in clinical settings.

MeSH terms

  • Brain Neoplasms* / classification
  • Brain Neoplasms* / diagnostic imaging
  • Brain Neoplasms* / pathology
  • Deep Learning*
  • Female
  • Glioma / classification
  • Glioma / diagnostic imaging
  • Glioma / pathology
  • Humans
  • Magnetic Resonance Imaging* / methods
  • Male
  • Meningioma / diagnostic imaging
  • Meningioma / pathology
  • Pituitary Neoplasms / classification
  • Pituitary Neoplasms / diagnostic imaging
  • Pituitary Neoplasms / pathology

Grants and funding

This study was financially supported by the European Union within the REFRESH project, "Research Excellence for Region Sustainability and High-tech Industries" as part of the European Just Transition Fund, in the form of a grant no. CZ.10.03.01/00/22_003/0000048.