Improving Brain Tumor Diagnosis Accuracy: A Machine Learning Approach with CNN, RNN, and PCA

Authors

  • Sahil Kumar DePaul University, United States.
  • Nadeem Ahmed Professor of Computing at Iqra University.

DOI:

https://doi.org/10.70749/ijbr.v3i12.2722

Keywords:

Brain Tumor Diagnosis, Convolutional Neural Networks, Machine Learning, Medical Imaging, Principal Component Analysis, Recurrent Neural Networks.

Abstract

Effective and efficient brain tumor classification from MRI scans is of critical importance as medical diagnostics in detecting early signs of the disease and treating the disease as early as possible. The focus of this paper is to propose a novel method to classify the brain tumors into 4 types of glioma, meningioma, notumor, and pituitary tumors using a combination of RNN based LSTM with PCA and SVM. To extract features from the MRI images, we use VGG19 a pre trained Convolutional Neural Network (CNN) and because the data is sequential, LSTM is utilized to process the sequential nature of the data so that the model learns the temporal relationship between multiple MRI slices. They are then applied to an SVM classifier with Principal Component Analysis (PCA) for dimensionality reduction and improved efficiency for classification. To further enhance model robustness, we combine three prominent brain MRI datasets, ensuring a diverse set of training examples. The experimental results show that the proposed LSTM-based SVM model gives 97% accuracy in all the tumor categories with high precision, recall and F1 scores. The model’s performance dominates the existing CNN based models especially in term of generalization where training and validation accuracy exhibit little change implying good overfitting prevention. Two main contributions are identified to address the problem with a hybrid approach consisting of both Deep Learning and traditional ML techniques: (a) both methods achieve high accuracy and (b) results are interpretable and scalable.

Downloads

Download data is not yet available.

References

1. American Cancer Society. (2025). Cancer Facts & Figures 2025. Cancer.org.

https://www.cancer.org/research/cancer-facts-statistics/all-cancer-facts-figures/2025-cancer-facts-figures.html

2. Khalighi, S., Reddy, K., Midya, A., Pandav, K. B., Madabhushi, A., & Abedalthagafi, M. (2024). Artificial intelligence in neuro-oncology: Advances and challenges in brain tumor diagnosis, prognosis, and precision treatment. npj Precision Oncology, 8(1).

https://doi.org/10.1038/s41698-024-00575-0

3. Zhang, L., Wen, X., Li, J., Jiang, X., Yang, X., & Li, M. (2023). Diagnostic error and bias in the Department of radiology: A pictorial essay. Insights into Imaging, 14(1).

https://doi.org/10.1186/s13244-023-01521-7

4. Batool, A., & Byun, Y. (2024). Brain tumor detection with integrating traditional and computational intelligence approaches across diverse imaging modalities - Challenges and future directions. Computers in Biology and Medicine, 175, 108412.

https://doi.org/10.1016/j.compbiomed.2024.108412

5. Lotlikar, V. S., Satpute, N., & Gupta, A. (2022). Brain tumor detection using machine learning and deep learning: AReview. Current Medical Imaging Formerly Current Medical Imaging Reviews, 18(6), 604-622.

https://doi.org/10.2174/1573405617666210923144739

6. Seetha, J., & Raja, S. S. (2018). Brain tumor classification using Convolutional neural networks. Biomedical and Pharmacology Journal, 11(3), 1457-1461.

https://doi.org/10.13005/bpj/1511

7. Vankdothu, R., & Hameed, M. A. (2022). Brain tumor MRI images identification and classification based on the recurrent convolutional neural network. Measurement: Sensors, 24, 100412.

https://doi.org/10.1016/j.measen.2022.100412

8. Jhariya, A., Parekh, D., Lobo, J., Bongale, A., Jayaswal, R., Kadam, P., Patil, S., & Choudhury, T. (2024). Distance analysis and dimensionality reduction using PCA on brain tumour MRI scans. EAI Endorsed Transactions on Pervasive Health and Technology, 10.

https://doi.org/10.4108/eetpht.10.5632

9. Akinyelu, A. A., Zaccagna, F., Grist, J. T., Castelli, M., & Rundo, L. (2022). Brain tumor diagnosis using machine learning, Convolutional neural networks, capsule neural networks and vision transformers, applied to MRI: A survey. Journal of Imaging, 8(8), 205.

https://doi.org/10.3390/jimaging8080205

10. Khan, M. S., Rahman, A., Debnath, T., Karim, M. R., Nasir, M. K., Band, S. S., Mosavi, A., & Dehzangi, I. (2022). Accurate brain tumor detection using deep convolutional neural network. Computational and Structural Biotechnology Journal, 20, 4733-4745.

