Skip to main content

ORIGINAL RESEARCH article

Front. Neurosci., 06 December 2024
Sec. Neurodegeneration

Deep learning models for MRI-based clinical decision support in cervical spine degenerative diseases

Kai-Yu LiKai-Yu Li1Zhe-Yang LuZhe-Yang Lu2Yu-Han TianYu-Han Tian2Xiao-Peng LiuXiao-Peng Liu1Ye-Kai ZhangYe-Kai Zhang1Jia-Wei QiuJia-Wei Qiu1Hua-Lin LiHua-Lin Li1Yu-Long ZhangYu-Long Zhang1Jia-Wei HuangJia-Wei Huang1Hao-Bo YeHao-Bo Ye1Nai Feng Tian
Nai Feng Tian1*
  • 1Department of Orthopedic Surgery, Second Affiliated Hospital and Yuying Children’s Hospital of Wenzhou Medical University, Wenzhou, China
  • 2Renji College of Wenzhou Medical University, Wenzhou, China

Purpose: The purpose of our study is to develop a deep learning (DL) model based on MRI and analyze its consistency with the treatment recommendations for degenerative cervical spine disorders provided by the spine surgeons at our hospital.

Methods: In this study, MRI of patients who were hospitalized for cervical spine degenerative disorders at our hospital from July 2023 to July 2024 were primarily collected. The dataset was divided into a training set, a validation set, and an external validation set. Four versions of the DL model were constructed. The external validation set was used to assess the consistency between the DL model and spine surgeons’ recommendations about indication of cervical spine surgery regarding the dataset.

Results: This study collected a total of 756 MR images from 189 patients. The external validation set included 30 patients and a total of 120 MR images, consisting of 43 images for grade 0, 20 images for grade 1, and 57 images for grade 2. The region of interest (ROI) detection model completed the ROI detection task perfectly. For the binary classification (grades 0 and 1, 2), DL version 1 showed the best consistency with the spine surgeons, achieving a Cohen’s Kappa value of 0.874. DL version 4 also achieved nearly perfect consistency, with a Cohen’s Kappa value of 0.811. For the three-class classification, DL version 1 demonstrated the best consistency with the spine surgeons, achieving a Cohen’s Kappa value of 0.743, while DL version 2 and DL version 4 also showed substantial consistency, with Cohen’s Kappa values of 0.615 and 0.664, respectively.

Conclusion: We initially developed deep learning algorithms that can provide clinical recommendations based on cervical spine MRI. The algorithm shows substantial consistency with experienced spine surgeons.

1 Introduction

As aging progresses, degenerative cervical spine diseases are affecting an increasing number of people (Todd, 2011; Oglesby et al., 2013). As people age, it is common to present with radiographic evidence of cervical spine degeneration, of which not all will show significant clinical signs. Most symptomatic patients with cervical spondylosis can find relief through lifestyle changes or non-surgical treatments, such as physical therapy, cervical traction, and oral analgesics (Lannon and Kachur, 2021). However, patients who experience severe neurological symptoms and show significant spinal cord or nerve root compression on imaging often require surgical intervention (Soufi et al., 2022; Wilson et al., 2017; Badhiwala et al., 2020).

For degenerative cervical spine diseases, MRI is the preferred imaging modality because it can display the neural tissue, bone, and ligament structures with high resolution (Khan et al., 2023). In T2-weighted MRI, the imaging findings of cervical spondylosis include nerve root compression, osteophyte formation, spinal cord compression, disk herniation, and vertebral slippage (Nouri et al., 2016). While MRI serves as an important basis for selecting treatment options, diagnosing cervical spondylosis is relatively straightforward. However, for non-specialist or inexperienced clinicians, assessing the severity of nerve root or spinal cord compression and determining whether surgical intervention is necessary is a challenge. Most radiologists can provide diagnostic reports based on MR images, but patients cannot easily ascertain from the report alone whether surgery is required or if they need to seek care at a higher-level hospital.

