Abstract
Soft robotic manipulators offer operational advantage due to their compliant and deformable structures. However, their inherently nonlinear dynamics presents substantial challenges. Traditional analytical methods often depend on simplifying assumptions, while learning-based techniques can be computationally demanding and limit the control policies to existing data. This paper introduces a novel approach to soft robotic control, leveraging state-of-the-art policy gradient methods within parallelizable synthetic environments learned from data. We also propose a safety oriented actuation space exploration protocol via cascaded updates and weighted randomness. Specifically, our recurrent forward dynamics model is learned by generating a training dataset from a physically safe mean reverting random walk in actuation space to explore the partially-observed state-space. We demonstrate a reinforcement learning approach towards closed-loop control through state-of-the-art actor-critic methods, which efficiently learn high-performance behaviour over long horizons. This approach removes the need for any knowledge regarding the robot's operations / capabilities and sets the stage for a comprehensive benchmarking tool in soft robotics control.
Introduction
Soft robots are increasingly valued for their inherent safety and flexibility in unstructured environments. However, their "squishy" nature introduces significant control challenges: they possess nearly infinite degrees of freedom and exhibit highly nonlinear dynamics, including material hysteresis and complex fluid-structure interactions.
Traditional control strategies often rely on analytical models that simplify these dynamics (e.g., constant curvature assumptions) or physics simulators that are difficult to calibrate to real-world materials. While Reinforcement Learning (RL) can theoretically master these complexities, training directly on physical hardware is prohibitively slow, risks damaging the robot, and lacks the scalability needed for complex tasks. This work addresses the "sim-to-real" gap by developing a high-fidelity, data-driven simulator—a "learned environment"—that enables rapid, parallelized RL training.
Methodology: The Learned Environment Pipeline
The proposed framework consists of a three-stage pipeline designed to move from raw physical interaction to a high-performance control policy.
1. Safe State-Space Exploration
To collect training data without exceeding the physical limits of the robot's pressure chambers, a mean-reverting random walk with sigmoid scaling is employed. This ensures that actuation pressures ($P_j$) remain within safe operational bounds ($P_{max}$) while thoroughly exploring the robot's reachable task space.
2. Learning Forward Dynamics
The core of the "learned environment" is a Long Short-Term Memory (LSTM) network. This recurrent model is trained to predict the robot's 3D Cartesian coordinates based on a sequence of pressure actuations. Recurrent architectures are essential here, as the current state of a soft robot depends heavily on its deformation history. A key discovery in this stage was that shuffling the temporal sequences during training—rather than feeding them chronologically—prevents the model from memorizing specific trajectories and forces it to learn the underlying physical dynamics.
3. Parallelized Reinforcement Learning
By implementing the learned LSTM model within a Gymnax environment using JAX, the authors can leverage GPU acceleration to run thousands of simulations in parallel. This allows for the use of Proximal Policy Optimization (PPO) to train goal-conditioned actor-critic agents in minutes.
Experimental Results
The framework was validated using a custom three-chamber bellows-shaped soft actuator. Ground truth 3D position data was captured via an Optitrack Motive system.
Forward Model Accuracy
The LSTM-based forward model demonstrated exceptional fidelity. It achieved an L2 loss of less than 0.001, indicating it can accurately reconstruct task-space trajectories even for action sequences it did not encounter during training. This high accuracy is critical for the RL agent to learn a policy that transfers effectively back to the real world.
Control Performance
The RL-trained policies successfully converged to target coordinates with a precision margin of approximately 3mm. Training was notably stable, with episodic rewards increasing monotonically. The use of JAX-based parallelization provided an order-of-magnitude speedup compared to traditional CPU-based RL environments, enabling rapid iteration on control architectures.
Discussion and Future Work
This research demonstrates that data-driven "learned environments" can serve as a robust bridge between physical soft robots and high-performance RL algorithms. By bypassing the need for complex analytical modeling, this approach generalizes well to different soft robotic designs.
However, several avenues for future research remain. Currently, the system depends on external motion capture for state feedback; integrating internal sensors (e.g., embedded pressure or strain sensors) would enable truly autonomous operation. Additionally, while the framework shows promise for single actuators, scaling to multi-segment soft manipulators will require exploring hierarchical RL architectures and more extensive data collection strategies to manage the increased state-space complexity.
Summary updated