Reinforcement learning in linear embedding space unlocks generalizable control across soft robot configurations

Xinglong Zhang, Cong Li, Hangjie Mo, Yue Jiang, Xin Xu, Wei Jiang, Zhenshan Bing, Yihe Yang, Xiaojian Li, Yueneng Yang, Huimin Lu, Ling-li Zeng, Alois Knoll, Dewen Hu, Li Wen, Wei PanarXiv 2026

TL;DR

This paper introduces Linear Embedding Reinforcement Learning (LERL), a framework that enables a single control policy to rapidly adapt across diverse soft robot configurations without retraining from scratch. By mapping complex, morphology-dependent nonlinear dynamics into a shared, linear Koopman embedding space, the authors achieve a 75× reduction in training samples compared to state-of-the-art methods. This approach unlocks real-time generalizable control, allowing soft robots to perform high-speed, high-payload tasks like nail hammering, calligraphy, and dynamic stick-catching.

What Problem Does This Paper Address?

Soft robots offer incredible flexibility, safety, and resilience, mimicking biological systems like octopuses or elephant trunks. However, controlling them is notoriously difficult due to their highly nonlinear, continuous-deformation dynamics. Traditional analytical modeling is computationally expensive, while standard data-driven approaches (like deep reinforcement learning) require millions of samples and are highly specific to a single robot configuration.

If you change a soft robot's length, material, or stiffness, you typically have to throw out the old controller and start remodeling or retraining from scratch. This paper tackles this exact bottleneck, proposing a generalizable control system capable of rapid, real-time adaptation across completely different soft robot morphologies.

Methods

The authors propose Linear Embedding Reinforcement Learning (LERL), which decouples the control policy from specific robot morphologies by utilizing a shared latent space. The method consists of two main phases:

  1. Koopman Embedding Learning (Offline): The authors train a Multilayer Perceptron (MLP) offline using data collected from just a single soft robot segment. This embedding maps the complex, nonlinear robot dynamics into a higher-dimensional, inherently linear space where standard linear control principles apply. Crucially, they introduce control-oriented regularization (eigenvalue and singular value constraints) during pretraining to guarantee open-loop stability and controllability in the embedding space.
  2. Online Model-Free RL: Instead of learning a policy in the original complex state space, model-free Q-learning is performed directly within the linear embedding space. Because the space behaves linearly, policy updates are incredibly data-efficient and can happen online in real-time.

When transferring the policy to a new configuration (e.g., adding more segments or changing the actuator layout), LERL uses a padding procedure or a geometric action re-allocation matrix to map the control inputs without needing to retrain the underlying embedding from scratch.

Overview of the LERL framework showing offline embedding pretraining and online model-free RL.

Datasets

The paper evaluates its framework using custom-generated experimental data across three distinct soft robotic platforms rather than standard public datasets:

  • Offline Training Data: 20,000 input-state samples collected from a single honeycomb-structured soft robot segment ($E^1_S$) under sinusoidal excitation.
  • Evaluation Benchmark: A library of 30 distinct physical soft robot configurations, including 22 variations of elephant-trunk robots (varying in segment length, stiffness, and assembly order), 3 soft-muscle variants, 3 worm-like robots (actuated via negative pressure/suction), and 2 hybrid-assembled robots.
  • Feedforward Policy Data: Just 500 quasi-static motion samples per new configuration to initialize the feedforward controller.

Key Insights and Ideas

  • Shared Latent Dynamics: Despite looking completely different and being constructed from varied materials, diverse soft robot configurations share fundamental dynamic characteristics that can be captured within a single, unified linear embedding space.
  • Turning Modeling Errors into Features: Traditional controllers treat modeling errors as external disturbances to be rejected, which often degrades performance. LERL implicitly embeds these residual uncertainties directly into the Q-function optimization, actually leveraging them to improve closed-loop control.
  • Bridging the Modeling-Control Gap: Data-driven models often suffer from a gap between prediction accuracy and control stability. By forcing the Koopman matrix eigenvalues inside the unit circle during offline training, the authors guarantee that the learned embedding remains stable and controllable.

Key Results

  • 75× Sample Reduction: LERL requires only 2,000 samples for online policy adaptation to a new configuration, compared to the 150,000 samples demanded by state-of-the-art methods like Koopman Control with Inertial Dynamics (KCID).
  • High-Speed & High-Payload: The system achieved tracking velocities up to 1.89 m·s⁻¹ and accelerations of 22.34 m·s⁻² (on the worm robot), while successfully manipulating a heavy 1 kg payload—a massive feat for flexible, soft structures.
  • Hardware Resilience: LERL maintained precise tracking (<2 mm error) even under severe hardware degradation, such as simulating 7 broken internal airbags.
  • Complex Real-World Skills: The framework enabled soft robots to perform tasks previously restricted to rigid arms, including forceful nail hammering, delicate drink serving with safe human interaction, fluid brush calligraphy, and a fast hand-eye coordination stick-catching game.
Soft robots executing challenging tasks like hammering nails, serving drinks, and calligraphy.

Limitations and Future Work

  • Actuation Mode Gaps: Direct policy transfer is less effective when switching between fundamentally opposite actuation modes (e.g., positive pressure expansion vs. negative pressure suction). In these cases, an offline policy initialization step (requiring ~10k samples) is still needed before online adaptation can begin.
  • Rigid-to-Soft Generalization: While the authors demonstrate elementary validation of transferring policies to rigid-body simulations (in MuJoCo), fully unifying rigid and soft robot control under a single "foundation" control policy remains an open challenge for future research.

Summary updated

BibTeX
@misc{zhang2026reinforcement,
  author = {Xinglong Zhang and Cong Li and Hangjie Mo and Yue Jiang and Xin Xu and Wei Jiang and Zhenshan Bing and Yihe Yang and Xiaojian Li and Yueneng Yang and Huimin Lu and Ling-li Zeng and Alois Knoll and Dewen Hu and Li Wen and Wei Pan},
  title = {{Reinforcement learning in linear embedding space unlocks generalizable control across soft robot configurations}},
  year = {2026},
  eprint = {2606.08104},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.08104},
}
Figure