paper-with-me

Papers

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, Dojo and DiffCoSim. By making physics simulations end-to-end differentiable, we can perform gradient-based optimization and learning tasks. A majority of differentiable simulators consider collisions and contacts between objects, but they use different contact models for differentiability. In this paper, we overview four kinds of differentiable contact formulations - linear complementarity problems (LCP), convex optimization models, compliant models and position-based dynamics (PBD). We analyze and compare the gradients calculated by these models and show that the gradients are not always correct. We also demonstrate their ability to learn an optimal control strategy by comparing the learned strategies with the optimal strategy in an analytical form. The codebase to reproduce the experiment results is available at https://github.com/DesmondZhong/diff_sim_grads.

📄 PDF Abstract BibTeX arXiv:2207.05060

Code (1)

desmondzhong/diff_sim_grads 공식 구현 jax

Tasks

Position

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

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 …

Scalable Differentiable Physics for Learning and Control

2020-07-04 · ICML 2020 1 · Yi-Ling Qiao, Junbang Liang, Vladlen Koltun, Ming C. Lin

Differentiable physics is a powerful approach to learning and control problems that involve physical objects and environments. While notable progress has been made, the capabilities of differentiable physics solvers rema…

JAX, M.D.: A Framework for Differentiable Physics

2019-12-09 · Samuel S. Schoenholz, Ekin D. Cubuk

We introduce JAX MD, a software package for performing differentiable physics simulations with a focus on molecular dynamics. JAX MD includes a number of physics simulation environments, as well as interaction potentials…

Drug DiscoveryGPU

JAX MD: A Framework for Differentiable Physics

2020-12-01 · NeurIPS 2020 12 · Samuel Schoenholz, Ekin Dogus Cubuk

We introduce JAX MD, a software package for performing differentiable physics simulations with a focus on molecular dynamics. JAX MD includes a number of statistical physics simulation environments as well as interaction…

GPU