Efficient Differentiable Simulation of Articulated Bodies
- URL: http://arxiv.org/abs/2109.07719v1
- Date: Thu, 16 Sep 2021 04:48:13 GMT
- Title: Efficient Differentiable Simulation of Articulated Bodies
- Authors: Yi-Ling Qiao, Junbang Liang, Vladlen Koltun, and Ming C. Lin
- Abstract summary: We present a method for efficient differentiable simulation of articulated bodies.
This enables integration of articulated body dynamics into deep learning frameworks.
We show that reinforcement learning with articulated systems can be accelerated using gradients provided by our method.
- Score: 89.64118042429287
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: We present a method for efficient differentiable simulation of articulated
bodies. This enables integration of articulated body dynamics into deep
learning frameworks, and gradient-based optimization of neural networks that
operate on articulated bodies. We derive the gradients of the forward dynamics
using spatial algebra and the adjoint method. Our approach is an order of
magnitude faster than autodiff tools. By only saving the initial states
throughout the simulation process, our method reduces memory requirements by
two orders of magnitude. We demonstrate the utility of efficient differentiable
dynamics for articulated bodies in a variety of applications. We show that
reinforcement learning with articulated systems can be accelerated using
gradients provided by our method. In applications to control and inverse
problems, gradient-based optimization enabled by our work accelerates
convergence by more than an order of magnitude.
Related papers
- Unlearning as multi-task optimization: A normalized gradient difference approach with an adaptive learning rate [105.86576388991713]
We introduce a normalized gradient difference (NGDiff) algorithm, enabling us to have better control over the trade-off between the objectives.
We provide a theoretical analysis and empirically demonstrate the superior performance of NGDiff among state-of-the-art unlearning methods on the TOFU and MUSE datasets.
arXiv Detail & Related papers (2024-10-29T14:41:44Z) - Improving Gradient Computation for Differentiable Physics Simulation
with Contacts [10.450509067356148]
We study differentiable rigid-body simulation with contacts.
We propose to improve gradient computation by continuous collision detection and leverage the time-of-impact (TOI)
We show that with TOI-Ve, we are able to learn an optimal control sequence that matches the analytical solution.
arXiv Detail & Related papers (2023-04-28T21:10:16Z) - Differentiable Simulation of Soft Multi-body Systems [99.4302215142673]
We develop a top-down matrix assembly algorithm within Projective Dynamics.
We derive a differentiable control framework for soft articulated bodies driven by muscles, joint torques, or pneumatic tubes.
arXiv Detail & Related papers (2022-05-03T20:03:22Z) - Gradient-Based Trajectory Optimization With Learned Dynamics [80.41791191022139]
We use machine learning techniques to learn a differentiable dynamics model of the system from data.
We show that a neural network can model highly nonlinear behaviors accurately for large time horizons.
In our hardware experiments, we demonstrate that our learned model can represent complex dynamics for both the Spot and Radio-controlled (RC) car.
arXiv Detail & Related papers (2022-04-09T22:07:34Z) - Half-Inverse Gradients for Physical Deep Learning [25.013244956897832]
Integrating differentiable physics simulators into the training process can greatly improve the quality of results.
The gradient-based solvers have a profound effect on the gradient flow as manipulating scales in magnitude and direction is an inherent property of many physical processes.
In this work, we analyze the characteristics of both physical and neural network optimizations to derive a new method that does not suffer from this phenomenon.
arXiv Detail & Related papers (2022-03-18T19:11:04Z) - Physical Gradients for Deep Learning [101.36788327318669]
We find that state-of-the-art training techniques are not well-suited to many problems that involve physical processes.
We propose a novel hybrid training approach that combines higher-order optimization methods with machine learning techniques.
arXiv Detail & Related papers (2021-09-30T12:14:31Z) - Differentiable Implicit Soft-Body Physics [12.19631263169426]
We present a differentiable soft-body physics simulator composed with neural networks as a differentiable layer.
In contrast to other differentiable physics approaches that use explicit forward models to define state transitions, we focus on implicit state transitions defined via function minimization.
arXiv Detail & Related papers (2021-02-11T01:06:54Z) - DiffPD: Differentiable Projective Dynamics with Contact [65.88720481593118]
We present DiffPD, an efficient differentiable soft-body simulator with implicit time integration.
We evaluate the performance of DiffPD and observe a speedup of 4-19 times compared to the standard Newton's method in various applications.
arXiv Detail & Related papers (2021-01-15T00:13:33Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.