In recent years, deep learning has gradually been popularized in the field of spine surgery, especially in diagnostic imaging (Ong et al., 2022; Haim et al., 2024; Qu et al., 2022). In previous studies, deep learning models, due to their excellent image analysis capabilities, have helped improve the diagnostic efficiency and accuracy of clinicians (Qu et al., 2022; Yang et al., 2024). There have been no previous studies using DL models for clinical decision making in cervical spine disease. The aim of our study is to develop MRI-based deep learning models and analyze their degree of consistency with treatment recommendations provided by spine surgeons in our hospital regarding degenerative cervical spine disorders.

2 Materials and methods

This retrospective diagnostic study obtained approval from the Institutional Review Board of the Second Affiliated Hospital of Wenzhou Medical University and did not require written informed consent.

2.1 Case selection and data set collection

Data collection consisted of MRI T2-weighted cross-sectional images of the intervertebral disks at the cervical levels C3-C7, with four images per patient. The MRI images were obtained using an Avanto (Siemens Healthineers, Forchheim; 1.5 T) machine, equipped with an eight-channel receiving coil. The dataset primarily included patients who visited our hospital between July 2023 and July 2024 due to clinical symptoms related to cervical spondylosis (such as radiating pain in the upper limbs, loss of hand dexterity, gait and balance disturbances, etc.) (Nouri et al., 2017; Kim et al., 2013). Table 1 presents the inclusion and exclusion criteria. The dataset was divided into training, validation, and external validation sets, with the training and validation sets randomly allocated.

Table 1
www.frontiersin.org

Table 1. Summary of study inclusion and exclusion criteria.

There were three categories of treatment recommendations (recommendations for patients, divided from non-invasive to invasive): low surgical recommendation level (grade 0), where surgery was not recommended for the time being; medium surgical recommendation level (grade 1), where conservative treatment was recommended, and surgery can be considered if conservative treatment fails or if the patient has a strong desire for surgery; and high surgical recommendation level (grade 2), where there was a high risk of neurological deficits, and immediate surgical treatment was recommended. The surgical plans for all selected patients were determined through departmental discussions (including at least one chief spine surgeon and two attending spine surgeons), and corresponding treatment levels were assigned to each patient.

2.2 DL model establishing

The DL model was divided into two parts, which were the region of interest (ROI) auto-detection model and the convolutional neural network (CNN) classification model. The ROI auto-detection model was mainly used to extract the ROI region (including the cervical spinal canal). The ROI auto-detection model consisted of the Faster R-CNN and MobileNet as the framework, and the data labels were the coordinates of the upper-left and lower-right corners of the ROI region. Two spine surgeons (one with 5 years of clinical experience and the other with 10 years of clinical experience) completed the ROI label formulation task.

The classification model used four types of CNN models as a framework (MobileNet, EfficientNet, Mnasnet and Regvgg) and used a validation set for initial validation of the model. The selection of models was based on the following criteria: (1) The model was sourced from the timm library. (2) A lightweight CNN model suitable for small grayscale images was chosen. (3) The model had to achieve a consistency rate of over 70% in the internal validation set.

Deep learning models were constructed using the PyTorch framework, using a pre-trained timm model as the backbone network, combined with data augmentation techniques to process the training data. Data augmentation techniques mainly included randomly flipping images horizontally, randomly adjusting the brightness and contrast of images, which effectively expanded the available training dataset and enhanced the robustness of the model. The models used the cross-entropy loss function and AdamW optimizer for parameter optimization, while the learning rate scheduler was used to dynamically adjust the learning rate. Mixed-precision training was introduced during the training process to improve the training speed and numerical stability. During the training process, metrics such as loss and accuracy on the training and validation sets were recorded, and the best model was saved. The whole process included steps such as data loading, model construction, training cycle, validation, saving the best model, and selecting the best DL model for the classification task. Figure 1 shows the process from MR images to model output results.

Figure 1
www.frontiersin.org

Figure 1. Process from input data to output categories.

2.3 DL model performance validation

