DOI: 10.3390/life16071061 ISSN: 2075-1729

Using Machine Learning-Based Classification of Postural Stability in Cervicogenic Headache Patients: Predictors and Clinical Implications

Mohamed Abdelaziz Emam, Magda Ramadan, Andras Attila Horvath, Ahmed M. Kadry, Gergo Bolla, Fatma S. Amin, Ahmed S. A. Youssef

Background: Cervicogenic headache (CEH) is a secondary headache disorder originating from dysfunction in the cervical spine. In addition to pain, individuals with CEH frequently experience disturbances in postural control and sensorimotor integration, which may compromise functional capacity and quality of life. Conventional clinical assessments typically focus on pain intensity and cervical range of motion; however, these measures often fail to capture the multifactorial mechanisms underlying balance impairments in this population. Machine learning (ML) methods offer the ability to integrate multidimensional clinical data and may provide a more comprehensive approach for identifying patterns of postural stability and the factors influencing balance regulation in CEH. Methods: A secondary analysis was conducted using baseline data pooled from three registered randomized controlled trials, comprising 68 independent participants diagnosed by a neurologist according to the International Classification of Headache Disorders, 3rd edition (ICHD-3). Postural Stability Class served as the primary outcome and was derived from quantitative stability scores categorized as High, Moderate, or Low. Predictor variables included demographic characteristics (age, gender), clinical measures (pain intensity, headache frequency, symptom duration, cervical range of motion), and sensorimotor parameters (center-of-pressure sway and gaze accuracy). Five machine learning algorithms—Random Forest, XGBoost, Support Vector Machine, Logistic Regression, and Gradient Boosting—were trained and evaluated using 10-fold cross-validation with procedures implemented to reduce overfitting. Results: The Gradient Boosting classifier demonstrated the best performance, achieving an accuracy of 0.857 and an F1 score of 0.857, with a cross-validated accuracy of 0.802 ± 0.063. Random Forest and XGBoost achieved accuracies of 0.786. Feature importance analysis identified center-of-pressure sway and pain intensity as the most influential predictors of stability classification, followed by cervical flexion range of motion and gaze accuracy. Demographic variables showed minimal contribution to model performance. Conclusions: Machine learning models were able to distinguish different levels of postural stability in individuals with CEH. The findings highlight the central role of pain and sensorimotor control in balance regulation and suggest that predictive analytics may support precision physiotherapy by enabling rehabilitation strategies tailored to individual sensorimotor profiles.

More from our Archive