Ostrich: Taking Large Strides Through Stiff Contact in Differentiable Dynamics
Not on the map. Why?
Abstract (arXiv)
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 obstacle, Ostrich holds MuJoCo's sim-to-real accuracy up to a 50x larger timestep. Its gradients converge from random initializations where MJX descends slowly and Newton Semi-Implicit stalls; a warm iteration runs 211x faster than MJX's and 4.7x faster than Semi-Implicit's. On the same scene Ostrich differentiates 8,192 parallel worlds on a single 24 GB GPU, sustaining 29x checkpointed MJX's optimization throughput; without checkpointing both baselines exhaust memory at far fewer worlds. We close with a gradient-based trajectory optimization demonstration over triangle-mesh terrain across a 10 s horizon, a setting where prior engines either restrict to primitive geometry or face the convergence and memory limits shown above.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 32 references that are in the map. First posted on arXiv 8 Sep 2026.
Builds on
18 of 32 references.
References · 18
- 2021Brax -- A Differentiable Physics Engine for Large Scale Rigid Body Simulationcited by 407
- 2019DiffTaichi: Differentiable Programming for Physical Simulationcited by 258
- 2016A Differentiable Physics Engine for Deep Learning in Roboticscited by 108
- 2022Accelerated Policy Learning with Parallel Differentiable Simulationcited by 104
- 2022Do Differentiable Simulators Give Better Policy Gradients?cited by 89
- 2021Gradients are Not All You Needcited by 86
- 2020NeuralSim: Augmenting Differentiable Simulators with Neural Networkscited by 82
- 2020Scalable Differentiable Physics for Learning and Controlcited by 73
- 2021Efficient Differentiable Simulation of Articulated Bodiescited by 39
- 2024Learning Quadruped Locomotion Using Differentiable Simulationcited by 32
- 2024A Review of Differentiable Simulatorscited by 28
- 2022Dojo: A Differentiable Physics Engine for Roboticscited by 26
6 more
- 2021Bundled Gradients through Contact via Randomized Smoothingcited by 24
- 2022Rethinking Optimization with Differentiable Simulation from a Global Perspectivecited by 23
- 2025Learning on the Fly: Rapid Policy Adaptation via Differentiable Simulationcited by 8
- 2019Non-Smooth Newton Methods for Deformable Multi-Body Dynamicscited by 7
- 2025Differentiable Simulation of Hard Contacts with Soft Gradients for Learning and Controlcited by 5
- 2024ContactSDF: Signed Distance Functions as Multi-Contact Models for Dexterous Manipulationcited by 1
Built on by
Not cited yet.