Presented at ICML 2020, this research introduces a robust framework for group synchronization, a fundamental problem in computer vision and data science. Specifically, the authors focus on rotation synchronization—the task of estimating the absolute orientations of cameras in a 3D scene based on noisy and often flat-out wrong relative measurements between them.
TL;DR
The authors propose Message Passing Least Squares (MPLS), an algorithm that combines cycle-consistency checks with iteratively reweighted least squares to solve rotation synchronization. By using a "message passing" step to pre-identify corrupted data, MPLS can recover accurate rotations even when up to 80% of the measurements are adversarial outliers, significantly outperforming standard robust solvers.
What Problem Does This Paper Address?
Imagine you are trying to reconstruct a 3D model of the Roman Forum from thousands of tourist photos. To do this, you need to know exactly where each camera was pointing. You can estimate the relative rotation between pairs of photos by matching features, but these estimates are messy. Some are slightly noisy; others are completely wrong (e.g., because two different walls look identical).
This is the rotation synchronization problem: given a graph where nodes are cameras and edges are measured relative rotations, find the absolute rotation for each camera. The challenge is that traditional "Least Squares" methods are easily fooled by outliers. While "Robust" methods like Iteratively Reweighted Least Squares (IRLS) exist, they often fail if they start with a bad initial guess or if the outliers are "self-consistent" (forming fake but logical-looking loops).
Methods
The core innovation is the MPLS framework, which bridges the gap between local consistency checks and global optimization.
It consists of two main stages:
- Cycle-Edge Message Passing (CEMP): Before solving for rotations, the algorithm estimates the "corruption level" of every edge. It does this by looking at 3-cycles (triangles) in the graph. In a perfect world, if you compose the rotations around a triangle ($A \to B \to C \to A$), you should get the identity matrix. CEMP passes "messages" between edges and cycles to iteratively refine an estimate of which edges are likely corrupted.
- Reweighted Least Squares with a Twist: Standard IRLS updates weights based on the current residual (how well an edge fits the current solution). MPLS improves this by:
- Initialization: Using CEMP to set the initial weights, ensuring the solver starts in a "clean" neighborhood.
- Hybrid Updates: Updating weights using a convex combination of the current residual and a fresh CEMP-like estimate.
- Truncation: Aggressively zeroing out weights for edges that exceed a certain corruption threshold to prevent outliers from dragging down the solution.
For the specific case of rotations ($SO(3)$), the authors implement this using Lie-algebraic Averaging, which allows them to perform the optimization in the tangent space (the Lie algebra $so(3)$), making the non-convex problem more tractable.
Datasets
The authors evaluated MPLS on both synthetic and real-world data:
- Synthetic Benchmarks: Erdos-Rényi graphs ($n=200$ nodes) subjected to two types of noise: Uniform Corruption (randomly assigned rotations) and Self-Consistent Corruption (adversarial clusters designed to trick cycle-consistency checks).
- Photo Tourism Datasets: 14 large-scale real-world datasets (e.g., Notre Dame, Alamo, Piccadilly) containing hundreds to thousands of images with ground-truth rotations provided by Structure from Motion (SfM) pipelines.
Key Insights and Ideas
- Initialization is the Bottleneck: The authors argue that the failure of common robust solvers isn't the optimization objective itself, but the starting point. By using CEMP to "pre-clean" the graph, they bypass the local minima that trap other algorithms.
- Local Consistency Propagates: While a single triangle check is local, the message-passing scheme allows information about corruption to propagate across the entire graph, revealing global structures of "good" vs. "bad" data.
- Handling "Smart" Outliers: The "Self-Consistent Corruption" test is particularly interesting. It shows that MPLS can handle scenarios where outliers aren't just random noise but are structured to look like valid data—a common occurrence in symmetric architectural scenes.
Key Results
- Extreme Robustness: In noiseless synthetic tests, MPLS achieved exact recovery even when 70-80% of the edges were corrupted.
- State-of-the-Art on Real Data: On the Photo Tourism datasets, MPLS achieved the lowest mean and median error in 9 out of 14 cases.
-
Stability: Unlike standard IRLS, which can fluctuate wildly under high noise, MPLS showed stable performance across varying noise levels ($ \sigma = 0$ to $1$).
-
Efficiency: While more complex than a simple spanning tree approach, MPLS remains computationally efficient, with runtimes comparable to standard IRLS solvers.
Limitations and Future Work
- Sparse Graphs: The CEMP step relies on the existence of 3-cycles. In very sparse graphs (like the Gendarmenmarkt dataset in their tests), there aren't enough triangles for message passing to be effective.
- Theoretical Guarantees: While CEMP has convergence guarantees, the full MPLS framework currently lacks a formal proof of convergence to the global optimum.
- Generalization: The authors focus on $SO(3)$, but the framework is theoretically applicable to any compact group (like permutations or $Z_2$ synchronization). Testing these other groups is a noted direction for future research.
Summary updated