[Paper Review] A Quaternion-based Certifiably Optimal Solution to the Wahba Problem with Outliers
This paper proposes QUASAR, a certifiably optimal, polynomial-time solution to the robust Wahba problem with outliers using a quaternion-based semidefinite programming relaxation. By reformulating the truncated least squares cost in unit quaternions and leveraging a tight SDP relaxation, QUASAR achieves global optimality and certifiable solutions even with up to 95% outliers, outperforming RANSAC, local solvers, and branch-and-bound methods in accuracy and robustness.
The Wahba problem, also known as rotation search, seeks to find the best rotation to align two sets of vector observations given putative correspondences, and is a fundamental routine in many computer vision and robotics applications. This work proposes the first polynomial-time certifiably optimal approach for solving the Wahba problem when a large number of vector observations are outliers. Our first contribution is to formulate the Wahba problem using a Truncated Least Squares (TLS) cost that is insensitive to a large fraction of spurious correspondences. The second contribution is to rewrite the problem using unit quaternions and show that the TLS cost can be framed as a Quadratically-Constrained Quadratic Program (QCQP). Since the resulting optimization is still highly non-convex and hard to solve globally, our third contribution is to develop a convex Semidefinite Programming (SDP) relaxation. We show that while a naive relaxation performs poorly in general, our relaxation is tight even in the presence of large noise and outliers. We validate the proposed algorithm, named QUASAR (QUAternion-based Semidefinite relAxation for Robust alignment), in both synthetic and real datasets showing that the algorithm outperforms RANSAC, robust local optimization techniques, global outlier-removal procedures, and Branch-and-Bound methods. QUASAR is able to compute certifiably optimal solutions (i.e. the relaxation is exact) even in the case when 95% of the correspondences are outliers.
Motivation & Objective
- To address the challenge of solving the Wahba problem under extreme outlier conditions (e.g., 95% outliers) where standard least squares fails.
- To develop a globally optimal, certifiable solution that runs in polynomial time, avoiding the exponential complexity of branch-and-bound methods.
- To improve robustness against high noise and large outlier ratios by replacing standard least squares with a truncated least squares (TLS) cost function.
- To enable certifiable optimality by constructing a tight semidefinite programming (SDP) relaxation of the quaternion-based optimization problem.
- To outperform existing methods such as RANSAC, robust local optimization, and global outlier-removal techniques in accuracy and reliability under extreme conditions.
Proposed method
- Formulate the robust Wahba problem using a Truncated Least Squares (TLS) cost function that assigns constant cost to measurements with large residuals, making it insensitive to outliers.
- Reformulate the problem using unit quaternions to represent rotations, enabling a more natural and numerically stable optimization framework.
- Introduce binary variables to model inlier/outlier decisions, transforming the TLS cost into a mixed-integer QCQP.
- Derive a convex Semidefinite Programming (SDP) relaxation of the quaternion-based QCQP by lifting the problem into a higher-dimensional space and relaxing the rank constraint.
- Enhance relaxation tightness by adding redundant but valid constraints that preserve equivalence to the original problem while improving convergence and optimality certification.
- Use the duality gap to certify global optimality: a zero duality gap implies the relaxation is exact and the solution is certifiably optimal.
Experimental results
Research questions
- RQ1Can a certifiably optimal solution be computed for the robust Wahba problem with up to 95% outliers in polynomial time?
- RQ2Does a quaternion-based SDP relaxation provide a tighter relaxation than naive approaches, even under high noise and extreme outlier ratios?
- RQ3Can the proposed method outperform RANSAC and other state-of-the-art robust solvers in terms of estimation accuracy and robustness under high outlier rates?
- RQ4Is the duality gap a reliable certificate of global optimality in the presence of large noise and outliers?
- RQ5Can the method achieve global optimality without requiring an initial guess, unlike local optimization techniques?
Key findings
- QUASAR achieves certifiably optimal solutions even when 95% of the correspondences are outliers, as confirmed by a zero duality gap in all tested cases.
- In synthetic experiments with 96% outliers and low noise, QUASAR successfully computed optimal solutions, while GORE, BnB-L2, and BnB-Ang all failed.
- With high inlier noise (σ = 0.1), QUASAR remained robust up to 80% outlier rates, achieving lower rotation estimation error than all competing methods.
- On the PASSTA Lunch Room dataset, QUASAR successfully stitched all 12 image pairs, including the most challenging pair (7,13) with 66% SURF outlier ratio, where RANSAC-based stitching failed entirely.
- The average relative duality gap across 12 image stitching tasks was 1.40e-09, indicating near-zero optimality gap and strong certifiability of solutions.
- The stable rank of the solution matrix was nearly 1 (1 + 8.33e-17), confirming that the solution matrix is rank-1, validating the exactness of the relaxation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.