Automatic Detection and Assessment of Freezing of Gait Manifestations ===================================================================== * Po-Kai Yang * Benjamin Filtjens * Pieter Ginis * Maaike Goris * Alice Nieuwboer * Moran Gilat * Peter Slaets * Bart Vanrumste ## Abstract Freezing of gait (FOG) is an episodic and highly disabling symptom of Parkinson’s disease (PD). Although described as a single phenomenon, FOG is not univocal and can express as different manifestations, such as trembling in place or complete akinesia. We aimed to analyze the utility of deep learning trained on inertial measurement unit data to classify FOG into both manifestations. We developed a temporal convolutional neural network, which we compared to three state-of-the-art FOG detection algorithms that were adapted to the FOG manifestation detection task. Next, we investigated its performance in distinguishing between the two manifestations and other forms of movement cessation (e.g., volitional stopping and sitting) based on gold-standard video annotations. Experiments were conducted on a dataset of twelve PD patients with FOG that completed a FOG-provoking protocol, including the timed-up-and-go and 360-degree turning-in-place tasks during ON and OFF anti-Parkinsonian medication. The results showed that our model enables accurate detection of FOG manifestations with an 11.43% higher F1 score than the second-best model. Assessment of FOG manifestation severity was moderately strong for trembling in place (Intra-class Correlation Coefficient (ICC)=0.64, [0.16,0.88]) and strong for complete akinesia (ICC=0.87, [0.63,0.96]). Remarkably, our results show that complete akinesia can be distinguished from volitional stopping. In conclusion, we established that FOG manifestations could be accurately detected and assessed with deep learning. Future work should establish whether these results hold firm for a more extensive and varied verification cohort. Index Terms * Freezing of gait assessment * detection * manifestations * phenotypes * Parkinson’s disease * deep learning ## I. Introduction Parkinson’s disease (PD) is a neurodegenerative disorder that already affects over six million people worldwide with a prevalence that is rising [1]. One of the most debilitating symptoms associated with PD is freezing of gait (FOG), which has been defined as a “brief, episodic absence or marked reduction of forward progression of the feet despite the intention to walk” [1]–[3]. The unpredictable nature and the inability of patients to take corrective steps after losing their balance during FOG poses a significant risk of falls and related injuries for PD patients [4]–[6], and a lower quality of life [7]. Although described as a single phenomenon, FOG is not univocal and can be expressed as different manifestations, namely: 1) episodic rapid shuffling with very short steps and poor clearance of the feet, 2) trembling in place visible as alternating tremulous oscillations in the legs with minimal or no forward progression, and 3) complete akinesia with minimal or no visible movement in the lower limbs [8]. However, whether or not shuffling should be included in the definition of FOG is being debated given that there is still forward progression of the feet [9]. As the etiology of the different manifestations likely differs and, as such, may respond differently to therapy, developing an objective assessment of the FOG manifestations will improve our understanding of this complex symptom and help guide appropriate treatment [8]. The current study is the first attempt to automatically quantify different FOG manifestations using deep learning (DL) and lower limb movement characteristics measured by inertial measurement units (IMUs). We adjusted three state-of-the-art FOG detection algorithms to the FOG manifestations detection task. These algorithms served as a baseline for comparison with our previously validated FOG manifestation detection algorithm that was not specifically trained to detect manifestations [9]. To quantify FOG manifestation severity, we calculated the percentage time frozen (%TF) as per previous work [10], [11] and the percentage time frozen of each manifestation. Given the lack of overt movement in the legs during particularly akinetic FOG episodes, it is important to verify that the model is able to distinguish such FOG events from volitional stopping. As such, to determine the robustness of our approach, we further investigated whether our DL algorithm could distinguish between FOG manifestations and other forms of movement cessation (e.g., volitional stopping and sitting) [12]. ## II. Related work Various methods have been proposed to automatically detect and assess FOG using wearable sensor data obtained through IMUs [9], [13]–[18]. IMUs could record the movement of the associated body segment as a time series of 3-axis acceleration and angular velocity. The raw signals themselves or features extracted from them have been employed to train various FOG detection models. Based on the data segmentation method, FOG detection using IMU data can be divided into two distinct approaches: window-based and sample-based. The former uses a sliding window (usually 1 second) to segment the sensor data and extract features, while the latter detects FOG at the recorded sample level (e.g., 500 Hz). ### A. Window-based methods Window-based methods tackle automated FOG detection as an action recognition problem [13]–[18]. These methods segment an IMU sequence into fixed-length windows using a sliding-window scheme. Within each window, a single label is predicted for all the samples as either FOG or non-FOG. Since each window can contain multiple labels at FOG and non-FOG transitions, the ground-truth label is typically established through majority voting [14]–[16]. Such earlier approaches also relied on manual feature engineering to distinguish between FOG and non-FOG. For instance, Moore et al. developed a thresholding algorithm based on the Freeze Index (FI) to distinguish between FOG and non-FOG [19]. They defined the FI as the power in the freezing band (0.5-3 Hz) divided by the power in the locomotor band (3-8 Hz), which others have subsequently applied as well [13]. However, other studies, such as Bächlin et al. and Delval et al., introduced an energy threshold and stride features, which were combined with the FI to identify FOG episodes [20], [21]. Going beyond the aforementioned threshold-based methods, previous studies also employed traditional machine learning models on hand-engineered features to detect FOG. For example, Tsipouras et al. employed decision trees and random forests on the mean entropy calculated from the acceleration of six IMUs (i.e., right/left wrist, left/right leg, chest, and waist) and the angular velocity from two IMUs (chest and waist) [22]. Moreover, Mazilu et al. tested eleven machine learning models (e.g., random forests, k-nearest neighbor, and AdaBoost) on seven hand-engineered acceleration features (i.e., mean, standard deviation, variance, entropy, energy, FI, and power) [23]. Additionally, Shi et al. combined all the aforementioned features [21], [24]–[26] with wavelet features to form a set of 67 expressive features to characterize FOG [16]. They compared seven popular machine learning algorithms (e.g., k-nearest neighbors, support vector machines, and extreme gradient boosting (XGBoost)) and concluded that XGBoost enabled the best FOG detection performance [16]. However, manually engineered features run the risk of not being fully generalizable to all patients, given that PD and FOG are highly heterogeneous. Recent studies have thus shifted towards end-to-end DL models [14]–[16]. Due to their large parametric space, DL techniques can directly infer relevant features from raw input data. For example, Zhang et al. used raw acceleration and spectrograms of one waist IMU as input for a DeepCNN-LSTM model trained to detect FOG [27]. Li et al. proposed a DL model using a temporal convolutional network (TCN) and long-short-term-memory network for FOG detection using acceleration signals from three IMU sensors [28]. O’Day et al. fed raw acceleration and angular velocity data from one to eleven IMUs into a convolutional neural network (CNN) to detect FOG [15]. Lastly, Shi et al., besides proposing the feature-based model, also introduced an improved CNN method that used the continuous wavelet transform (CWT) as a pre-processing step on each acceleration and angular velocity signal to generate scalograms which were used as input for a CNN [16]. Their results showed that CWT, in combination with a CNN, is state-of-the-art in FOG detection. However, as illustrated in figure 1, all these prior studies that applied a window-based method may not be the most optimal for defining the exact onsets and offsets of FOG episodes and for differentiating between FOG manifestations that may both be present within the same time window. ![Fig. 1.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2023/07/12/2023.07.10.23292437/F1.medium.gif) [Fig. 1.](http://medrxiv.org/content/early/2023/07/12/2023.07.10.23292437/F1) Fig. 1. This example shows the difference between window- and sample-wise predictions for window-based models. The sliding windows were shown in green, with gradients representing the overlap. The x-axis represents the timeline for the annotations. This example shows that generating window-wise prediction with a 50% overlap between consecutive windows results in a downsampled prediction. ### B. Sample-based methods Sample-based methods treat FOG detection as an action segmentation task [9], [29], [30]. These approaches distinguish between FOG and non-FOG on the sample level by generating one output for each input sample. Such sample-to-sample prediction eliminates the need for pre-defined window sizes and majority voting, which allows for more fine-grained activity detection [31]. In a recent study, we introduced the multi-stage temporal convolutional network combined with a many-to-one training scheme (MS-TCN) [9]. This temporal convolutional neural network architecture modified the training procedure of the multi-stage temporal convolutional network [32], initially proposed for video action segmentation, to improve FOG detection performance. ## III. Methods In this study, we modified our MS-TCN model [9] to the FOG manifestation detection task. To evaluate the performance of our new approach, we compared it with three state-of-the-art window-based methods: feature-based [16], signal-based [15], and CWT-based [16] by extending each them to the FOG manifestation detection task. In the following sections we will first explain the gait tasks performed and the problem of FOG manifestation detection and its requirements. We will then discuss the implementation details of our proposed model, followed by an overview of the characteristics and implementation details of the three window-based models we used for comparison. ### A. Problem Definition An IMU trial can be represented as *X ∈* ℝ*T* ×*C**in*, where *T* is the number of samples, and *C**in* is the input feature dimension. Each IMU trial *X* is associated with a ground truth label vector *Y* *T* × *L*, where the label *L* represents the manual annotation of FOG by the clinical experts. To generate predictions for each sample, sample-based methods learn a function ![Graphic][1] that transforms a given input sequence *X* = *x*, …, *x**T −*1 into an output sequence ![Graphic][2] that closely resembles the manual annotations *Y*. Window-based methods split each IMU trial from *X ∈* ℝ*T ×C**in* into multiple windows with a fixed number of samples equal to the window size *k* and generate a predicted label for each window, with the ground truth label for each window typically considered as the majority label within each window [15], [16]. A window-based model learns a function ![Graphic][3] that transforms a given input sequence ![Graphic][4] into an output label ![Graphic][5] that closely resembles the ground truth label for window *i*. ### B. Sample-based method Our model is an MS-TCN architecture [32] with two blocks that take a sequence of IMU signals as input and transforms them through multiple temporal convolutional layers. The first block is an initial prediction generation block that generates probabilities for each output label of a given sample. The second block is a prediction refinement block that contains multiple stages, each with multiple temporal convolutional layers, to refine the initial predictions and prevent oversegmentation errors [32]. Although MS-TCN enabled state-of-the-art activity recognition in various applications that deal with IMU data [33], [34], previous studies have shown that a many-to-one training strategy [35] enables improved generalization [35], [36]. Therefore, we train the prediction generation block with a many-to-one training scheme for our FOG detection model [9]. In the many-to-one training scheme, given a receptive field size *n*, each input IMU sequence is first replication-padded on both sides with (*n −* 1)*/*2, resulting in a sequence of length *T* + *n−* 1. The IMU sequence is then split into *T* chunks, each with size *n*, using a stride of one sample. These chunks are used to train the prediction generation block. The first layer is a 1 × 1 convolution layer that adjusts the input dimension from *n* × *C**in* into *n* × *C*, where *C* is the number of filters. The adjusted feature map is passed through four TCN blocks, each containing a dilated temporal convolutional layer [37], [38], batch normalization layer (BN) [39], ReLU activation function, and a residual connection [40]. These TCN blocks map the adjusted features to 1 × *C*. The output feature is passed through a 1 × 1 convolutional layer with a softmax activation function to output the initial probabilities for the *L* output classes. These initial probabilities are stacked together to form the initial prediction for each IMU sequence. The initial probabilities of each IMU sequence of length *T* are fed into the prediction refinement block, which consists of *S* stages. Each stage refines the prediction from the previous stage using a series of TCN blocks. The first layer of each stage is a 1 × 1 convolution layer that adjusts the input dimension from *T × L* into *T* × *C*, where *C* is the number of filters. The adjusted features are passed through eight TCN blocks, each containing a dilated temporal convolution [37], [38], BN layer [39], ReLU function, and a residual connection. The last layer of each stage is a 1 × 1 convolutional layer with a softmax activation function to output refined probabilities for the *L* classes for each sample in time. The same training procedure and model hyperparameters were used as in the original study [9]. ### C. Window-based methods #### 1) Feature-based Model This study used the feature-based model proposed by Shi et al. [16], which applied the XG-Boost [41] algorithm on sixty-seven features generated from the IMU on the left tibia, including five frequency domain features, six entropy features, and 54 wavelet features. Two features calculated from magnetometer signals were removed as our dataset does not include magnetometers. The features were computed by following the same pre-processing procedure as the original study. Specifically, the accelerometer signals were filtered with a 4th-order Butterworth band-pass filter (0.2-15 Hz), and the angular velocity signals were filtered with a 4th-order Butterworth low-pass filter (10 Hz), at a sampling frequency of 50Hz. The window size was set to one second with 50% overlap between consecutive windows [16]. Instead of using majority voting to determine the ground-truth label, the centered label of each window was used as the ground truth to avoid changing the experts’ annotation [16]. The same training procedure and hyperparameters of the XGBoost model were used as in the original study. #### 2) Signal-based Model In addition to the feature-based model, we also used the signal-based model proposed by O’Day et al. [15]. The same pre-processing procedure was used as in the original study. Specifically, the IMU data was split into windows of two seconds with 50% overlap between consecutive windows. Each window was normalized to zero mean and unit variance and augmented with random rotations about the individual IMU axes to simulate variation in sensor placement [15]. The centered label of each window was used as the ground truth of that window. The same training procedure and hyperparameters of the CNN model were used as in the original study. #### 3) CWT-based Model Lastly, this study used the CWT-based model proposed by Shi et al. [16]. The same preprocessing procedure was used as in the original study. Specifically, the raw IMU signals were first normalized and split into multiple windows with a window size of four seconds and 50% overlap between consecutive windows. The normalized signals in each window were used to generate scalograms with CWT. The centered label of each window was used as the ground truth of that window. The same training procedure and hyperparameters of the CNN model were used as in the original study. ## IV. Evaluation ### A. Dataset An existing IMU dataset was used [9]. The dataset includes twelve PD patients, all recruited if they subjectively reported having at least one FOG episode per day with a minimum duration of five seconds. Subjects varied in their age (mean: 69.33 years, range: 57–76), disease duration (mean: 12.33 years, range: 3–23), and self-reported FOG severity with New Freezing of Gait Questionnaire [42] (mean: 20.54, range: 12–26). The dataset [9] was recorded with five Shimmer3 IMU sensors on all subjects, attached to the pelvis, both sides of the tibia and talus. All IMUs recorded at a sampling frequency of 64 Hz during the measurements. Synchronously, RGB videos were captured at 30 frames per second for offline FOG annotation purposes. FOG events were visually annotated at a frame-based resolution by a clinical expert, after which all FOG events were verified by another clinical expert using Elan annotation software [11]. Annotators used the definition of FOG as a brief episode with the inability to produce effective steps, and the episode ended at the foot off that was followed by at least two effective steps [1], [11], which adopts a stricter definition of FOG that distinguishes shuffling and festination as non-FOG events, and only trembling in place and complete akinesia as FOG events. The definition of shuffling was based on [8], namely small steps with minimal forward progression, while festination was defined as a tendency to move forward with increasingly rapid but ever smaller steps [2]. The dataset featured the timed up-and-go (TUG) test, with turning in both directions, and the 360 turning in-place (360Turn) test [43], with alternating 360-degree turning for one minute. The tasks were measured with and without a dual task, namely the auditory Stroop task [43], [44], and with and without a self-generated or researcher-imposed stopping. Stopping in the TUG was performed four times, twice with a stop in the straight walking part and twice with a stop in the turning part of the TUG; while stopping in the 360Turn was performed once. All pre-mentioned tasks were done first in the clinical off-medication state (approximately 12 hours after the last PD medication intake) and repeated in the same order during the on-medication state (approximately one hour after medication intake). ### B. Experimental Setting The window-based models have several drawbacks. Firstly, they depend on majority voting, which alters expert annotations and affects FOG severity outcome values, as illustrated in figure 2a. Secondly, window-based models lack the granularity of expert observation to accurately identify the start and end of each FOG episode. Lastly, the window-based models were trained and evaluated without padding on both sides. As a result, these models would generate a prediction shorter than the original input sequence. As shown in figure 2b, even when generating sample-wise predictions by sliding with one sample, they would still predict a shorter sequence of length *T − k* + 1 given an input sequence of length *T* and window size of *k*. ![Fig. 2.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2023/07/12/2023.07.10.23292437/F2.medium.gif) [Fig. 2.](http://medrxiv.org/content/early/2023/07/12/2023.07.10.23292437/F2) Fig. 2. Visual representation highlighting how window-based FOG detection methods alter the ground-truth experts’ annotation. Figure (a) shows that majority voting results in minor temporal shifts segments and the removal of short segments. In contrast, using each window’s centered label as ground truth maintains the experts’ annotation. (b) Shows that shifting each prediction window with a stride of 1 sample enables fine-grained sample-wise predictions, but still reduces the sequence from length *T* to *T − k* + 1, given a window of duration *k*. To overcome these issues, we defined a uniform evaluation setting for comparing the models. Firstly, we addressed the issue of adapting the experts’ annotations by defining the ground truth label as the center label of the window. This consistent ground truth labeling approach was employed during model training and inference, ensuring coherence and comparability. Secondly, to achieve consistent granularity in predictions, we employed a sliding window technique with a stride of 1 sample for window-based methods during inference. Meanwhile, during model training, we maintained a 50% overlap approach. This methodology ensured that predictions were generated at the same granularity as our sample-based model, enhancing the evaluation consistency. Thirdly, when comparing the performance of MS-TCN with other models, we evaluated the *T − k* + 1 predicted sequence. This approach was adopted to avoid evaluating models with varying lengths of ground truth sequences, as such differences can introduce discrepancies, particularly when the original *T* sequence contains sitting events that may not be present in the shortened sequence. Conversely, while further investigating the performance of MS-TCN in discerning FOG manifestations from other forms of volitional movement cessation, the entire *T* predicted sequence was evaluated. Fourthly, each method was evaluated for multiple different window durations for windowbased methods and receptive fields for sample-based methods. This comprehensive evaluation accounted for varying temporal contexts and allowed a more thorough analysis of the model’s performance. Lastly, except for the feature-based model, all models were trained using data from all five IMUs. The feature-based model exclusively employed features derived from the left tibia IMU (denoted as “leg” in [16]). All 346 trials in the dataset were used to train and evaluate the models. The labels for the FOG manifestation detection task were three (*L* = 3), with *l* = 0 for non-FOG (i.e., walking, sit-to-stand, stand-to-sit, and other volitional movement cessations), *l* = 1 for trembling in place, and *l* = 2 for complete akinesia. MS-TCN was additionally evaluated based on its performance in discerning FOG manifestations from other types of movement cessation, such as volitional stopping and sitting. For this task, MS-TCN was trained with five target classes (*L* = 5), where *l* = 1 represents trembling in place, *l* = 2 represents complete akinesia, *l* = 3 represents stopping, *l* = 4 represents sitting, and *l* = 0 represents all other events (i.e., walking, sit-to-stand, and stand-to-sit). All other events are hereinafter simply referred to as “walking”. All experiments were conducted by following a leave-one-subject-out cross-validation approach. Specifically, the dataset was partitioned into training and testing sets, where one subject served as the testing set and the remaining subjects as the training set. This procedure was repeated iteratively until each subject had been evaluated. ### C. Metrics This paper assessed FOG severity from a clinical perspective, primarily focusing on two outcomes: percentage timefrozen (%TF) and the number of detected FOG episodes (#FOG) [10]. To further quantify the FOG manifestations, this study proposed the percentage time of trembling in place (%TF-T) and percentage time of complete akinesia (%TF-A), inspired by previous studies [45], [46]. The (%TF-T) was calculated as the total duration of trembling in place divided by the total duration of all tasks. The %TF-A was calculated as the total duration of complete akinesia divided by the total duration of all tasks. Table I summarizes the FOG severity for each subject in the dataset. To assess the agreement between model-predicted FOG severity and expert-annotated FOG severity, the intra-class correlation coefficient (ICC(2,1)) was used. The ICC value indicates the agreement between the model and the experts. A higher ICC value suggests higher agreement. According to [47], the agreement strength was classified as follows: *≥*0.80: strong, 0.6-0.79: moderately strong, 0.3-0.59: fair, and *<*0.3: poor. As the clinical metrics are a summary of FOG severity per subject and insufficiently sensitive for model comparison [9], the F1 score was used to compare the performance of the different models. View this table: [TABLE I.](http://medrxiv.org/content/early/2023/07/12/2023.07.10.23292437/T1) TABLE I. DATASET CHARACTERISTICS The F1 score is a widely used metric for evaluating the accuracy of binary classification models. For sample-wise predictions, the comparison is performed at the individual sample level. Each prediction of the sample is classified as True Positive (TP), False Positive (FP), or False Negative (FN) based on the correspondence between the predicted and ground truth labels. The F1 score is calculated under the formula: ![Graphic][6]. For the tasks of multi-class mani-festation classification (normal movement, trembling in place, and complete akinesia) and multi-class manifestation and volitional movement cessation classification (normal movement, trembling in place, complete akinesia, stopping, and sitting), we calculated an F1 score for each class individually in a one vs. all manner. This means that when computing the F1 score for a specific class, that class is considered positive, while all other classes are treated as negative. These individual F1 scores were then averaged (F1-Total) for each subject [48]. ### D. Statistics The repeated measures anova test [49] was used to investigate whether the differences between the models in the F1 scores were statistically significant. When a significant difference was found, post hoc paired Student’s t-tests [50] were applied to investigate significant differences between pair-wise models. The post hoc hypotheses were corrected for multiple comparisons, as defined in Li [51]. The homogeneity of variances was verified in all metrics across subjects with Levene’s tests [52]. The Shapiro-Wilk test [53] was used to determine whether the variables were normally distributed across subjects. The Bland–Altman plot [54] was used to investigate systematic bias between FOG severity outcomes (i.e., %TF, #FOG, %TF-T, and %TF-A) predicted by MS-TCN and the experts’ annotation. The significance level for all tests was set at 0.05. All analyses were performed using SciPy 1.7.11, bioinfokit 2.1.0, statsmodels 0.13.2, and pingouin 0.3.12, written in Python version 3.7.11. The post hoc test was performed using scmamp 0.2.55 [55] written in R version 4.0.3. ## V. Results ### A. FOG manifestation detection: comparison with three baseline models To compare the performance of the MS-TCN model with the three baseline models in detecting FOG manifestations, we trained and evaluated the models with three different window/receptive field sizes (i.e., one, two, and four seconds). Table II displays the F1-Total, F1-Trembling, and F1-Akinetic for the four models. The results indicated that the featurebased, signal-based, and CWT-based models trained with a four-second window size and MS-TCN trained with a foursecond receptive field size achieved the highest F1-Total and F1-Trembling. The FOG manifestation detection performance of these four best-performing models was statistically compared, which showed statistical significance for the F1-Total (*p* = 0.0002). Figure 3 presents the box plot of the results, showing that MS-TCN outperformed the other three models in terms of the F1-Total. Moreover, the post hoc tests confirmed that the difference between MS-TCN and the other three models in terms of F1-Total was statistically significant. View this table: [TABLE II.](http://medrxiv.org/content/early/2023/07/12/2023.07.10.23292437/T2) TABLE II. COMPARISON OF THE FOUR MODELS IN TERMS OF THE F1 SCORE ![Fig. 3.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2023/07/12/2023.07.10.23292437/F3.medium.gif) [Fig. 3.](http://medrxiv.org/content/early/2023/07/12/2023.07.10.23292437/F3) Fig. 3. The spread of the F1-Score across subjects. The anova test showed a significant difference between the F1-Score metrics of the four models(p=0.0002). The significance levels of the post hoc tests with respect to the MS-TCN model (corrected for three pairwise comparisons are visualized above their respective boxplot. Significance levels were visualized as: p*≤*0.005 (\***|), p*≤*0.01 (**), and p*≤*0.05 (*). Additionally, as shown in Figure 4, both the signalbased and feature-based models had many instances of oversegmentation. While the CWT-based model had fewer errors, it incorrectly classified akinetic FOG episodes as trembling and did not detect short trembling FOG episodes. This shows that the MS-TCN model not only outperforms these models in terms of the F1 scores but that it is also able to predict FOG manifestations with fewer over-segmentation errors. ![Fig. 4.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2023/07/12/2023.07.10.23292437/F4.medium.gif) [Fig. 4.](http://medrxiv.org/content/early/2023/07/12/2023.07.10.23292437/F4) Fig. 4. Overview of the predictions of the best four models compared with the experts’ annotation. The figures visualize the over-segmentation of the window-based models. The x-axis denotes the time of the trial in seconds. ### B. FOG manifestation severity assessment Next, we evaluated the MS-TCN in terms of FOG manifestation severity outcomes. Results showed a strong agreement between the model and experts in terms of %TF (ICC = 0.96, CI=[0.79,0.99]), #FOG (ICC = 0.84, CI=[0.55,0.95]), and %TF-A (ICC = 0.87, CI=[0.63,0.96]), and a moderately strong agreement in terms of %TF-T (ICC = 0.64, CI=[0.16,0.88]). The Bland–Altman plots presented in figure 5 demonstrated that our model systematically underestimated the %TF (2.42% (CI=[0.44,4.40])) and showed no systematic error for the other three clinical metrics, with a mean bias of 5.83 (CI=[*−*6.65,18.32]) for #FOG, 3.01% (CI=[*−*0.77,6.78]) for %TF-T, and *−*0.59% (CI=[*−*3.08,1.90]) for %TF-A. Notably, %TF was underestimated mainly due to two subjects using walking aids, as there was no systematic error when evaluating only the remaining subjects. Moreover, the limits of agreement (LOA) of %TF-T were *−*8.63% (CI=*−*15.17,*−*2.10) to 14.65% (CI=[8.11,21.19]), and for %TF-A the LOA were *−*8.27% (CI=[*−*12.58,*−*3.95]) to 7.09% (CI=[2.78,11.40]). The agreement was lower for trembling than for akinetic FOG with broader LOA, showing that the model made more errors in detecting trembling in place than complete akinesia. ![Fig. 5.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2023/07/12/2023.07.10.23292437/F5.medium.gif) [Fig. 5.](http://medrxiv.org/content/early/2023/07/12/2023.07.10.23292437/F5) Fig. 5. The Bland-Altman plot compares the scores of four clinical metrics from MS-TCN and experts. The dots represent the difference in scores per patient on the y-axis (i.e., model’s %TF, #FOG, %TF-T, or %TF-A subtracted from experts’ %TF, #FOG, %TF-T, or %TF-A), plotted against the mean score per patient from the model and the experts on the x-axis. The orange area shows the 95% CI for the mean bias, while the gray area shows the 95% CI for the upper and lower limits of agreement. No systematic error was found in #FOG, %TF-T, and %TF-A, while a systematic error was found in %TF. Two subjects using mobility aids are indicated with colored blocks (S10: blue; S11: red). For S10, who has a high #FOG, the model predicted a lot of trembling episodes as akinetic. Whereas for S11, the model predicted a lot of short trembling episodes as non-FOG. ### C. FOG manifestations versus other forms of volitional movement cessation Next, we investigated the proposed model’s ability to distinguish FOG manifestations from volitional movement cessation by training the model with five target classes, i.e., walking, trembling, akinetic, stopping, and sitting. As seen in the confusion matrix (Figure 6), the model correctly predicted 94% of the walking samples, 71% of the akinetic samples, 63% of the stopping samples, and 86% of the sitting samples. However, the model struggled to accurately identify trembling samples, with only 42% of them correctly classified, while 29% were classified as walking and 21% as akinetic. To investigate the model’s ability to distinguish between stopping and FOG manifestations, we split up the results for non-FOG and FOG trials. When evaluating non-FOG trials, the model could accurately annotate 80% of stopping samples as stopping. In contrast, when evaluating FOG trials, the model can only correctly annotate 42% of stopping samples, with 24% as non-FOG, 14% as trembling, and 18% as akinetic. These results demonstrate that the model can accurately detect stopping in non-FOG trials but had difficulty in trials that contained FOG segments. These phenomena are demonstrated in the qualitative results presented in Figure 7. Observe in figure 7c that the model made errors distinguishing between trembling and akinetic in trials where both manifestations were present and in figure 7f between akinetic and stopping in trials where both appeared. ![Fig. 6.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2023/07/12/2023.07.10.23292437/F6.medium.gif) [Fig. 6.](http://medrxiv.org/content/early/2023/07/12/2023.07.10.23292437/F6) Fig. 6. The normalized confusion matrix to visualize the ability of the MS-TCN in distinguishing the five classes. The confusion matrix shows the number of TP, TN, FP, and FN for each class. The true label of each sample (with the amount of true labels) is shown at the start of each row, and the predicted label is shown at the bottom of each column. We normalized the confusion matrix by dividing each element by the total number of samples in the corresponding true class to show the ratio of correct predictions for each class. ![Fig. 7.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2023/07/12/2023.07.10.23292437/F7.medium.gif) [Fig. 7.](http://medrxiv.org/content/early/2023/07/12/2023.07.10.23292437/F7) Fig. 7. Overview of the annotations for six IMU trials. Six trials include six different types of experts annotations: a) Non-FOG trial without stopping, b) FOG trial without stopping (only Trembling), c) FOG trial without stopping (Trembling + Akinetic), d) Non-FOG trial with stopping, e) FOG trial with stopping (only Trembling), and f) FOG trial with stopping (Trembling + Akinetic). The figures visualize the difference between the manual segmentation by the experts (top) and the automated segmentation by the MS-TCN model (bottom), with white=walking, green=trembling, yellow=akinetic, red=stopping, and blue=sitting. The x-axis denotes the time of the trial in seconds. ## VI. Discussion Previous FOG assessment studies [9], [15], [16], [29] combined various types of FOG into a single category. However, FOG can have different manifestations, which may have other pathophysiologic origins [8]. Therefore, objectively detecting these different FOG manifestations is crucial to tailor future FOG treatment approaches. To address this bottleneck, this study extended the state-of-the-art MS-TCN model [9] to support the detection of two FOG manifestations, i.e., trembling and akinetic FOG. Our proposed model was quantitatively compared to three state-of-the-art window-based models [15], [16] by extending these models to support manifestation detection. Results showed that our model statistically outperforms these models on FOG manifestation detection in terms of the total F1 score. Notably, the window-based models we utilized were not explicitly trained to minimize over-segmentation errors; hence, we did not evaluate them using the Segmentwise F1 score [38], which effectively penalizes such errors. Nevertheless, through a qualitative analysis of the predicted annotations, we observed that our model exhibits fewer oversegmentation errors when predicting FOG manifestations. To quantify the severity of FOG manifestations, previous studies calculated the percentage of each FOG manifestation with respect to the total duration of FOG [45] and the number of episodes of each manifestation separately [46]. Nevertheless, when different experts annotate the same percentage of FOG manifestation but with varying total FOG durations, it can result in different durations for each manifestation. This implies that using the percentage of each manifestation within observed FOG as a metric to quantify the severity of FOG manifestations may not be reliable. As a result, inspired by previous studies [45], [46], we proposed two metrics, i.e., %TF-T and %TF-A, to quantify FOG manifestation severity. Our proposed model showed a strong agreement with the experts’ observations for %TF-A (ICC=0.87) and a moderately strong agreement for %TF-T (ICC=0.64). The ICC for FOG manifestation severity between independent raters was reported as 0.31 (CI=[0.11,0.49]) for the percentage of trembling and 0.44 (CI=[0.35,0.54]) for the percentage of akinetic [45]. Although [45] showed that annotating FOG manifestations are challenging, which would result in a low inter-rater agreement, our model prediction showed a moderate to strong agreement with our experts’ annotation, showing its ability to learn how our experts’ annotated the trials. Next, we investigated the performance of our model in distinguishing FOG manifestations from other forms of movement cessation, i.e., volitional stopping and sitting, by evaluating the model trained explicitly for the five classes: walking, trembling, akinetic, stopping, and sitting. Results showed that our model could correctly detect sitting from FOG manifestations. However, stopping could only be accurately detected in trials that do not contain FOG. More specifically, the model made more errors distinguishing between akinetic, trembling, and stopping in trials where all classes appeared. Hence, motor signals alone may be insufficient to distinguish stopping from FOG, particularly during complex motion sequences that are likely to be encountered in everyday life. A promising avenue is to amalgamate motor and physiological signals (e.g., heart rate), which have recently shown potential in distinguishing between FOG and stopping, but lack the expressivity to distinguish between FOG and gait [12], which was highly distinguishable in our approach. Therefore, including physiological signals in our method seems a promising future improvement. Furthermore, the results showed that the agreement between our model in terms of trembling was lower than the agreement for akinetic. This finding aligns with previously reported lower inter-rater ICC values for trembling compared to akinetic FOG [45]. Trembling FOG (i.e., alternating tremulous oscillations with no forward progression) and akinetic FOG (i.e., no visible movement in the lower limbs) are determined based on observable leg motion. There are several potential explanations: Firstly, some trembling movements may not be observable in the videos by the experts, especially if the movements are very small. Although our study procedure had participants wearing tight-fitting shorts, this may become even more challenging in clinical practice where patients with FOG are wearing their own comfortable long-legged pants. Secondly, as FOG manifestations may shift within one episode, it becomes very challenging and time-consuming for the experts to label it to the highest detail. Therefore, they resort to labeling the episode (or larger blocks of the episode) to the manifestation that is dominantly present. Several limitations in this study should be considered. Firstly, the dataset used in this study consisted of videos annotated sequentially by two clinical experts, with the second expert verifying and correcting the annotations made by the first expert. Due to our sequential annotation process, there was no opportunity to measure inter-rater agreement in terms of %TF-T and %TF-A to compare against our models’ annotations. The second limitation is the limited amount of FOG manifestations present in the dataset. Specifically, the dataset contained only 17.41 minutes of trembling episodes and 9.16 minutes of akinetic episodes, within a total dataset duration of 181.7 minutes. Given that FOG occurrences are generally less frequent than non-FOG instances during inlab measurements [43], and akinetic FOG tends to occur less frequently compared to trembling [8], [45], the ratio of the two manifestations in our dataset was considered reasonable. However, future studies could explore larger datasets with more FOG samples, especially for complete akinesia, to provide more training data for DL models. ## VII. Conclusion The current study is the first attempt to automatically quantify FOG manifestations using DL. Our approach outperforms three state-of-the-art FOG detection models and demonstrated a strong agreement with experts’ annotations on %TF, #FOG, and %TF-A and a moderately strong agreement for %TF-T. Future work is now possible to establish whether these results hold for a larger and more varied verification cohort. ## Data Availability Our neural network architecture was implemented in Python 3.7 with Pytorch version 1.8.0 by adopting the public code repositories of Farha and Gall [1], Pavllo et al. [2], and O'Day et al [3]. The datasets analyzed during the current study are not publicly available due to restrictions on sharing subject health information. [https://github.com/yabufarha/ms-tcn](https://github.com/yabufarha/ms-tcn) [https://github.com/facebookresearch/VideoPose3D](https://github.com/facebookresearch/VideoPose3D) [https://github.com/stanfordnmbl/imu-fog-detection/](https://github.com/stanfordnmbl/imu-fog-detection/) ## Acknowledgment We thank the participants for their willingness to participate. ## Footnotes * Po-Kai Yang was supported by the Ministry of Education (KU Leuven–Taiwan) scholarship. Benjamin Filtjens was supported by KU Leuven Internal Funds Postdoctoral Mandate PDMT2/22/046. * (e-mail: po-kai.yang{at}kuleuven.be, benjamin.filtjens{at}kuleuven.be, and bart.vanrumste{at}kuleuven.be). * (e-mail: pieter.ginis{at}kuleuven.be, maaike.goris{at}kuleuven.be, alice.nieuwboer{at}kuleuven.be, and moran.gilat{at}kuleuven.be). * (e-mail: peter.slaets{at}kuleuven.be). * Received July 10, 2023. * Revision received July 10, 2023. * Accepted July 12, 2023. * © 2023, Posted by Cold Spring Harbor Laboratory The copyright holder for this pre-print is the author. All rights reserved. The material may not be redistributed, re-used or adapted without the author's permission. ## References 1. [1]. J. G. Nutt, B. R. Bloem, N. Giladi, M. Hallett, F. B. Horak, and A. Nieuwboer, “Freezing of gait: moving forward on a mysterious clinical phenomenon,” The Lancet. Neurology, vol. 10, pp. 734–744, 8 2011. 2. [2]. B. R. Bloem, J. M. Hausdorff, J. E. Visser, and N. Giladi, “Falls and freezing of gait in parkinson’s disease: a review of two interconnected, episodic phenomena,” Movement disorders : official journal of the Movement Disorder Society, vol. 19, pp. 871–884, 8 2004. 3. [3]. N. Giladi and A. Nieuwboer, “Understanding and treating freezing of gait in parkinsonism, proposed working definition, and setting the stage,” Movement Disorders, vol. 23, pp. S423–S425, 1 2008. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1002/mds.21927&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=18668629&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2023%2F07%2F12%2F2023.07.10.23292437.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000258422700001&link_type=ISI) 4. [4]. M. Rudzińska, S. Bukowczan, J. Stozek, K. Zajdel, E. Mirek, W. Chwała, M. Wójcik-Pedziwiatr, K. Banaszkiewicz, and A. Szczudlik, “Causes and consequences of falls in parkinson disease patients in a prospective study,” Neurologia i neurochirurgia polska, vol. 47, pp. 423–430, 2013. 5. [5]. P. H. Pelicioni, J. C. Menant, M. D. Latt, and S. R. Lord, “Falls in parkinson’s disease subtypes: Risk factors, locations and circumstances,” International journal of environmental research and public health, vol. 16, 6 2019. 6. [6]. S. S. Paul, C. G. Canning, C. Sherrington, S. R. Lord, J. C. Close, and V. S. Fung, “Three simple clinical tests to accurately predict falls in people with parkinson’s disease,” Movement Disorders, vol. 28, pp. 655– 662, 5 2013. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1002/mds.25404&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=23450694&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2023%2F07%2F12%2F2023.07.10.23292437.atom) 7. [7]. S. Perez-Lloret, L. Negre-Pages, P. Damier, A. Delval, P. Derkinderen, A. Destée, W. G. Meissner, L. Schelosky, F. Tison, and O. Rascol, “Prevalence, determinants, and effect on quality of life of freezing of gait in parkinson disease,” JAMA neurology, vol. 71, pp. 884–890, 2014. 8. [8]. J. D. Schaafsma, Y. Balash, T. Gurevich, A. L. Bartels, J. M. Hausdorff, and N. Giladi, “Characterization of freezing of gait subtypes and the response of each to levodopa in parkinson’s disease,” European journal of neurology, vol. 10, pp. 391–398, 7 2003. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1046/j.1468-1331.2003.00611.x&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=12823491&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2023%2F07%2F12%2F2023.07.10.23292437.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000183687100008&link_type=ISI) 9. [9]. P.-K. Yang, B. Filtjens, P. Ginis, M. Goris, A. Nieuwboer, M. Gilat, P. Slaets, and B. Vanrumste, “Freezing of gait assessment with inertial measurement units and deep learning: effect of tasks, medication states, and stops,” medRxiv, 2023. 10. [10]. T. R. Morris, C. Cho, V. Dilda, J. M. Shine, S. L. Naismith, S. J. Lewis, and S. T. Moore, “A comparison of clinical and objective measures of freezing of gait in parkinson’s disease,” Parkinsonism & related disorders, vol. 18, pp. 572–577, 6 2012. 11. [11]. M. Gilat, “How to annotate freezing of gait from video: A standardized method using open-source software,” Journal of Parkinson’s disease, vol. 9, pp. 821–824, 2019. 12. [12]. H. Cockx, J. Nonnekes, B. Bloem, R. van Wezel, I. Cameron, and Y. Wang, “Dealing with the heterogeneous presentations of freezing of gait: how reliable are the freezing index and heart rate for freezing detection?,” Journal of NeuroEngineering and Rehabilitation, vol. 20, pp. 1–15, 12 2023. 13. [13]. M. Mancini, V. V. Shah, S. Stuart, C. Curtze, F. B. Horak, D. Safarpour, and J. G. Nutt, “Measuring freezing of gait during daily-life: an opensource, wearable sensors approach,” Journal of NeuroEngineering and Rehabilitation, vol. 18, pp. 1–13, 12 2021. 14. [14]. T. Bikias, D. Iakovakis, S. Hadjidimitriou, V. Charisis, and L. J. Hadjileontiadis, “Deepfog: An imu-based detection of freezing of gait episodes in parkinson’s disease patients via deep learning,” Frontiers in Robotics and AI, vol. 8, p. 117, 5 2021. 15. [15]. J. O’Day, M. Lee, K. Seagers, S. Hoffman, A. Jih-Schiff Łukasz Kidziński, S. Delp, and H. Bronte-Stewart, “Assessing inertial measurement unit locations for freezing of gait detection and patient preference,” Journal of NeuroEngineering and Rehabilitation, vol. 19, pp. 1–15, 12 2022. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1186/s12984-022-01002-w&link_type=DOI) 16. [16]. B. Shi, A. Tay, W. L. Au, D. M. Tan, N. S. Chia, and S. C. Yen, “Detection of freezing of gait using convolutional neural networks and data from lower limb motion sensors,” IEEE Transactions on Biomedical Engineering, vol. 69, pp. 2256–2267, 7 2022. 17. [17]. S. Pardoel, G. Shalin, J. Nantel, E. D. Lemaire, and J. Kofman, “Early detection of freezing of gait during walking using inertial measurement unit and plantar pressure distribution data,” Sensors 2021, Vol. 21, Page 2246, vol. 21, p. 2246, 3 2021. 18. [18]. B. Sijobert, J. Denys, C. A. Coste, and C. Geny, “Imu based detection of freezing of gait and festination in parkinson’s disease,” 2014 IEEE 19th International Functional Electrical Stimulation Society Annual Conference, IFESS 2014 - Conference Proceedings, 2 2014. 19. [19]. S. T. Moore, H. G. MacDougall, and W. G. Ondo, “Ambulatory monitoring of freezing of gait in parkinson’s disease,” Journal of neuroscience methods, vol. 167, pp. 340–348, 1 2008. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.jneumeth.2007.08.023&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=17928063&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2023%2F07%2F12%2F2023.07.10.23292437.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000252938400025&link_type=ISI) 20. [20]. M. Bächlin, M. Plotnik, D. Roggen, I. Maidan, J. M. Hausdorff, N. Giladi, and G. Tröster, “Wearable assistant for parkinsons disease patients with the freezing of gait symptom,” IEEE Transactions on Information Technology in Biomedicine, vol. 14, pp. 436–446, 3 2010. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1109/TITB.2009.2036165&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=19906597&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2023%2F07%2F12%2F2023.07.10.23292437.atom) 21. [21]. A. Delval, A. H. Snijders, V. Weerdesteyn, J. E. Duysens, L. Defebvre, N. Giladi, and B. R. Bloem, “Objective detection of subtle freezing of gait episodes in parkinson’s disease,” Movement Disorders, vol. 25, pp. 1684–1693, 8 2010. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1002/mds.23159&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=20544715&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2023%2F07%2F12%2F2023.07.10.23292437.atom) 22. [22]. M. G. Tsipouras, A. T. Tzallas, E. Tripoliti, G. Rigas, P. Bougia, D. I. Fotiadis, S. Tsouli, and S. Konitsiotis, “On assessing motor disorders in parkinson’s disease,” Lecture Notes of the Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering, vol. 55 LNICST, pp. 35–38, 2011. 23. [23]. S. Mazilu, M. Hardegger, Z. Zhu, D. Roggen, G. Tröster, M. Plotnik, and J. M. Hausdorff, “Online detection of freezing of gait with smartphones and machine learning techniques,” 2012 6th International Conference on Pervasive Computing Technologies for Healthcare and Workshops, PervasiveHealth 2012, pp. 123–130, 7 2012. 24. [24]. C. A. Coste, B. Sijobert, R. Pissard-Gibollet, M. Pasquier, B. Espiau, and C. Geny, “Detection of freezing of gait in parkinson disease: preliminary results,” Sensors (Basel, Switzerland), vol. 14, pp. 6819–6827, 4 2014. 25. [25]. M. Zago, C. Sforza, I. Pacifici, V. Cimolin, F. Camerota, C. Celletti, C. Condoluci, M. F. D. Pandis, and M. Galli, “Gait evaluation using inertial measurement units in subjects with parkinson’s disease,” Journal of Electromyography and Kinesiology, vol. 42, pp. 44–48, 10 2018. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.jelekin.2018.06.009&link_type=DOI) 26. [26]. P. Tahafchi, R. Molina, J. A. Roper, K. Sowalsky, C. J. Hass, A. Gunduz, M. S. Okun, and J. W. Judy, “Freezing-of-gait detection using temporal, spatial, and physiological features with a support-vector-machine classifier,” Proceedings of the Annual International Conference of the IEEE Engineering in Medicine and Biology Society, EMBS, pp. 2867–2870, 9 2017. 27. [27]. Y. Zhang and D. Gu, “A deep convolutional-recurrent neural network for freezing of gait detection in patients with parkinson’s disease,” Proceedings - 2019 12th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics, CISP-BMEI 2019, 10 2019. 28. [28]. B. Li, Y. Sun, Z. Yao, J. Wang, S. Wang, and X. Yang, “Improved deep learning technique to detect freezing of gait in parkinson’s disease based on wearable sensors,” Electronics 2020, Vol. 9, Page 1919, vol. 9, p. 1919, 11 2020. 29. [29]. B. Filtjens, P. Ginis, A. Nieuwboer, P. Slaets, and B. Vanrumste, “Automated freezing of gait assessment with marker-based motion capture and multi-stage spatial-temporal graph convolutional neural networks,” Journal of NeuroEngineering and Rehabilitation, vol. 19, pp. 1–14, 12 2022. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1186/s12984-022-01002-w&link_type=DOI) 30. [30]. B. Filtjens, B. Vanrumste, and P. Slaets, “Skeleton-based action segmentation with multi-stage spatial-temporal graph convolutional neural networks,” IEEE Transactions on Emerging Topics in Computing, 2022. 31. [31]. R. Yao, G. Lin, Q. Shi, and D. C. Ranasinghe, “Efficient dense labelling of human activity sequences from wearables using fully convolutional networks,” Pattern Recognition, vol. 78, pp. 252–266, 2018. 32. [32]. Y. A. Farha and J. Gall, “Ms-tcn: Multi-stage temporal convolutional network for action segmentation,” 3 2019. 33. [33]. Y. Zhang, X. Wang, P. Han, S. Verschueren, W. Chen, and B. Vanrumste, “Can wearable devices and machine learning techniques be used for recognizing and segmenting modified physical performance test items?,” IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 30, pp. 1776–1785, 2022. 34. [34]. C. Wang, T. S. Kumar, W. D. Raedt, G. Camps, H. Hallez, and B. Vanrumste, “Drinking gesture detection using wrist-worn imu sensors with multi-stage temporal convolutional network in free-living environments,” Annual International Conference of the IEEE Engineering in Medicine and Biology Society. IEEE Engineering in Medicine and Biology Society. Annual International Conference, vol. 2022, pp. 1778–1782, 2022. 35. [35]. D. Pavllo, C. Feichtenhofer, D. Grangier, and M. Auli, “3d human pose estimation in video with temporal convolutions and semi-supervised training,” Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, vol. 2019-June, pp. 7745– 7754, 11 2018. 36. [36]. N. S. Keskar, J. Nocedal, P. T. P. Tang, D. Mudigere, and M. Smelyanskiy, “On large-batch training for deep learning: Generalization gap and sharp minima,” 5th International Conference on Learning Representations, ICLR 2017 - Conference Track Proceedings, 9 2016. 37. [37]. F. Yu and V. Koltun, “Multi-scale context aggregation by dilated convolutions,” 4th International Conference on Learning Representations, ICLR 2016 - Conference Track Proceedings, 11 2015. 38. [38]. C. Lea, M. D. Flynn, R. Vidal, A. Reiter, and G. D. Hager, “Temporal convolutional networks for action segmentation and detection,” Proceedings - 30th IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, vol. 2017-January, pp. 1003–1012, 11 2017. 39. [39]. S. Ioffe and C. Szegedy, “Batch normalization: Accelerating deep network training by reducing internal covariate shift,” 32nd International Conference on Machine Learning, ICML 2015, vol. 1, pp. 448–456, 2 2015. 40. [40]. K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778, June 2016. 41. [41]. T. Chen and C. Guestrin, “Xgboost: A scalable tree boosting system,” Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, vol. 13-17-August-2016, pp. 785–794, 3 2016. 42. [42]. A. Nieuwboer, L. Rochester, T. Herman, W. Vandenberghe, G. E. Emil, T. Thomaes, and N. Giladi, “Reliability of the new freezing of gait questionnaire: Agreement between patients with parkinson’s disease and their carers,” Gait & Posture, vol. 30, pp. 459–463, 11 2009. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.gaitpost.2009.07.108&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=19660949&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2023%2F07%2F12%2F2023.07.10.23292437.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000273040200011&link_type=ISI) 43. [43]. N. D’Cruz, J. Seuthe, C. D. Somer, F. Hulzinga, P. Ginis, C. Schlenstedt, and A. Nieuwboer, “Dual task turning in place: A reliable, valid, and responsive outcome measure of freezing of gait,” Movement Disorders, vol. 37, pp. 269–278, 2 2022. 44. [44]. K. Kestens, S. Degeest, M. Miatton, and H. Keppler, “An auditory stroop test to implement in cognitive hearing sciences: Development and normative data,” International Journal of Psychological Research, vol. 14, p. 37, 10 2021. 45. [45]. Y. Kondo, K. Mizuno, K. Bando, I. Suzuki, T. Nakamura, S. Hashide, H. Kadone, and K. Suzuki, “Measurement accuracy of freezing of gait scoring based on videos,” Frontiers in Human Neuroscience, vol. 16, p. 309, 5 2022. 46. [46]. K. Kompoliti, C. G. Goetz, S. Leurgans, M. Morrissey, and I. M. Siegel, ““on” freezing in parkinson’s disease: Resistance to visual cue walking devices,” Movement Disorders, vol. 15, pp. 309–312, 2000. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1002/1531-8257(200003)15:2<309::AID-MDS1016>3.0.CO;2-P&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=10752582&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2023%2F07%2F12%2F2023.07.10.23292437.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000085878500016&link_type=ISI) 47. [47]. Y. H. Chan, “Biostatistics 104: Correlational analysis,” Singapore Med J, vol. 44, pp. 614–619, 2003. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=14770254&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2023%2F07%2F12%2F2023.07.10.23292437.atom) 48. [48]. A. Gupta, N. Tatbul, R. Marcus, S. Zhou, I. Lee, and J. Gottschlich, “Class-weighted evaluation metrics for imbalanced data classification,” 2020. 49. [49]. J. Demšar, “Statistical comparisons of classifiers over multiple data sets,” J. Mach. Learn. Res., vol. 7, no. 1, pp. 1–30, 2006. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.jecp.2010.03.005&link_type=DOI) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000236331400001&link_type=ISI) 50. [50]. W. S. Gosset, “The probable error of a mean,” Biometrika, vol. 6, pp. 1– 25, 3 1908. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/biomet/6.1.1&link_type=DOI) 51. [51]. J. (David) Li, “A two-step rejection procedure for testing multiple hypotheses,” J. Stat. Plan. Inference, vol. 138, pp. 1521–1527, July 2008. 52. [52]. M. B. Brown and A. B. Forsythe, “Robust tests for the equality of variances,” Journal of the American Statistical Association, vol. 69, pp. 364–367, 1974. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.2307/2285659&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=WOS:A1974T79&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2023%2F07%2F12%2F2023.07.10.23292437.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=A1974T799200012&link_type=ISI) 53. [53]. S. S. Shapiro and. M. B. Wilk, “An analysis of variance test for normality (complete samples),” Biometrika, vol. 52, pp. 591–611, 1965. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/biomet/52.3-4.591&link_type=DOI) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=A19657091600025&link_type=ISI) 54. [54]. J. M. Bland and D. G. Altman, “Statistical methods for assessing agreement between two methods of clinical measurement,” The Lancet, vol. 327, pp. 307–310, 2 1986. 55. [55]. B. Calvo and G. Santafé, “scmamp: Statistical Comparison of Multiple Algorithms in Multiple Problems,” The R Journal, vol. 8, no. 1, pp. 248–256, 2016. [1]: /embed/inline-graphic-1.gif [2]: /embed/inline-graphic-2.gif [3]: /embed/inline-graphic-3.gif [4]: /embed/inline-graphic-4.gif [5]: /embed/inline-graphic-5.gif [6]: /embed/inline-graphic-6.gif