Preprint
Article

This version is not peer-reviewed.

Predicting Freezing of Gait in Parkinson’s Disease: A Machine Learning-Based Approach in ON and OFF Medication States

A peer-reviewed article of this preprint also exists.

Submitted:

03 March 2025

Posted:

04 March 2025

Read the latest preprint version here

Abstract
Freezing of Gait (FoG) is a debilitating motor symptom of Parkinson’s Disease (PD), characterized by sudden episodes where patients struggle to initiate or sustain movement, often describing a sensation of their feet being “glued to the ground.” This study investigates the potential of machine learning (ML) models to predict FoG severity in PD patients, focusing on the influence of dopaminergic medication by comparing gait parameters in ON and OFF medication states. Specifically, we employ spatiotemporal gait features to develop a predictive model for FoG episodes, leveraging a Random Forest Regressor to identify the most influential gait parameters associated with FoG severity in each medication state. The results indicate that the model achieved higher predictive performance in the OFF-medication condition (R² = 0.82, MAE = 2.25, MSE = 15.23) compared to the ON-medication condition (R² = 0.52, MAE = 4.16, MSE = 42.00). These findings suggest that dopaminergic treatment alters gait dynamics, potentially reducing the reliability of FoG predictions when patients are medicated. Feature importance analysis further highlights distinct gait characteristics that contribute to FoG prediction depending on medication status. In the OFF condition, step length asymmetry and stride variability emerged as dominant predictors, while in the ON condition, changes in gait rhythm and stepping frequency became more prominent, reflecting medication-induced compensatory adjustments. These findings underscore the need for predictive models that account for medication-induced gait variability, ensuring more reliable FoG detection. By integrating spatiotemporal gait analysis and ML-based prediction, this study contributes to the development of personalized intervention strategies for PD patients experiencing freezing episodes.
Keywords: 
;  ;  ;  ;  

1. Introduction

Freezing of Gait (FoG) is a prevalent and debilitating symptom of Parkinson’s disease (PD), characterized by sudden episodes in which patients are unable to initiate or sustain movement, often feeling as if their feet are ’glued to the ground’ [1,2]. These episodes significantly impair mobility and increase the risk of falls, making FoG a major challenge in PD management. The underlying pathophysiology of FoG is complex, involving disruptions in neural circuits responsible for gait control, particularly within the basal ganglia and supplementary motor areas [3,4]. While dopaminergic therapies, such as levodopa, alleviate many PD motor symptoms, their effectiveness in treating FoG is inconsistent, a phenomenon known as the “levodopa paradox” [1,5]. This inconsistency underscores the need for alternative approaches to predict and manage FoG, particularly by analyzing spatiotemporal gait parameters that capture subtle gait disturbances.
Recent advances in machine learning (ML) have provided powerful tools for analyzing complex gait datasets, allowing researchers to detect patterns that may not be evident through traditional statistical approaches [6,7]. By integrating spatiotemporal gait data collected from wearable sensors, predictive models can assess gait dynamics across different states of medications, providing deeper insight into how medication modulates gait and contributes to FoG episodes [6,8]. This study explores the potential of ML-based approaches to predict the severity of FoG in PD patients, focusing on the differences in gait parameters between the ON and OFF medication states. The findings may contribute to the development of more precise and individualized rehabilitation strategies for PD patients experiencing FoG.
Understanding the impact of medication on gait variability is essential to improve the prediction and management of FoG. The primary aim of this study was to predict FoG using spatiotemporal gait parameters and assess the effectiveness of gait-based models in identifying FoG episodes in individuals with PD. Additionally, the study sought to investigate whether the predictive performance of FoG differs between ON and OFF medication conditions, evaluating the influence of dopaminergic treatment on gait-related FoG prediction. A further objective was to examine how spatiotemporal gait variations contribute to FoG prediction, determining whether specific gait characteristics hold different predictive relevance depending on medication status.
The structure of this paper is as follows: Section 2 presents a review of related work, providing an overview of previous studies on FoG, the impact of dopaminergic treatment on gait, and advancements in machine learning-based prediction models. Section 3 outlines the research methodology, including data collection, preprocessing, and the application of a Random Forest Regressor to analyze spatiotemporal gait parameters. Section 4 details the results, comparing the model’s predictive performance across ON and OFF medication states, with an emphasis on the influence of specific gait parameters. In Section 5, the discussion interprets the findings in the context of the levodopa paradox and examines the clinical implications of medication-induced gait variability. Lastly, Section 6 concludes the study by summarizing key insights, highlighting limitations, and suggesting directions for future research to enhance FoG prediction and intervention strategies in PD.

2. Related Work

