A Trustable Spine Abnormalities Classification System Using ResNet50 and VGG16 Supported by Explainable Artificial Intelligence
Source abstract
Abstract
Deep learning has been applied in various fields and has been proven to provide good results for classification tasks. However, there is limited understanding of a deep learning model’s decisions, so deep learning is commonly described as a black box. Applying deep learning for critical applications such as medical diagnostic process introduces trust issues. For the deep learning model to be trusted by the medical practitioners, the methods employed by the deep learning model must be seen to be aligned with the diagnostic process employed by the medical practitioners. Explainable methods such as Grad-CAM can be applied to improve the explainability of the deep learning models by providing an visual interpretation of the deep learning classification result decision process. In this study, two deep learning models, VGG16 and ResNet50 are trained using three training methods, one with randomly initialized weights, and two transfer learning methods, which are feature extraction and fine-tuning, to classify the spinal abnormalities based on X-ray images. The classification metrics results are compared and further analyses using Grad-CAM heatmaps are included. The models also evaluated using a stratified five-fold cross-validation, results revealed some disparity between the model’s accuracy and clinical relevance. The randomly initialized VGG16 obtained a classification accuracy of 93.79% but does not focus on clinically relevant regions. On the other hand, not only do the fine-tuned ResNet50 and VGG16 obtain high accuracies of 98.22% and 99.12%, but the heatmaps show that the models focus on more relevant regions. A comparison of the two models shows that the heatmaps produced by the fine-tuned ResNet50 are in more agreement with the clinical view than the fine-tuned VGG16. This study provides a useful reference for interpreting a deep learning-based classification result using explainable method particularly in spine abnormalities analysis with Grad-CAM.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Medical Imaging and Analysis · Spine and Intervertebral Disc Pathology · Artificial Intelligence in Healthcare and Education
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Faculty of Engineering & Technology, Multimedia University, Melaka 75450, Malaysia
Centre for Advanced Analytics, COE Artificial Intelligence, Multimedia University, Melaka 75450, Malaysia
Robotics Research Group, University of Hertfordshire, Hatfield AL10 9AB, UK
Faculty of Medicine, University Kebangsaan Malaysia, Kuala Lumpur 56000, Malaysia
Faculty of Business, Multimedia University, Melaka 75450, Malaysia
Funding
Telekom Malaysia Research & Development
References (47)
Show source-provided references
1. Goodfellow, I., Bengio, Y., and Courville, A. (2016). Deep Learning, MIT Press.
2. Chollet, F. (2021). Deep Learning with Python, Manning. [2nd ed.].
3. LSTM: A search space odyssey10.1109/TNNLS.2016.2582924 ↗
4. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., and Polosukhin, I. (2017, January 4–9). Attention is all you need. Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), Long Beach, CA, USA.
5. A survey of methods for explaining black box models
6. DARPA’s explainable AI (XAI) program: A retrospective10.1002/ail2.61 ↗
7. Methods for interpreting and understanding deep neural networks10.1016/j.dsp.2017.10.011 ↗
8. Zhou, B., Khosla, A., Lapedriza, A., Oliva, A., and Torralba, A. (2016, January 27–30). Learning deep features for discriminative localization. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.319 ↗
9. Grad-CAM: Visual explanations from deep networks via gradient-based localization10.1007/s11263-019-01228-7 ↗
10. Wang, H., Wang, Z., Du, M., Yang, F., Zhang, Z., Ding, S., Mardziel, P., and Hu, X. (2020, January 13–19). Score-CAM: Score-weighted visual explanations for convolutional neural networks. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, Seattle, WA, USA.10.1109/CVPRW50498.2020.00020 ↗
11. Byun, S.-Y., and Lee, W. (2023). Recipro-CAM: Fast gradient-free visual explanations for convolutional neural networks. arXiv.
12. Understanding the decision-making process of CNN in modulation recognition via iterative channel relevance10.1007/s11760-024-03486-6 ↗
13. Chattopadhay, A., Sarkar, A., Howlader, P., and Balasubramanian, V.N. (2018, January 12–15). Grad-CAM++: Generalized gradient-based visual explanations for deep convolutional networks. Proceedings of the IEEE Winter Conference on Applications of Computer Vision (WACV), Lake Tahoe, NV, USA.10.1109/WACV.2018.00097 ↗
14. Yosinski, J., Clune, J., Bengio, Y., and Lipson, H. (2014, January 8–13). How transferable are features in deep neural networks?. Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), Montreal, QC, Canada.
15. Steerling, E., Siira, E., Nilsen, P., Svedberg, P., and Nygren, J. (2023). Implementing AI in healthcare—The relevance of trust: A scoping review. Front. Health Serv., 3.10.3389/frhs.2023.1211150 ↗
16. Artificial intelligence and human trust in healthcare: Focus on clinicians10.2196/15154 ↗
17. Cerebral hemorrhage detection and localization using explainable deep learning10.1007/s40042-021-00202-2 ↗
18. A radiographic, deep transfer learning framework, adapted to estimate lung opacities from chest x-rays10.1186/s42234-022-00103-0 ↗
19. Highly Efficient and Accurate Deep Learning–Based Classification of MRI Contrast on a CPU and GPU10.1007/s10278-022-00583-1 ↗
20. Efficient artificial intelligence-based assessment of the gastroesophageal valve with Hill classification through active learning10.1038/s41598-024-68866-x ↗
21. Vanitha, K., M.T., R., Sree, S.S., and Guluwadi, S. (2024). Deep learning ensemble approach with explainable AI for lung and colon cancer classification using advanced hyperparameter tuning. BMC Med. Inform. Decis. Mak., 24.10.1186/s12911-024-02628-7 ↗
22. Chen, J., Wang, G., Zhou, J., Zhang, Z., Ding, Y., Xia, K., and Xu, X. (2024). AI support for colonoscopy quality control using CNN and transformer architectures. BMC Gastroenterol., 24.10.1186/s12876-024-03354-0 ↗
23. Li, Y., Chen, G., Wang, G., Zhou, Z., An, S., Dai, S., Jin, Y., Zhang, C., Zhang, M., and Yu, F. (2024). Dominating Alzheimer’s disease diagnosis with deep learning on sMRI and DTI-MD. Front. Neurol., 15.10.3389/fneur.2024.1444795 ↗
24. Prediction of osteoporosis from simple hip radiography using deep learning algorithm10.1038/s41598-021-99549-6 ↗
25. Comparative analysis of vision transformers and convolutional neural networks in osteoporosis detection from X-ray images10.1038/s41598-024-69119-7 ↗
26. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2021, January 3–7). An image is worth 16×16 words: Transformers for image recognition at scale. Proceedings of the International Conference on Learning Representations (ICLR), Vienna, Austria.
27. An MRI image automatic diagnosis model for lumbar disc herniation using semi-supervised learning10.1007/s40747-023-00981-0 ↗
28. Classification of neurofibromatosis-related dystrophic or nondystrophic scoliosis based on image features using Bilateral CNN10.1002/mp.14719 ↗
29. Kumaran, S.Y., Jeya, J.J., Mahesh, R., Khan, S.B., Alzahrani, S., and Alojail, M. (2024). Explainable lung cancer classification with ensemble transfer learning of VGG16, Resnet50 and InceptionV3 using grad-cam. BMC Med. Imaging, 24.10.1186/s12880-024-01345-x ↗
30. Comparison of Deep Learning Models and Optimization Algorithms in the Detection of Scoliosis and Spondylolisthesis from X-Ray Images
31. Diagnosis of Lumbar Spondylolisthesis Using Optimized Pretrained CNN Models10.1155/2022/7459260 ↗
32. Polis, B., Zawadzka-Fabijan, A., Fabijan, R., Kosińska, R., Nowosławska, E., and Fabijan, A. (2025). Exploring BiomedCLIP’s Capabilities in Medical Image Analysis: A Focus on Scoliosis Detection and Severity Assessment. Appl. Sci., 15.10.3390/app15010398 ↗
33. The Classification of Lumbar Spondylolisthesis X-Ray Images Using Convolutional Neural Networks10.1007/s10278-024-01115-9 ↗
34. Takahashi, S., Ichikawa, S., Watanabe, K., Ueda, H., Arima, H., Yamato, Y., Takeuchi, T., Hosogane, N., Okamoto, M., and Umezu, M. (2025). Development and Validation of Transformer- and Convolutional Neural Network-Based Deep Learning Models to Predict Curve Progression in Adolescent Idiopathic Scoliosis. J. Clin. Med., 14.10.3390/jcm14207216 ↗
35. An Approach to Classifying X-Ray Images of Scoliosis and Spondylolisthesis Based on Fine-Tuned Xception Model
36. Shakir, Y.H. (2026, February 23). The Vertebrae X-Ray Images Dataset. Available online: https://www.kaggle.com/datasets/yasserhessein/the-vertebrae-xray-images.
37. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
38. Simonyan, K., and Zisserman, A. (2015, January 7–9). Very deep convolutional networks for large-scale image recognition. Proceedings of the International Conference on Learning Representations (ICLR), San Diego, CA, USA.
39. ImageNet Large Scale Visual Recognition Challenge10.1007/s11263-015-0816-y ↗
40. Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., and Fei-Fei, L. (2009, January 20–25). ImageNet: A large-scale hierarchical image database. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Miami, FL, USA.10.1109/CVPR.2009.5206848 ↗
41. Chu, B., Madhavan, V., Beijbom, O., Hoffman, J., and Darrell, T. (2016). Best practices for fine-tuning visual classifiers. Lecture Notes in Computer Science, Springer.10.1007/978-3-319-49409-8_34 ↗
42. Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions10.1186/s40537-021-00444-8 ↗
43. Stevens, E., Antiga, L., Viehmann, T., and Chintala, S. (2020). Deep Learning with PyTorch, Manning.
44. Kingma, D.P., and Ba, J. (2015, January 7–9). Adam: A method for stochastic optimization. Proceedings of the International Conference on Learning Representations (ICLR), San Diego, CA, USA.
45. Cho, B.H., Lee, D.Y., Park, K.A., Oh, S.Y., Moon, J.H., Lee, G.I., Noh, H., Chung, J.K., Kang, M.C., and Chung, M.J. (2020). Computer-aided recognition of myopic tilted optic disc using deep learning algorithms in fundus photography. BMC Ophthalmol., 20.10.1186/s12886-020-01657-w ↗
46. Ausawalaithong, W., Thirach, A., Marukatat, S., and Wilaiprasitporn, T. (2018, January 21–24). A comparison of three preprocessing techniques for kidney stone segmentation in CT scan images. Proceedings of the Biomedical Engineering International Conference (BMEiCON), Chiang Mai, Thailand.
47. Fraiwan, M., Audat, Z., Fraiwan, L., and Manasreh, T. (2022). Using deep transfer learning to detect scoliosis and spondylolisthesis from X-ray images. PLoS ONE, 17.10.1371/journal.pone.0267851 ↗