Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Dec 13;166(7):1622-1630.
doi: 10.1097/j.pain.0000000000003497.

Signatures of chronic pain in multiple sclerosis: a machine learning approach to investigate trigeminal neuralgia

Affiliations

Signatures of chronic pain in multiple sclerosis: a machine learning approach to investigate trigeminal neuralgia

Timur H Latypov et al. Pain. .

Abstract

Chronic pain is a pervasive, disabling, and understudied feature of multiple sclerosis (MS), a progressive demyelinating and neurodegenerative disease. Current focus on motor components of MS disability combined with difficulties assessing pain symptoms present a challenge for the evaluation and management of pain in MS, highlighting the need for novel methods of assessment of neural signatures of chronic pain in MS. We investigate chronic pain in MS using MS-related trigeminal neuralgia (MS-TN) as a model condition focusing on gray matter structures as predictors of chronic pain. T1 imaging data from people with MS (n = 75) and MS-TN (n = 77) using machine learning (ML) was analyzed to derive imaging predictors at the level of cortex and subcortical gray matter. The ML classifier compared imaging metrics of patients with MS and MS-TN and distinguished between these conditions with 93.4% individual average testing accuracy. Structures within default-mode, somatomotor, salience, and visual networks (including hippocampus, primary somatosensory cortex, occipital cortex, and thalamic subnuclei) were identified as significant imaging predictors of trigeminal neuralgia pain. Our results emphasize the multifaceted nature of chronic pain and demonstrate the utility of imaging and ML in assessing and understanding MS-TN with greater objectivity.

Keywords: Brain imaging; Chronic pain; Machine learning; Multiple sclerosis; Trigeminal neuralgia.

PubMed Disclaimer

Conflict of interest statement

The authors have no conflicts of interest to declare.

Sponsorships or competing interests that may be relevant to content are disclosed at the end of this article.

Figures

Figure 1.
Figure 1.
Data processing and analysis pipeline. Magnetic resonance imaging (MRI) data were processed using FreeSurfer (A), gray matter metrics were corrected for the difference in head size and used for the ML-driven analysis. Machine learning pipeline (B) includes unsupervised (t-SNE) and supervised (SVM) ML components and illustrates nested cross-validation scheme for training, optimising, and testing model. ML, machine learning; SVM, support vector machine; t-SNE, t-distributed stochastic neighbor embedding.
Figure 2.
Figure 2.
T-distributed stochastic neighbor embedding (t-SNE) clustering of the data (perplexity = 5), where each point represents a different patient from the dataset and the hue in each of the 4 subplots, corresponds to different variables that were tested because of their potential to be confounders. (A) Diagnosis, (B) sex, (C) scanner, (D) duration of MS in years, and (E) age (decades). The axes on each subplot are arbitrary. MS, multiple sclerosis.
Figure 3.
Figure 3.
Average receiver operating characteristic (ROC) curve of individual point-wise predictions (A and B) confusion matrix visualizing the total performance of the model. The average area under the ROC curve is 0.98, indicating that the model is correctly categorizing the data significantly higher than random chance; the dotted line illustrates a random sorting curve, and the gray curves show performance of individual folds. (C) Top features according to the weight attributed by the SVM classifier. Y-axis represents unitless feature importance (coefficient), assigned to it by the SVM model. Features were included if selected by the model during at least 5 of the 10 cross-validation folds of training; the number in the circle above each feature represents the number of times out of 10 it was selected. Features are coloured according to the specific brain network—default mode, somatomotor, salience, control, visual networks, and gyral structures (not classified). A, area; CUN, cuneus; FUG, fusiform gyrus; HG, Heschl gyrus; INFCRINS, inferior circular sulci of the insula; L, left hemisphere; L-SG, limitans suprageniculate thalamic nucleus; MDm, medial mediodorsal thalamic nucleus; PuI, pulvinar inferior thalamic nucleus; PERCAS, pericallosal sulcus; RG, gyrus rectus; R, right hemisphere; S1, postcentral gyrus; SVM; support vector machine; SUPFS, superior frontal sulcus; T, thickness; TOS, superior occipital sulcus and transverse occipital sulcus; V, volume; VM, ventral medial thalamic nucleus; VPL, ventral posterolateral thalamic nucleus.
Figure 4.
Figure 4.
Visualization of the univariate statistics of important predictive features, mapped according to the corrected size of the region in MS-TN (blue) vs MS (orange) patients to assess directionality. Features are organized in terms of the dimension they were selected for, with (A) visualizing cortical surface area, (B) visualizing cortical thickness, and (C) visualizing subcortical volume. The corrected P-values are listed above each feature in accordance with the legend on the right, only significant features are displayed (***P < 0.001, **P < 0.01, *P < 0.05). Log scale is used for visualization. MS, multiple sclerosis; TN, trigeminal neuralgia.

