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

Efficient Differentiable Contact Model with Long-range Influence

Xiaohan Ye, Kui Wu, Taku Komura, zherong pan

Differentiable physics has emerged as a powerful tool for robotics, enabling the use of gradient-based optimization to solve for control signals or robot designs. However, simulating contact remains a significant challenge—often considered the "Achilles' heel" of these simulators. This paper introduces a novel differentiable contact model that provides "long-range influence," allowing optimizers to discover complex robot motions even when objects start far apart.

The Problem with Standard Contact Models

Standard contact models in physics simulators typically suffer from two major issues that impede gradient-based optimization:

  1. Vanishing Gradients: If a robot arm is not in immediate contact with an object (e.g., 10cm away), the gradient is often zero. The optimizer receives no "clue" about which direction to move to eventually make contact, forcing researchers to rely on expensive random sampling or manual "warm-starting."
  2. Rugged Landscapes: Contact is inherently discrete—objects are either touching or they are not. This creates "jumpy" or non-smooth gradient information that frequently causes optimizers to get stuck in poor local optima.

The authors argue that these issues are not inherent to the physics themselves, but rather stem from the design of the contact models used in the simulators.

Designing a "Well-Behaved" Contact Model

To overcome these blind spots, the authors define four theoretical properties that a contact model must satisfy to ensure well-behaved gradient information:

  • Barrier-Form: It must strictly prevent objects from passing through each other (inter-penetration).
  • Smoothness: It must be twice-differentiable ($C^2$ continuous), which is a requirement for using the Implicit Function Theorem to obtain reliable gradients.
  • Non-prehensile: Contact forces should only push, never "glue" objects together.
  • Non-vanishing: It must provide a non-zero gradient even when objects are arbitrarily far apart.
Four theoretical properties required for a well-behaved contact model.

By making the contact potential global (non-vanishing), the gradient acts like a "scent" that the robot can follow toward an object from across the scene. This eliminates the need for the global search methods typically required to escape local minima. Furthermore, ensuring $C^2$ smoothness prevents the "rugged" gradients that cause slower convergence or failure in many popular models.

Practical Implementation and Efficiency

To achieve these properties in practice, the authors propose a model based on a nested optimization of separating hyperplanes. Instead of merely checking for collisions, the model calculates a potential based on the "best" plane that separates two objects.

To make this computationally feasible for complex meshes, they introduce a Bounding Sphere Hierarchy (BSH).

Bounding Sphere Hierarchy (BSH) smoothly blends exact and simplified potentials for efficiency.

The key insight for efficiency is that calculating exact triangle-to-triangle interactions is unnecessary for distant objects. By treating distant clusters of triangles as spheres and smoothly blending that simplified "centered" potential into the exact triangle-level potential as objects get closer, the model maintains $C^2$ smoothness while gaining massive speedups. This reduces the computational complexity from $O(T^2)$ to $O(T)$, where $T$ is the number of triangles.

Evaluation and Key Results

The model was evaluated on several contact-rich simulation benchmarks, including Billiards, Push/Sort/Gather tasks, and complex manipulations using an Ant robot and a 7-DOF Franka robotic arm. These tasks specifically tested whether an optimizer could discover multi-stage strategies from a "trivial" initialization where the robot starts far from the target.

  • Discovery from Scratch: In the "Push" and "Gather" tasks, the proposed model was the only one capable of discovering the correct motion sequence from a distant initialization without relying on random sampling.
  • Computational Efficiency: The BSH acceleration makes the nested optimization significantly faster than brute-force versions. In the Franka-Push task (involving 14,343 triangles), the method took approximately 7.8 seconds per frame, compared to over 1000 seconds for a brute-force approach.
  • Physical Accuracy: The model was validated against the classic "book stacking problem," proving it maintains physical plausibility and stability even while applying its "long-range" forces.

Limitations and Future Work

Currently, the BSH implementation relies on the assumption that bounding spheres do not change their relative positions within a body. Consequently, the model is restricted to rigid bodies and cannot yet handle deformable objects like cloth or soft robots. Additionally, the nested optimization and recursive BSH traversal still add computational overhead compared to simpler, non-differentiable "penalty-based" simulators.

Future work will focus on extending this framework to deformable bodies by developing a dynamic BSH that can update efficiently as meshes twist and stretch.

Summary updated

BibTeX
@inproceedings{ye2026efficient,
  author = {XIAOHAN YE and Kui Wu and Taku Komura and zherong pan},
  title = {{Efficient Differentiable Contact Model with Long-range Influence}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=YSIHQy80Cr},
}
Figure