The external validation set consisted of newly admitted patients from May 2024 to July 2024 (meeting inclusion and exclusion criteria). The evaluation of the ROI selection model was conducted through visual analysis, carried out by the two spine surgeons who formulated the ROI labels. The validation set was used for the preliminary evaluation of the trained model. A consistency rate greater than 75% was considered as the completion of training. The trained ensemble CNN model was then evaluated on the external validation set. Finally, the evaluation results were compared with the assessments made by spine surgeons for consistency testing.

2.4 Statistical analysis

The DL model was implemented using PyTorch version 2.1.0. Both used open-source code, available on GitHub (San Francisco, CA). All analyses were conducted using SPSS (version 25.0; IBM, Armonk, NY, United States), with differences considered statistically significant (p < 0.05). The consistency test comparing the model with specialist physicians was performed using Cohen’s Kappa. The levels of consistency for Cohen’s Kappa were defined as follows: less than 0.2 indicates poor consistency; 0.21–0.4 indicates fair consistency; 0.41–0.6 indicates moderate consistency; 0.61–0.8 indicates substantial consistency; and greater than 0.8 indicates almost perfect consistency. All code has been uploaded to https://github.com/leekaiyu123/MRI-CS.

3 Results

3.1 Patient data

A total of 756 MR images were collected for this study, sourced from 189 patients. Among these, the training set consisted of 490 images, and the validation set comprised 146 images. There were 279 images for grade 0, 159 images for grade 1, and 198 images for grade 2 in the training and validation set.

3.2 ROI detection model

The ROI detection model was trained using 110 MR images. Visual analysis was conducted in the external control set. All ROI regions in the external validation set were perfectly captured.

3.3 CNN classification model

A total of four CNN classification models were trained, namely DL model 1, DL model 2, DL model 3, and DL model 4. DL model 1 was primarily built using mnasnet_small and achieved 77.4% consistency after seven training epochs. DL model 2 was primarily built using mobilenetv3_small_050 and achieved 76.7% consistency after 34 training epochs. DL model 3 was primarily built using efficientnet_b0 and achieved 76.1% consistency after 10 training epochs. DL model 4 was primarily built using resnest14d and achieved 76.0% consistency after 28 training epochs.

3.4 Combined CNN model validation

The external validation set included 30 patients, with a total of 120 MR images, where there were 43 images for grade 0, 20 images for grade 1, and 57 images for grade 2. The average age of the patients was 56 years ±15 years (34–86), with 19 males and 13 females.

The results analysis was divided into binary classification and three-class classification. The binary classification included cases requiring surgery (grade 1, 2) and cases not requiring surgery (grade 0). In the binary classification, DL version 1 showed the best consistency with the spine surgeons, achieving a Cohen’s Kappa value of 0.874 (CI: 0.661, 1.000). DL version 4 also achieved nearly perfect consistency, with a Cohen’s Kappa value of 0.811 (CI: 0.580, 1.000). DL version 2 and DL version 3 demonstrated substantial consistency, with Cohen’s Kappa values of 0.761 (CI: 0.527, 0.991) and 0.746 (CI: 0.516, 0.977), respectively.

In the three-class classification, DL version 1 showed the best consistency with the spine surgeons, achieving a Cohen’s Kappa value of 0.743 (CI: 0.575, 0.910). DL version 2 and DL version 4 also demonstrated substantial consistency, with Cohen’s Kappa values of 0.615 (CI: 0.431, 0.799) and 0.664 (CI: 0.489, 0.839), respectively.

The results of the consistency test between the four versions of the ensemble model and the assessments made by spine surgeons are listed in Table 2. Figures 2, 3 gave the confusion matrices for binary and three-class classification of the ensemble model compared with the assessment of spine surgeons, respectively.

Table 2
www.frontiersin.org

Table 2. Kappa scores and confidence intervals for the Four DL models.

Figure 2
www.frontiersin.org

Figure 2. Confusion matrix for the binary classification made by spinal surgeons and DL models.

Figure 3
www.frontiersin.org

Figure 3. Confusion matrix for the three-class classification made by spinal surgeons and DL models.

4 Discussion

In this study, we preliminarily built DL models for clinical decision making in cervical degenerative diseases. The model demonstrated a high degree of consistency in clinical decision making with experienced spine surgeon.