FoG is a complex and debilitating symptom of Parkinson’s Disease (PD), characterized by intermittent episodes in which patients experience an inability to initiate or maintain movement. Research has extensively documented the spatiotemporal gait parameters associated with FoG and the effects of dopaminergic medications on these parameters. For instance, studies have shown that dopaminergic therapy can lead to significant changes in gait dynamics, with variations in stride length, swing time, and step width being particularly pronounced in patients with a history of FoG [1,9]. The "levodopa paradox" illustrates that while dopaminergic medications can alleviate many motor symptoms, they often fail to adequately address FoG, leading to a need for alternative predictive models that can account for these inconsistencies [10,11].
Recent advances in ML and wearable technology have opened new avenues for predicting FoG episodes by analyzing gait characteristics in real-time. For example, Borzi et al. (2021) demonstrated the potential of wearable sensors to capture gait patterns preceding FoG episodes, allowing for timely interventions [6]. Similarly, studies have highlighted the effectiveness of various cue strategies, such as tactile and auditory cues, in mitigating symptoms of FoG during gait tasks [12,13,14]. These interventions leverage the understanding that external cues can facilitate movement initiation and improve gait performance, particularly in challenging situations such as turning or navigating obstacles [15,16,17].
The neural mechanisms underlying FoG have also been a focal point of research. Investigations into the cholinergic system have revealed that cholinergic degeneration correlates with gait impairments in PD, suggesting that cognitive factors may exacerbate gait disturbances [18,19]. Furthermore, neuroimaging studies have provided insights into the structural and functional changes in brain networks associated with FoG, indicating that disruptions in the basal ganglia and supplementary motor areas play a critical role in the manifestation of this symptom [3,4,20]. These findings underscore the multifaceted nature of FoG, which is influenced by both motor and cognitive domains.
Furthermore, the impact of dual tasks on gait performance has been extensively studied, revealing that cognitive load can significantly impair gait stability and increase the probability of FoG episodes [21]. For instance, Spildooren et al. (2010) noted that individuals with FoG exhibited greater gait asymmetry and variability when engaged in dual-task conditions, highlighting the importance of attentional resources in maintaining gait control [15]. This aligns with the findings of Shine et al. (2013), which indicated that concurrent cognitive tasks can alter neural activation patterns, further complicating FoG treatment in patients with PD [22].
Emerging research on postural control has provided further insights into mobility impairments in PD. Mangalam et al. (2024) examined the directional characteristics of postural sway in young adults, older adults, and individuals with PD, utilizing oriented fractal scaling component analysis (OFSCA) [23]. Their findings revealed that while healthy young adults control posture along traditional anteroposterior and mediolateral axes, older adults and individuals with PD exhibit sway along suborthogonal directions that significantly deviate from these axes. This deviation suggests altered temporal structures of sway variability, indicative of postural deficits that extend beyond age-related changes alone. Notably, individuals with PD displayed a threefold increase in sway variability compared to healthy older adults, underscoring the profound impact of neurodegeneration on postural control.
The integration of wearable sensors and ML techniques has also been explored for predicting fall risk among PD patients, as FoG episodes are a major contributor to falls. Given that FoG is often accompanied by sudden movement cessation and postural instability, identifying gait patterns associated with these episodes can provide crucial insights into fall susceptibility. By leveraging ML-based models to analyze gait variability and postural sway, researchers aim to enhance fall risk assessment and develop targeted interventions to mitigate the likelihood of falls in individuals with PD. Sotirakis et al. (2024) conducted a five-year longitudinal study assessing 104 PD participants using wearable sensors during walking and postural sway examinations. Their findings indicated that walking and postural variability are significant predictors of future falls, with a Random Forest classifier achieving an accuracy of 78% at 60 months. Incorporating demographic factors, particularly age, further improved the predictive performance of their model, highlighting the potential of objective kinematic data in enhancing fall risk assessment and management strategies [24].
Postural sway variability has also been studied as a biomarker for PD progression. Kiyono, Mangalam and Stergiou (2024) found that people with PD exhibit a highly deterministic structure in their postural sway, leading to more rigid and predictable behaviors compared to their healthy counterparts. Their research suggests that patients with PD show a pronounced insensitivity to tasks-related changes in postural stability, indicating reliance on inflexible control strategies. These findings reinforce the importance of postural control in PD diagnostics and patient management [23].
Recent advancements in artificial intelligence have greatly enhanced the understanding of PD-related motor symptoms, such as bradykinesia and tremor, which are closely associated with gait disturbances and the onset of FoG. To deepen domain-specific knowledge, researchers have leveraged ontology-based methodologies and Large Language Models (LLMs) to systematically characterize these symptoms and their effects on movement. By structuring and integrating clinical and biomechanical data, these approaches improve the prediction and monitoring of FoG episodes, particularly in relation to medication states and individual patient responses. Bouchouras et al. (2024) introduced X-HCOME, a hybrid ontology engineering methodology that combines the computational capabilities of LLM with human expertise to enhance the efficiency and precision of ontology generation for PD monitoring. Their study focused on detecting bradykinesia and tremor, two hallmark motor impairments of the disease, demonstrating that LLM-assisted ontology development significantly improves class generation and predictive performance [25]. Similarly, Doumanas et al. (2025) explored the role of LLMs in collaborative ontology engineering, highlighting that while LLMs expedite ontology construction, human expertise remains essential for maintaining logical consistency and domain-specific precision [26]. Building on these advancements, ontology-driven methodologies can play a crucial role in predicting FoG in PD by structuring gait-related features for ML-based models. Since bradykinesia and tremor—two impairments studied by Bouchouras et al. (2024)—are closely linked to FoG, their ontology-based classification can enhance feature selection and model interpretability. By integrating LLM-assisted ontology generation, ML models can better capture clinically relevant gait alterations, ensuring a more precise and context-aware FoG prediction framework.
In summary, integration of ML techniques with spatiotemporal gait analysis presents a promising approach to predict the severity of FoG in PD. By understanding the complex interaction between medication status, cognitive load, and gait parameters, researchers can develop more effective predictive models and interventions aimed at improving mobility and reducing the risk of falls in individuals with Parkinson’s disease. Although previous studies have examined the effects of dopaminergic medication, wearable sensors, and cue strategies on FoG, there is limited research on how spatiotemporal gait features contribute to FoG prediction in ON and OFF medication states. Existing models often do not differentiate between these conditions, potentially overlooking medication-induced gait variability. By applying ML to analyze spatiotemporal gait characteristics separately for the ON and OFF states, this study explores whether different gait features contribute differently to FoG prediction in each condition. Understanding these differences may provide insights into the role of medication in gait mechanics and help refine predictive models for more targeted intervention strategies.

3. Research Methodology

3.1. Data Collection

