Identifying Mechanical Models of Unknown Objects with Differentiable Physics Simulations

Changkyu Song, Abdeslam BoulariasL4DC 2020

Introduction

In robotics, "nonprehensile manipulation"—the act of pushing or sliding an object rather than grasping it—is a vital skill for handling items that are too large, heavy, or awkwardly shaped for a standard gripper. However, executing a precise push requires an accurate physical model of the object. Most real-world objects are "black boxes": we often don't know their internal mass distribution (e.g., a toolbox heavier on one side) or their surface friction coefficients.

A Kuka robotic arm performing a pushing task on a book to identify its physical properties.

Traditional "model-free" reinforcement learning requires thousands of trials to learn these properties, while standard "black-box" physics simulators are computationally expensive to tune because they lack a clear gradient to guide parameter updates. This paper introduces a method for robots to "learn" these hidden physical properties simply by observing the results of a few pushes.

Methodology: Differentiable Physics and Cell-Based Models

The authors propose a model-based approach centered on differentiable physics. To represent complex, heterogeneous objects, they model each item as a collection of many small, connected "cells." Each cell is assigned its own mass and friction coefficient. This allows the robot to represent objects like a hammer, which has a heavy iron head and a light wooden handle, or a wrench with non-uniform contact with the surface.

The core of the system is a differentiable simulator. By extending a 2D differentiable physics engine (solving a Linear Complementarity Problem, or LCP) to handle 3D forces, the system can analytically calculate the gradient of the error. Essentially, the robot asks: "If I change the mass or friction of this specific cell slightly, how much closer will my simulated trajectory match the real-world observation?"

While general-purpose tools like Autograd can compute these gradients, they are often slow for high-dimensional cell models. The authors derived a simplified analytical gradient based on three key assumptions: the object is rigid, the contact point remains constant during the push, and the collision is inelastic. This leads to a significantly faster update rule that functions like standard gradient descent.

Experimental Results and Insights

The researchers evaluated their method using a Kuka robotic arm and a Robotiq 3-finger hand on five challenging objects: a hammer, a wrench, a crimp tool, a toolbox with hidden weights, and a book.

Real-world objects (left) and their corresponding identified mechanical models (right), where color gradients represent variations in mass or friction.

Key Findings:

  • Data Efficiency: The system identified complex models using as few as 2 to 4 random pushing actions. In contrast, model-free methods typically require orders of magnitude more data to reach similar performance.
  • Speed and Accuracy: The proposed algorithm achieved an average cell position error of under 1.5 cm within just 30 seconds of computation, significantly outperforming baselines like random search or weighted sampling.
  • Compensating for Geometry: A notable insight is that the robot does not require a perfect 3D scan. For example, by identifying low-friction values for parts of a wrench that don't actually touch the table (the "floating" handle), the model "compensates" for inaccurate geometry, resulting in highly accurate motion predictions.

Conclusion and Future Work

By leveraging differentiable physics, this research demonstrates that robots can efficiently bridge the "sim-to-real" gap for complex manipulation tasks. However, limitations remain. The current model assumes perfect rigidity, which would fail for deformable objects like sponges. Additionally, the simplified gradient assumes the robot's finger does not slide along the object's surface. Future work aims to extend this framework to more complex 3D interactions, such as tumbling or flipping objects, and to relax the rigidity constraints.

Summary updated

BibTeX
@inproceedings{song2020identifying,
  author = {Changkyu Song and Abdeslam Boularias},
  title = {{Identifying Mechanical Models of Unknown Objects with Differentiable Physics Simulations}},
  booktitle = {L4DC},
  year = {2020},
}
Figure