TL;DR
This paper introduces a novel Riemannian optimization framework for direct trajectory optimization of rigid bodies by formulating discrete dynamics directly on matrix Lie groups. By deriving exact, closed-form first- and second-order Riemannian derivatives, the proposed method avoids coordinate singularities and achieves an order-of-magnitude speedup over conventional Euclidean-space optimization methods.
What Problem Does This Paper Address?
Trajectory optimization is a cornerstone of modern robotics, enabling drones and robotic arms to plan dynamically feasible paths. Traditionally, these problems are solved by modeling robot dynamics using generalized coordinates (like Euler angles) or quaternions embedded in Euclidean space.
However, parameterizing 3D rotations in $\mathbb{R}^3$ inevitably introduces topological singularities (such as gimbal lock) or breaks the intrinsic structure of the rotation group. While quaternions avoid singularities, they require enforcing a strict unit-norm constraint ($\|q\|=1$), which warps the optimization landscape and slows down convergence. These geometric mismatches often lead to computationally expensive derivative evaluations and fragile solver performance.
Methods
The authors present a "correct-by-construction" approach that optimizes directly on the manifold of rigid body motions ($SO(3) \times \mathbb{R}^3$). The framework consists of three core components:
- Lie Group Variational Integrator (LGVI): Instead of using standard discrete integration methods that drift off the manifold, the authors use LGVI to derive discrete-time equations of motion. This ensures that the discrete states intrinsically satisfy manifold constraints while perfectly conserving energy properties.
- Closed-Form Riemannian Derivatives: Leveraging Lie group symmetries and the Baker-Campbell-Hausdorff (BCH) formula, the authors derive exact, closed-form first- and second-order Riemannian derivatives (gradients and Hessians) for both the core dynamics and common kinematic constraints (like pivot and axis joints).
- Riemannian Interior Point Method (RIPM): They implement a customized line-search RIPM to solve the trajectory optimization problem, handling general nonlinear equality (dynamics) and inequality (collision avoidance) constraints directly on the manifold.
Datasets
Not discussed in the paper. The method is evaluated entirely within simulated robotics environments rather than on static datasets.
Key Insights and Ideas
- Singularity-Free by Design: Operating directly on the matrix Lie group eliminates the need for artificial coordinate charts or norm-preservation constraints, resulting in a cleaner, more well-behaved optimization landscape.
- Linear Complexity Scaling ($O(N)$): Traditional generalized coordinate methods suffer from cubic complexity ($O(N^3)$) relative to the robot's degrees of freedom (DOF) when calculating second-order derivatives. By using a maximal coordinates formulation—where every rigid body is modeled explicitly and joint constraints are enforced via holonomic equations—the sparsity pattern of the system is preserved. This allows both derivative evaluations and Newton steps to scale linearly with the planning horizon and system DOF.
- Energy Conservation: Because the integration scheme naturally respects physical conservation laws, the generated trajectories remain highly accurate and dynamically feasible over long horizons.
Key Results
The framework was validated on two challenging simulation tasks: a quadrotor docking problem and a 7-DOF KUKA iiwa manipulator arm.
- Drone Docking: In a drone docking task with highly randomized initial orientations, the proposed RIPM achieved an 82% success rate under constrained conditions. In stark contrast, standard Euclidean baselines (IPOPT and SNOPT using quaternion parameterizations) failed to converge within 1000 iterations unless they were provided with a highly precise, near-optimal initialization.
- Computational Speedup: For unconstrained single rigid body iterations, the proposed method was roughly twice as fast per iteration compared to standard IPOPT (0.0046s vs 0.0136s).
- Multi-Rigid Body Planning: When planning for the 7-DOF manipulator avoiding obstacles, the method demonstrated superior convergence rates and required significantly fewer iterations to find valid trajectories compared to generalized coordinate formulations.
Limitations and Future Work
- State Dimension Explosion: Using maximal coordinates increases the total number of decision variables because every link's position and orientation are tracked explicitly. This makes the underlying Karush-Kuhn-Tucker (KKT) system multiple times larger than its generalized coordinate counterpart.
- Local Optimality: As a gradient-based approach, the algorithm can get trapped in local minima and does not guarantee global optimality.
- Constraint Restrictions: The current formulation only supports holonomic constraints. The authors note that extending the framework to handle nonholonomic constraints (e.g., wheeled mobile robots), complementarity constraints (for contact-rich manipulation), and hybrid dynamics is a crucial next step.
- Solver Maturity: The custom RIPM implementation currently lacks advanced numerical features found in mature solvers like IPOPT (such as inertial correction and second-order correction), which limits its robustness in highly sensitive edge cases.
Summary updated