Continual Learning from Simulated Interactions via Multitask Prospective Rehearsal for Bionic Limb Behavior Modeling

Sharmita Dey, Benjamin Paassen, Sarath Ravindran Nair, Sabri Boughorbel, Arndt F. Schilling

Abstract

Modern motorized bionic limbs require sophisticated control systems to mimic natural human movement. However, machine learning models for these devices often suffer from catastrophic forgetting and compounding errors. This paper introduces a multitask prospective rehearsal framework that enables continual learning by "imagining" future states and correcting potential errors. Validated across multiple datasets, the proposed method demonstrates superior stability and adaptability compared to state-of-the-art baselines.

Introduction

The development of motorized bionic limbs aims to restore natural mobility to individuals with limb loss. Traditional control strategies often rely on rigid finite-state machines that struggle with the fluid transitions of human gait and varying terrains. While machine learning offers a more flexible alternative, it faces two primary challenges: catastrophic forgetting, where learning a new task overwrites previous knowledge, and compounding errors, where small initial prediction inaccuracies lead to system instability and potential falls.

Methodology

The proposed architecture utilizes a shared backbone based on Temporal Convolutional Networks (TCNs) integrated with task-specific modules. The core innovation is Multitask Prospective Rehearsal, a forward-looking approach to continual learning that synthesizes future trajectories to improve robustness.

Overview of the multitask prospective rehearsal framework across sequential tasks.

The framework consists of:

  • Gait Predictor ($f$): Forecasts desired joint profiles from sensor history.
  • Prospective Model ($g$): A "world model" that predicts the subsequent sensor state based on current data and the gait predictor's output.
  • Rehearsal Loop: The system synthesizes future trajectories, including potential errors, creating "off-distribution" states. Training on these "imagined" inputs teaches the model to refine its movements and self-correct before errors can accumulate.

Datasets

The model's performance was evaluated using three distinct gait datasets:

  1. ENABL3S: A comprehensive public dataset (5.2M samples) covering various locomotion activities like ramp and stair navigation.
  2. Embry Dataset: A public dataset focused on walking at different speeds and inclines.
  3. Amputee Dataset: A novel in-house dataset capturing high-precision gait patterns of transtibial amputees via infrared motion capture.

Results and Discussion

The prospective rehearsal method significantly improves model robustness against distributional shifts caused by changes in gait, fatigue, or terrain. By generating its own edge-case data, the model maintains high performance in scenarios where conventional models fail.

Performance comparison under distribution shift showing the advantage of prospective rehearsal as JS distance increases.

Key findings include:

  • Superior Accuracy: The model consistently outperformed baselines such as EWC, GEM, and PNN, achieving $R^2$ values above 0.90 across various tasks. As shown in the results, the performance gap between prospective and conventional rehearsal grows as the distribution shift (JS Distance) increases.
  • Quantifiable Stability: Using Lyapunov exponents, the researchers confirmed that the prospective model produces physically more stable trajectories. In pilot studies with an ankle exoskeleton, the model achieved a lower Lyapunov exponent (0.089) compared to standard methods (0.095).
  • Resilience to Noise: The framework maintained high performance even under adversarial perturbations and Gaussian noise, where conventional models crumbled.

Conclusion

Multitask prospective rehearsal provides a robust solution for the continual learning requirements of bionic limb controllers. By anticipating future states and learning from simulated interactions, the system avoids catastrophic forgetting and mitigates compounding errors. Future work will involve large-scale, long-term clinical trials in home environments to further validate the system's "plug-and-play" capabilities for diverse, non-cyclic movements.

Summary updated

BibTeX
@article{dey2025continual,
  author = {Sharmita Dey and Benjamin Paassen and Sarath Ravindran Nair and Sabri Boughorbel and Arndt F. Schilling},
  title = {{Continual Learning from Simulated Interactions via Multitask Prospective Rehearsal for Bionic Limb Behavior Modeling}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2025},
}
Figure