Combining Physics and Deep Learning to learn Continuous-Time Dynamics Models

Michael Lutter, Jan Peters
10/5/2021
cs.LGcs.RO

Official code: milutter/deep_lagrangian_networks (157 stars, Python, MIT, last commit 2024-11-23).

Abstract

Deep learning has been widely used within learning algorithms for robotics. One disadvantage of deep networks is that these networks are black-box representations.

Show full abstract

Therefore, the learned approximations ignore the existing knowledge of physics or robotics. Especially for learning dynamics models, these black-box models are not desirable as the underlying principles are well understood and the standard deep networks can learn dynamics that violate these principles. To learn dynamics models with deep networks that guarantee physically plausible dynamics, we introduce physics-inspired deep networks that combine first principles from physics with deep learning. We incorporate Lagrangian mechanics within the model learning such that all approximated models adhere to the laws of physics and conserve energy. Deep Lagrangian Networks (DeLaN) parametrize the system energy using two networks. The parameters are obtained by minimizing the squared residual of the Euler-Lagrange differential equation. Therefore, the resulting model does not require specific knowledge of the individual system, is interpretable, and can be used as a forward, inverse, and energy model. Previously these properties were only obtained when using system identification techniques that require knowledge of the kinematic structure. We apply DeLaN to learning dynamics models and apply these models to control simulated and physical rigid body systems. The results show that the proposed approach obtains dynamics models that can be applied to physical systems for real-time control. Compared to standard deep networks, the physics-inspired models learn better models and capture the underlying structure of the dynamics.

View on arXivView PDF

Code Implementations(1)

MIT

Open-source implementation of Deep Lagrangian Networks (DeLaN)

15728PythonDec 29, 20202 years agoMIT

Similar Papers

Cite this paper

@article{lutter2021combining,
  title  = {Combining Physics and Deep Learning to learn Continuous-Time Dynamics Models},
  author = {Michael Lutter and Jan Peters},
  year   = {2021},
  eprint = {2110.01894},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.01894}
}

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/2110.01894.svg)](https://codeofpaper.com/paper/2110.01894)

Discussion