Stride Length Estimation with Deep Learning

Julius Hannink, Thomas Kautz, Cristian F. Pasluosta, Jens Barth, Samuel Schülein, Karl-Günter Gaßmann, Jochen Klucken, Björn M. EskofierarXiv 2016 · DOI

Abstract

Accurate estimation of spatial gait characteristics is critical to assess motor impairments resulting from neurological or musculoskeletal disease. Currently, however, methodological constraints limit clinical applicability of state-of-the-art double integration approaches to gait patterns with a clear zero-velocity phase. We describe a novel approach to stride length estimation that uses deep convolutional neural networks to map stride-specific inertial sensor data to the resulting stride length. The model is trained on a publicly available and clinically relevant benchmark dataset consisting of 1220 strides from 101 geriatric patients. Evaluation is done in a 10-fold cross validation and for three different stride definitions. Even though best results are achieved with strides defined from mid-stance to mid-stance with average accuracy and precision of 0.01 ± 5.37 cm, performance does not strongly depend on stride definition. The achieved precision outperforms state-of-the-art methods evaluated on this benchmark dataset by 3.0 cm (36%). Due to the independence of stride definition, the proposed method is not subject to the methodological constrains that limit applicability of state-of-the-art double integration methods. Furthermore, precision on the benchmark dataset could be improved. With more precise mobile stride length estimation, new insights to the progression of neurological disease or early indications might be gained. Due to the independence of stride definition, previously uncharted diseases in terms of mobile gait analysis can now be investigated by re-training and applying the proposed method.

Introduction

Accurate gait analysis is a cornerstone of diagnosing and monitoring neurological disorders like Parkinson’s disease (PD). While laboratory-grade systems, such as optical motion capture or pressure-sensitive walkways, are highly accurate, they are expensive and restricted to clinical settings. Mobile sensors (accelerometers and gyroscopes) offer a solution for "in-the-wild" monitoring, but they face a major mathematical hurdle: integration drift. To calculate distance from acceleration, one must integrate twice, causing small sensor errors to accumulate rapidly. Traditional algorithms mitigate this using a Zero-Velocity Update (ZUPT), which assumes the foot is perfectly still during the stance phase to reset the error. However, many patients with severe gait disorders do not exhibit a clear "still" phase due to shuffling, tremors, or spasticity, rendering ZUPT-based methods ineffective.

Methods

This study proposes a purely data-driven approach using a Deep Convolutional Neural Network (CNN) to treat stride length estimation as a regression task. The system utilizes a 6-channel signal (3D acceleration and 3D angular velocity) from a foot-mounted sensor representing a single stride.

Deep Convolutional Neural Network architecture for mapping inertial sensor signals to stride length.

The input data is calibrated, aligned to a common coordinate system, normalized, and zero-padded to a fixed length of 256 samples. The CNN architecture consists of two convolutional layers followed by max-pooling to extract local temporal features. This is followed by a fully connected layer with 1024 nodes and 50% dropout to prevent overfitting, leading to a final readout layer that outputs the estimated stride length in centimeters. The model was trained using the Adam optimizer and RMSE loss on a benchmark dataset of 1,220 strides from 101 geriatric patients, with ground truth provided by a GAITRite pressure mat.

Key Results

The proposed model achieved an average accuracy and precision of 0.01 ± 5.37 cm for mid-stance to mid-stance strides. This represents a 3.0 cm (36%) improvement in precision over previous state-of-the-art methods evaluated on the same dataset.

Bland-Altman plot of the msDTW stride definition showing the error distribution and regression line.

As shown in the Bland-Altman plot, the model demonstrates high agreement with the reference system across a wide range of stride lengths. While there is a slight tendency to overestimate very short strides and underestimate very long ones—likely due to training data distribution—the precision is sufficient to resolve clinical differences, such as the 11–18 cm stride length changes seen in Parkinson's patients between medication states. Furthermore, the model proved robust to different stride definitions (e.g., heel-strike vs. mid-stance), unlike traditional physics-based methods.

Discussion and Conclusion

By breaking the dependency on Zero-Velocity Updates, this deep learning approach extends mobile gait analysis to patients with severe pathologies who were previously difficult to monitor. The elimination of manual feature engineering and the model's robustness to stride definition simplify the deployment of gait monitoring systems. Future work will focus on expanding the framework to estimate additional parameters such as stride width and foot clearance, and utilizing biomechanical simulations to augment clinical datasets.

Summary updated

BibTeX
@misc{hannink2016stride,
  author = {Julius Hannink and Thomas Kautz and Cristian F. Pasluosta and Jens Barth and Samuel Schülein and Karl-Günter Gaßmann and Jochen Klucken and Björn M. Eskofier},
  title = {{Stride Length Estimation with Deep Learning}},
  year = {2016},
  eprint = {1609.03321},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1609.03321},
}
Figure