In many computer vision and robotics tasks, the primary challenge is finding a correct signal amidst a sea of noise. Traditional consensus methods like RANSAC work by randomly sampling minimal subsets of data, computing a hypothesis, and counting inliers. However, when the outlier rate becomes extreme—say, 90% or even 99%—the probability of drawing an outlier-free sample plummets exponentially, rendering random sampling computationally intractable.
Pairwise consistency graphs offer a paradigm shift. Instead of evaluating hypotheses globally one sample at a time, we can evaluate the relational compatibility between pairs of data points. The core insight relies on a fundamental structural asymmetry between inliers and outliers:
- Inliers are mutually consistent: True data points conform to a shared underlying physical or geometric reality. Therefore, they will almost always agree with one another.
- Outliers are randomly inconsistent: False data points arise from spurious matches, noise, or occlusions. While an outlier might accidentally agree with a single inlier or another outlier, it is highly improbable that a large group of outliers will consistently agree with each other.
By mapping data points to nodes in a graph and drawing an edge between nodes if they satisfy a pairwise consistency metric, the problem of outlier rejection transforms into a classic graph-theoretic challenge: finding the largest, most densely connected subgraph.
Constructing the Compatibility Graph
To build this graph, we must define what it means for two measurements to be "consistent." This is typically achieved through geometric invariants—properties that remain unchanged regardless of the global transformation (like rotation or translation) we are trying to estimate.
For instance, in 3D point cloud registration, while the absolute positions of points change under a rigid transformation, the distance between any two points remains invariant. As detailed by Heng Yang et al. in A Polynomial-time Solution for Robust Registration with Extreme Outlier Rates, if two point correspondences are correct, the distance between the source points must equal the distance between the target points (up to a small noise threshold).
In a more generalized framework, Jingnan Shi et al. introduced ROBIN (ROBIN: a Graph-Theoretic Approach to Reject Outliers in Robust Estimation using Invariants), which formalizes this by constructing a compatibility graph where vertices represent measurements and edges represent pairs that satisfy such invariant constraints. This pre-filtering step allows robust estimation pipelines to handle extreme outlier rates before any optimization or model fitting takes place.
Isolating Inliers via Maximal Cliques
Once the compatibility graph is constructed, how do we extract the true inliers? Because every true inlier is consistent with every other true inlier, they form a clique—a fully connected subgraph where an edge exists between every pair of vertices. The largest set of mutually consistent matches corresponds to the maximum clique of the graph.
As shown by Kai Chen et al. in MCM: An Efficient Geometric Constraint Method for Robust Local Feature Matching, true feature correspondences form large, fully connected subgraphs, whereas false matches only form small, isolated clusters. By solving for the maximum clique, the algorithm effectively prunes away the ambiguous, repetitive patterns that typically confuse local feature matchers.
While finding the maximum clique is an NP-hard problem in the general case, compatibility graphs in high-outlier regimes tend to be highly sparse. Outliers rarely connect to each other, meaning the graph is composed of a single dense cluster (the inliers) surrounded by a sparse sea of isolated vertices. This structural property allows modern maximum clique solvers to find the global optimum in milliseconds. In TEASER: Fast and Certifiable Point Cloud Registration, Heng Yang et al. leveraged this exact mechanism to successfully isolate true inliers even when more than 99% of the initial correspondences were false.
Relaxations and Alternative Graph Formulations
Depending on the domain, strict clique selection can sometimes be too rigid if measurement noise causes true inliers to occasionally fail the invariant threshold. Researchers have proposed several continuous and spectral relaxations to handle soft consistency weights or dense graphs:
- Dominant Sets and Clustering: Instead of binary edges, edges can represent continuous similarity scores. Eyasu Zemene et al. in Large-scale Image Geo-Localization Using Dominant Sets utilized "Dominant Sets"—a generalized, continuous formulation of a clique—to group mutually consistent image matches. Similarly, Yicong Tian et al. in Cross-View Image Matching for Geo-Localization in Urban Environments applied graph-theoretic clustering to ensure that the relative spatial positions of detected landmarks are geometrically plausible, filtering out noisy individual matches.
- Spectral Partitioning: Edwin Olson et al. developed Single-Cluster Spectral Graph Partitioning (Single-Cluster Spectral Graph Partitioning for Robotics Applications), which extracts a single cohesive set of inliers by finding the dominant eigenvector of the consistency adjacency matrix, achieving an efficient $O(N^2)$ runtime.
- Connected Components: In deep learning with open-world noise, Tong Wei et al. demonstrated in NGC: A Unified Framework for Learning with Open-World Noisy Data that identifying the largest connected component in a similarity graph is highly effective for isolating clean data points from out-of-distribution outliers.
Broad Impact in Robotics and Estimation
The ability to prune outliers purely based on graph structure before running optimization frameworks has transformed localization and mapping pipelines. In LiDAR SLAM, frameworks like Quatro++ (Beomsoo Kim et al. in Quatro++: Robust Global Registration Exploiting Ground Segmentation for Loop Closing in LiDAR SLAM) use maximum clique selection to prune false correspondences during loop closures.
For one-shot global localization, Outram (Pengyu Yin et al. in Outram: One-shot Global Localization via Triangulated Scene Graph and Global Outlier Pruning) frames the resolution of environmental ambiguities as finding the maximum clique within a spatial compatibility graph. Even when dealing with multi-modal data like text signs in repetitive environments, Tongxing Jin et al. (Robust Loop Closure by Textual Cues in Challenging Environments) use consistency graphs to guarantee that loop closure candidates preserve pairwise geometric distances over time.
By shifting the focus from absolute model fitting to relative pairwise consistency, graph-theoretic outlier pruning provides a mathematically rigorous and computationally efficient shield against extreme noise across computer vision, robotics, and robust statistics.
Key Foundational Work
Single-Cluster Spectral Graph Partitioning for Robotics Applications (2005) — contributed 1 concept elements to this direction.
Measurement integration under inconsistency for robust tracking (2006) — contributed 1 concept elements to this direction.