Ecological validity of a deep learning algorithm to detect gait events from real-life walking bouts in mobility-limiting diseases

Robbin Romijnders, Francesca Salis, Clint Hansen, Arne Küderle, Anisoara Paraschiv-Ionescu, Andrea Cereatti, Lisa Alcock, Kamiar Aminian, Clemens Becker, Stefano Bertuletti, Tecla Bonci, Philip M. Brown, Ellen Buckley, Alma Cantu, Anne‐Elie Carsin, Marco Caruso, Brian Caulfield, Lorenzo Chiari, Ilaria D’Ascanio, Silvia Del Din, Bjoern M. Eskofier, Sara Johansson Fernstad, Marceli Stanislaw Fröhlich, Judith García‐Aymerich, Eran Gazit, Jeffrey M. Hausdorff, Hugo Hiden, Emily Hume, Alison Keogh, Cameron Kirk, Felix Kluge, Sarah Koch, Claudia Mazzà, Dimitrios Megaritis, Encarna Micó-Amigo, Arne Müller, Luca Palmerini, Lynn Rochester, Lars Schwickert, Kirsty Scott, Basil Sharrack, David Singleton, Abolfazl Soltani, Martin Ullrich, Beatrix Vereijken, Ioannis Vogiatzis, Alison J. Yarnall, Gerhard Schmidt, Walter MaetzlerFrontiers in Neurology 2023

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.

Architecture of the Temporal Convolutional Network (TCN) used for gait event detection.

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.

Time difference between predicted and reference events for initial and final contacts across cohorts.

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

BibTeX
@inproceedings{romijnders2023ecological,
  author = {Robbin Romijnders and Francesca Salis and Clint Hansen and Arne Küderle and Anisoara Paraschiv-Ionescu and Andrea Cereatti and Lisa Alcock and Kamiar Aminian and Clemens Becker and Stefano Bertuletti and Tecla Bonci and Philip M. Brown and Ellen Buckley and Alma Cantu and Anne‐Elie Carsin and Marco Caruso and Brian Caulfield and Lorenzo Chiari and Ilaria D’Ascanio and Silvia Del Din and Bjoern M. Eskofier and Sara Johansson Fernstad and Marceli Stanislaw Fröhlich and Judith García‐Aymerich and Eran Gazit and Jeffrey M. Hausdorff and Hugo Hiden and Emily Hume and Alison Keogh and Cameron Kirk and Felix Kluge and Sarah Koch and Claudia Mazzà and Dimitrios Megaritis and Encarna Micó-Amigo and Arne Müller and Luca Palmerini and Lynn Rochester and Lars Schwickert and Kirsty Scott and Basil Sharrack and David Singleton and Abolfazl Soltani and Martin Ullrich and Beatrix Vereijken and Ioannis Vogiatzis and Alison J. Yarnall and Gerhard Schmidt and Walter Maetzler},
  title = {{Ecological validity of a deep learning algorithm to detect gait events from real-life walking bouts in mobility-limiting diseases}},
  booktitle = {Frontiers in Neurology},
  year = {2023},
  doi = {10.3389/fneur.2023.1247532},
}
Figure