Abstract
Manipulating deformable objects such as cloth, rope, and fluids presents a significant challenge for robotics due to their high-dimensional state spaces and complex dynamics. We present SoftGym, an open-source benchmark suite built on the Nvidia FleX physics engine, designed to evaluate reinforcement learning (RL) algorithms on these tasks. Our benchmarking of state-of-the-art RL methods reveals a substantial performance gap between agents with access to ground-truth state information and those relying on visual observations, underscoring the need for more robust perception and planning models in deformable object manipulation.
Introduction
Deep reinforcement learning has achieved remarkable success in robotic manipulation, particularly when dealing with rigid objects or articulated bodies. However, these successes are often confined to environments with low-dimensional state spaces that can be perfectly described by a few parameters. Deformable objects—such as laundry, cables, or liquids—break this paradigm. They possess inherently high-dimensional state representations, requiring thousands of particles to simulate accurately, and exhibit complex, partially observable dynamics.
Historically, research in this area has been fragmented, with practitioners using custom, non-standardized simulators. SoftGym addresses this by providing a standardized, reproducible playground to benchmark progress in the manipulation of soft and fluid materials.
The SoftGym Benchmark
SoftGym is built upon the Nvidia FleX physics engine, a particle-based system capable of simulating a wide variety of materials including cloth, rope, and fluids. The suite introduces ten distinct environments categorized by their complexity and action spaces.
The benchmark is divided into three primary tiers:
- SoftGym-Medium: Includes six foundational tasks such as
TransportWater,PourWater,StraightenRope,SpreadCloth,FoldCloth, andDropCloth. - SoftGym-Hard: Features four complex tasks that require precise control, such as
PourWaterAmount(pouring a specific volume),FoldCrumpledCloth,DropFoldCloth, andRopeConfiguration(shaping rope into specific target geometries). - SoftGym-Robot: Variations of these tasks that replace abstract control with simulated Sawyer or Franka robot arms, testing the feasibility of the learned policies on realistic hardware models.
Methodology and Baselines
To isolate the challenges of high-level planning from the low-level mechanics of grasping, SoftGym utilizes an abstract action space called "pickers." These are simplified spherical grippers that can move freely and attach to the nearest object particle. The authors established several baselines to evaluate the current state of RL in these environments:
- Dynamics Oracle: Uses the Cross Entropy Method (CEM) with perfect access to the ground-truth simulator dynamics. This represents the theoretical upper bound of performance.
- State Oracles: Uses Soft Actor-Critic (SAC) fed with either the Full State (exact coordinates of every particle) or a Reduced State (hand-picked keypoints, such as the corners of a cloth).
- Image-Based Methods: State-of-the-art algorithms that learn directly from pixel observations, including CURL-SAC, DrQ, and PlaNet (a model-based approach).
Key Insights and Results
The benchmarking process yielded several critical insights into the difficulty of deformable manipulation. Most notably, the "Pixel vs. State" gap is massive. While the Dynamics Oracle solved most tasks successfully, image-based methods like CURL and DrQ often flatlined near zero performance on complex tasks like FoldCloth. Even after 1 million training steps, these models showed little sign of improvement.
Surprisingly, the "Full State Oracle" also performed poorly. Standard Multi-Layer Perceptrons (MLPs) struggle to extract the geometric structure of an object when fed a massive, flat vector of particle coordinates. Conversely, while "Reduced States" (like cloth corners) were effective for simple tasks, they proved brittle; they failed completely on tasks like spreading a crumpled cloth because the keypoints did not contain enough information to infer the overall shape.
Sim-to-Real Potential
Qualitative tests comparing simulated cloth dynamics to a real-world Sawyer robot manipulating a towel showed that simulated behaviors closely match physical reality. This suggests that algorithms capable of mastering SoftGym are likely to transfer effectively to real-world robotic systems, provided the perception gap can be bridged.
Conclusion
SoftGym highlights that current RL algorithms are far from solving complex deformable object manipulation when restricted to visual inputs. Future research must focus on developing neural architectures, such as Graph Neural Networks, that can natively handle particle-based representations, and improving model-based approaches to better predict the chaotic dynamics of splashing fluids and folding fabrics. SoftGym provides the necessary infrastructure to track this progress in a standardized manner.
Summary updated