Complex Locomotion Skill Learning via Differentiable Physics

Yu Fang, Jiancheng Liu, Mingrui Zhang, Jiasheng Zhang, Yidong Ma +4 more
6/6/2022
cs.AIcs.GRcs.LG

Official code: erizmr/Complex-locomotion-skill-learning-via-differentiable-physics (5 stars, Python, MIT, last commit 2023-10-31).

Abstract

Differentiable physics enables efficient gradient-based optimizations of neural network (NN) controllers. However, existing work typically only delivers NN controllers with limited capability and generalizability.

Show full abstract

We present a practical learning framework that outputs unified NN controllers capable of tasks with significantly improved complexity and diversity. To systematically improve training robustness and efficiency, we investigated a suite of improvements over the baseline approach, including periodic activation functions, and tailored loss functions. In addition, we find our adoption of batching and an Adam optimizer effective in training complex locomotion tasks. We evaluate our framework on differentiable mass-spring and material point method (MPM) simulations, with challenging locomotion tasks and multiple robot designs. Experiments show that our learning framework, based on differentiable physics, delivers better results than reinforcement learning and converges much faster. We demonstrate that users can interactively control soft robot locomotion and switch among multiple goals with specified velocity, height, and direction instructions using a unified NN controller trained in our system. Code is available at https://github.com/erizmr/Complex-locomotion-skill-learning-via-differentiable-physics.

View on arXivView PDF

Code Implementations(1)

MIT
51PythonMar 20, 20233 years agoMIT

Similar Papers

Cite this paper

@article{fang2022complex,
  title  = {Complex Locomotion Skill Learning via Differentiable Physics},
  author = {Yu Fang and Jiancheng Liu and Mingrui Zhang and Jiasheng Zhang and Yidong Ma and Minchen Li and Yuanming Hu and Chenfanfu Jiang and Tiantian Liu},
  year   = {2022},
  eprint = {2206.02341},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.02341}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.02341.svg)](https://codeofpaper.com/paper/2206.02341)

Discussion