Ostrich: Taking Large Strides Through Stiff Contact in Differentiable Dynamics
鸵鸟:通过可微动力学中的刚性接触迈出一大步
Aleš Kučera、Karel Zimmermann · arXiv:2609.08800 · 2026-09-08 · cs.RO
三个属性决定了可微分模拟器是否可以通过接触驱动基于梯度的优化:模拟精度、梯度可靠性和每次迭代成本。基于磁带的引擎(例如 MJX 和牛顿半隐式)需要足够小的时间步长,以保持接触在数值上易于处理,并且它们的反向传播内存随着时间步长 T 的数量线性增长。代理模型通过逼近接触来限制内存,但生成的梯度会丢失优化所依赖的几何形状。我们推出了 Ostrich,一种 GPU 加速的刚体模拟器,可解决非光滑牛顿的硬接触和摩擦问题
中文为机器翻译节选,以英文原文为准。
English abstract
Three properties determine whether a differentiable simulator can drive gradient-based optimization through contact: simulation accuracy, gradient reliability, and per-iteration cost. Tape-based engines such as MJX and Newton Semi-Implicit require timesteps small enough to keep contacts numerically tractable, and their backpropagation memory grows linearly with the number of timesteps T. Surrogate models bound memory by approximating contact away, but the resulting gradients lose the geometry the optimization depends on. We present Ostrich, a GPU-accelerated rigid-body simulator that resolves hard contacts and friction with non-smooth Newton iteration at large timesteps (h ~ 0.1 s), and differentiates the converged residual via the implicit function theorem, reusing the forward Schur complement to compute the adjoint at O(1) memory per timestep. On real-robot trajectories over a pallet…