Skip to main content
QUICK REVIEW

[Paper Review] Combining Physics and Deep Learning to learn Continuous-Time Dynamics Models

Michael Lutter, Jan Peters|arXiv (Cornell University)|Oct 5, 2021
Model Reduction and Neural NetworksPhysics and Astronomy10 citations
TL;DR

This paper introduces Deep Lagrangian Networks (DeLaN), a physics-informed deep learning framework that combines Lagrangian mechanics with neural networks to learn continuous-time dynamics models. By minimizing the residual of the Euler-Lagrange equation, DeLaN ensures energy conservation and physical plausibility, enabling interpretable forward, inverse, and energy models—outperforming black-box networks in long-term prediction and real-time control on simulated and physical rigid bodies.

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. 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.

Motivation & Objective

  • To address the limitations of black-box deep networks in robotics, which ignore physical principles and can produce unphysical dynamics.
  • To develop a model learning framework that integrates first-principles physics with deep learning for improved generalization and interpretability.
  • To enable the learning of forward, inverse, and energy models from the same set of parameters using a single architecture.
  • To extend physics-inspired models to real-world robotic systems despite observation noise and partial state observability.
  • To overcome the lack of generalization in existing physics-informed networks when handling complex contacts and non-ideal observations.

Proposed method

  • DeLaN parameterizes the kinetic and potential energy of a system using two separate deep neural networks.
  • Network parameters are optimized by minimizing the squared residual of the Euler-Lagrange differential equation, enforcing physical consistency.
  • The method ensures energy conservation and guarantees that the learned dynamics obey the laws of motion without requiring explicit system structure.
  • The same network parameters are used to compute forward dynamics, inverse dynamics, and system energy, enabling multi-task modeling.
  • The approach is applied to both simulated and real robotic systems, including a pendulum and a robot arm, with real-time control performance evaluated.
  • Extensions include using variational autoencoders to infer generalized coordinates from images, though this remains a challenge for complex systems.

Experimental results

Research questions

  • RQ1Can deep learning models for dynamics be made physically consistent without relying on system-specific analytical models?
  • RQ2Can a single deep learning architecture learn forward, inverse, and energy models with shared parameters while conserving energy?
  • RQ3How does the performance of physics-informed models compare to black-box deep networks in long-term prediction and control?
  • RQ4Can physics-inspired models generalize to real-world robotic systems under observation noise and partial state observability?
  • RQ5What are the limitations of current physics-informed networks when handling multi-contact dynamics and non-observed generalized coordinates?

Key findings

  • DeLaN models achieve better long-term prediction accuracy than standard black-box deep networks by enforcing physical consistency through the Euler-Lagrange residual.
  • The physics-informed models conserve system energy, which is critical for stable long-horizon control and simulation.
  • DeLaN enables the computation of system energy, momentum, and gravitational forces directly from the learned model—features not accessible in black-box models.
  • The method achieves real-time control performance on physical robotic systems, demonstrating practical applicability despite observation noise.
  • When generalized coordinates are observed, DeLaN and Hamiltonian Neural Networks (HNN) perform nearly identically, but DeLaN outperforms black-box models significantly in structured prediction tasks.
  • The approach is the first deep learning-based method to learn system energy directly from data without requiring kinematic structure, previously only possible via system identification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.