Gait Cycle-Inspired Learning Strategy for Continuous Prediction of Knee Joint Trajectory from sEMG

Xueming Fu, Hao Zheng, Luyan Liu, Wenjuan Zhong, Haowen Liu, Wenxuan Xiong, Yuyang Zhang, Yifeng Chen, Dong Wei, Mingjie Dong, Yefeng Zheng, Mingming ZhangarXiv 2023 · DOI

Abstract

Predicting knee joint trajectory from surface electromyography (sEMG) is vital for the intuitive control of lower-limb exoskeletons. However, inter-subject variability and signal noise pose significant challenges to model generalization. This paper introduces a deep-learning framework that decouples gait into universal motion patterns and individual amplitudes while employing activation masks to filter gait-irrelevant noise. Achieving a state-of-the-art Root Mean Square Error (RMSE) of 3.03°, the model provides a 50ms predictive lead time, facilitating real-time, personalized assistive device control.

Introduction

Controlling a lower-limb exoskeleton or a powered prosthetic requires knowing what the user intends to do before they do it. Surface electromyography (sEMG)—recording the electrical activity of muscles through the skin—is considered the "holy grail" for this because these signals occur slightly before actual limb movement.

Despite its potential, sEMG-based prediction faces two massive hurdles. First, inter-subject variation makes it difficult for models to generalize; differences in height, weight, and walking style mean a model trained on one person often fails on another. Second, intra-subject variation and noise often confuse standard neural networks. "Gait-irrelevant" activities, such as a slight stumble or muscle twitch, can lead models to memorize training noise rather than learning the underlying physics of walking.

Methodology

The proposed framework utilizes a spatio-temporal convolutional network designed around two "gait-inspired" strategies to address these challenges.

Figure 1: Overview of the three-step offline/online framework for knee joint trajectory prediction.

Gait Kinematic Decoupling

Instead of predicting raw joint angles directly, the model splits the angle into two components: a motion pattern ($G(t)$) and amplitudes/offsets ($\mu, \sigma$). The motion pattern represents the normalized "shape" of a step, which remains remarkably consistent across different humans. The amplitudes act as "volume knobs" that adjust that shape based on an individual's specific physiology. By predicting these separately, the model learns universal walking mechanics while remaining tunable to a specific person's stride.

Figure 2: Visualization of gait kinematic decoupling, showing the raw knee joint angle (a), the normalized pattern (b), and the individual amplitude/offset parameters (c, d).

Muscle Principal Activation Masking

To mitigate the impact of noisy sEMG signals, the researchers developed "activation masks" based on average gait cycles. These masks function as a smart filter, weighting the sEMG signals so the model prioritizes muscles when they are biologically expected to be active during a walk and ignores gait-irrelevant spikes.

Multi-Task Learning

The architecture employs multi-task learning to simultaneously predict gait timing, muscle activation intervals, and joint angles. This auxiliary guidance forces the internal layers of the network to learn more meaningful features about the biomechanics of walking rather than just statistical correlations.

Experimental Setup

The study utilized a custom dataset involving 10 healthy subjects (7 male, 3 female) walking on a treadmill at four different speeds (2.5, 3.0, 3.5, and 4.0 km/h). Data collection involved 8 channels of sEMG from major leg muscles (e.g., rectus femoris, gastrocnemius) and a high-precision 15-marker optical motion capture system to provide the ground truth for joint angles.

Results

  • Superior Accuracy: The model achieved an average RMSE of 3.03° ± 0.49°, representing a 9.5% improvement over previous state-of-the-art baselines.
  • Predictive Lead Time: The system predicts the trajectory 50ms ahead of time, which is crucial for real-time exoskeleton control to compensate for mechanical latency.
  • Generalization: In "leave-one-subject-out" testing, the decoupling strategy significantly reduced error compared to standard end-to-end models, proving its effectiveness for new users.
  • Efficiency: Inference time is approximately 20ms on a standard laptop CPU, making it viable for portable, wearable systems.

Discussion and Conclusion

Interpretability analysis via DeepLIFT confirmed that the model "attends" to the correct muscles at the correct times—for example, focusing on the biceps femoris during the stance phase. This confirms the model is learning biological principles rather than just noise.

While the results are promising, future work is needed to address pathological gait patterns in impaired users, who may have more irregular muscle activations. Additionally, expanding the dataset to include varied terrains like stairs and slopes will be essential for real-world deployment. Finally, exploring the biofeedback loop between the robot's movement and the human's sEMG signals remains a critical next step for human-in-the-loop optimization.

Summary updated

BibTeX
@misc{fu2023gait,
  author = {Xueming Fu and Hao Zheng and Luyan Liu and Wenjuan Zhong and Haowen Liu and Wenxuan Xiong and Yuyang Zhang and Yifeng Chen and Dong Wei and Mingjie Dong and Yefeng Zheng and Mingming Zhang},
  title = {{Gait Cycle-Inspired Learning Strategy for Continuous Prediction of Knee Joint Trajectory from sEMG}},
  year = {2023},
  eprint = {2307.13209},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.13209},
}
Figure