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
[Preprint]. 2025 Jul 18:2024.10.15.24315574.
doi: 10.1101/2024.10.15.24315574.

Using expert-cited features to detect leg dystonia in cerebral palsy

Affiliations

Using expert-cited features to detect leg dystonia in cerebral palsy

Rishabh Bajpai et al. medRxiv. .

Abstract

Objectives: Leg dystonia in cerebral palsy (CP) is debilitating but remains underdiagnosed. Routine clinical evaluation has only 12% accuracy for leg dystonia diagnosis compared to gold-standard expert consensus assessment. We determined whether expert-cited leg dystonia features could be quantified to train machine learning (ML) models to detect leg dystonia in videos of children with CP.

Methods: Eight pediatric movement disorders physicians assessed 298 videos of children with CP performing a seated task at two CP centers. We extracted leg dystonia features cited by these experts during consensus-building discussions, quantified these features in videos, used these quantifications to train 4664 ML models on 163 videos from one center, and tested the best performing models on a separate set of 135 videos from both centers.

Results: We identified 69 quantifiable features corresponding to 12 expert-cited leg dystonia features. ML models trained using these quantifications achieved 88% sensitivity, 74% specificity, 82% positive predictive value, 84% negative predictive value, and 82% accuracy for identifying leg dystonia across both centers. Of the 25 features contributing to the best performing ML models, 17 (68%) quantified leg movement variability. We used these ML models to develop DxTonia, open-source software that identifies leg dystonia in videos of children with CP.

Interpretation: DxTonia primarily leverages detection of leg movement variability to achieve 82% accuracy in identifying leg dystonia in children with CP, a significant improvement over routine clinical diagnostic accuracy of 12%. Observing or quantifying leg movement variability during a seated task can facilitate leg dystonia detection in CP.

PubMed Disclaimer

Conflict of interest statement

Potential Conflicts of interest The authors have no conflicts of interest to disclose.

Figures

Figure 1.
Figure 1.. Training, validation, and testing of machine-learning diagnostic model for leg dystonia.
We divided the full video dataset five times into different subsets for training (2/3 of the dataset), validation (1/6 of the dataset), and testing (1/6 of the dataset) to generate five different dataset groupings. We then conducted training and validation five times within each of the dataset groupings, using different subsets for training and validation each time.
Figure 2.
Figure 2.
Frequencies of quantifiable movements cited by experts when diagnosing dystonia.
Figure 3.
Figure 3.. Comparison of the mean importance ranking of variance, minimum, and maximum features.
Features were ranked from 1 (highest importance) to 69 (lowest importance). The mean feature importance ranking for variance features was significantly better than the mean rankings for minimum and maximum features (one-way ANOVA, *p < 0.005). Whiskers indicate the interquartile range, the upper and lower edges of the boxes represent the 75th and the 25th percentile of the distribution, respectively, and the red middle line represents the median of the distribution.
Figure 4.
Figure 4.. The mean NPV and specificity of ML models when trained on different numbers of top-ranked features.
The black points denote the best performing model for each of the five dataset groupings of the full dataset. The x-axis represents the number of features used for training and validation the modles. The y-axis represents the mean validation NPV and specificity of the best-performing ML model (out of 4664 models) when trained on the selected number of features.

References

    1. Albanese A. et al. Definition and Classification of Dystonia. Mov. Disord. (2025) doi: 10.1002/MDS.30220;CTYPE:STRING:JOURNAL. - DOI - PMC - PubMed
    1. Mclntyre S. et al. Global prevalence of cerebral palsy: A systematic analysis. Dev. Med. Child Neurol. 64, 1494–1506 (2022). - PMC - PubMed
    1. Rice J., Skuza P., Baker F., Russo R. & Fehlings D. Identification and measurement of dystonia in cerebral palsy. Dev. Med. Child Neurol. 59, 1249–1255 (2017). - PubMed
    1. Steeves T. D., Day L., Dykeman J., Jette N. & Pringsheim T. The prevalence of primary dystonia: A systematic review and meta-analysis. Mov. Disord. 27, 1789–1796 (2012). - PubMed
    1. Fehlings D. et al. Pharmacological and neurosurgical management of cerebral palsy and dystonia: Clinical practice guideline update. Dev. Med. Child Neurol. (2024) doi: 10.1111/DMCN.15921. - DOI - PMC - PubMed

Publication types

LinkOut - more resources