Rotation averaging recovers the orientations of many cameras or robot poses from noisy measurements of their relative rotations. It underlies Structure-from-Motion (SfM, reconstructing 3D scenes from photo collections) and SLAM (simultaneous localization and mapping), and it is non-convex. Local solvers can get stuck in poor solutions, for example with some cameras flipped by 180°. The field already has solvers that can prove a solution is globally optimal, but they certify only one way of measuring rotation error: the chordal distance, which is the squared matrix difference between two rotations. The error practitioners actually want is the geodesic one, the rotation angle between estimate and measurement. For that error, On the Distribution of Minima in Intrinsic-Metric Rotation Averaging states that no comparable guarantee exists. It also shows that the geodesic landscape "shatters" into many poor local minima as noise grows or the graph thins out.
This note proposes to close that gap with canonical duality theory. Canonical duality is a way of rewriting a non-convex objective as a convex function applied to a non-convex "strain-like" quantity, and then taking a dual in that convex outer function. The key observation is simple. For each measured pair of rotations, the squared geodesic angle is a convex, increasing function of the chordal residual. The geodesic objective therefore has exactly the structure canonical duality needs. Taking the dual in that outer function turns geodesic rotation averaging into a single concave maximization problem. Every feasible point of that problem gives a lower bound on the geodesic optimum, and a zero gap gives a certificate. The certificate matrix turns out to be the familiar chordal certificate from SE-Sync, weighted edge by edge by exactly the weights that iteratively reweighted least squares would assign. So the tools are almost off the shelf, but they certify a problem nobody has certified before.
Core Claim
Write $\xi_{ij}(R) = \|R_j - R_i R_{ij}\|_F^2 = 4(1-\cos\theta_{ij})$ for the chordal residual on edge $(i,j)$. Here $R_i \in SO(3)$ is the unknown rotation of node $i$, $R_{ij}$ is the measured relative rotation, and $\theta_{ij}$ is the residual angle. The geodesic least-squares cost of that edge is $\theta_{ij}^2 = V(\xi_{ij})$, with $V(\xi) = \arccos^2(1-\xi/4)$ on $[0,8]$.
The function $V$ is convex. Its slope with respect to $\xi$ is $\theta/(2\sin\theta)$, which increases monotonically from $1/2$ at $\theta=0$ to infinity at $\theta=\pi$. Because $V$ is convex, it equals its own Fenchel biconjugate: $V(\xi)=\sup_{\sigma\ge 0}\,[\sigma\xi - V^*(\sigma)]$, where $V^*$ is a one-dimensional convex conjugate that can be evaluated numerically. Substituting this into the geodesic problem $\min_R \sum_{ij} V(\xi_{ij}(R))$ and dualizing the orthogonality constraints $R_i^\top R_i = I$ gives the canonical dual problem
$$ \max_{\sigma \ge 0,\ \Lambda}\ \ \mathrm{tr}(\Lambda) - \sum_{(i,j)} V^*(\sigma_{ij}) \quad \text{s.t.}\quad L(\sigma) - \Lambda \succeq 0 . $$
In this problem, $L(\sigma)$ is the connection Laplacian of the measurement graph with edge $(i,j)$ weighted by $\sigma_{ij}$, and $\Lambda$ is a symmetric block-diagonal matrix of $3\times 3$ multipliers. The objective is concave and the feasible set is convex, so this is a convex program. By weak duality, its value lower-bounds the geodesic optimum.
Given any candidate solution $\hat R$ from a local solver, there is a natural dual point to test. Set $\sigma_{ij} = V'(\xi_{ij}(\hat R)) = \hat\theta_{ij}/(2\sin\hat\theta_{ij})$ and form $\Lambda$ from the first-order conditions, as SE-Sync does. If $L(\sigma)-\Lambda \succeq 0$ holds, then $\hat R$ is the certified global minimizer of the geodesic objective. This is the zero-gap condition, and in triality language it says the dual point lies in the convex admissible region that Jin and Gao call $\mathcal{E}^+$.
The claim to be tested is that this certificate is tight on a large and characterizable share of realistic instances, meaning its gap is numerically zero. Where it fails, the negative-eigenvalue directions of the weighted certificate matrix identify how the solution is trapped.
Relation to Prior Work
Four papers establish that Lagrangian duality can be exact for pose problems, and they supply the machinery this proposal reuses. Rotation Averaging and Strong Duality proves a zero gap for chordal rotation averaging below a noise threshold tied to graph connectivity. Pose Graph Optimization in the Complex Domain proves the analogous result for planar pose graphs. SE-Sync and Shonan Rotation Averaging make the chordal relaxation scale by solving a low-rank version on a larger manifold. Shonan climbs to a higher-dimensional rotation group when the certificate has a negative eigenvalue, then descends again.
All four certify only quadratic, chordal objectives. This proposal keeps their low-rank solvers and certificate test unchanged. What it adds is an outer layer of per-edge dual variables $\sigma$ that converts a geodesic objective into a weighted chordal one, without losing the lower-bound property.
The canonical duality literature supplies the transformation and the interpretation. Jin and Gao formalize the recipe of a convex outer function applied to a quadratic inner measure, and give the triality classification of critical points. Chen et al.'s non-convex games and Xu et al.'s sensor network localization apply it to Euclidean localization with fourth-order costs. Those works never touch rotation groups. They also never pair canonical duality with the orthogonality-constraint semidefinite relaxation, and that pairing is what makes the dual tractable here.
Wilson and Bindel motivate the work: they show that geodesic landscapes shatter and that no geodesic certificate exists. They also constrain it, because their shattering result predicts that our gap must open in sparse, high-noise graphs. The proposal treats that prediction as something to measure, not something to argue away.
Research Program
The first component is analytical. We will derive $V^*$, which is zero for $\sigma \le 1/2$ and otherwise defined by inverting $\theta/(2\sin\theta)=\sigma$. We will prove the weak-duality bound and prove that the zero-gap test above is sufficient for global geodesic optimality.
One technical point needs care. The relaxation lets rotations leave $SO(3)$, so lifted residuals can exceed the value 8 that bounds true chordal residuals. We will handle this by extending $V$ to $+\infty$ beyond 8, which keeps the conjugate well defined, and we will check that the certificate remains valid under that extension. The second analytical question is whether a noise threshold in the style of Eriksson et al. carries over. Since $\sigma_{ij} \ge 1/2$, the weighted Laplacian dominates half the unweighted one, which suggests a threshold at least as generous as the chordal one scaled by per-edge weight variation. We will try to prove this.
The second component is a solver. The obvious scheme alternates two steps: update $\sigma$ from current residuals, then run a certifiable Shonan solve on the weighted chordal problem. This is exactly iteratively reweighted least squares with a globally optimal inner step. We will compare it against first-order ascent directly on the concave dual. For either scheme, the output is a geodesic solution together with an explicit lower bound, so every instance reports a suboptimality gap rather than a yes-or-no certificate.
The third component is diagnostic and follows triality theory. When the certificate fails, we will record the negative eigenvalues and eigenvectors of $L(\sigma)-\Lambda$ at local geodesic minima. We will then test whether following those eigenvectors in the Shonan manner reaches lower geodesic cost. We will also test whether the number of negative eigenvalues tracks the shattering transition that Wilson and Bindel describe. This part is exploratory. If the eigenvectors carry no escape information, we will report that.
The scope is deliberately narrow: geodesic $\ell_2$ rotation averaging. Robust costs such as geodesic $\ell_1$ or Geman-McClure are concave in the squared residual, so they fall outside this construction. They would need the difference-of-convex extension from Jin and Gao, which we list as follow-on work rather than claim.
Baselines
The naive reference is a local geodesic solver started from a spanning-tree initialization, reporting whatever minimum it reaches with no certificate. On the same synthetic cycle graphs, Rotation Averaging and Strong Duality reports local solvers failing in 30–70% of cases, and Shonan reports 80% failure on random cycle graphs. Wilson and Bindel report local search reaching the global minimum in as few as 2% of trials in shattered regimes. We will run this baseline on identical graphs with 100 random initializations per instance. Beating it means reaching a lower geodesic cost more often and attaching a bound.
The strongest competitor is the pipeline practitioners would actually use. Shonan solves the chordal problem to certified optimality, and that solution then seeds geodesic Levenberg-Marquardt refinement. On the chordal problem, Shonan certifies the torus graph (5,000 rotations) in about 80 seconds and gives zero error on YFCC reichstag and pantheon_interior, per the Shonan paper. For geodesic certification, no reported result was found on Lacuna, because none exists. This pipeline is the real threat: it probably finds the geodesic global minimum in most low-noise cases. We will run it with the same Shonan implementation, rank schedule, and convergence tolerances as our inner solver, so the only difference is the $\sigma$ layer.
Beating it has two parts. We must certify a large fraction of its outputs, or show some are suboptimal. And in medium-to-high noise, we must find strictly lower geodesic cost on a measurable share of instances at no more than a constant-factor runtime cost.
A third comparison is Hybrid Rotation Averaging on real SfM data, which reports 4.2 seconds on the 7,085-image Trafalgar Square. It is a speed and accuracy reference without certificates.
Two ablations isolate the key ingredient, the optimized $\sigma$. The first fixes $\sigma_{ij}=1/2$ everywhere. Because $V$ is convex with slope $1/2$ at zero, this gives a valid but loose bound (half the chordal optimum). The second sets $\sigma$ from IRLS weights at the local solution without maximizing the dual. If full dual maximization does not tighten gaps beyond the IRLS-weight ablation, the dual solver contributes nothing beyond the certificate test.
Why not just…?
Why not just certify the chordal problem and refine locally? Chordal and geodesic minimizers differ, and a certificate for one says nothing about the other. The refined solution could sit in a geodesic local minimum near the chordal optimum. This may rarely happen at low noise, and that is a genuine threat to any claim of accuracy gains. The experiments therefore report two things separately. One is the certification rate, which is new regardless of accuracy. The other is how often the refined pipeline is provably suboptimal. If the latter is near zero everywhere, the contribution reduces to a certificate, and we will say so.
Why not just run IRLS with many random restarts? Restarts cannot tell you when to stop. In shattered landscapes, Wilson and Bindel show the basin of the global minimum can be tiny, so the number of restarts needed grows sharply. Our certificate reuses the IRLS weights and adds only a single eigenvalue check. It sits on top of restarts rather than competing with them, and the comparison measures how many restarts go uncertified.
Why not relax the geodesic cost directly with a polynomial sum-of-squares hierarchy? The arccos-based cost is not polynomial. Polynomial approximations raise the degree and the relaxation size, and interior-point solvers already take over 1,700 seconds on the 322-camera Buddha graph even for the quadratic chordal problem, per Rotation Averaging and Strong Duality. The canonical dual stays at the chordal problem's size plus one scalar per edge.
Isn't this just SE-Sync's certificate with reweighting? Mechanically, largely yes, and that is the point. What is new is the proof that this reweighted matrix certifies the geodesic objective, via Fenchel duality in $V$, and the resulting convex dual that gives bounds even when the gap is non-zero.
Proposed Experiments
On synthetic cycle and complete graphs, as in Eriksson et al. and Shonan, we will sweep angular noise and edge density. We will plot four quantities: certification rate (relative gap below $10^{-6}$), median relative gap, how often each baseline is provably suboptimal, and runtime. The decisive checks are three. First, the certification rate at noise levels where chordal strong duality is known to hold (up to about 42.9° on complete graphs, per Eriksson et al.) should be near 100%. Second, the gap should open at the sparse, high-noise corner where Wilson and Bindel observe shattering. If it opens much earlier, the certificate is too weak to matter. Third, the optimized-$\sigma$ dual should strictly tighten gaps relative to both ablations.
On the rotation parts of the standard SLAM graphs (smallGrid, sphere, torus, garage, cubicle), we will report certification and runtime overhead against Shonan-plus-refinement. The target is at most 2–3× Shonan's time. On Buddha, YFCC reichstag and pantheon_interior, and 1DSfM, we will report median and mean angular error against ground truth, plus certification rate. The 1DSfM graphs contain outliers that geodesic $\ell_2$ cannot tolerate, so they will first be filtered with Hybrid RA's graph filtering; we expect certification to degrade on unfiltered graphs and will report that. Finally, the triality diagnostic will be judged on shattered synthetic instances: does escaping along negative eigenvectors of the weighted certificate reach lower geodesic cost more often than random perturbation of equal magnitude?
References
- On the Distribution of Minima in Intrinsic-Metric Rotation Averaging
- A Certifiably Correct Algorithm for Synchronization over the Special Euclidean Group
- On modeling and global solutions for d.c. optimization problems by canonical duality theory
- Rotation Averaging and Strong Duality
- Pose Graph Optimization in the Complex Domain: Lagrangian Duality, Conditions For Zero Duality Gap, and Optimal Solutions
- Shonan Rotation Averaging: Global Optimality by Surfing SO(p)n.
- Approaching the Global Nash Equilibrium of Non-Convex Multi-Player Games
- Non-Convex Potential Games for Finding Global Solutions to Sensor Network Localization
- Hybrid Rotation Averaging: A Fast and Robust Rotation Averaging Approach