Advanced YOLOv8 architecture for multi-class brain tumor detection

Main Article Content

Kavita Singh
Rajesh Kumar
Satyendra Singh

Abstract

Background: Accurate brain tumor detection is critical for early diagnosis and effective treatment planning in neuro-oncology. Magnetic resonance imaging (MRI) is a cornerstone for identifying and localizing brain tumors, guiding clinical interventions, and enhancing patient outcome. Advanced deep learning models, such as YOLOv8, offer promising solutions for automated and precise tumor detection in MRI.


Objectives: This study aimed to develop and evaluate a YOLOv8-based model for the accurate identification and localization of brain tumors, including pituitary tumors, meningiomas, and gliomas, using a publicly available Kaggle dataset of annotated MRI images.


Materials and methods: The YOLOv8 pretrained model was employed for brain tumor detection on a Kaggle dataset comprising annotated MRI images, including cases with pituitary, meningioma, and glioma, and no tumor. The dataset was pre-processed and split into training and validation sets for further analysis. The YOLOv8 model was fine-tuned to optimize the tumor detection and localization. Performance metrics, including precision, recall, F-1 score, and mean average precision (mAP), were calculated, and loss values were analyzed to evaluate the model’s learning efficiency.


Results: The YOLOv8 model achieved a precision of 98.9%, recall of 98.9%, and accuracy of 99.5%. The mean average precision (mAP) reached 97.6%, indicating a high accuracy in detecting and localizing brain tumors. Loss value analysis demonstrated stable convergence during training, reflecting a robust model performance.


Conclusion: The YOLOv8-based approach provides a highly accurate and reliable method for detecting and localizing brain tumors in MRI. With exceptional precision, recall, and mAP, this model demonstrates significant potential for clinical applications, enabling faster and more precise neurooncological diagnosis and treatment planning.

Article Details

How to Cite
Singh, K. ., Kumar, R., & Singh, S. . . (2026). Advanced YOLOv8 architecture for multi-class brain tumor detection. Journal of Associated Medical Sciences, 59(2), 250–258. retrieved from https://he01.tci-thaijo.org/index.php/bulletinAMS/article/view/281957
Section
Research Articles

References

Ranjbarzadeh R, Crane M, Bendechache M. The impact of backbone selection in YOLOv8 models on brain tumor localization. Iran J Comput Sci. 2025; 8: 939-61. doi: 10.1007/s42044-025-00258-4.

Liu Z, Tong L, Chen L, Jiang Z, Zhou F, Zhang Q, et al. Deep learning based brain tumor segmentation: a survey. Complex Intell Syst. 2023; 9: 1001-26. doi: 10.1007/s40747-022-00815-5.

Mahale C, Meshram S, Pakhmode A. Brain Tumor Detection with YOLOv8. 2024 4th Int. Conf. Intell. Technol. CONIT 2024, IEEE. 2024: pp 1-5. doi: 10.1109/CONIT61985.2024.10626992.

Selcuk B, Serif T. Brain Tumor Detection and Localization with YOLOv8. UBMK 2023 - Proc. 8th Int. Conf. Comput. Sci. Eng., Institute of Electrical and Electronics Engineers Inc.; 2023: pp 477-81. doi: 10.1109/UBMK59864.2023.10286729.

Yao Q, Zhuang D, Feng Y, Wang Y, Liu J. Accurate detection of brain tumor lesions from medical images based on improved YOLOv8 algorithm. IEEE Access. 2024; 12: 144260-79. doi: 10.1109/ACCESS.2024.3472039.

Sharif MI, Khan MA, Alhussein M, Aurangzeb K, Raza M. A decision support system for multimodal brain tumor classification using deep learning. Complex Intell Syst. 2022; 8: 3007-20. doi: 10.1007/s40747-021-00321-0.

Redmon J, Divvala S, Girshick R, Farhadi A. You only look once: Unified, real-time object detection. Proc IEEE Comput Soc Conf Comput Vis Pattern Recognit. 2016; 2016: 779-88. doi: 10.1109/CVPR.2016.91.

Taha AM, Aly SA, Darwish MF. Detecting glioma, meningioma, and pituitary tumors, and normal brain tissues based on Yolov11 and Yolov8 deep learning models 2025. doi: 10.48550/arXiv.2504.00189

Dulal R, Dulal R. Brain tumour identification using improved YOLOv8. Vol. 1. 2025. doi: 10.1504/ijcast.2025.10071167.

Al-Shahrani A, Al-Amoudi W, Bazaraah R, Al-Sharief A, Farouquee H. An image processingbased and deep learning model to classify brain cancer. Eng Technol Appl Sci Res. 2024; 14:15433-8. doi: 10.48084/etasr.7803.

Lin Z, Lin W, Jiang F. YOLOv8-DEC: Enhancing brain tumor object detection accuracy in magnetic resonance imaging. Prog Electromagn Res M. 2024; 129: 43-52. doi: 10.2528/PIERM24061204.

Abraham LA, Palanisamy G, Goutham V. Dilated convolution and YOLOv8 feature extraction network: An improved method for MRI-based brain tumor detection. IEEE Access. 2025; 13: 27238-56. doi: 10.1109/ACCESS.2025.3539924.

Rizwan M, Shabbir A, Javed AR, Shabbir M, Baker T, Al-Jumeily Obe D. Brain tumor and glioma grade classification using Gaussian convolutional neural network. IEEE Access. 2022; 10: 29731-40. doi: 10.1109/ACCESS.2022.3153108.

Almufareh MF, Imran M, Khan A, Humayun M, Asim M. Automated brain tumor segmentation and classification in MRI using YOLO-based deep learning. IEEE Access. 2024; 12: 16189-207. doi: 10.1109/ACCESS.2024.3359418.

Msoud Nickparvar. (2021). Brain Tumor MRI Dataset [Data set]. n.d. doi: 10.34740/kaggle/dsv/14832123.

Elhanashi A, Dini P, Saponara S, Zheng Q. TeleStroke: real-time stroke detection with federated learning and YOLOv8 on edge devices. J Real-Time Image Process. 2024; 21; article no. 121. doi: 10.1007/s11554-024-01500-1.

Terven J, Córdova-Esparza DM, Romero-González JA. A Comprehensive review of YOLO architectures in computer vision: From YOLOv1 to YOLOv8 and YOLO-NAS. Mach Learn Knowl Extr. 2023; 5: 1680- 716. doi: 10.3390/make5040083.

Talukder MA, Islam MM, Uddin MA, Akhter A, Pramanik MAJ, Aryal S, et al. An efficient deep learning model to categorize brain tumor using reconstruction and fine-tuning. Expert Syst Appl. 2023; 230: 120534. doi: 10.1016/j.eswa.2023.120534.

Remzan N, Tahiry K, Farchi A. Advancing brain tumor classification accuracy through deep learning: harnessing radimagenet pre-trained convolutional neural networks, ensemble learning, and machine learning classifiers on MRI brain images. Multimed Tools Appl. 2024; 83: 82719-47. doi: 10.1007/s11042-024-18780-1.

Kaur P, Mahajan P. Detection of brain tumors using a transfer learning-based optimized ResNet152 model in MR images. Comput Biol Med. 2025; 188: 109790. doi: 10.1016/j.compbiomed.2025.109790.

Rajput IS, Gupta A, Jain V, Tyagi S. A transfer learning-based brain tumor classification using magnetic resonance images. Multimed Tools Appl. 2024; 83:2 0487-506. doi: 10.1007/s11042-023-16143-w.