NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Closed-loop Dough Manipulation Using a Differentiable Reset Module

Carl Qi, Xingyu Lin, David Held

TL;DR

Researchers at Carnegie Mellon University have developed a new method for robots to manipulate elastoplastic materials like dough, enabling them to flatten a ball into a target shape. By introducing a Differentiable Reset Module (DRM), they allow trajectory optimizers to plan multi-stage motions (like multiple rolls) without getting stuck in local optima, ultimately training a point-cloud-based policy that transfers seamlessly from simulation to a real-world Sawyer robot.

What Problem Does This Paper Address?

Manipulating deformable objects is a "holy grail" in robotics, with applications ranging from laundry folding to cooking. Among these, elastoplastic objects like dough are particularly difficult. Unlike rigid objects, they don't have a simple 6D pose; they have infinite degrees of freedom. Furthermore, flattening dough requires "contact-rich" interactions—you can't just pick it up and place it; you have to press, roll, and stretch it.

Existing gradient-based trajectory optimization (GBTO) methods often fail here because they get stuck in local optima. For example, an optimizer might find a single rolling motion that partially flattens the dough but then gets "stuck" because moving the roller away to start a second roll would temporarily increase the distance to the goal. This paper aims to enable complex, multi-stage manipulation without relying on hand-engineered action primitives or simplified state representations.

Methods

The authors propose a three-stage pipeline:

  1. Trajectory Optimization with Differentiable Resets: The core innovation is the Differentiable Reset Module (DRM). In a standard differentiable simulator, a robot's path is one continuous sequence. The DRM allows the optimizer to "reset" the tool to a new starting position between stages (e.g., lifting the roller and moving it to the other side of the dough). Crucially, because the module is differentiable, the optimizer can backpropagate gradients through these resets, optimizing all stages of the manipulation jointly.

    Fig. 2: An overview of our method. (a) Our trajectory optimizer implements a differentiable module that resets the tool to avoid local optima and allows gradient information to propagate through the entire trajectory. (b) We perform imitation learning on the demonstration data generated by the trajectory optimizer. Our policy takes segmented point cloud observations as input. (c) We use the learned policy to control a sawyer robot to perform closed-loop rolling in the real world.
  2. Imitation Learning: Using the high-quality demonstrations generated by the DRM-enhanced optimizer, the team trains a neural network policy using Behavioral Cloning (BC). The policy uses a PointNet++ encoder to process partial point clouds of the dough and the tool.

  3. Sim-to-Real Transfer: To bridge the gap between the simulator and the physical world, the policy operates directly on point clouds rather than raw RGB images. This representation is more robust to lighting changes and visual textures, allowing the policy trained in simulation to work on a real robot without fine-tuning.

Datasets

  • Simulation: The researchers used PlasticineLab, a differentiable physics benchmark for soft-body manipulation. They generated 150 demonstration trajectories across 125 different initial and target configurations.
  • Real-World: Experiments were conducted on a Sawyer robot setup using Kinetic Sand as a proxy for dough. Evaluation was performed on 16 different target locations and 3 different dough sizes (240g, 360g, and 480g).

Key Insights and Ideas

  • Differentiating Through "Nothing": The "aha" moment is realizing that even though a reset (lifting a tool) doesn't physically change the dough, the choice of where to reset to is critical for the next stage of manipulation. By making this reset differentiable, the system can learn that "I need to move the roller here now so that my next roll is more effective."
  • Avoiding the "One-Roll" Trap: Standard optimizers often produce a single, overly aggressive roll that might even break the dough. The DRM encourages "synergistic behaviors," where multiple lighter rolls achieve a better final shape.
  • Point Clouds as a Universal Language: By using segmented point clouds (dough vs. tool vs. goal) as input, the researchers bypassed the need for complex feature engineering, making the system more generalizable to different dough shapes and sizes.

Key Results

The proposed method, Diff-Reset-BC, significantly outperformed several baselines in both simulation and reality:

  • Simulation: It achieved a normalized Earth Mover’s Distance (EMD) improvement of ~0.70, compared to ~0.48 for a standard optimizer without resets and ~0.30 for a Reinforcement Learning (SAC) baseline.
  • Real-World: In flattening tasks, the policy outperformed a "Heuristic" baseline (grid search over rolling primitives) and the SAC baseline, especially as the distance to the goal increased.
  • Generalization: The policy successfully extrapolated to dough sizes and target distances it never saw during training, maintaining high performance even when the dough weight doubled.

Limitations and Future Work

While successful, the system has a few constraints:

  • Goal Representation: In the real world, the goal was defined as a 2D disk with zero height. This led to a slight performance drop because the policy didn't explicitly account for the final thickness of the dough.
  • Reset Poses: Currently, the reset poses are manually specified (inspired by how humans roll dough). Future work could involve contact point discovery to automatically determine optimal reset locations for even more complex tasks.
  • Material Diversity: The system was tested on Kinetic Sand; testing on actual food-grade dough with varying stickiness and elasticity would be a natural next step.

Summary updated

BibTeX
@article{qi2022learning,
  author = {Carl Qi and Xingyu Lin and David Held},
  title = {{Learning Closed-loop Dough Manipulation Using a Differentiable Reset Module}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2022},
  doi = {10.1109/lra.2022.3191239},
}
Figure