Skip to content

Exact Collision Gradients for Ellipsoids in Differentiable Simulation

arXiv Robotics — research abstracts1Shamak Dutta, Biswadip Dey

This paper addresses the unreliability of gradients at impact moments in differentiable simulation. The authors demonstrate that existing linear estimates of time of impact suffer from gradient errors dependent on collision obliqueness, curvature, and time step. They introduce a method utilizing continuous collision detection on the Perram Wertheim contact function to differentiate through the touching condition, achieving exact gradients regardless of step size. Experiments on optimal control and system identification tasks show that this approach recovers true parameters and optimal controls where linear estimates fail.

arXiv:2611.31676v1 Announce Type: new Abstract: Differentiable simulation enables gradient-based optimization in learning and control problems involving collisions, but its gradients are least reliable at the moment of impact, when the velocities jump. A fixed-step simulator detects a collision only after the bodies overlap, and some differentiable simulators correct for this with a linear estimate of the time of impact. In this paper, we study impacts between ellipsoids. We show that the gradient error of this estimate grows with the obliqueness of the collision, the curvature at contact, and the time step, and that ignoring spin adds a further error. Subsequently, we find the time of impact with continuous collision detection on the Perram Wertheim contact function and differentiate through the touching condition rather than the search. This gives exact gradients at any step size. We demonstrate our method on an optimal control problem and a system identification problem. In both, exact gradients recover the optimal control and the true parameters, while the linear estimate does not, even when it accounts for spin.

Source notes

  1. Exact Collision Gradients for Ellipsoids in Differentiable Simulation↩
Source evidence

Reported by the source; not independently verified.

Environment
Simulation[2]
  1. arXiv:2611.31676v1 Announce Type: new Abstract: Differentiable simulation enables gradient-based optimization in learning and control problems involving collisions, but its gradients are least reliable at the moment of impact, when the velocities jump. A fixed-step simulator detects a collision only after the bodies overlap, and some differentiable simulators correct for this with a linear estimate of the time of imp
    Exact source↩

Automatically extracted; no manual editorial approval recorded.

Article details
Signal

The authors propose a method using continuous collision detection on the Perram Wertheim contact function to compute exact gradients for ellipsoid impacts, addressing limitations in fixed-step simulators where gradient error increases with collision obliqueness and time step.

Timezone · UTC

Article dates follow your selected timezone. Briefing editions use Hong Kong time (UTC+8).