This study utilizes a publicly available dataset collected by Shida et al. (2023) 1, which provides full-body kinematics and kinetics of individuals with PD [27]. The dataset includes 26 PD patients, aged between 44 and 81 years, with varying disease severity classified using the Hoehn & Yahr scale (stages 1–4). Among them, 13 participants exhibited FoG. Participants were on a stable dose of L-DOPA, and gait data were recorded in two conditions: ON and OFF medication. The study was carried out at the Laboratory of Biomechanics and Motor Control of the Federal University of ABC, Brazil, with ethical approval of the local Ethics Committee. Comprehensive clinical assessments were performed to evaluate motor and cognitive function, including the Unified PD Rating Scale (UPDRS-II & III), New FoG Questionnaire (NFoG-Q), Mini-BESTest, and Fall Efficacy Scale (FES-I), among others. These assessments ensured a detailed characterization of gait dysfunction in the participants, providing valuable clinical context to the collected gait data. Gait data collection involved barefoot overground walking trials along a 20-meter walkway at a self-selected comfortable speed. Each participant completed 20 walking trials while being recorded using a 12-camera motion capture system (Raptor-4, Motion Analysis Corp.) at 150 Hz. Ground reaction forces (GRFs) were measured using five embedded force plates, sampled at 300 Hz. A 44-marker set was placed on anatomical landmarks based on International Society of Biomechanics (ISB) guidelines, and a T-pose calibration trial was conducted for baseline posture assessment. Heel-strike and toe-off events were automatically detected using a marker velocity-based algorithm to ensure accurate gait cycle segmentation.
The study involved participants walking in both ON and OFF medication conditions to assess the impact of dopaminergic medication on gait. ON Medication Condition: Participants took their dopaminergic medication 1 hour before the session to ensure that medication levels were stable. Participants were required to be on a stable dose of l-DOPA for at least one month prior to the study. The mean L-Dopa equivalent dose for the participants was reported as 845.65 mg/day. OFF Medication Condition: Participants refrained from taking their medication for at least 12 hours before the experimental session, allowing the researchers to observe the effects of having no medication on gait performance. The dataset includes raw C3D and ASCII files containing 3D marker trajectories and force plate data, as well as processed kinematic and kinetic time-normalized curves across 101 time points per gait cycle. Data were interpolated using a cubic spline algorithm and analyzed in Visual3D (C-Motion, Inc.). The dataset provides detailed spatiotemporal parameters, including stride length, step duration, and cadence, allowing for a comprehensive analysis of gait mechanics in PD. This dataset offers high-resolution gait kinematics and kinetics, enabling the development of ML models for gait anomaly detection. The inclusion of both ON and OFF medication states allows for a more robust evaluation of gait variability in PD, making it a valuable resource for deep learning applications in clinical gait analysis.
Our study specifically focuses on the spatiotemporal gait characteristics, medication statue and FoG scores of the participants, as these variables align with our research objective of predicting FoG in PD across ON and OFF medication states. Although the data set collected by Shida et al. (2023) [27] provides a comprehensive range of kinematic and kinetic parameters, including full-body motion capture data and ground reaction forces, UPDRS scores, Hoehn and Yahr stage, and other clinical assessments, we deliberately selected only spatiotemporal characteristics and FoG scores for analysis. This choice ensures that our model remains targeted towards gait-related predictors of FoG without introducing additional biomechanical complexity that falls outside the scope of our study. However, we present the full data collection methodology to provide readers with a clear understanding of the richness of the data set, facilitating transparency and reproducibility. By outlining the broader data acquisition process, we allow future studies to explore additional aspects of gait analysis while reinforcing the rationale for our variable selection in the current investigation.

3.2. Data Prepossessing

The data used for this analysis comprised two primary sources: spatiotemporal gait cycle files and clinical FoG scores. The gait cycle files were stored in a specified directory, while the FoG scores were obtained from a separate clinical dataset. Data preprocessing and analysis were conducted using Python, with the Pandas library for data handling, and scikit-learn for ML modeling.
The initial step involved loading the FoG score data. This dataset contained patient IDs and corresponding FoG-Q scores, which quantify the severity of FoG. To ensure consistency during the merging process, the patient IDs were treated as strings. Following this, the spatiotemporal gait data was read from individual files. Each file contained gait parameters for a specific patient, with filenames indicating the patient ID and their medication state (ON or OFF). The relevant spatiotemporal parameters, including stride length, swing time, and step width, were extracted and organized into a structured DataFrame. Each patient’s data was annotated with their medication status, converted to a numerical format for analysis (ON = 1, OFF = 0).
After loading the data, the spatiotemporal gait features were merged with the FoG scores using the patient ID as a common key. This integration allowed for a comprehensive dataset linking gait characteristics to FoG severity. Rows with missing FoG-Q scores were removed to ensure data integrity. The resulting dataset was then partitioned into two subsets based on medication status: ON and OFF. This stratification was essential for understanding how medication influences gait

3.3. Random Forest Regressor

