Abstract
Rotation averaging—the task of calculating absolute camera orientations from relative measurements—is a fundamental non-convex problem in computer vision. While traditionally plagued by local minima, this research demonstrates that for most practical scenarios, a convex relaxation of the problem yields the globally optimal solution. We provide theoretical guarantees based on graph connectivity and introduce a high-performance algorithm that outperforms standard solvers by orders of magnitude.
Introduction
In computer vision tasks like Structure from Motion (SfM), we often utilize a "camera graph" where edges represent the relative rotation between two cameras. The objective is to determine the absolute orientation of every camera within a single coordinate system. Mathematically, this is defined as a rotation averaging problem. Because the space of rotations ($SO(3)$) is non-convex, the optimization landscape is inherently complex. Traditional local solvers, such as Levenberg-Marquardt, frequently become trapped in local minima, resulting in distorted 3D reconstructions. This paper bridges the gap between theory and practice by identifying exactly when convex relaxations are guaranteed to find global solutions.
Theoretical Framework and Methods
The authors employ Lagrangian Duality to address the non-convexity of rotation constraints. The process involves two primary components:
- Convex Relaxation: The hard, non-convex problem is transformed into a Semidefinite Program (SDP). Although SDPs are convex and theoretically "easy" to solve, they do not always yield the same answer as the original problem (a phenomenon known as a duality gap).
- Spectral Graph Theory: To determine when the duality gap is zero (Strong Duality), the authors analyze the properties of the camera graph’s Laplacian matrix. Specifically, they utilize the Fiedler value ($\lambda_2$), which quantifies the connectivity of the graph.
The BCD Algorithm
Rather than relying on computationally heavy, general-purpose SDP solvers like SeDuMi, the authors propose a specialized Block Coordinate Descent (BCD) algorithm. This approach iteratively updates individual camera rotations using simple matrix multiplications and 3x3 symmetric matrix square roots. Because these operations have closed-form solutions, the algorithm is exceptionally fast and avoids the massive memory overhead associated with general interior-point methods.
Experimental Evaluation and Key Results
The approach was evaluated on both synthetic data (cycle graphs of $n=20$ to $200$) and five standard real-world SfM datasets: Gustavus, Sphinx, Alcatraz, Pumpkin, and Buddha.
Key Insights
- The "Easy" Threshold: The paper establishes an explicit formula for $\alpha_{max}$, the maximum angular error allowed before convex relaxation might fail. For a perfectly connected graph, this bound is a generous 42.9°.
- Connectivity is Key: Higher graph connectivity (a higher Fiedler value) allows the system to handle more noise while still guaranteeing a globally optimal solution.
- Global Optimality: In synthetic tests, the proposed method reached the global optimum 100% of the time, whereas standard local solvers only succeeded 30–70% of the time.
- Massive Speedups: On the Buddha dataset (322 cameras), the BCD algorithm required only 16.7 seconds, compared to over 1,765 seconds for the standard SeDuMi solver—a speedup exceeding 100x.
Limitations and Future Work
While the theoretical bounds are rigorous, they can be conservative; for instance, the method succeeded on the Pumpkin dataset even when noise exceeded the calculated $\alpha_{max}$. Future work may focus on extending these guarantees to outlier-heavy cost functions (robust $L_1$ formulations), as the current proof specifically targets $L_2$ chordal distance. Additionally, sparse graphs remains a challenge, as noise tolerance drops significantly when connectivity is low.
Summary updated