NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Riemannian Direct Trajectory Optimization of Rigid Bodies on Matrix Lie Groups

Sangli Teng, Tzu-Yuan Lin, William Clark, Ram Vasudevan, Maani Ghaffari

Abstract

Traditional robot trajectory optimization often struggles with mathematical singularities and constraint violations when representing 3D rotations using Euclidean tools. This paper introduces a Riemannian framework that operates directly on the curved surfaces of Matrix Lie Groups. By combining Lie Group Variational Integrators with exact second-order Riemannian derivatives and a specialized Interior Point Method, the proposed approach achieves an order-of-magnitude speedup in complex motion planning tasks while ensuring physical consistency and numerical robustness.

Introduction

Planning trajectories for complex robotic systems, such as drones or multi-link manipulators, requires navigating the non-Euclidean space of 3D rotations. Conventional methods typically rely on Euler angles, which are prone to gimbal lock, or quaternions, which necessitate additional normalization constraints. These "flat" representations often lead to slow convergence or failure in optimization solvers because they do not account for the underlying geometry of the rotation group $SO(3)$.

Conceptual overview of Riemannian optimization on the $SO(3)$ manifold for rigid body systems.

This work addresses these challenges by treating the configuration space as a Riemannian manifold. By optimizing directly on the manifold, the solver inherently respects the topological structure of rotations, avoiding the pitfalls of ambient space projections and artificial constraints.

Methodology

The framework integrates three core components to enable efficient constrained optimization:

  1. Lie Group Variational Integrator (LGVI): A discrete-time physics engine that preserves the manifold structure and energy properties of the system by construction, ensuring the robot stays on the valid rotation manifold without needing artificial corrections.
  2. Exact Riemannian Derivatives: The authors derived closed-form first- and second-order derivatives (Gradients and Hessians) for the dynamics. A key finding is that the computational complexity of these derivatives scales linearly with the number of rigid bodies.
  3. Riemannian Interior Point Method (RIPM): An adaptation of the industry-standard Interior Point Method that handles inequality constraints (e.g., obstacle avoidance) while performing optimization steps directly along the manifold's surface.
Structure of the constrained optimization problem, showing the tree-based connectivity and the resulting sparse KKT system.

Performance and Scalability

A significant contribution of this research is the proof of linear complexity. By leveraging the tree-structured connectivity of multi-body systems, the resulting Karush-Kuhn-Tucker (KKT) system exhibits a sparse, banded structure. This allows for efficient numerical solutions even as the system's degrees of freedom increase, making it viable for complex robotic chains.

Experimental Results

The method was evaluated on several challenging benchmarks:

  • Drone Docking: The Riemannian solver demonstrated superior robustness, reaching high-precision tolerances ($10^{-14}$) in significantly fewer iterations than quaternion-based methods.
  • KUKA iiwa Manipulator: In obstacle avoidance tasks involving a 7-DOF arm, the proposed approach was approximately 10x faster than standard solvers like IPOPT.
  • Kinematic Chains: Tests on synthetic chains confirmed that the computational cost grows linearly with the number of joints, validating the theoretical scalability.

Conclusion

Riemannian Direct Trajectory Optimization provides a mathematically principled and computationally efficient alternative to traditional motion planning. By aligning the optimization landscape with the physical geometry of the robot, the method offers significant gains in speed and reliability. Future work will explore extending this framework to non-holonomic constraints and hybrid dynamical systems, such as legged robots.

Summary updated

BibTeX
@misc{teng2025riemannian,
  author = {Sangli Teng and Tzu-Yuan Lin and William Clark and Ram Vasudevan and Maani Ghaffari},
  title = {{Riemannian Direct Trajectory Optimization of Rigid Bodies on Matrix Lie Groups}},
  year = {2025},
  eprint = {2505.02323},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.02323},
}
Figure