For the predictive modeling, a Random Forest Regressor was employed due to its ability to handle non-linear relationships and its robustness against overfitting. The Random Forest Regressor was chosen for its robustness in handling nonlinear relationships and its ability to provide interpretable feature rankings, making it an effective tool for FoG prediction in PD patients [4,5]. The model used in this study is an ensemble learning model that constructs multiple decision trees and averages their predictions to enhance accuracy and reduce overfitting. The model was configured with 100 trees, using bootstrap sampling (bootstrap=True) to introduce variability and improve generalization. Each tree was grown without a predefined depth limit, allowing for flexible decision boundaries, while nodes were split based on mean squared error. To ensure reproducibility, a fixed random seed was set, and the model utilized all available CPU cores for computational efficiency. Before model training, spatiotemporal features were standardized using z-score normalization to ensure comparability between variables with different scales. The standardized data were split into training and testing sets, with 80% of the data used for model training and 20% reserved for testing. This approach facilitated the evaluation of the generalizability of the model to unseen data. The Random Forest model was trained separately for the ON and OFF medication datasets, allowing for a focused analysis of how gait parameters contribute to FoG prediction under different conditions. During training, the model learned to identify patterns in the spatiotemporal features that correlated with FoG-Q scores. After training, the model performance was evaluated using standard regression metrics. Mean Absolute Error (MAE), Mean Squared Error (MSE), and R² score, witch shows how much of the variation in the dependent variable is explained by the independent variables. These metrics provided a quantitative measure of the accuracy of the model in predicting the severity of FoG, with lower MAE and MSE indicating better performance, and higher R² values reflecting greater explanatory power.
Additionally, feature importance analysis was conducted to identify the most predictive gait parameters for FoG severity in each medication state, offering valuable insights into how medication influences gait patterns. dynamics and their relationship with FoG. An independent samples t-test was performed for each spatiotemporal gait parameter between the ON and OFF medication conditions. The statistical test aimed to determine whether there are significant differences in gait parameters between medication states, providing additional information on how medication modulates gait patterns in PD patients. The significance level was set at p<0.05.
In summary, the methodology involved a systematic process of data collection, integration, preprocessing, and analysis. By leveraging ML techniques, the study explored the predictive potential of spatiotemporal gait features for assessing FoG severity in PD patients. The use of separate models for the ON and OFF medication conditions enabled a thorough examination of the effects of the medication on gait variability, contributing to the development of more targeted, data-driven intervention strategies to manage FoG.
The methodology presented in this study is supported by a publicly available GitHub repository2, which contains all the code, datasets, and processing scripts used for the analysis. This ensures transparency, reproducibility, and accessibility for researchers aiming to validate or extend the findings. The repository includes preprocessed spatiotemporal gait data, FoG scores, and machine learning models, enabling direct replication of the study’s approach. By providing full access to the computational framework, this work promotes open science practices and facilitates future advancements in FoG prediction and Parkinson’s Disease gait analysis.

4. Results

4.1. Model Performance Across ON and OFF Medication Conditions

The performance of the Random Forest Regressor was evaluated separately for ON and OFF medication conditions using Mean Absolute Error (MAE), Mean Squared Error (MSE), and the R² score. The results indicate that the model performed better in the OFF medication condition compared to the ON medication condition (Table 1).
For the ON medication condition, the model achieved an MAE of 4.16, indicating that the predicted FoG scores deviated from the actual values by an average of 4.16 points. The MSE was 42.00, suggesting larger prediction errors, and the R² score of 0.52 indicates that the model explains 52% of the variance in FoG scores under medication.
In contrast, for the OFF medication condition, the model demonstrated improved performance, with an MAE of 2.25, an MSE of 15.23, and an R² score of 0.82, meaning that 82% of the variance in FoG scores was explained, suggesting a stronger relationship between spatio-temporal gait parameters and FoG severity when patients were not under medication.
Table 1. Performance metrics for OFF and ON medication conditions.
Table 1. Performance metrics for OFF and ON medication conditions.
Metric OFF Medication ON Medication
Mean Absolute Error (MAE) 2.25 4.16
Mean Squared Error (MSE) 15.23 42.00
R2 Score 0.82 0.52

4.2. Feature Analysis

The feature importance analysis highlights the distinct contributions of spatiotemporal gait parameters in predicting FoG severity under ON and OFF medication conditions. The results suggest that specific gait features play a dominant role depending on the patient’s medication status, reinforcing the impact of dopaminergic treatment on gait dynamics (Table 2).
In the OFF medication condition, Left Step Length (t = 7.91, p < 0.001) exhibited the highest significance, indicating that step length asymmetry is a crucial marker of FoG severity when medication effects are absent. Additionally, Right Step Length (t = 6.70, p < 0.001) and Left Stride Length (t = 7.29, p < 0.001) emerged as highly influential, further emphasizing the role of stride variability and step length differences in predicting FoG for unmedicated patients. Walking speed (t = 7.84, p < 0.001) was also significantly higher in the OFF condition, supporting previous findings that reduced velocity is associated with greater freezing episodes.
In contrast, for the ON medication condition, Stride Width did not show a significant difference (t = -1.12, p = 0.26), suggesting that compensatory gait adaptations under dopaminergic therapy may not directly affect lateral gait stability. However, Left Stride Length (t = 7.29, p < 0.001) and Right Strides Per Minute (t = 2.15, p = 0.03) remained among the most influential features, indicating that stride variability continues to be an important predictor of FoG, even when patients are medicated. The increase in Right Steps Per Minute (t = 3.06, p < 0.001) in the ON state suggests that medication may facilitate a more rapid stepping pattern, possibly as a compensatory mechanism to counteract freezing episodes.
Furthermore, Double Limb Support Time (t = -3.57, p < 0.001) was significantly longer in the OFF medication condition, reinforcing the idea that FoG episodes lead to prolonged stance phases and reduced gait fluidity when medication is absent.
Overall, the observed differences in feature importance between ON and OFF states suggest that medication alters gait dynamics, influencing which spatiotemporal parameters are most predictive of FoG severity. These findings highlight the need to account for medication-induced gait variability when developing predictive models and designing intervention strategies for PD patients experiencing freezing episodes.
Table 2. Statistical comparison of spatiotemporal gait parameters between ON and OFF medication conditions. N is the number of gait cycles recorded while the patient was ON or OFF medication.
Table 2. Statistical comparison of spatiotemporal gait parameters between ON and OFF medication conditions. N is the number of gait cycles recorded while the patient was ON or OFF medication.
Variable ON N ON Mean ON Std OFF N OFF Mean OFF Std t-value p-value
Left Stance Time (sec) 456 0.68 0.11 396 0.72 0.25 -3.44 0.00
Left Swing Time (sec) 456 0.42 0.03 396 0.41 0.05 1.81 0.07
Left Step Length (m) 463 0.55 0.11 404 0.48 0.14 7.91 0.00
Left Steps Per Minute 463 110.12 11.27 405 108.59 15.08 1.67 0.10
Left Stride Length (m) 456 1.11 0.22 396 0.99 0.25 7.29 0.00
Left Strides Per Minute 456 55.61 5.66 396 54.56 7.69 2.23 0.03
Right Stance Time (sec) 452 0.68 0.11 404 0.72 0.23 -2.92 0.00
Right Swing Time (sec) 452 0.41 0.04 404 0.41 0.05 -0.72 0.47
Right Step Length (m) 463 0.56 0.11 404 0.50 0.12 6.70 0.00
Right Steps Per Minute 464 112.85 12.38 404 109.74 16.85 3.06 0.00
Right Stride Length (m) 452 1.10 0.21 404 0.99 0.25 7.05 0.00
Right Strides Per Minute 452 55.58 5.63 404 54.57 7.81 2.15 0.03
Speed (m/sec) 464 1.04 0.25 405 0.90 0.26 7.84 0.00
Stride Length (m) 464 1.11 0.22 404 0.99 0.25 7.46 0.00
Stride Width (m) 463 0.10 0.04 404 0.10 0.03 -1.12 0.26
Cycle Time (sec) 464 1.09 0.13 404 1.13 0.24 -3.26 0.00
Double Limb Support Time (sec) 464 0.27 0.11 405 0.31 0.24 -3.57 0.00

