Towards AI-Controlled FES-Restoration of Arm Movements: Controlling for Progressive Muscular Fatigue with Gaussian State-Space Models

Nat Wannawas, A. Aldo Faisal

Introduction

Functional Electrical Stimulation (FES) is a promising rehabilitative technology that uses low-level electrical pulses to trigger muscle contractions, potentially restoring motor function to individuals living with paralysis. However, achieving precise, naturalistic control over these movements remains a significant challenge. Human biomechanics are inherently non-linear and vary significantly between individuals. Perhaps the most difficult hurdle is the dynamic nature of muscle tissue itself—specifically, the phenomenon of progressive muscular fatigue.

The Challenge of Unobservable Fatigue

As a muscle is repeatedly stimulated via FES, its force-generating capacity declines. This fatigue is a "hidden" or unobservable variable; it cannot be directly measured by standard kinematic sensors like accelerometers or potentiometers.

In the context of Reinforcement Learning (RL), this lack of visibility creates a violation of the Markovian assumption. Standard RL agents operate on the premise that the current observation provides all the information necessary to choose an optimal action. When a muscle fatigues, the same electrical input that previously moved the arm 30 degrees might now only move it 10 degrees. Without a way to account for this internal state change, a standard RL controller becomes confused, leading to degraded performance and a failure to reach target positions.

Methodology: The RL-GSSM Framework

To address this, the researchers developed a dual-component architecture known as RL-GSSM, which combines the decision-making power of Reinforcement Learning with the state-estimation capabilities of Gaussian State-Space Models.

1. Gaussian State-Space Model (GSSM)

The GSSM acts as a sophisticated temporal filter. By utilizing a Recurrent Neural Network (RNN), the model processes a history of past observations (joint angles) and actions (stimulation intensity). This allows the system to "remember" the stimulation history and infer the current latent state of the muscle, effectively creating a proxy for the unobservable fatigue level.

2. Uncertainty via RP-Ensembles

A common failure point for GSSMs is "overconfidence" in their predictions. To make the system more robust, the authors replaced the standard transition function with a Randomized Prior (RP) Ensemble. This ensemble approach allows the model to quantify its own uncertainty, leading to more stable learning and better generalization across different movement patterns.

3. Reinforcement Learning (SAC)

The control policy is driven by the Soft Actor-Critic (SAC) algorithm. Unlike traditional RL, which would look at raw sensor data, this agent makes decisions based on the filtered, latent state provided by the GSSM. This ensures the agent's actions are informed by the estimated fatigue level.

Experimental Setup

The system was evaluated using a high-fidelity OpenSim neuromechanical simulation of a human arm. The model included six muscles, with four specifically targeted for stimulation: the Brachialis, Triceps medial, Deltoid posterior, and Pectoralis major. The simulation environment was designed to mimic a planar reaching task where the system had to move the arm to specific shoulder and elbow target angles while accounting for dynamic fatigue modeled as a function of time and stimulation intensity.

Key Results and Discussion

The RL-GSSM approach demonstrated significant improvements over baseline "vanilla" RL controllers:

  • High Precision: The proposed system achieved an average Root Mean Square Error (RMSE) of 6.84°, significantly more accurate than controllers lacking the GSSM filter.
  • Fatigue Resilience: In 60-second tracking trials, the performance of vanilla RL agents degraded visibly as the simulated muscles tired, often failing to reach targets entirely in the latter half of the trial. In contrast, the RL-GSSM maintained consistent accuracy throughout the duration of the test, successfully compensating for the loss of muscle force.
  • Reliability: The inclusion of the RP-Ensemble led to much lower performance variation across different training runs, suggesting the model is stable enough for potential clinical consideration.

Conclusion and Future Directions

This research highlights that for AI to successfully control biological systems, it must account for the "history" of the body. By using GSSMs to infer hidden states like fatigue, the RL-GSSM framework provides a path toward more reliable and persistent FES-restored movement.

Future work will focus on moving beyond simulation to address real-world complexities, such as skin impedance noise and electrode displacement. Additionally, the authors aim to explore "model-based" RL to improve data efficiency, potentially reducing the amount of training data required from human subjects in a clinical setting.

Summary updated

BibTeX
@inproceedings{wannawas2023towards,
  author = {Nat Wannawas and A. Aldo Faisal},
  title = {{Towards AI-Controlled FES-Restoration of Arm Movements: Controlling for Progressive Muscular Fatigue with Gaussian State-Space Models}},
  booktitle = {NER},
  year = {2023},
  doi = {10.1109/ner52421.2023.10123874},
}
Figure