Transformer-Based Trajectory Prescription for sEMG-Optimizing Robot-Mediated Rehabilitation
Gabriel Parra, Kimia Khoshnami, Daniel S. Brown, Laura A. Hallock
Abstract
Robot-mediated rehabilitation has the potential to deliver high-intensity, individualized therapy, but existing systems (which have not consistently improved outcomes) typically prescribe kinematic trajectories rather than explicitly targeting the neuromotor activations thought to support recovery. To address this gap, and ultimately enable activation-optimizing rehabilitation robot behavior, we present a personalizable transformer-based model mapping individuals' muscle activations (as measured via surface electromyography) to prescribed contact force trajectories when interacting with an end-effector rehabilitation robot. The model uses a transformer encoder-decoder leveraging rotary positional embeddings (RoPE) to generate a latent representation of trajectory-relevant and user-specific neuromotor factors, and augments trajectory prediction with flow matching to produce a distribution over plausible prescriptions biased toward the training distribution. Using data from 16 healthy participants completing 15 isometric trajectory tracking tasks, we evaluate generalization across held-out tasks and users, as well as the feasibility of user-specific fine-tuning within a therapy-session timescale. The model achieves mean trajectory prediction errors of <8% on held out tasks and users, with effectively instantaneous deterministic inference and sub-second sampling of trajectory distributions. An initial test using the model during live rehabilitation tasks demonstrates that, on average, participants reach the target neuromotor activations with just 15% error accumulated throughout the task. These results provide a proof of concept for data-driven, activation-targeted trajectory prescription in robot-mediated rehabilitation and establish a foundation for future validation in clinical populations. Data and code have been open-sourced as part of the OpenRobotRehab project on SimTK.
Create a lesson
Metadata
- Categories
- cs.RO, cs.HC, cs.LG
- Comments
- Accepted for presentation and publication in the 2026 Conference on Robot Learning (CoRL). PMLR, 2026
Related papers
FOCI: Trajectory Optimization on Gaussian Splats for Gaussian Robots
Shared title terminologycs.ROMario Gomez Andreu, Carlos Martinez Cuenca, Maximum Wilder-Smith et al.
Ground Your Steps: Optimizing Sampling Schedules in Flow Matching Robot Policies
Shared title terminologycs.ROLicheng Yang, Yonghao He, Lingfeng Qian et al.
DFLAT: Model-based Diffusion on Differentially Flat Spaces for Long-Horizon Trajectory Optimization
Shared title terminologycs.ROEge Yuceel, Taekyung Kim, Keyvan Majd et al.
Model Predictive Control of a Multirotor UAV with a Cable-Suspended Payload: A Comparison of Shifted and Transformer-Based Warm Starts
Shared title terminologycs.ROAthanasios Zeris
Task-Driven Closed-Loop Design Optimization of Passively Morphing Quadrotors for Contact-Mediated Narrow Gap Traversal
Shared title terminologycs.ROEtor Arza, Luca Girardi, Gabriel Maquignaz et al.
HOC2R: Hand-Object Contact Trajectories for Human-to-Robot Motion Transfer
Shared title terminologycs.ROHongkun Yu, Francisco M. López, Francisco Cruz