DiSECt: a differentiable simulator for parameter inference and control in robotic cutting

Eric Heiden, Miles Macklin, Yashraj Narang, Dieter Fox, Animesh Garg, Fabio Ramos

TL;DR

DiSECt is the first differentiable simulator designed specifically for robotic cutting of soft materials. By making the physics of fracture and contact mathematically "smooth," it allows researchers to use gradient-based optimization to automatically calibrate simulation parameters from real-world data and design robot trajectories that reduce cutting forces by more than 40%.

What Problem Does This Paper Address?

Cutting is a fundamental task for robots in food processing, household chores, and surgery. However, it is notoriously difficult to simulate. Unlike rigid body contact, cutting involves fracture mechanics: the material deforms, cracks initiate, and the topology of the object literally changes.

Traditional simulators are often "black boxes"—you can run them forward, but you can't easily calculate how a change in a material's stiffness or a robot's speed will affect the final result without running thousands of expensive trials. This makes it hard to:

  1. Calibrate simulations: Matching a simulator to a specific real-world object (like a ripe vs. unripe tomato).
  2. Optimize Control: Finding the "perfect" sawing motion to minimize the force required to cut through a tough material.

Methods

The authors introduce DiSECt, which bridges this gap by making the entire cutting process differentiable. Key innovations include:

  • Continuous Damage Model: Instead of a discrete "snap" when a material breaks, DiSECt uses virtual springs across the cutting plane. These springs weaken progressively based on the force applied by the knife. This "smoothness" allows the system to calculate gradients (derivatives) through the fracture process.
  • SDF-based Contact: The knife is represented as a Signed Distance Field (SDF). This allows for continuous, differentiable contact and friction calculations between the blade and the object's mesh.
  • Virtual Node Algorithm (VNA): To handle the changing topology without the computational nightmare of constant re-meshing, they pre-process the mesh by duplicating nodes along a predefined cutting plane.
  • Gradient-Based Inference: Because the simulator is differentiable, they can use standard machine learning optimizers (like Adam) or Bayesian methods (like SGLD) to "backpropagate" through the physics. This lets them find material parameters that match real-world force profiles much faster than derivative-free "trial and error" methods.

Datasets

The researchers evaluated DiSECt using three main sources:

  1. High-Fidelity Synthetic Data: Data from industry-standard commercial solvers (which are accurate but slow and non-differentiable) served as a "ground truth" for initial testing.
  2. Existing Real-World Datasets: They used a 2019 dataset containing 3D scans and force profiles of various fruits.
  3. New Real-Robot Experiments: The authors collected their own dataset using a Franka Emika Panda robot arm equipped with a custom 3D-printed knife fixture, cutting cucumbers, apples, and bananas to validate their sim-to-real pipeline.

Key Insights and Ideas

  • Gradients are a Superpower: The authors compared their gradient-based approach to BayesSim (a popular derivative-free method). DiSECt's approach produced significantly sharper and more accurate estimates of material properties using far fewer simulation runs.
  • The "Slicing" Discovery: When the simulator was told to minimize cutting force, it autonomously "discovered" that lateral sawing motions are more efficient than vertical pressing. This matches the physical principle that increasing the distance traveled by the blade reduces the required force for the same fracture energy.
  • Parameter Transport: They showed that material properties learned on one mesh (e.g., a specific potato) could be mapped to a completely different mesh geometry using Optimal Transport (Earth Mover’s Distance), allowing the robot to generalize what it learned about a material to new shapes.

Key Results

  • Sim-to-Real Accuracy: After calibration, the simulator matched real-world force profiles with high precision, reducing the Normalized Mean Absolute Error (NMAE) from roughly 0.60 to as low as 0.05.
  • Force Reduction: By optimizing the knife's trajectory in simulation and then running it on a real robot, they reduced the average force required to cut fruit by more than 40% compared to a simple vertical downward motion.
  • Speed: DiSECt can produce a 1-second cutting trajectory in about 30 seconds on a modern GPU, whereas a comparable commercial solver took over 32 hours on a CPU.

Limitations and Future Work

While a major step forward, the authors note several areas for improvement:

  • Material Complexity: The current model assumes the material is "Neo-Hookean" (a standard model for elastic tissue), but real biological materials can be much more complex, non-linear, and anisotropic (behaving differently when cut in different directions).
  • Fixed Cutting Planes: Currently, the cutting plane must be defined during pre-processing. Future versions aim to allow the knife to rotate arbitrarily and "carve" through the material in any direction.
  • Surgical Applications: The ultimate goal is to move toward safety-critical tasks like robotic surgery, where real-time parameter estimation could help a robot adjust its touch based on the specific tissue it is handling.

Summary updated

BibTeX
@article{heiden2023disect,
  author = {Eric Heiden and Miles Macklin and Yashraj Narang and Dieter Fox and Animesh Garg and Fabio Ramos},
  title = {{DiSECt: a differentiable simulator for parameter inference and control in robotic cutting}},
  journal = {Auton. Robots},
  year = {2023},
  doi = {10.1007/s10514-023-10094-9},
}
Figure