https://doi.org/10.1016/j.csbj.2022.08.039

11. Hinton, G. E., Sabour, S., & Frosst, N. (2018, February). Matrix capsules with EM routing. In International conference on learning representations.

https://openreview.net/forum?id=HJWLfGWRb&

12. G. Nagaraju. (2024). A comparative analysis of advanced machine learning techniques for enhancing brain tumor detection. Journal of Electrical Systems, 20(2s), 901-909.

https://doi.org/10.52783/jes.1687

13. Poornam, S., & Angelina, J. J. (2024). VITALT: A robust and efficient brain tumor detection system using vision transformer with attention and linear transformation. Neural Computing and Applications, 36(12), 6403-6419.

https://doi.org/10.1007/s00521-023-09306-1

14. Willemink, M. J., Roth, H. R., & Sandfort, V. (2022). Toward foundational deep learning models for medical imaging in the new era of transformer networks. Radiology: Artificial Intelligence, 4(6).

https://doi.org/10.1148/ryai.210284

15. Ton Komar Azaharan, T. A., Mahamad, A. K., Saon, S., Muladi, & Mudjanarko, S. W. (2023). Investigation of VGG-16, resnet-50 and AlexNet performance for brain tumor detection. International Journal of Online and Biomedical Engineering (iJOE), 19(08), 97-109.

https://doi.org/10.3991/ijoe.v19i08.38619

16. Çinar, A., & Yildirim, M. (2020). Detection of tumors on brain MRI images using the hybrid convolutional neural network architecture. Medical Hypotheses, 139, 109684.

https://doi.org/10.1016/j.mehy.2020.109684

17. Ganguly, P., & Ghosh, A. (2024). Efficient brain tumor classification with lightweight CNN architecture: A novel approach. 2024 IEEE International Conference on Future Machine Learning and Data Science (FMLDS), 325-330.

https://doi.org/10.1109/fmlds63805.2024.00065

18. Lin, K., Jie, B., Dong, P., Ding, X., Bian, W., & Liu, M. (2022). Convolutional recurrent neural network for dynamic functional MRI analysis and brain disease identification. Frontiers in Neuroscience, 16.

https://doi.org/10.3389/fnins.2022.933660

19. Jha, A., Singh, O., Singh, K. K., Akbari, A. S., & Takei, M. (2024). An integrated CNN-RNN-SVM framework for classification of MRI brain tumor images. 2024 IEEE International Conference on Imaging Systems and Techniques (IST), 1-6.

https://doi.org/10.1109/ist63414.2024.10759212

20. Yang, X., Qi, X., & Zhou, X. (2023). Deep learning technologies for time series anomaly detection in healthcare: A review. IEEE Access, 11, 117788-117799.

https://doi.org/10.1109/access.2023.3325896

21. Nandi, D., Ashour, A. S., Samanta, S., Chakraborty, S., Salem, M. A., & Dey, N. (2015). Principal component analysis in medical image processing: A study. International Journal of Image Mining, 1(1), 65.

https://doi.org/10.1504/ijim.2015.070024

22. Shoaib, M. R., Zhao, J., Emara, H. M., Mubarak, A. S., Omer, O. A., Abd El-Samie, F. E., & Esmaiel, H. (2025). Improving brain tumor classification: An approach integrating pre-trained CNN models and machine learning algorithms. Heliyon, 11(10), e33471.

https://doi.org/10.1016/j.heliyon.2024.e33471

23. Gunasundari, C., & Selva Bhuvaneswari, K. (2025). A novel approach for the detection of brain tumor and its classification via independent component analysis. Scientific Reports, 15(1).

https://doi.org/10.1038/s41598-025-87934-4

24. Zhang, L., Dong, W., Zhang, D., & Shi, G. (2010). Two-stage image denoising by principal component analysis with local pixel grouping. Pattern Recognition, 43(4), 1531-1549.

https://doi.org/10.1016/j.patcog.2009.09.023

25. Sartaj. (2024). Brain Tumor Classification (MRI). Kaggle.com.

https://www.kaggle.com/dsv/1183165

26. Ahmed Hamada. Br35h: Brain tumor detection 2020.

https://www.kaggle.com/datasets/ahmedhamada0/brain-tumordetection,

Downloads

Published

2025-12-30

Issue

Section

Original Article

How to Cite

Kumar, S., & Ahmed, N. (2025). Improving Brain Tumor Diagnosis Accuracy: A Machine Learning Approach with CNN, RNN, and PCA. Indus Journal of Bioscience Research, 3(12), 80-87. https://doi.org/10.70749/ijbr.v3i12.2722