paper-with-me

Papers

Improving Gradient Computation for Differentiable Physics Simulation with Contacts

2023-04-28 · Yaofeng Desmond Zhong, Jiequn Han, Biswadip Dey, Georgia Olympia Brikis

Differentiable simulation enables gradients to be back-propagated through physics simulations. In this way, one can learn the dynamics and properties of a physics system by gradient-based optimization or embed the whole differentiable simulation as a layer in a deep learning model for downstream tasks, such as planning and control. However, differentiable simulation at its current stage is not perfect and might provide wrong gradients that deteriorate its performance in learning tasks. In this paper, we study differentiable rigid-body simulation with contacts. We find that existing differentiable simulation methods provide inaccurate gradients when the contact normal direction is not fixed - a general situation when the contacts are between two moving objects. We propose to improve gradient computation by continuous collision detection and leverage the time-of-impact (TOI) to calculate the post-collision velocities. We demonstrate our proposed method, referred to as TOI-Velocity, on two optimal control problems. We show that with TOI-Velocity, we are able to learn an optimal control sequence that matches the analytical solution, while without TOI-Velocity, existing differentiable simulation methods fail to do so.

📄 PDF Abstract BibTeX arXiv:2305.00092

Code (1)

desmondzhong/diff_sim_improve_grads 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

fail 설명 없음

Similar Papers 제목 키워드 기반

Jade: A Differentiable Physics Engine for Articulated Rigid Bodies with Intersection-Free Frictional Contact

2023-09-09 · Gang Yang, Siyuan Luo, Lin Shao

We present Jade, a differentiable physics engine for articulated rigid bodies. Jade models contacts as the Linear Complementarity Problem (LCP). Compared to existing differentiable simulations, Jade offers features inclu…

valid

Differentiable Physics Simulations with Contacts: Do They Have Correct Gradients w.r.t. Position, Velocity and Control?

2022-07-08 · Yaofeng Desmond Zhong, Jiequn Han, Georgia Olympia Brikis

In recent years, an increasing amount of work has focused on differentiable physics simulation and has produced a set of open source projects such as Tiny Differentiable Simulator, Nimble Physics, diffTaichi, Brax, Warp,…

Position

Hard Contacts with Soft Gradients: Refining Differentiable Simulators for Learning and Control

2025-06-17 · Anselm Paulus, A. René Geist, Pierre Schumacher, Vít Musil 외

Contact forces pose a major challenge for gradient-based optimization of robot dynamics as they introduce jumps in the system's velocities. Penalty-based simulators, such as MuJoCo, simplify gradient computation by softe…

MuJoCo

DiffSDFSim: Differentiable Rigid-Body Dynamics With Implicit Shapes

2021-11-30 · Michael Strecke, Joerg Stueckler

Differentiable physics is a powerful tool in computer vision and robotics for scene understanding and reasoning about interactions. Existing approaches have frequently been limited to objects with simple shape or shapes …

FrictionObjectScene Understanding

Differentiable Physics Simulation

2020-02-26 · ICLR Workshop DeepDiffEq 2019 12 · Junbang Liang, Ming C. Lin

Differentiable physics simulation is a powerful family of new techniques that applies gradient-based methods to learning and control of physical systems. It enables optimization for control, and can also be integrated in…