Abstract
Accurate gait analysis in real-world environments is crucial for monitoring mobility-limiting diseases. This study validates a Deep Learning (DL) algorithm based on Temporal Convolutional Networks (TCN) for detecting gait events—Initial Contacts (IC) and Final Contacts (FC)—using wearable sensors in unconstrained settings. Testing across diverse cohorts, including Parkinson’s disease and heart failure, the algorithm demonstrated high detection performance (IC recall: 98%, FC recall: 99%) and minimal timing errors. These findings suggest that DL models can provide ecologically valid clinical gait metrics, overcoming the limitations of traditional rule-based methods.
Introduction: The Challenge of Ecological Validity
Clinical mobility assessments typically occur in controlled laboratory settings, such as the 4-meter walk test. However, these "snapshots" often fail to capture how patients navigate their daily lives—a concept known as ecological validity. To bridge this gap, wearable Inertial Measurement Units (IMUs) are used for continuous monitoring.
The primary technical hurdle in real-world monitoring is accurately segmenting continuous IMU data into individual steps. This requires identifying Initial Contacts (ICs, foot strikes) and Final Contacts (FCs, toe-offs). Traditional heuristic algorithms rely on specific signal peaks and require precise sensor alignment, which is difficult to maintain in home environments. Furthermore, these rule-based methods often struggle with the irregular gait patterns characteristic of neurological and musculoskeletal disorders.
Methodology: Deep Learning for Gait Detection
To address these challenges, researchers implemented a Temporal Convolutional Network (TCN) designed to learn gait patterns directly from raw accelerometer and gyroscope data.
The TCN architecture utilizes stacked residual blocks with dilated convolutions, allowing the model to capture long-range temporal dependencies without the computational cost of recurrent networks. Unlike traditional methods, this DL approach is robust to variations in sensor orientation and individual biomechanical differences.
For ground truth, participants wore the "INDIP" system, which pairs IMUs with pressure-sensing insoles. These insoles provide a portable "gold standard" for foot contact timing in free-living conditions, allowing for the rigorous validation of the DL model against real-world data.
Dataset and Cohort Diversity
The study leveraged data from the Mobilise-D technical validation study, encompassing 108 participants across six distinct groups:
- Healthy Older Adults (HA)
- Congestive Heart Failure (CHF)
- Chronic Obstructive Pulmonary Disease (COPD)
- Multiple Sclerosis (MS)
- Parkinson’s Disease (PD)
- Proximal Femoral Fracture (PFF)
The final evaluation was conducted on a testing set of 13,100 strides from 17 participants whose data was entirely unseen by the model during training.
Key Results and Performance
The DL algorithm achieved exceptional accuracy across all disease cohorts, rivaling the performance of in-lab systems.
Detection Accuracy
- Initial Contacts (ICs): 98% recall and 96% precision.
- Final Contacts (FCs): 99% recall and 94% precision.
Timing and Clinical Metrics
The median time error was remarkably low, with a maximum median error of only -0.02s for ICs and 0.03s for FCs (observed in the PFF cohort). When these events were used to calculate clinical gait parameters, the results remained highly precise:
- Stance Time: Max mean difference of 0.07s.
- Swing Time: Max mean difference of -0.07s.
- Stride Time: Max mean difference of <0.01s.
The relative error for stride time remained at or below 2% across all cohorts, demonstrating the model's ability to produce reliable aggregate metrics despite the inherent "noise" of real-world walking.
Discussion and Future Directions
The success of this TCN-based approach highlights the potential for Deep Learning to replace rigid, rule-based algorithms in clinical practice. Its robustness to sensor placement is particularly significant for unsupervised home monitoring, where patient-led sensor application is necessary.
However, some limitations remain. The current model was tested on pre-segmented walking bouts (lasting 10 seconds or more). Future iterations will need to integrate a "walking bout detection" layer to create a fully end-to-end pipeline. Additionally, the researchers aim to explore personalized models and the detection of specific disease markers, such as freezing of gait in Parkinson’s disease, to further enhance the clinical utility of wearable gait analysis.
Summary updated