5. Discussion

This study explored the role of spatiotemporal gait parameters in predicting FoG in PD, emphasizing the differences between ON and OFF medication states. The performance analysis of the Random Forest Regressor revealed a stronger predictive capability in the OFF medication condition compared to the ON condition, highlighting the impact of dopaminergic treatment on gait dynamics and FoG severity prediction.

5.1. The Effect of Dopaminergic Medication on FoG Prediction

The results demonstrated that FoG prediction was more accurate in the OFF medication condition, where gait impairments appeared more distinct and stable. In contrast, in the ON condition, increased gait variability and compensatory strategies reduced the model’s predictive accuracy. The disparity in FoG prediction accuracy aligns with the levodopa paradox, where dopaminergic therapy alleviates many motor symptoms but does not consistently improve FoG (Lin et al., 2024; McNeely & Earhart, 2011). The model’s higher predictive accuracy in the OFF state suggests that FoG in this condition is primarily driven by biomechanical disruptions—such as step length asymmetry, stride variability, and prolonged double limb support time—which remain relatively stable and predictable. In contrast, when patients were on medication, the model’s accuracy dropped, indicating that nearly half of the variability in FoG severity could not be explained by spatiotemporal gait parameters alone.
One possible explanation for this reduced predictive accuracy in the ON state is that dopaminergic medication reduces the likelihood and severity of FoG episodes, making it harder for the model to detect clear patterns. Since medication generally improves gait performance (Landes et al., 2022), FoG may have become less frequent or less pronounced, weakening the statistical relationship between gait parameters and FoG severity. This interpretation aligns with Scully et al. (2022), who found that the FoG Severity Tool was less effective in detecting FoG during the ON state, suggesting that medication creates a floor effect, where FoG symptoms become harder to quantify. Additionally, Pérez-Lloret et al. (2014) distinguished between “OFF freezing,” which improves with medication, and “ON freezing,” which remains resistant to treatment, reinforcing the idea that different mechanisms underlie FoG depending on medication status.
Alternatively, rather than eliminating FoG, dopaminergic therapy may simply modify its presentation, making it less biomechanically obvious but still present in a different form. For example, the increase in Right Steps Per Minute in the ON state suggests that patients may be adopting a faster stepping rhythm to counteract freezing, which could mask the typical gait disturbances associated with FoG. This is further supported by Jansen et al. (2023), who found that long-term dopaminergic treatment may actually contribute to the persistence of FoG, even in patients who are already medicated. In other words, while medication improves general motor function, it does not guarantee the elimination of FoG, and its effects on gait patterns can vary between individuals, creating unpredictable influences on movement control. Since FoG is primarily caused by neurological dysfunction in the basal ganglia and frontal cortex, which play a crucial role in motor control, it is possible that dopaminergic medication does not fully restore these impaired neural circuits [28].
Another factor contributing to the lower predictive accuracy in the ON state is the increased gait variability introduced by the medication. Dopaminergic therapy affects motor control mechanisms, potentially altering how patients regulate stride, step initiation, and weight shifting. Interestingly, Stride Width did not significantly differ between ON and OFF states, contradicting previous assumptions that medication-induced balance improvements would play a key role in reducing FoG risk. These findings suggest that spatiotemporal gait parameters alone may not fully explain FoG in medicated patients, highlighting the need to incorporate cognitive, sensory, and neurophysiological factors into predictive models. In particular, 48% of the variability in FoG severity in the ON condition remained unexplained, indicating that nonmotor influences - such as cognitive load, attention control, anxiety, or medication fluctuations - may play a more significant role in FoG under dopaminergic therapy. This could explain why some PD patients continue to experience FoG despite medication, while others exhibit more unpredictable gait patterns that are harder to model using traditional spatiotemporal predictors.
These findings emphasize the need for a multi-dimensional approach to FoG prediction, especially in the ON state, where spatiotemporal gait parameters alone may not be sufficient. Future predictive models should integrate neurological, cognitive and pharmacological factors to improve precision and better capture the complex interaction between medication, movement control, and freezing episodes. Understanding these mechanisms can also inform rehabilitation strategies, allowing clinicians to develop personalized interventions based on individual medication responses and gait characteristics.
In summary, while dopaminergic treatment improves some aspects of gait, it also introduces new challenges in FoG prediction and management. Future research should focus on understanding how medication modifies gait patterns and FoG episodes, ultimately leading to more effective assessment tools and intervention strategies tailored to the needs of PD patients.

