A data-physics hybrid generative model for patient-specific post-stroke motor rehabilitation using wearable sensor data

Yanning Dai, Chenyu Tang, Ruizhi Zhang, Wenyu Yang, Yilan Zhang, Yuhui Wang, Junliang Chen, Xuhang Chen, Ruimou Xie, Yangyue Cao, Qiaoying Li, Jin Cao, Tao Li, Hubin Zhao, Yu Pan, Arokia Nathan, Xin Gao, Peter Smielewski, Shuo Gao

Introduction

Post-stroke motor rehabilitation is a critical yet challenging phase of recovery, often characterized by a "cautious trial-and-error" approach. While wearable sensors have become ubiquitous in clinical settings, their utility has largely been confined to descriptive metrics—compressing motion data into static scores like the Fugl-Meyer scale. These metrics describe how a patient has moved, but they lack the predictive power to forecast how a patient will perform in novel, challenging environments. This gap makes it difficult for therapists to safely titrate the difficulty of exercises, risking either stalled recovery or patient injury.

This paper introduces a data-physics hybrid generative framework designed to create personalized digital avatars of stroke survivors. By utilizing just a 20-meter walking clip from five wearable sensors, the system can predict patient-specific performance across unobserved scenarios, such as climbing stairs or navigating slopes.

Methodology

The researchers propose a wearable-informed generative framework that integrates physics-based simulation with deep reinforcement learning (DRL). The workflow is structured into three distinct stages:

1. Healthy Motion Atlas (HMA)

Using the Unity 3D/PhysX engine, the authors trained a population-level "prior" of normative gait. This model serves as a foundation, learning how a healthy human body coordinates movement across various speeds and step lengths. Training was conducted using Proximal Policy Optimization (PPO) to ensure a robust baseline of movement possibilities.

2. Atlas-to-Patient Adaptation

To move from a general model to a personalized one, the framework employs transfer learning. The HMA is fine-tuned using a single 20-meter walking trial from a specific stroke patient. This process captures the patient’s unique "control signature," effectively distilling individual impairments—such as asymmetric stance phases or reduced knee flexion—into the digital avatar's control logic.

3. Task-Conditioned Prediction

To forecast movement in new environments, the framework utilizes a combination of Behavioral Cloning (BC) and Generative Adversarial Imitation Learning (GAIL). This ensures that the avatar’s predicted movements remain both physiologically plausible and patient-specific, even when the terrain (e.g., stairs or inclines) differs from the initial training data.

Experimental Setup and Datasets

The study utilized a comprehensive gait locomotion dataset consisting of:

  • Healthy Data: 162 clips, including sequences from the CMU Motion Capture database and recordings from 19 healthy adults.
  • Stroke Data: 21 clips from post-stroke inpatients across five rehabilitation centers.
  • Hardware: Data was captured using five Inertial Measurement Units (IMUs) placed on the pelvis, thighs, and shanks.
  • Volume: A total of 21,674 frames of motion data were processed.

Key Insights

The "Control Signature" Hypothesis

A central premise of this work is that a patient's level-ground gait contains an inherent "signature" of their motor control capabilities. By embedding this signature into a physics-based avatar, the model can extrapolate how those specific control constraints will manifest under different physical demands, such as gravity's effect on a staircase.

Physics as a Regularizer

Unlike pure "black-box" neural networks, the inclusion of a physics engine enforces real-world constraints like joint limits and ground contact. This prevents the generation of biomechanically impossible movements and ensures that the predictions are grounded in physical reality.

Safety Boundaries and Curriculum Learning

By employing curriculum learning—gradually increasing the difficulty of simulated tasks—the model identifies the specific "safety boundary" where a patient’s gait is likely to break down into unstable or dangerous compensatory behaviors. This allows for a data-driven approach to risk assessment in rehabilitation.

Results and Clinical Impact

The framework demonstrated high predictive accuracy and significant clinical utility:

  • Predictive Accuracy: The avatars achieved 82.2% posture similarity for predicted slope walking and 69.9% for stair climbing compared to ground-truth measurements, outperforming standard physics-only baselines.
  • Clinical Efficacy: In a 28-day pilot randomized controlled study (n=21), the "model-assisted" group—where therapists used avatar predictions to plan rehabilitation tasks—showed a mean change of 6.0 points in Fugl-Meyer lower-extremity scores. This was significantly higher than the 3.7 points gained by the control group.
  • Robustness: The personalized controllers remained stable under simulated external disturbances (shoves) of up to 980 N, demonstrating the resilience of the learned control signatures.

Limitations and Future Work

While the framework represents a significant step forward, several limitations remain. The current model is restricted to straight-line movements and does not yet account for turning, dual-tasking, or the use of assistive devices like canes. Furthermore, the study focused on patients capable of independent walking; future iterations will need to address more severe impairments. The authors suggest that the next frontier lies in integrating these "digital twins" into real-time biofeedback systems or robotic exoskeletons to provide active assistance during rehabilitation.

Summary updated

BibTeX
@misc{dai2025data,
  author = {Yanning Dai and Chenyu Tang and Ruizhi Zhang and Wenyu Yang and Yilan Zhang and Yuhui Wang and Junliang Chen and Xuhang Chen and Ruimou Xie and Yangyue Cao and Qiaoying Li and Jin Cao and Tao Li and Hubin Zhao and Yu Pan and Arokia Nathan and Xin Gao and Peter Smielewski and Shuo Gao},
  title = {{A data-physics hybrid generative model for patient-specific post-stroke motor rehabilitation using wearable sensor data}},
  year = {2025},
  eprint = {2512.14329},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.14329},
}
Figure