# Encoding Physical Constraints in Differentiable Newton-Euler Algorithm

arXiv: https://arxiv.org/abs/2001.08861 · HTML: https://mlsanity.com/paper/2001.08861/

## Key facts

- Cited by 23 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 24 Jan 2020.

## Built on by (most cited first, 23 of 23)

- [SE(3)-DiffusionFields: Learning smooth cost functions for joint grasp and motion optimization through diffusion](https://mlsanity.com/paper/2209.03855/) (2022)
- [gradSim: Differentiable simulation for system identification and visuomotor control](https://mlsanity.com/paper/2104.02646/) (2021)
- [Robot Learning from Randomized Simulations: A Review](https://mlsanity.com/paper/2111.00956/) (2021)
- [Differentiable Physics Models for Real-world Offline Model-based Reinforcement Learning](https://mlsanity.com/paper/2011.01734/) (2020)
- [Combining Physics and Deep Learning to learn Continuous-Time Dynamics Models](https://mlsanity.com/paper/2110.01894/) (2021)
- [PhysVLM: Enabling Visual Language Models to Understand Robotic Physical Reachability](https://mlsanity.com/paper/2503.08481/) (2025)
- [Inferring Articulated Rigid Body Dynamics from RGBD Video](https://mlsanity.com/paper/2203.10488/) (2022)
- [Differentiable Physics Simulations with Contacts: Do They Have Correct Gradients w.r.t. Position, Velocity and Control?](https://mlsanity.com/paper/2207.05060/) (2022)
- [Learning Object Properties Using Robot Proprioception via Differentiable Robot-Object Interaction](https://mlsanity.com/paper/2410.03920/) (2024)
- [Neural Inverse Kinematics](https://mlsanity.com/paper/2205.10837/) (2022)
- [Nested Mixture of Experts: Cooperative and Competitive Learning of Hybrid Dynamical System](https://mlsanity.com/paper/2011.10605/) (2020)
- [Differentiable and Learnable Robot Models](https://mlsanity.com/paper/2202.11217/) (2022)
- [A Recurrent Differentiable Engine for Modeling Tensegrity Robots Trainable with Low-Frequency Data](https://mlsanity.com/paper/2203.00041/) (2022)
- [End-to-End Learning of Hybrid Inverse Dynamics Models for Precise and Compliant Impedance Control](https://mlsanity.com/paper/2205.13804/) (2022)
- [Loss Function Considering Dead Zone for Neural Networks](https://mlsanity.com/paper/2402.00393/) (2024)
- [Enhanced Prediction of Multi-Agent Trajectories via Control Inference and State-Space Dynamics](https://mlsanity.com/paper/2408.12609/) (2024)
- [Shadow Program Inversion with Differentiable Planning: A Framework for Unified Robot Program Parameter and Trajectory Optimization](https://mlsanity.com/paper/2409.08678/) (2024)
- [Newtonian and Lagrangian Neural Networks: A Comparison Towards Efficient Inverse Dynamics Identification](https://mlsanity.com/paper/2506.17994/) (2025)
- [Learning Time-Invariant Reward Functions through Model-Based Inverse Reinforcement Learning](https://mlsanity.com/paper/2107.03186/) (2021)
- [Model Based Meta Learning of Critics for Policy Gradients](https://mlsanity.com/paper/2204.02210/) (2022)
- [Signatures Meet Dynamic Programming: Generalizing Bellman Equations for Trajectory Following](https://mlsanity.com/paper/2312.05547/) (2023)
- [Q-Guided Stein Variational Model Predictive Control via RL-informed Policy Prior](https://mlsanity.com/paper/2507.06625/) (2025)
- [Diff-MSM: Differentiable MusculoSkeletal Model for Simultaneous Identification of Human Muscle and Bone Parameters](https://mlsanity.com/paper/2508.13303/) (2025)

## Abstract (arXiv)

The recursive Newton-Euler Algorithm (RNEA) is a popular technique for computing the dynamics of robots. RNEA can be framed as a differentiable computational graph, enabling the dynamics parameters of the robot to be learned from data via modern auto-differentiation toolboxes. However, the dynamics parameters learned in this manner can be physically implausible. In this work, we incorporate physical constraints in the learning by adding structure to the learned parameters. This results in a framework that can learn physically plausible dynamics via gradient descent, improving the training speed as well as generalization of the learned dynamics models. We evaluate our method on real-time inverse dynamics control tasks on a 7 degree of freedom robot arm, both in simulation and on the real robot. Our experiments study a spectrum of structure added to the parameters of the differentiable RNEA algorithm, and compare their performance and generalization.
