Many geometric vision problems are non-convex but quietly well-behaved. A central example is recovering the orientations of many cameras from noisy pairwise relative-rotation measurements. The standard Lagrangian dual of this problem, a convex problem whose value can never exceed the true optimum, often reaches the true optimum exactly. When it does, a solution can be certified as globally optimal. When the measurements become very noisy, sparse, or ambiguous, as with low-overlap or disjoint views, that guarantee breaks. Two things then fail together. The dual bound falls below the best achievable cost, and the dual solution no longer yields a usable set of camera rotations.
We propose to split the work between two learned components. A diffusion model, which generates samples by gradually denoising random noise, proposes several candidate rotation sets. A separately trained network predicts dual variables that are feasible by construction, so it always gives a valid lower bound on the best possible cost. The gap between the best sampled candidate's cost and the predicted bound is a per-instance certificate. When the gap is near zero, the candidate is provably globally optimal. When it is not, the gap is a guaranteed upper bound on how suboptimal the candidate can be. Neither component needs solver-generated labels. The dual network is trained only by pushing its own bound upward.
Core Claim
Self-supervised dual maximization has so far produced certified bounds for convex problems such as linear and second-order cone programs, and for convex relaxations of power flow. Those learned bounds are paired with no reliable primal side. Generative geometric priors produce good primal candidates but no measure of how far those candidates are from optimal. Our claim is that pairing the two makes the non-convex duality gap a quantity that can be measured instance by instance. For geometric estimation problems with this "hidden strong duality", that pairing certifies most generated solutions in milliseconds. It also flags, with a valid bound, the minority of instances where the relaxation or the sampler fails.
Research Program
The primal problem is to choose rotations $R_1,\dots,R_n$, stacked as $X=[R_1\cdots R_n]$, that minimize $f(X)=\mathrm{tr}(QX^\top X)$, where $Q$ is the measurement graph's connection Laplacian built from the relative rotations and their weights. The problem is subject to $R_i^\top R_i=I$. Relaxing the orthogonality constraints with symmetric $3\times 3$ multiplier blocks gathered into a block-diagonal $\Lambda$ gives the dual
$$ f^\star \;\ge\; q(\Lambda)=\mathrm{tr}(\Lambda)\quad\text{whenever}\quad Q-\Lambda\succeq 0 . $$
Here $f^\star$ is the global primal optimum. The inequality holds because the Lagrangian $\mathrm{tr}((Q-\Lambda)X^\top X)+\mathrm{tr}(\Lambda)$ is bounded below exactly when $Q-\Lambda$ is positive semidefinite. Eriksson and coauthors (author page) showed this bound is tight under bounded noise. Their result motivates the work and tells us where to expect zero gap.
The dual network is a graph neural network over the measurement graph that outputs a block-diagonal $\hat\Lambda$. We borrow the dual completion idea from Dual Lagrangian Learning for Conic Optimization. That paper predicts part of the dual and completes the rest analytically so that every output is feasible. In our setting the completion is a spectral shift: $\Lambda=\hat\Lambda+\min(0,\lambda_{\min}(Q-\hat\Lambda))\,I$. The shifted output is always feasible, and its bound $\mathrm{tr}(\Lambda)$ is differentiable almost everywhere through the minimum eigenvalue, which a few Lanczos iterations compute on the sparse matrix. Training minimizes $-\mathrm{tr}(\Lambda)$ on simulated graphs. This departs from that paper in three ways. The cone is semidefinite rather than linear or second-order. The network is a graph network, so it transfers across graph sizes, which removes the paper's fixed-dimension limitation. The underlying problem is non-convex. Of the works in the file, Dual Conic Proxies for AC Optimal Power Flow is the closest analogue: it also learns feasible duals for a relaxation of a non-convex problem. It never pairs the bound with a primal side, however, so it cannot tell whether its gap is small.
The primal side is a conditional diffusion model over $SO(3)^n$, the space of $n$ rotations, conditioned on the measurement graph. It plays the role that Point-Voxel Diffusion plays for shape completion: it represents a distribution over plausible answers when one input admits several, rather than regressing a blurred average. Each sample is polished by a few steps of local Riemannian descent. The certificate is $\min_k f(X^{(k)})-q(\Lambda)$ over $K$ samples.
Lasserre's result (author page) shows that the Lagrangian dual is exactly the dual of a relaxation over probability measures. That gives a testable scientific hypothesis: the instances with a true nonzero gap should be the ones where the diffusion posterior is multimodal with near-equal-cost modes. A second scientific question follows from Learning with Statistical Equality Constraints. That paper found that learned multipliers track per-class difficulty, with a reported 0.89 correlation to test error. We will check whether the per-camera multiplier blocks similarly locate the cameras responsible for the gap.
Baselines
The naive reference point is a single local solver run from a spanning-tree initialization, reported with no bound. It shows how often uncertified answers are silently wrong. Ofer Meshi (author page) and Ernest Ryu (author page) are cited in the file for exactly this hazard.
The strongest bound baseline is solving the semidefinite relaxation exactly with an interior-point or low-rank solver. Its bound is the best any dual method can achieve, so our network can only approach it. It runs on the same instances. Our method beats it if it reaches a large fraction of the relaxation's bound at much lower latency, and if its certified fraction stays within a few points of the exact solver's.
The strongest cheap competitor is the classical shifted multiplier. This takes the closed-form multipliers implied by the local solver's first-order conditions and applies the same spectral shift we use. It needs no learning and gives a valid bound for any primal candidate. The learned dual must beat it on bound tightness in instances where the primal candidate is poor. If it does not, the learned component is unnecessary.
On the primal side, the competitor is multi-start local search with random initializations, given the same wall-clock budget as $K$ diffusion samples plus refinement. We also compare against a deterministic graph network that regresses one rotation set.
Two ablations isolate the key ingredients. The first removes the diffusion model and certifies the local solver's answer with the learned dual. The second removes the learned dual and ranks diffusion samples by cost alone.
Reported numbers to anchor training quality come only from other problem classes. Dual Lagrangian Learning reports mean optimality gaps "under 0.5%" on multi-dimensional knapsack (paper). We will reproduce that number with our completion code before moving to semidefinite cones. Self-Supervised Primal-Dual Learning reports a 0.141% mean gap on non-convex QCQP, but without a certified bound. For rotation averaging itself, there is no reported result found on Lacuna for any learned dual or learned certifier.
Why not just…?
Why not just solve the semidefinite relaxation? It gives the tightest bound and, when tight, the optimum itself, so on small graphs it is the right tool. Its cost grows steeply with the number of cameras, and it must be rerun for every new measurement graph. Our case rests on amortization: many instances, repeated re-solving during incremental reconstruction, or graphs too large for interior-point methods. The latency-versus-tightness curve against this solver across graph sizes from 50 to 1000 cameras will show whether that regime exists. If the exact solver is fast enough at every size we test, we will say so.
Why not just certify the local solver's answer with the closed-form multipliers? This is the most serious threat. When the local answer is optimal and the relaxation is tight, the closed-form multipliers already certify it, and nothing is learned. The learned dual can only matter when the primal candidate is wrong or the gap is real. In those cases the closed-form multipliers are infeasible, and after shifting they may give a very loose bound. We will stratify instances by noise and outlier rate and report both bounds per stratum. If the learned bound is not clearly tighter in the hard strata, we will drop the learned dual and keep the closed-form multipliers as the certifier.
Why not just use more random restarts instead of a diffusion model? Restarts are cheap and need no training. Their weakness is that on low-overlap graphs, basins of attraction can be very uneven, so random starts keep landing in the same wrong basin. We will measure certified fraction against compute for restarts and for diffusion samples. The certificate makes this comparison objective, because a certified answer is optimal no matter how it was found.
Why not just regress the rotations with one feed-forward network? For an ambiguous graph, a single output averages over the possible solutions. Zhou et al. document exactly this blurred-mean failure for shape completion (PVD). Such outputs rarely satisfy the certificate. The deterministic baseline's certified fraction will quantify this directly.
Proposed Experiments
Synthetic measurement graphs are generated with random ground-truth rotations, varying graph density, Gaussian rotation noise, outlier rates, and sizes from 50 to 1000 cameras. These cost nothing to simulate and need no solver labels. For each graph we compute the exact relaxation as a reference, so that true gaps are known.
Real relative rotations come from pairwise estimates on sparse, low-overlap view subsets of the Mip-NeRF 360, Tanks and Temples, and RealEstate10K scenes. These scenes appear in the disjoint-view benchmark of Mind the Gap. That paper reports zero failures for its full pipeline, but its 3D Gaussian Splatting reconstruction, which builds the scene from many small 3D Gaussian blobs, gives no optimality signal. We will test whether our certificate predicts which of these pose graphs are trustworthy.
The metrics are five. The first is the fraction of instances certified within a relative-gap tolerance of $10^{-4}$. The second is the learned bound as a fraction of the exact relaxation's bound. The third is the certified gap against the true suboptimality, which measures how well the bound is calibrated. The fourth is rotation error against ground truth. The fifth is end-to-end latency.
Three checks decide the outcome. The first: on low-noise synthetic graphs, the method must certify nearly as many instances as the exact relaxation at a fraction of its runtime. Otherwise the amortization claim fails. The second: on high-noise and high-outlier strata, the learned bound must be clearly tighter than the shifted closed-form bound. Otherwise the learned dual is redundant. The third: across instances with a true nonzero gap, posterior multimodality and the rank of the relaxation's solution should co-occur. Otherwise the measure-relaxation reading of the gap gives no practical guidance, and we will report it as a negative result.
References
- Dual Lagrangian Learning for Conic Optimization
- Dual conic proxies for AC optimal power flow
- 3D Shape Generation and Completion through Point-Voxel Diffusion
- Learning with Statistical Equality Constraints
- Self-Supervised Primal-Dual Learning for Constrained Optimization
- Mind the Gap: Geometrically Accurate Generative Reconstruction from Disjoint Views