There are previous studies based on MRI to diagnose cervical spine degenerative diseases. Yi et al. (2023) proposed a DL model based on T2-weighted MR images for detecting lumbar and cervical spine degenerative diseases. The model was evaluated on an independent cervical spine MRI dataset and achieved F1 scores of 0.931 and 0.919 on sagittal and axial MR images, respectively, showing good generalization ability. The model can be used to aid in diagnosis, but cannot give specific treatment recommendations.

Previous studies also explored DL models to guide the decision of whether surgery was needed. Suzuki et al. (2024) developed a deep learning algorithm based on a CNN model to automatically detect lumbar spinal stenosis requiring surgical treatment in lumbar X-ray images. This model performed excellently in detecting surgical cases of lumbar spinal stenosis, achieving an internal validation AUC of 0.85–0.89 and a detection accuracy of 79–83%. The external validation AUC was 0.90, with an accuracy of 82%. X-rays, as two-dimensional images, have many limitations and cannot accurately assess the degree of nerve compression. MRI is very important imaging data for evaluating whether surgery is necessary.

According to the AOSpine North America and CSRS guidelines, as well as recommendations from the WFNS Spine Committee, surgical treatment was recommended for moderate to severe degenerative cervical myelopathy (mJOA score < 15). No clear guidelines were established for mild of degenerative cervical myelopathy (mJOA score ≥ 15) (Parthiban et al., 2019). In clinical practice, the decision to perform surgery was typically made by spine surgeons based on objective evidence and subjective judgment, which included the patient’s imaging, clinical signs, history, and physical examination. Of course, MRI also served as an important indicator for assessing whether a patient required surgery (Nouri et al., 2017; Severino et al., 2020).

In this study, combined CNN models were used to classify MR images. We used Faster R-CNN as the ROI detection model, Faster R-CNN has the advantages of being able to efficiently generate candidate frames for the target region, and also has a strong generalization ability to maintain efficient detection performance in a variety of real-world applications and can be used in conjunction with various types of convolutional neural networks. Faster R-CNN well accomplished the ROI detection task in this study. Among the CNN classification models, the DL version 1 built using Mnasnet as the framework demonstrated the highest consistency with spine surgeons, showing almost perfect agreement when evaluating the categories of treatment recommendations (Cohen’s Kappa >0.8). As a preliminary exploration of using DL models to guide clinical strategies, this study may provide insights for future DL models to transition from clinical assistance to clinical guidance. At this stage, the proposed DL model can serve as a tool for healthcare professionals who are not spine surgeons to provide recommendations on whether a referral to a spine surgeon is indicated. However, the model still needs to be further verified. If multi-center and large-scale studies can be continued. The model may have the potential to alert patients to prevent serious neurological complications and provide surgical plans for specialist physicians.

There were areas for improvement in the DL model developed for this study. First, as mentioned above, the labels for the data did not have specific standards and relied on subjective judgments from spine surgeons. Although all cases in this study were discussed within the department, they were still influenced by the personal habits of the specialists and the varying standards across different hospitals. Second, the model provided diagnostic and therapeutic recommendations based only on the MRI T2 sequence data and did not take into account the rest of the imaging data, the patient’s clinical symptoms, history, and physical examination. Third, in order to promote the model, more institutions and a larger volume of data were needed to accommodate the different equipment used by various organizations. If a standardized labeling system can be established to reduce subjectivity in data labeling and differences between hospitals, while incorporating various imaging data and clinical information, it would be possible to develop personalized treatment plans based on the specific circumstances of the patients.

5 Conclusion

We initially developed deep learning algorithms that can provide clinical recommendations based on cervical spine MRI. The algorithm shows substantial consistency with experienced spine surgeons.

Data availability statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Ethics statement

Written informed consent was obtained from the individual(s) for the publication of any potentially identifiable images or data included in this article.

Author contributions

