Improving Performance of Convolutional Neural Network Models for Brain Tumor Classification from MRI Images through Hyperparameter Tuning
Main Article Content
Abstract
Brain tumors are a common and severe disease, requiring timely diagnosis and treatment to reduce mortality rates and improve patient survival chances. This research presents a method for classifying brain tumors using deep neural networks. The Br35H dataset, consisting of 3,000 images (1,500 diseased and 1,500 non-diseased), was used for model training, divided into 70% training, 20% validation, and 10% testing sets. Additionally, 253 Brain MRI Images and 4,600 Brian Tumor images were used to test the model's accuracy. The experiments were divided into three groups: Group 1 employed popular architectures from existing literature without modification, using default hyperparameter settings. Specifically, the configurations included the Adam optimizer with a learning rate of 0.001 and a batch size of 32. The top five architectures with the highest accuracy were selected for further experiments. The architectures DenseNet201, Xception, InceptionResNetV2, MobileNetV2, and NasNetMobile accuracy of 98.00%, 98.00%, 98.00%, 97.67%, and 97.33% and loss of 0.08, 0.06, 0.08, 0.11, and 0.11 respectively. Group 2: Tuning three hyperparameters separately: Batch size, Optimizer, and Learning rate. The best results were Xception (Batch size 16) accuracy of 98.34% and loss of 0.08, InceptionResNetV2 (Learning rate 0.01) accuracy of 98.67% and loss of 0.13, and Xception (Optimizer Adamax) accuracy of 98.67% and loss of 0.06. Group 3: Tuning pairs of hyperparameters: The best architecture was InceptionResNetV2 (Batch size 32, Optimizer Adam, Learning rate 0.01) accuracy of 100.00% and loss of 0.001.
Article Details
References
Kaggle, Br35H: Brain Tumor Detection 2020. Available Online at https://kaggle.com/datasets/ahmedhamada0/brain-tumor-detection, accessed on 13 April 2024.
Kaggle, Brain MRI Images for Brain Tumor Detection. Available Online at https:// kaggle.com/ datasets/navoneel/brain-mri-images-for-brain-tumor-detection, accessed on 13 April 2024.
Kaggle, Brian Tumor Dataset. Available Online at https://kaggle.com/datasets/preetviradiya/brian-tumor-dataset, accessed on 13 April 2024.
S. Sengupta, S. Basak, P. Saikia, S. Paul, V. Tsalavoutis, F. Atiah, and A. Peters. "A review of deep learning with special emphasis on architectures, applications and recent trends." Knowledge-Based Systems, Vol. 194, April, 2020.
S. Mathivanan, S. Sonaimuthu, and S. Murugesan. "Employing deep learning and transfer learning for accurate brain tumor detection." Scientific Reports, Vol. 14, 2024.
M. Almufareh, M. Imran, A. Khan, M. Humayun, and M. Asim. "Automated Brain Tumor Segmentation and Classification in MRI Using YOLO-Based Deep Learning." IEEE Access, Vol. 12, pp. 16189-16207, 2024.
A. Asiri, A. Shaf, T. Ali, M. Aamir, M. Irfan, and S. Alqahtani. "Enhancing brain tumor diagnosis: an optimized CNN hyperparameter model for improved accuracy and reliability." PeerJ. Computer science, 2024.
A. Abdusalomov, B. Mukhiddinov, and M. Whangbo. "Brain Tumor Detection Based on Deep Learning Approaches and Magnetic Resonance Imaging." Cancers, Vol. 15, No. 16, pp. 4172, 2023.
A. Banerjee, K. Jaiswal, T. Biswas, V. Sharma, M. Bal, and S. Mishra. "Brain Tumor Detection and Classification Using a Hyperparameter Tuned Convolutional Neural Network." Proceedings of International Conference on Contemporary Computing and Informatics (IC3I), Gautam Buddha Nagar, India, pp. 502-506, 2023.
A. Minarno, E. Hazmi, M. Munarko, and H. Hariyady. "Convolutional Neural Network with Hyperparameter Tuning for Brain Tumor Classification." Kinetik: Game Technology Information System Computer Network, Computing, Electronics and Control, Vol. 6, No. 2, pp. 127-132, May, 2021.
L. Xu and M. Mohammadi. "Brain tumor diagnosis from MRI based on Mobilenetv2 optimized by contracted fox optimization algorithm." Heliyon, Vol. 10, No. 1, January, 2023.
M. Güle and E. Naml. "Brain Tumor Detection with Deep Learning Methods' Classifier Optimization Using Medical Images." Applied Sciences, Vol. 14, No. 2, 2024.
B. Bab, S. Srinivasan, S. Mathivanan, S. Mahalakshmi, P. Jayagopal, and G. Dalu. "Detection and classification of brain tumor using hybrid deep learning models." Scientific Reports, Vol. 13, No. 1, 2023.
N. Ullah, A. Javed, A. Alhazmi, S. Hasnain, M. Tahir, and A. Ashraf. "TumorDetNet: A unified deep learning model for brain tumor detection and classification." Plos one, Vol. 18, No. 9, 2023.
A. Asiri, A. Shaf, A. Ali, T. Aamir, M. Irfan, M. Alqahtani, and S. Alqhtani. "Brain tumor detection and classification using fine-tuned CNN with ResNet50 and U-Net model: A study on TCGA-LGG and TCIA dataset for MRI applications." Life, Vol. 13, No. 7, 2023.
Y. Anagun. "Smart brain tumor diagnosis system utilizing deep convolutional neural networks." Multimedia Tools and Applications, Vol. 82, pp. 44527-44553, 2023.
E. Irmak. "Multi-classification of brain tumor MRI images using deep convolutional neural network with fully optimized framework." Iranian Journal of Science and Technology, Transactions of Electrical Engineering, Vol. 45, No.3, pp. 1015-1036, 2021.
V. Kavitha and K. Ulagapriya. "Comparative Evaluation for Brain Tumor Detection Using Inception-V3 Architecture." International Journal of Intelligent Systems and Applications in Engineering, Vol. 12, No. 1, pp. 277-283, 2024.
A. Anaya-Isaza, L. Mera-Jiménez, L. Verdugo-Alejo, and L. Sarasti. "Optimizing MRI-based brain tumor classification and detection using AI: A comparative analysis of neural networks, transfer learning, data augmentation, and the cross-transformer network." European Journal of Radiology Open, Vol. 10, 2023.
A. Mahir. "Bayesian Optimization-based CNN Framework for Automated Detection of Brain Tumors." Balkan Journal of Electrical and Computer Engineering, Vol. 11, No. 4, pp. 395-404, 2022.
J. Miah, D. Cao, M. Sayed, A. Taluckder, S. Haque, and S. Mahmud. "Advancing Brain Tumor Detection: A Thorough Investigation of CNNs, Clustering, and SoftMax Classification in the Analysis of MRI Images." arXiv:2310.17720, 2023.
A. Šimundić. "Measures of diagnostic accuracy: basic definitions." EJIFCC, Vol. 19, No. 4, January, 2009.
D.M.W. Powers. "Evaluation: from precision, recall and F-measure to ROC, informedness, markedness and correlation." arXiv:2010.16061, 2020.