Skip to main content
QUICK REVIEW

[Paper Review] Encoding Physical Constraints in Differentiable Newton-Euler Algorithm

Giovanni Sutanto, Austin S. Wang|arXiv (Cornell University)|Jan 24, 2020
Robot Manipulation and LearningEngineering20 references11 citations
TL;DR

This paper proposes a differentiable recursive Newton-Euler algorithm (DiffNEA) that encodes physical constraints—such as symmetric positive definite (SPD) inertia matrices and triangular or covariance parameterizations—into learned rigid-body dynamics parameters. By enforcing these constraints via reparameterization in a differentiable computational graph, the method enables gradient-based learning of physically plausible dynamics, resulting in faster convergence and superior generalization on both simulated and real 7-DOF robot arms compared to unstructured models like MLPs and DeLaN.

ABSTRACT

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.

Motivation & Objective

  • To address the issue of physically implausible dynamics parameters learned via end-to-end differentiable models in robotics.
  • To improve generalization and training speed of learned inverse dynamics models by embedding physical constraints into the parameterization of rigid-body dynamics.
  • To evaluate the impact of various structured parameterizations (SPD, triangular, covariance) on model performance in both simulation and real-world robotic control.
  • To demonstrate that structured, differentiable dynamics learning enables more compliant and stable control with reduced reliance on feedback terms.

Proposed method

  • Reformulating the recursive Newton-Euler algorithm (RNEA) as a differentiable computational graph using PyTorch to enable gradient-based optimization of dynamics parameters.
  • Introducing reparameterizations of inertial parameters—SPD matrices, triangular matrices, and covariance matrices—to enforce physical consistency such as positive definiteness and symmetry.
  • Applying automatic differentiation to optimize the dynamics parameters while maintaining physical constraints throughout training.
  • Incorporating joint viscous damping as an additional learnable parameter in real robot experiments to account for unmodeled friction.
  • Using a loss function based on inverse dynamics error (NMSE) to train and evaluate models on sine motion and end-effector tracking tasks.
  • Evaluating multiple parameterization schemes in both simulation and on a real KUKA IIWA 7-DOF robot arm to compare convergence speed and generalization.

Experimental results

Research questions

  • RQ1How do different parameterizations of inertial parameters (SPD, triangular, covariance) affect the training speed and generalization of differentiable dynamics models?
  • RQ2Can enforcing physical constraints such as symmetry and positive definiteness in the learned inertia matrix improve the plausibility and performance of robot dynamics models?
  • RQ3How does the differentiable RNEA framework compare to unstructured models (e.g., MLP) and semi-structured models (e.g., DeLaN) in terms of convergence speed and generalization on unseen tasks?
  • RQ4To what extent do physical constraints reduce the need for feedback control in inverse dynamics-based motion planning?
  • RQ5How do unmodeled dynamics such as static friction affect the performance of structured differentiable dynamics models on real robots?

Key findings

  • The DiffNEA model with SPD, triangular, or covariance parameterization of rotational inertia trained significantly faster than unstructured MLP and DeLaN models, converging in 2–3 epochs on real robot data.
  • DiffNEA models achieved lower NMSE on end-effector tracking (0.013–0.015) compared to MLP (0.513) and DeLaN (unstable), demonstrating superior generalization on unseen tasks.
  • The trained DiffNEA models showed reduced reliance on feedback terms, resulting in more compliant and stable motions in inverse dynamics control.
  • In online learning, the SPD and covariance parameterized models achieved the lowest NMSE and fastest convergence, outperforming other models in real-time adaptation.
  • The real robot experiments revealed that unmodeled static friction and viscous damping effects degrade performance, highlighting the need for additional physical modeling beyond rigid-body dynamics.
  • Despite these discrepancies, DiffNEA models generalized better than DeLaN and MLP, maintaining stable performance even when the real system deviated from the simulated model.

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.