References

    1. Alshelh Z, Brusaferri L, Saha A, Morrissey E, Knight P, Kim M, Zhang Y, Hooker JM, Albrecht D, Torrado-Carvajal A, Placzek MS, Akeju O, Price J, Edwards RR, Lee J, Sclocco R, Catana C, Napadow V, Loggia ML. Neuroimmune signatures in chronic low back pain subtypes. Brain 2022;145:1098–110. - PMC - PubMed
    1. Atlas LY, Wager TD. How expectations shape pain. Neurosci Lett 2012;520:140–8. - PubMed
    1. Bakas S, Reyes M, Jakab A, Bauer S, Rempfler M, Crimi A, Shinohara RT, Berger C, Ha SM, Rozycki M, Prastawa M, Alberts E, Lipkova J, Freymann J, Kirby J, Bilello M, Fathallah-Shaykh H, Wiest R, Kirschke J, Wiestler B, Colen R, Kotrotsou A, Lamontagne P, Marcus D, Milchenko M, Nazeri A, Weber MA, Mahajan A, Baid U, Gerstner E, Kwon D, Acharya G, Agarwal M, Alam M, Albiol A, Albiol A, Albiol FJ, Alex V, Allinson N, Amorim PHA, Amrutkar A, Anand G, Andermatt S, Arbel T, Arbelaez P, Avery A, Azmat M, Pranjal B, Bai W, Banerjee S, Barth B, Batchelder T, Batmanghelich K, Battistella E, Beers A, Belyaev M, Bendszus M, Benson E, Bernal J, Bharath HN, Biros G, Bisdas S, Brown J, Cabezas M, Cao S, Cardoso JM, Carver EN, Casamitjana A, Castillo LS, Catà M, Cattin P, Cerigues A, Chagas VS, Chandra S, Chang YJ, Chang S, Chang K, Chazalon J, Chen S, Chen W, Chen JW, Chen Z, Cheng K, Choudhury AR, Chylla R, Clérigues A, Colleman S, Colmeiro RGR, Combalia M, Costa A, Cui X, Dai Z, Dai L, Daza LA, Deutsch E, Ding C, Dong C, Dong S, Dudzik W, Eaton-Rosen Z, Egan G, Escudero G, Estienne T, Everson R, Fabrizio J, Fan Y, Fang L, Feng X, Ferrante E, Fidon L, Fischer M, French AP, Fridman N, Fu H, Fuentes D, Gao Y, Gates E, Gering D, Gholami A, Gierke W, Glocker B, Gong M, González-Villá S, Grosges T, Guan Y, Guo S, Gupta S, Han WS, Han IS, Harmuth K, He H, Hernández-Sabaté A, Herrmann E, Himthani N, Hsu W, Hsu C, Hu X, Hu X, Hu Y, Hu Y, Hua R, Huang TY, Huang W, Van Huffel S, Huo Q, Hv V, Iftekharuddin KM, Isensee F, Islam M, Jackson AS, Jambawalikar SR, Jesson A, Jian W, Jin P, Jose VJM, Jungo A, Kainz B, Kamnitsas K, Kao PY, Karnawat A, Kellermeier T, Kermi A, Keutzer K, Khadir MT, Khened M, Kickingereder P, Kim G, King N, Knapp H, Knecht U, Kohli L, Kong D, Kong X, Koppers S, Kori A, Krishnamurthi G, Krivov E, Kumar P, Kushibar K, Lachinov D, Lambrou T, Lee J, Lee C, Lee Y, Lee M, Lefkovits S, Lefkovits L, Levitt J, Li T, Li H, Li W, Li H, Li X, Li Y, Li H, Li Z, Li X, Li Z, Li X, Li W, Lin ZS, Lin F, Lio P, Liu C, Liu B, Liu X, Liu M, Liu J, Liu L, Llado X, Lopez MM, Lorenzo PR, Lu Z, Luo L, Luo Z, Ma J, Ma K, Mackie T, Madabushi A, Mahmoudi I, Maier-Hein KH, Maji P, Mammen C, Mang A, Manjunath BS, Marcinkiewicz M, McDonagh S, McKenna S, McKinley R, Mehl M, Mehta S, Mehta R, Meier R, Meinel C, Merhof D, Meyer C, Miller R, Mitra S, Moiyadi A, Molina-Garcia D, Monteiro MAB, Mrukwa G, Myronenko A, Nalepa J, Ngo T, Nie D, Ning H, Niu C, Nuechterlein NK, Oermann E, Oliveira A, Oliveira DDC, Oliver A, Osman AFI, Ou Y-N, Ourselin S, Paragios N, Park MS, Paschke B, Pauloski JG, Pawar K, Pawlowski N, Pei L, Peng S, Pereira SM, Perez-Beteta J, Perez-Garcia VM, Pezold S, Pham B, Phophalia A, Piella G, Pillai GN, Piraud M, Pisov M, Popli A, Pound MP, Pourreza R, Prasanna P, Prkovska V, Pridmore TP, Puch S, Puybareau É, Qian B, Qiao X, Rajchl M, Rane S, Rebsamen M, Ren H, Ren X, Revanuru K, Rezaei M, Rippel O, Rivera LC, Robert C, Rosen B, Rueckert D, Safwan M, Salem M, Salvi J, Sanchez I, Sánchez I, Santos HM, Sartor E, Schellingerhout D, Scheufele K, Scott MR, Scussel AA, Sedlar S, Serrano-Rubio JP, Shah NJ, Shah N, Shaikh M, Shankar BU, Shboul Z, Shen H, Shen D, Shen L, Shen H, Shenoy V, Shi F, Shin HE, Shu H, Sima D, Sinclair M, Smedby O, Snyder JM, Soltaninejad M, Song G, Soni M, Stawiaski J, Subramanian S, Sun L, Sun R, Sun J, Sun K, Sun Y, Sun G, Sun S, Suter YR, Szilagyi L, Talbar S, Tao D, Tao D, Teng Z, Thakur S, Thakur MH, Tharakan S, Tiwari P, Tochon G, Tran T, Tsai YM, Tseng KL, Tuan TA, Turlapov V, Tustison N, Vakalopoulou M, Valverde S, Vanguri R, Vasiliev E, Ventura J, Vera L, Vercauteren T, Verrastro CA, Vidyaratne L, Vilaplana V, Vivekanandan A, Wang G, Wang Q, Wang CJ, Wang W, Wang D, Wang R, Wang Y, Wang C, Wang G, Wen N, Wen X, Weninger L, Wick W, Wu S, Wu Q, Wu Y, Xia Y, Xu Y, Xu X, Xu P, Yang TL, Yang X, Yang HY, Yang J, Yang H, Yang G, Yao H, Ye X, Yin C, Young-Moxon B, Yu J, Yue X, Zhang S, Zhang A, Zhang K, Zhang X, Zhang L, Zhang X, Zhang Y, Zhang L, Zhang J, Zhang X, Zhang T, Zhao S, Zhao Y, Zhao X, Zhao L, Zheng Y, Zhong L, Zhou C, Zhou X, Zhou F, Zhu H, Zhu J, Zhuge Y, Zong W, Kalpathy-Cramer J, Farahani K, Davatzikos C, van Leemput K, Menze B. Identifying the best machine learning algorithms for brain tumor segmentation, progression assessment, and overall survival prediction in the BRATS challenge. bioarxiv publication, 2018;124. Available at: http://arxiv.org/abs/1811.02629. Accessed April 23, 2019
    1. Ben-Hur A, Weston J. A user's guide to support vector machines. In: Carugo O, Eisenhaber F, editors. Data mining techniques for the life sciences. Totowa: Humana Press, 2010. p. 223–39. - PubMed
    1. Biesiada J, Duch W, Duch W. Feature selection for high-dimensional data—a Pearson redundancy based filter. In: Computer recognition systems 2, 2008. Available at: 10.1007/978-3-540-75175-5_30. Accessed October 18, 2007. - DOI