K-YL: Conceptualization, Data curation, Formal Analysis, Investigation, Methodology, Resources, Software, Validation, Visualization, Writing – original draft, Writing – review & editing. Z-YL: Data curation, Formal Analysis, Project administration, Validation, Writing – review & editing. Y-HT: Data curation, Formal Analysis, Writing – review & editing. XL: Investigation, Software, Supervision, Writing – review & editing. Y-KZ: Formal Analysis, Validation, Writing – review & editing. J-WQ: Methodology, Writing – review & editing. H-LL: Data curation, Writing – review & editing. Y-LZ: Investigation, Writing – review & editing. J-WH: Data curation, Writing – review & editing. HY: Writing – review & editing. NT: Validation, Visualization, Writing – original draft, Writing – review & editing.

Funding

The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The authors declare that no Generative AI was used in the creation of this manuscript.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Abbreviations

DL, Deep learning; MRI, Magnetic resonance imaging; CNN, Convolutional neural network; ROI, Region of interest.

References

Badhiwala, J. H., Ahuja, C. S., Akbar, M. A., Witiw, C. D., Nassiri, F., Furlan, J. C., et al. (2020). Degenerative cervical myelopathy—update and future directions. Nat. Rev. Neurol. 16, 108–124. doi: 10.1038/s41582-019-0303-0

PubMed Abstract | Crossref Full Text | Google Scholar

Haim, O., Agur, A., Gabay, S., Azolai, L., Shutan, I., Chitayat, M., et al. (2024). Differentiating spinal pathologies by deep learning approach. Spine J. 24, 297–303. doi: 10.1016/j.spinee.2023.09.019

PubMed Abstract | Crossref Full Text | Google Scholar

Khan, A. F., Haynes, G., Mohammadi, E., Muhammad, F., Hameed, S., and Smith, Z. A. (2023). Utility of MRI in quantifying tissue injury in cervical Spondylotic myelopathy. J. Clin. Med. 12:3337. doi: 10.3390/jcm12093337

Crossref Full Text | Google Scholar

Kim, H. J., Tetreault, L. A., Massicotte, E. M., Arnold, P. M., Skelly, A. C., Brodt, E. D., et al. (2013). Differential diagnosis for cervical spondylotic myelopathy: literature review. Spine 38, S78–S88. doi: 10.1097/BRS.0b013e3182a7eb06

Crossref Full Text | Google Scholar

Lannon, M., and Kachur, E. (2021). Degenerative cervical myelopathy: clinical presentation, assessment, and natural history. J. Clin. Med. 10:3626. doi: 10.3390/jcm10163626

Crossref Full Text | Google Scholar

Nouri, A., Martin, A. R., Kato, S., Reihani-Kermani, H., Riehm, L. E., and Fehlings, M. G. (2017). The relationship between MRI signal intensity changes, clinical presentation, and surgical outcome in degenerative cervical myelopathy: analysis of a global cohort. Spine 42, 1851–1858. doi: 10.1097/BRS.0000000000002234

PubMed Abstract | Crossref Full Text | Google Scholar

Nouri, A., Martin, A. R., Mikulis, D., and Fehlings, M. G. (2016). Magnetic resonance imaging assessment of degenerative cervical myelopathy: a review of structural changes and measurement techniques. Neurosurg. Focus. 40:E5. doi: 10.3171/2016.3.FOCUS1667

PubMed Abstract | Crossref Full Text | Google Scholar

Oglesby, M., Fineberg, S. J., Patel, A. A., Pelton, M. A., and Singh, K. (2013). Epidemiological trends in cervical spine surgery for degenerative diseases between 2002 and 2009. Spine 38, 1226–1232. doi: 10.1097/BRS.0b013e31828be75d

Crossref Full Text | Google Scholar

Ong, W., Zhu, L., Zhang, W., Kuah, T., Lim, D. S. W., Low, X. Z., et al. (2022). Application of artificial intelligence methods for imaging of spinal metastasis. Cancers (Basel) 14:4025. doi: 10.3390/cancers14164025

Crossref Full Text | Google Scholar

