Introduction
Manipulating deformable objects—such as folding laundry, cooking, or performing surgical tasks—is often considered a "holy grail" in robotics due to the nearly infinite degrees of freedom these objects possess. Recently, differentiable physics simulators have emerged as a powerful tool for these tasks. Because they provide mathematical gradients (directions on how to improve), they allow robots to optimize movements orders of magnitude faster than trial-and-error reinforcement learning (RL).
However, these simulators suffer from two major blind spots:
- Local Optima: Gradients only provide local information. In a long-horizon task (e.g., "gather the dough, then move it to the board"), an optimizer might get stuck trying to move the dough without gathering it first.
- State Access: Simulators typically require the exact position of every single particle in the object. In the real world, a robot only sees pixels from a camera, making it difficult to apply these "perfect knowledge" simulations directly to physical systems.
To address these challenges, researchers introduce DiffSkill, a novel framework that enables robots to perform complex, multi-step manipulation of deformable objects using various tools. By leveraging differentiable physics simulators to learn short-term "skills" and then planning over these skills in a compressed latent space, the system can solve long-horizon tasks directly from raw visual input.
The DiffSkill Framework
The authors propose a three-stage pipeline to bridge the gap between simulation gradients and real-world visual reasoning:
- Collecting Expert Demos: The system uses a differentiable simulator to solve short-horizon "skills" (like using a spatula to lift or a rolling pin to flatten). Because the simulator provides gradients, it acts as an "expert" that finds the optimal tool trajectories using full state information.
- Neural Skill Abstraction: This is the core contribution. The researchers train a suite of neural networks to "imitate" the expert from visual data:
- Variational Auto-Encoder (VAE): Compresses high-dimensional RGB-D images into a compact 8-dimensional "latent vector."
- Goal-Conditioned Policy: Learns to map an image and a target goal to the specific motor commands needed to execute a skill.
- Feasibility & Reward Predictors: These networks "imagine" the outcome. They predict whether a specific skill can successfully transition the environment from state A to state B, and how much that transition helps reach the final goal.
- Long-Horizon Planning: To solve a complex task, the robot avoids planning every tiny movement at once. Instead, it performs a hybrid search: it picks a discrete sequence of tools and optimizes the "intermediate goals" in the continuous latent space to connect the start state to the finish.
Evaluated Tasks
The researchers evaluated DiffSkill on PlasticineLab, a benchmark for soft-body manipulation. They introduced three challenging new sequential tasks requiring multiple tools:
- LiftSpread: Use a spatula to lift dough onto a board, then use a rolling pin to flatten it.
- GatherTransport: Use a gripper to gather scattered dough pieces, then use a spatula to move the consolidated pile.
- CutRearrange: Use a knife to cut dough in half, then use a gripper to move the pieces to target locations.
Key Insights and Results
DiffSkill significantly outperformed both standard model-free RL (SAC and TD3) and standalone trajectory optimizers:
- High Success Rates: On the LiftSpread task, DiffSkill achieved a 100% success rate, whereas the Trajectory Optimizer (Oracle) only hit 40%, and standard RL failed completely (0%).
- Computational Efficiency: While the "Oracle" optimizer requires minutes of computation and full state access to solve a task, DiffSkill plans in about 10 seconds and operates directly from RGB-D images.
- Smart Intermediate Planning: The system demonstrated the ability to find "reasonable" intermediate states—for example, realizing it must first move the dough to the center of the table before it can effectively use the rolling pin.
- Gradients for Training, Planning for Execution: The paper smartly uses the "cheat code" of differentiable physics (gradients) only during the training phase to generate data. At execution time, the robot relies entirely on its learned neural models and visual input.
Limitations and Future Work
While DiffSkill represents a significant step forward, several challenges remain. Currently, the planner uses an exhaustive search for the tool sequence; if a task required 10 different tools in a specific order, the search space would explode. Future work could use a heuristic policy to guide this search. Additionally, the work is currently performed entirely in simulation. Moving these skills to a physical robot will require addressing the sim-to-real gap, including differences in lighting, camera noise, and physical friction, as well as generalizing to doughs of varying stiffness or stickiness.
Summary updated