5.2. Feature Importance in FoG Prediction: Differentiating Key Gait Parameters

The significance analysis of characteristics further supports these findings, highlighting the distinct contributions of spatiotemporal gait parameters to the prediction of the severity of FoG in the ON and OFF states. In the OFF medication condition, Left Step Length emerged as the strongest predictor, reinforcing its role as a marker of step length asymmetry and gait variability when medication effects are absent. This finding is consistent with previous studies that emphasize gait asymmetry as a key indicator of PD progression and FoG risk [29,30]. Additionally, Right Step Length and Left Stride Length were influential, underscoring the importance of stride variability and length differences in unmedicated patients. The observed decrease in walking speed in the OFF state supports prior research linking reduced velocity with more frequent freezing episodes, suggesting that patients may adopt compensatory gait strategies to maintain mobility despite FoG challenges [12].
In contrast, the ON medication condition presented a different pattern. Stride Width did not show significant differences, suggesting that compensatory gait adaptations under dopaminergic therapy may not directly affect lateral stability [31]. However, Left Stride Length and Right Strides Per Minute remained among the most influential predictors, indicating that stride variability continues to be an important feature of FoG, even when patients are medicated. Additionally, the increase in Right Steps Per Minute in the ON state suggests that medication facilitates a more rapid stepping pattern, likely as a compensatory strategy to counteract freezing episodes. This aligns with findings suggesting that external cues and medication can enhance gait performance by increasing stepping rate and altering phase durations [12].
These results align with existing literature on gait asymmetry and FoG prediction. Prior studies have demonstrated that gait asymmetry, particularly in step length, serves as an early indicator of PD progression, often manifesting as unequal step lengths due to muscle rigidity, bradykinesia, and postural instability [32,33]. Specifically, patients with left-side dominant symptoms may exhibit shorter step lengths on the affected side, leading to compensatory mechanisms that increase FoG severity [6]. Similarly, Sabo et al. (2020) [34] reported that decreased stride length and increased bilateral asymmetry are strongly associated with PD gait disturbances, reinforcing the role of asymmetry in predicting FoG episodes.
Furthermore, the analysis of double limb support time revealed that Double Limb support time was significantly longer in the OFF medication condition, supporting previous research linking prolonged stance phases with increased fall risk in PD patients [10,35]. These findings reinforce the notion that FoG episodes in the OFF state are characterized by impaired weight shifting, leading to decreased gait fluidity and postural instability.
These findings emphasize the need to account for medication-induced gait variability when designing predictive models and intervention strategies for PD patients. Understanding how dopaminergic treatment affects specific gait parameters can inform rehabilitation approaches, allowing clinicians to tailor interventions based on individual patient profiles and medication states. For instance, gait training programs could focus on enhancing stride length and reducing asymmetry in OFF-medication patients, while also addressing stride variability in ON-medication patients to prevent FoG episodes. By incorporating medication effects into predictive models, future research and clinical applications can improve FoG management and mobility outcomes in PD patients.

5.3. Clinical Implications, Limitations and Future Directions

The findings of this study have significant implications for clinical practice. By identifying specific gait parameters that predict the severity of FoG, clinicians can develop more customized rehabilitation strategies for patients with PD. For example, focusing on improving the mean length of left steps in patients experiencing FoG in the OFF state can improve mobility and reduce the risk of falling. Furthermore, understanding how medication alters gait dynamics can inform treatment plans, allowing more personalized approaches that consider individual patient responses to dopaminergic therapy. This could lead to the development of targeted interventions, such as cueing strategies or gait training programs, that address specific gait impairments associated with FoG
Despite promising findings, this study has several limitations. The sample size of twenty two PD patients may limit the generalizability of the results, as larger and more diverse cohorts are needed to validate the predictive models. Additionally, the study’s reliance on specific spatiotemporal gait parameters may overlook other relevant factors, such as dynamic characteristics, cognitive load or environmental influences, that could impact FoG prediction. Furthermore, the cross-sectional design does not allow the assessment of changes in gait dynamics over time, which could provide valuable insights into the progression of PD and FoG.
Future studies should aim to expand on these findings by incorporating larger and more diverse patient populations to improve the generalizability of the results. Longitudinal studies could provide insight into how gait parameters change over time and their relationship with FoG progression. Furthermore, exploring the integration of multimodal sensor data, including cognitive assessments and environmental factors, could improve the accuracy of FoG prediction models. Investigating the effects of different dopaminergic treatments on gait dynamics can also yield valuable information to optimize therapeutic strategies for patients with PD.

6. Conclusions

This study demonstrated that spatiotemporal gait parameters can predict FoG in PD, with their predictive power varying between ON and OFF medication states. The findings showed that FoG prediction was more accurate in the OFF medication condition, where gait impairments were more distinct and stable. In contrast, in the ON medication state, greater gait variability and compensatory adjustments weakened the predictive relationship between gait parameters and FoG.
The results revealed that certain gait parameters were more influential in the OFF condition, where step length asymmetry and stride variability played a key role in identifying FoG episodes. In the ON condition, changes in cadence-related parameters suggested that medication altered gait patterns, making FoG more challenging to detect.
These findings highlight the need to account for medication-induced gait variability when developing predictive models and intervention strategies for FoG. Understanding how medication alters the relationship between gait parameters and FoG severity can help refine assessment tools and guide personalized rehabilitation approaches. Future studies should explore how these medication effects evolve over time and assess whether integrating additional factors, such as cognitive or sensory influences, could further enhance FoG prediction accuracy.