Parthiban, J., Alves, O. L., Chandrachari, K. P., Ramani, P., and Zileli, M. (2019). Value of surgery and nonsurgical approaches for cervical Spondylotic myelopathy: WFNS spine committee recommendations. Neurospine 16, 403–407. doi: 10.14245/ns.1938238.119

PubMed Abstract | Crossref Full Text | Google Scholar

Qu, B., Cao, J., Qian, C., Wu, J., Lin, J., Wang, L., et al. (2022). Current development and prospects of deep learning in spine image analysis: a literature review. Quant. Imag. Med. Surg. 12, 3454–3479. doi: 10.21037/qims-21-939

PubMed Abstract | Crossref Full Text | Google Scholar

Severino, R., Nouri, A., and Tessitore, E. (2020). Degenerative cervical myelopathy: how to identify the best responders to surgery? J. Clin. Med. 9:759. doi: 10.3390/jcm9030759

Crossref Full Text | Google Scholar

Soufi, K. H., Perez, T. M., Umoye, A. O., Yang, J., Burgos, M., and Martin, A. R. (2022). How is spinal cord function measured in degenerative cervical myelopathy? A systematic review. J. Clin. Med. 11:1441. doi: 10.3390/jcm11051441

Crossref Full Text | Google Scholar

Suzuki, H., Kokabu, T., Yamada, K., Ishikawa, Y., Yabu, A., Yanagihashi, Y., et al. (2024). Deep learning-based detection of lumbar spinal canal stenosis using convolutional neural networks. Spine J. 24, 2086–2101. doi: 10.1016/j.spinee.2024.06.009

PubMed Abstract | Crossref Full Text | Google Scholar

Todd, A. G. (2011). Cervical spine: degenerative conditions. Curr. Rev. Musculoskelet. Med. 4, 168–174. doi: 10.1007/s12178-011-9099-2

PubMed Abstract | Crossref Full Text | Google Scholar

Wilson, J. R., Tetreault, L. A., Kim, J., Shamji, M. F., Harrop, J. S., Mroz, T., et al. (2017). State of the art in degenerative cervical myelopathy: an update on current clinical evidence. Neurosurgery 80, S33–S45. doi: 10.1093/neuros/nyw083

PubMed Abstract | Crossref Full Text | Google Scholar

Yang, X., Zhang, Y., Li, Y., and Wu, Z. (2024). Performance of artificial intelligence in diagnosing lumbar spinal stenosis: a systematic review and meta-analysis. Spine. doi: 10.1097/BRS.0000000000005174. [Epub ahead of print].

PubMed Abstract | Crossref Full Text | Google Scholar

Yi, W., Zhao, J., Tang, W., Yin, H., Yu, L., Wang, Y., et al. (2023). Deep learning-based high-accuracy detection for lumbar and cervical degenerative disease on T2-weighted MR images. Eur. Spine J. 32, 3807–3814. doi: 10.1007/s00586-023-07641-4

PubMed Abstract | Crossref Full Text | Google Scholar

Keywords: deep learning, convolutional neural network, magnetic resonance imaging, cervical spine degenerative diseases, clinical decision

Citation: Li K-Y, Lu Z-Y, Tian Y-H, Liu X-P, Zhang Y-K, Qiu J-W, Li H-L, Zhang Y-L, Huang J-W, Ye H-B and Tian NF (2024) Deep learning models for MRI-based clinical decision support in cervical spine degenerative diseases. Front. Neurosci. 18:1501972. doi: 10.3389/fnins.2024.1501972

Received: 26 September 2024; Accepted: 22 November 2024;
Published: 06 December 2024.

Edited by:

Muthuraju Sangu, Universiti Sains Malaysia Health Campus, Malaysia

Reviewed by:

Arshiya Parveen, Houston Methodist Research Institute, United States
Miltiadis Georgiopoulos, McGill University, Canada
Sajeev Sridhar, Houston Methodist Research Institute, United States

Copyright © 2024 Li, Lu, Tian, Liu, Zhang, Qiu, Li, Zhang, Huang, Ye and Tian. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Nai Feng Tian, dGlhbm5haWZlbmdAMTYzLmNvbQ==

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.