Machine Learning-Based Prediction of Sleep Quality in Patients with Multiple Sclerosis
Authors:
- Laura-Elena CucuLCLaura-Elena Cucu
- Laura-Cristina BaciuLBLaura-Cristina Baciu
- Oriana-Maria OnicescuOOOriana-Maria Onicescu
- Bogdan-Emilian IgnatBIBogdan-Emilian Ignat
- Alina SăcărescuASAlina Săcărescu
- Andra OanceaAOAndra Oancea
- Cristina GrosuCGCristina Grosu
- Costin ChiricaCostin Chirica
- Gabriela PopescuGabriela Popescu
- Alexandra MașTaleruAMAlexandra MașTaleru
- Robert-Valentin BîlcuRBRobert-Valentin Bîlcu
- Andreea MustațăAMAndreea Mustață
Open Access
- 14 August 2026
- journal article
- research article
- Published by MDPI AG in Medical Sciences
- Vol. 14 (4) , 483
Abstract
Background/Objectives: Sleep disturbances are common but frequently underrecognized in multiple sclerosis (MS), independently predicting reduced quality of life and worsening fatigue, cognitive impairment, and depression. While pain, nocturia, fatigue, and mood symptoms are established contributors, cardiometabolic, and inflammatory factors remain largely unexplored despite their known links to poor sleep in other populations. This study used interpretable machine learning to determine the relative contribution of disease-related, cardiometabolic, and inflammatory parameters to sleep quality, assessed by the PSQI, in patients with MS. Methods: This cross-sectional, observational, single-center cohort study enrolled adult patients with MS. Sleep quality (PSQI), daytime sleepiness (ESS), and restless legs syndrome severity (IRLS) were assessed alongside clinical, anthropometric, hemodynamic, and laboratory parameters, including inflammatory and metabolic indices. Three regression models, Support Vector Regression (SVR), Random Forest, and XGBoost, were trained on 28 predictors to predict PSQI global scores and evaluated on an internal test set, with feature contributions examined using SHAP analysis. Results: A total of 173 patients with MS were included (mean age 39.66 ± 11.86 years, 69.9% female, 90.2% RRMS), with 48.0% classified as poor sleepers (PSQI > 5) and a mean PSQI score of 6.06 ± 3.47. XGBoost achieved the best predictive performance (test R2 = 0.451). SHAP analysis identified IRLS severity as the strongest predictor of PSQI across all three models, followed by EDSS score and depression in the Random Forest and XGBoost models, while daytime sleepiness (ESS) ranked consistently among the top predictors. Cardiometabolic and inflammatory parameters contributed inconsistently, with several showing effects opposite to physiological expectation. Conclusions: Sleep impairment in MS was most strongly associated with restless legs syndrome severity and neurological disability, with depression also contributing in the two best-performing models. Disease-related and symptomatic factors outweighed cardiometabolic and inflammatory contributions. These findings support the value of interpretable machine learning for identifying clinically relevant correlates of sleep quality in MS, though the exploratory design and modest sample size warrant confirmation in larger, independent cohorts.Keywords
All Related Versions
Funding Information
- Universitatea de Medicina și Farmacie Grigore T. Popa - Iasi
This publication has 51 references indexed in Scilit:
- Prevalence of restless legs syndrome in patients with multiple sclerosis, as confirmed by sleep disorders specialistsJournal of Neurology, 2026
- The use of high-efficacy disease-modifying therapies in multiple sclerosis: recommendations from an expert Delphi consensusJournal of Neurology, 2025
- Research progress in sleep disorders associated with multiple sclerosisMultiple Sclerosis and Related Disorders, 2025
- Sleep quality in multiple sclerosis: A systematic review and meta-analysis based on Pittsburgh Sleep Quality IndexMultiple Sclerosis and Related Disorders, 2024
- The prevalence of restless legs syndrome (RLS) in patients with multiple sclerosis (MS): a systematic review and meta-analysis—an updateNeurological Sciences, 2022
- Sleep and Metabolic SyndromeNursing Clinics of North America, 2021
- Restless legs syndrome/Willis–Ekbom disease diagnostic criteria: updated International Restless Legs Syndrome Study Group (IRLSSG) consensus criteria – history, rationale, description, and significanceSleep Medicine, 2014
- Prevalence of ‘poor sleep’ among patients with multiple sclerosis: An independent predictor of mental and physical statusSleep Medicine, 2009
- Inflammation, demyelination, neurodegeneration and neuroprotection in the pathogenesis of multiple sclerosisJournal of Neuroimmunology, 2007
- The Pittsburgh sleep quality index: A new instrument for psychiatric practice and researchPsychiatry Research, 1989