References

  1. Lin, P.H.; Lai, Y.R.; Lien, C.Y.; Huang, C.C.; Chiang, Y.F.; Kung, C.F.; Chen, C.J.; Lu, C.H. Investigating spatiotemporal and kinematic gait parameters in individuals with Parkinson’s disease with a history of freezing of gait and exploring the effects of dopaminergic therapy on freezing of gait subtypes. Frontiers in Neuroscience 2024, 18. [Google Scholar] [CrossRef] [PubMed]
  2. Gao, C.; Liu, J.; Tan, Y.; Chen, S. Freezing of gait in Parkinson’s disease: Pathophysiology, risk factors and treatments. Translational Neurodegeneration 2020, 9. [Google Scholar] [CrossRef] [PubMed]
  3. Pozzi, N.G.; Canessa, A.; Palmisano, C.; Brumberg, J.; Steigerwald, F.; Reich, M.M.; Minafra, B.; Pacchetti, C.; Pezzoli, G.; Volkmann, J.; et al. Freezing of gait in Parkinson’s disease reflects a sudden derangement of locomotor network dynamics. Brain 2019, 142, 2037–2050. [Google Scholar] [CrossRef]
  4. Lewis, S.J.; Shine, J.M. The Next Step: A Common Neural Mechanism for Freezing of Gait. Neuroscientist 2016, 22, 72–82. [Google Scholar] [CrossRef]
  5. McNeely, M.E.; Earhart, G.M. The effects of medication on turning in people with Parkinson Disease with and without freezing of gait. Journal of Parkinson’s Disease 2011, 1, 259–270. [Google Scholar] [CrossRef]
  6. Borzì, L.; Mazzetta, I.; Zampogna, A.; Suppa, A.; Olmo, G.; Irrera, F. Prediction of freezing of gait in parkinson’s disease using wearables and machine learning. Sensors (Switzerland) 2021, 21, 1–19. [Google Scholar] [CrossRef] [PubMed]
  7. Pardoel, S.; Kofman, J.; Nantel, J.; Lemaire, E.D. Wearable-sensor-based detection and prediction of freezing of gait in parkinson’s disease: A review. Sensors (Switzerland) 2019, 19. [Google Scholar] [CrossRef]
  8. Schlachetzki, J.C.; Barth, J.; Marxreiter, F.; Gossler, J.; Kohl, Z.; Reinfelder, S.; Gassner, H.; Aminian, K.; Eskofier, B.M.; Winkler, J.; et al. Wearable sensors objectively measure gait parameters in Parkinson’s disease. PLoS ONE 2017, 12. [Google Scholar] [CrossRef]
  9. Virmani, T.; Landes, R.D.; Pillai, L.; Glover, A.; Larson-Prior, L.; Prior, F.; Factor, S.A. Gait Declines Differentially in, and Improves Prediction of, People with Parkinson’s Disease Converting to a Freezing of Gait Phenotype. Journal of Parkinson’s Disease 2023, 13, 963–975. [Google Scholar] [CrossRef]
  10. Bluett, B.; Bayram, E.; Litvan, I. The virtual reality of Parkinson’s disease freezing of gait: A systematic review. Parkinsonism and Related Disorders 2019, 61, 26–33. [Google Scholar] [CrossRef]
  11. Landes, R.D.; Glover, A.; Pillai, L.; Doerhoff, S.; Virmani, T. Levodopa ONOFF-state freezing of gait: Defining the gait and non-motor phenotype. PLoS ONE 2022, 17. [Google Scholar] [CrossRef] [PubMed]
  12. Klaver, E.C.; van Vugt, J.P.; Bloem, B.R.; van Wezel, R.J.; Nonnekes, J.; Tjepkema-Cloostermans, M.C. Good vibrations: tactile cueing for freezing of gait in Parkinson’s disease. Journal of Neurology 2023, 270, 3424–3432. [Google Scholar] [CrossRef]
  13. Muthukrishnan, N.; Abbas, J.J.; Shill, H.A.; Krishnamurthi, N. Cueing paradigms to improve gait and posture in parkinson’s disease: A narrative review. Sensors (Switzerland) 2019, 19. [Google Scholar] [CrossRef]
  14. Sweeney, D.; Quinlan, L.R.; Richardson, M.; Meskell, P.; Cunnington, A.L.; Rosenthal, L.; Luo, L.; ÓLaighin, G. Multifaceted Sensory Electrical Stimulation cueing for Freezing of Gait in Parkinson’s disease. Parkinsonism and Related Disorders 2021, 82, 106–108. [Google Scholar] [CrossRef]
  15. Spildooren, J.; Vercruysse, S.; Desloovere, K.; Vandenberghe, W.; Kerckhofs, E.; Nieuwboer, A. Freezing of gait in Parkinson’s disease: The impact of dual-tasking and turning. Movement Disorders 2010, 25, 2563–2570. [Google Scholar] [CrossRef] [PubMed]
  16. Cowie, D.; Limousin, P.; Peters, A.; Hariz, M.; Day, B.L. Doorway-provoked freezing of gait in Parkinson’s disease. Movement Disorders 2012, 27, 492–499. [Google Scholar] [CrossRef] [PubMed]
  17. Nieuwboer, A.; Giladi, N. Characterizing freezing of gait in Parkinson’s disease: Models of an episodic phenomenon. Movement Disorders 2013, 28, 1509–1519. [Google Scholar] [CrossRef]
  18. Bohnen, N.I.; Kanel, P.; Zhou, Z.; Koeppe, R.A.; Frey, K.A.; Dauer, W.T.; Albin, R.L.; Müller, M.L. Cholinergic system changes of falls and freezing of gait in Parkinson’s disease. Annals of Neurology 2019, 85, 538–549. [Google Scholar] [CrossRef]
  19. Bohnen, N.I.; Frey, K.A.; Studenski, S.; Kotagal, V.; Koeppe, R.A.; Scott, P.J.; Albin, R.L.; Müller, M.L. Gait speed in Parkinson disease correlates with cholinergic degeneration. Neurology 2013, 81, 1611–1616. [Google Scholar] [CrossRef]
  20. Snijders, A.H.; Leunissen, I.; Bakker, M.; Overeem, S.; Helmich, R.C.; Bloem, B.R.; Toni, I. Gait-related cerebral alterations in patients with Parkinson’s disease with freezing of gait. Brain 2011, 134, 59–72. [Google Scholar] [CrossRef]
  21. de Souza Fortaleza, A.C.; Mancini, M.; Carlson-Kuhta, P.; King, L.A.; Nutt, J.G.; Chagas, E.F.; Freitas, I.F.; Horak, F.B. Dual task interference on postural sway, postural transitions and gait in people with Parkinson’s disease and freezing of gait. Gait and Posture 2017, 56, 76–81. [Google Scholar] [CrossRef] [PubMed]
  22. Shine, J.M.; Matar, E.; Ward, P.B.; Bolitho, S.J.; Pearson, M.; Naismith, S.L.; Lewis, S.J. Differential Neural Activation Patterns in Patients with Parkinson’s Disease and Freezing of Gait in Response to Concurrent Cognitive and Motor Load. PLoS ONE 2013, 8. [Google Scholar] [CrossRef] [PubMed]
  23. Mangalam, M.; Kelty-Stephen, D.G.; Seleznov, I.; Popov, A.; Likens, A.D.; Kiyono, K.; Stergiou, N. Older adults and individuals with Parkinson’s disease control posture along suborthogonal directions that deviate from the traditional anteroposterior and mediolateral directions. Scientific Reports 2024 14:1 2024, 14, 1–20. [Google Scholar] [CrossRef] [PubMed]
  24. Sotirakis, C.; Brzezicki, M.A.; Patel, S.; Conway, N.; FitzGerald, J.J.; Antoniades, C.A. Predicting future fallers in Parkinson’s disease using kinematic data over a period of 5 years. npj Digital Medicine 2024, 7. [Google Scholar] [CrossRef]
  25. Bouchouras, G.; Bitilis, P.; Kotis, K.; Vouros, G.A. LLMs for the Engineering of a Parkinson Disease Monitoring and Alerting Ontology 2024.
  26. Doumanas, D.; Bouchouras, G.; Soularidis, A.; Kotis, K.; Vouros, G. From Human- to LLM-Centered Collaborative Ontology Engineering. https://doi.org/10.1177/15705838241305067. 2025. [Google Scholar]
  27. Shida, T.K.F.; Costa, T.M.; de Oliveira, C.E.N.; de Castro Treza, R.; Hondo, S.M.; Angeles, E.L.; Bernardo, C.; dos Santos de Oliveira, L.; de Jesus Carvalho, M.; Coelho, D.B. A public data set of walking full-body kinematics and kinetics in individuals with Parkinson’s disease. Frontiers in Neuroscience 2023, 17. [Google Scholar] [CrossRef]
  28. Nutt, J.G.; Bloem, B.R.; Giladi, N.; Hallett, M.; Horak, F.B.; Nieuwboer, A. Freezing of gait: Moving forward on a mysterious clinical phenomenon. The Lancet Neurology 2011, 10, 734–744. [Google Scholar] [CrossRef]
  29. Ávila de Oliveira, J.; Bazán, P.R.; de Oliveira, C.E.N.; de Castro Treza, R.; Hondo, S.M.; Angeles, E.L.; Bernardo, C.; dos Santos de Oliveira, L.; de Jesus Carvalho, M.; de Lima-Pardini, A.C.; et al. The effects of levodopa in the spatiotemporal gait parameters are mediated by self-selected gait speed in Parkinson’s disease. European Journal of Neuroscience 2021, 54, 8020–8028. [Google Scholar] [CrossRef]
  30. Tosserams, A.; Keijsers, N.; Kapelle, W.; Kessels, R.P.; Weerdesteyn, V.; Bloem, B.R.; Nonnekes, J. Evaluation of Compensation Strategies for Gait Impairment in Patients with Parkinson Disease. Neurology 2022, 99, E2253–E2263. [Google Scholar] [CrossRef]
  31. Hong, M.; Earhart, G.M. Effects of medication on turning deficits in individuals with Parkinson’s disease. Journal of Neurologic Physical Therapy 2010, 34, 11–16. [Google Scholar] [CrossRef]
  32. Godi, M.; Arcolin, I.; Giardini, M.; Corna, S.; Schieppati, M. A Pathophysiological Model of Gait Captures the Details of the Impairment of Pace/Rhythm, Variability and Asymmetry in Parkinsonian Patients at Distinct Stages of the Disease. Scientific Reports 2021, 11. [Google Scholar] [CrossRef]
  33. Di Biase, L.; Di Santo, A.; Caminiti, M.L.; De Liso, A.; Shah, S.A.; Ricci, L.; Di Lazzaro, V. Gait Analysis in Parkinson’s Disease: An Overview of the Most Accurate Markers for Diagnosis and Symptoms Monitoring. Sensors 2020, 20. [Google Scholar] [CrossRef] [PubMed]
  34. Sabo, A.; Mehdizadeh, S.; Ng, K.D.; Iaboni, A.; Taati, B. Assessment of Parkinsonian Gait in Older Adults With Dementia via Human Pose Tracking in Video Data. Journal of Neuroengineering and Rehabilitation 2020, 17. [Google Scholar] [CrossRef] [PubMed]
  35. Taylor, P.N.; Sampson, T.; Beare, B.; Donavon-Hall, M.; Thomas, P.W.; Marques, E.; Strike, P.; Seary, C.; Stevenson, V.L.; Padiachy, D.; et al. The effectiveness of peroneal nerve functional electrical simulation for the reduction of bradykinesia in Parkinson’s disease: A feasibility study for a randomised control trial. Clinical Rehabilitation 2021, 35, 546–557. [Google Scholar] [CrossRef] [PubMed]
1
2
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated