Learning Forced Multibody Dynamics on Lie Groups

Martine Dyring Hansen, Marta Ghirardelli, Elena Celledoni, David Martin de Diego, Brynjulf OwrenarXiv 2026

TL;DR

The paper introduces LieDFLNN (Lie Group Discrete Forced Euler-Lagrange Neural Network), a physics-informed architecture that learns the dynamics of complex mechanical systems directly on Lie groups using only position data. By embedding discrete variational mechanics natively into the learning process, it eliminates coordinate singularities and geometric drift. This enables highly data-efficient, stable long-term predictions for both controlled and high-dimensional multibody systems.

What Problem Does This Paper Address?

Many real-world mechanical systems—such as drones, robotic arms, and spacecraft—have states that naturally evolve on non-Euclidean spaces involving rotations and rigid body motions (represented mathematically by Lie groups like $SO(3)$ and $SE(3)$).

Standard physics-informed machine learning models (like Hamiltonian or Lagrangian Neural Networks) typically map these systems into flat Euclidean spaces or rely on local coordinates like Euler angles. This introduces severe drawbacks:

  1. Singularities and Discontinuities: Local coordinates suffer from issues like "gimbal lock," where smooth physical motions suddenly look discontinuous to the neural network.
  2. Geometric Drift: Unconstrained Euclidean embeddings often predict states that fly off the valid manifold (e.g., a rotation matrix losing its orthogonality over time), requiring messy, ad-hoc projection steps to fix.
  3. Velocity Dependency: Most existing frameworks require clean velocity data. In practice, sensors usually measure positions, and numerically differentiating this data introduces massive noise.

The authors tackle these challenges by creating a framework that learns directly from discrete position observations while strictly respecting the underlying geometry of the system.

Methods

The authors propose LieDFLNN, which models system dynamics via discrete forced Euler-Lagrange equations formulated directly on Lie groups.

Key components include:

  • Discrete Variational Framework: Instead of approximating a continuous differential equation and then integrating it, the model parameterizes a discrete Lagrangian and discrete external forces using neural networks. It operates on consecutive position triplets ($q_{k-1}, q_k, q_{k+1}$), completely bypassing the need for explicit velocity measurements.
  • Manifold-Inherent Operations: Trajectory evolution is represented via discrete group increments, ensuring that predicted states remain on the configuration manifold (like $SO(3)$ or $SE(3)$) to machine precision by construction.
  • Hessian Regularity Penalty: Minimizing physics residuals alone can cause a neural network to cheat by converging to a trivial, constant Lagrangian. To prevent this, the authors introduce a novel regularization term that penalizes the Hessian of the learned discrete Lagrangian if it approaches singularity, forcing the model to find mathematically valid, non-degenerate physical laws.

Datasets

The architecture was evaluated on both synthetic and real-world datasets:

  • Synthetic Rigid Body Simulations: Trajectories of a single rigid body evolving on $SO(3)$ and $SE(3)$ under gravitational fields, Rayleigh dissipation, and PD (Proportional-Derivative) control loops.
  • Real-World Human Motion Capture: Cartwheel sequences from the Carnegie Mellon University Motion Capture Database (CMU MoCap). The human skeleton was modeled as a complex kinematic chain on a high-dimensional product manifold ($SE(3) \times SO(3)^{22}$) consisting of 23 segments.

Key Insights and Ideas

  • Position Data is Plenty: By leveraging discrete mechanics, the network extracts maximal dynamical information from position data alone. It doesn't need to approximate velocities, making it highly robust against sensor noise.
  • Geometry as an Inductive Bias: Operating directly on Lie groups acts as a powerful regularizer. Because the network cannot physically make "off-manifold" predictions, it generalizes remarkably well to large-angle rotations where traditional Euclidean models fail.
  • Extreme Data Efficiency: Because the discrete equations perfectly match the discrete nature of time-series data, LieDFLNN can learn accurate global dynamics from incredibly short training windows (e.g., trajectories only 10 timesteps long).

Key Results

  • Euler Angles vs. Lie Groups: When tracking large rotations, the Euler-angle baseline broke down near coordinate singularities. LieDFLNN maintained consistently low error across all scales because its matrix representations remain smooth everywhere.
  • Discrete vs. Continuous Formulations: LieDFLNN trained on short 10-step trajectories achieved higher long-term predictive accuracy than continuous-time baselines (Geometric Lagrangian Neural Networks using RK4 or Lie integrators) trained on full 100-step trajectories.
  • Eliminating Manifold Drift: Over a 200-step forward rollout on $SE(3)$, standard Neural ODEs and Euclidean baselines rapidly drifted into non-physical state spaces. LieDFLNN accumulated zero geometric drift.
  • Real-World Multibody Scaling: Trained on just two highly sparse human cartwheel sequences from the CMU MoCap dataset, LieDFLNN successfully captured the coupled, high-dimensional dynamics. The rollout prediction errors remained well below the natural trial-to-trial variability of the human subject.

Limitations and Future Work

  • Structural Assumptions: The framework assumes the observed system strictly adheres to a discrete forced Euler-Lagrange structure. It may struggle with systems that violate these classical physical assumptions.
  • Local Control Identification: When isolating unknown control laws (such as the PD controller experiment), the model can only identify the control function within the specific regions of the state space visited during the training trajectory.
  • Future Directions: The authors suggest extending the framework to underactuated systems by fixing known actuation structures, as well as exploring more complex topological constraints in robotics.

Summary updated

BibTeX
@misc{hansen2026learning,
  author = {Martine Dyring Hansen and Marta Ghirardelli and Elena Celledoni and David Martin de Diego and Brynjulf Owren},
  title = {{Learning Forced Multibody Dynamics on Lie Groups}},
  year = {2026},
  eprint = {2607.12627},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.12627},
}
Figure