Introduction
Rotation averaging is a fundamental problem in 3D reconstruction (Structure-from-Motion) and robotics (SLAM). Given a set of noisy relative rotations between pairs of coordinate frames, the goal is to estimate their absolute orientations in a common global frame. Mathematically, this involves optimization over the non-convex space of rotations ($SO(3)$), which is prone to local minima. While "certifiably correct" methods like Shonan Averaging can find global optima, their high computational cost often precludes real-time use.
This paper introduces RAveSS (Rotation Averaging in a Split Second), a high-speed primal-dual optimization method that consistently finds global optima without manual initialization. Furthermore, the authors derive a closed-form solution for cycle graphs (C-RAveSS), achieving machine-precision results orders of magnitude faster than iterative approaches.
Methodology
The proposed approach addresses rotation averaging through two primary contributions:
1. RAveSS: General Primal-Dual Optimization
RAveSS is a general-purpose algorithm that leverages the duality of the rotation averaging problem.
- Primal Update: Instead of optimizing directly in $SO(3)$, the method solves an eigenvalue problem on the Stiefel manifold and projects the result back to valid rotations using the Procrustes method.
- Dual Update: The algorithm updates Lagrange multipliers by enforcing stationarity conditions.
- Smart Initialization: RAveSS uses the graph degree matrix for initialization. This leverages the insight that for noise-free data, the optimal solution is determined solely by the graph's topology. By monitoring the "dual gap," the algorithm can certify global optimality at every step.
2. C-RAveSS: Closed-form Solution for Cycles
For cycle graphs, the authors prove that the problem can be simplified into a one-parameter subgroup by changing the mathematical basis. The global optimum is calculated directly using the $n$-th roots of the "cycle error" (the cumulative rotation error around the loop), eliminating the need for iteration.
Experimental Setup
The methods were evaluated on:
- Standard Benchmarks: Seven robotics datasets (e.g., SmallGrid3D, Sphere, Grid3D) ranging from 125 to over 10,000 nodes.
- Synthetic Cycles: Randomly generated loops (20 to 200 nodes) with varying noise levels to test the closed-form solution.
Key Results
RAveSS demonstrates significant improvements in both speed and precision over state-of-the-art methods like Shonan Averaging and SE-Sync.
As shown in Table 1, on the Grid3D dataset (8,000 nodes), RAveSS reaches the global optimum in just 1.78 seconds, compared to 154.54 seconds for Shonan Averaging and 11.69 seconds for SE-Sync. It also achieves a much tighter optimality gap ($10^{-15}$ vs $10^{-5}$ to $10^{-9}$).
The closed-form solution for cycles provides even more dramatic speedups.
For a 100-node cycle, C-RAveSS computes the solution in 0.00009 seconds (90 microseconds), representing a 10,000x speedup over previous iterative methods that take nearly a full second to reach lower accuracy.
Discussion and Future Work
While highly effective, RAveSS performs best on well-connected graphs; its initialization may be less robust in extremely sparse scenarios. Additionally, the current formulation assumes Langevin (Gaussian-like) noise and does not explicitly handle outliers. Future work includes extending this primal-dual framework to full $SE(3)$ pose averaging, incorporating translations alongside rotations for complete 3D reconstruction.
Summary updated