Group-$k$ Consistent Measurement Set Maximization for Robust Outlier Detection

Brendon Forsgren, Ram Vasudevan, Michael Kaess, Timothy W. McLain, Joshua G. MangelsonarXiv 2022

TL;DR

This paper introduces Group-$k$ Consistency Maximization (G$k$CM), a method to filter out bad sensor data (outliers) in SLAM by checking consistency across groups of $k$ measurements rather than just pairs. By framing this as a maximum clique problem on generalized graphs (hypergraphs) and introducing parallelized exact and heuristic algorithms, the authors successfully eliminate outliers in challenging scenarios where traditional pairwise checks fail.

What Problem Does This Paper Address?

Simultaneous Localization and Mapping (SLAM) algorithms rely heavily on accurate sensor measurements to build maps and track a robot's trajectory. A single bad measurement—an outlier caused by sensor glitches or incorrect data association—can completely warp the final map.

While existing robust SLAM techniques use pairwise consistency checks to identify and reject outliers, pairs of measurements don't always provide enough geometric constraints. For example, in range-only SLAM, three distinct range measurements might pairwise intersect perfectly fine, but fail to intersect at a single common point. This paper tackles the challenge of identifying the largest mutually consistent set of measurements when constraints require looking at groups of three or more ($k \ge 3$) measurements simultaneously.

Methods

The authors propose Group-$k$ Consistency Maximization (G$k$CM), which generalizes pairwise consistency to larger groups:

  1. Generalized Consistency Graphs: Instead of standard graphs where edges connect two vertices, G$k$CM utilizes $k$-uniform hypergraphs (generalized graphs). Here, an "edge" is a $k$-tuple of vertices representing a group of $k$ mutually consistent measurements.
  2. Maximum Clique Formulation: Finding the largest set of consistent measurements is mathematically transformed into finding the maximum clique (the largest fully connected subgraph) within this generalized graph.
  3. Hypergraph Algorithms: The authors extend standard maximum clique algorithms—both an exact branch-and-bound method and a greedy heuristic—to operate over hypergraphs.
  4. Parallelization & Incremental Updates: To combat the combinatorial explosion of checking $k$-tuples, the algorithms are multi-threaded and support incremental updates, significantly reducing computation time.
  5. Application to Range SLAM: They demonstrate the approach on a range-based SLAM scenario using a $k=4$ consistency check based on closed-form trilateration.
Fig. 1: An example of a generalized consistency graph with edges made of 3- tuples. (a) highlights that each edge denotes consistency of 3 measurements. (b) highlights the maximum clique of the generalized graph in blue.

Datasets

The method was evaluated using simulated 2D datasets featuring a robot exploring an environment while taking range measurements to static beacons. Three trajectory types were tested: Manhattan world, circular, and a straight line. The datasets included high ratios of outlier measurements (up to 80–90%), generated both as isolated random errors and in clusters to mimic realistic sensor failures.

Key Insights and Ideas

  • Pairwise is Not Enough: The core "aha moment" is that pairwise consistency is a weak filter for certain sensor modalities like range or vision. Grouping measurements uncovers geometric contradictions that pairs hide.
  • Hypergraphs to the Rescue: Translating the problem into hypergraph theory allows the use of discrete optimization techniques (clique finding) that provide strong theoretical guarantees compared to purely local heuristic filters like RANSAC.
  • Heuristics Scale Well: While exact maximum clique finding is NP-hard and exponential in the worst case, the proposed greedy heuristic scales remarkably well, especially when the graph is sparse or the true inlier clique is large.

Key Results

  • Outlier Rejection Performance: In a Monte Carlo simulation with 80% outliers, G$k$CM drastically outperformed Pairwise Consistency Maximization (PCM). G$k$CM achieved a false positive rate (FPR) of 0.007 compared to PCM's 0.026, and a final trajectory $\chi^2$ error mean of 2.28 versus PCM's 89.68.
  • Speed and Scalability: Using the parallelized heuristic with 8 threads, the algorithm solved for the maximum clique on a 250-node graph in just a few seconds.
  • Incremental Efficiency: The incremental update heuristic reduced the time to solve a 100-node graph from 40 seconds (batch mode) down to just 3 seconds, bringing the method much closer to real-time viability.
Fig. 3: Average run-time for both the exact and heuristic generalized maximum clique algorithms proposed in this paper. This includes both the time to evaluate the necessary data-structures such as neighborhoods/edge sets and the time to estimate the maximum clique. Using eight threads, the heuristic algorithm was able to find the maximum clique of a graph with 250 nodes in a few seconds.

Limitations and Future Work

  • Combinatorial Complexity: Building the generalized graph requires evaluating $\binom{m}{k}$ combinations. As $k$ or the number of measurements $m$ grows, this step becomes computationally expensive, necessitating highly efficient consistency functions.
  • Degenerate Configurations: The trilateration function used for the range-based SLAM check can fail or yield ambiguous solutions if the robot's poses are collinear (e.g., moving in a perfectly straight line). While sensor noise often prevents exact collinearity in practice, handling these degeneracies robustly remains an area for future improvement.

Summary updated

BibTeX
@misc{forsgren2022group,
  author = {Brendon Forsgren and Ram Vasudevan and Michael Kaess and Timothy W. McLain and Joshua G. Mangelson},
  title = {{Group-$k$ Consistent Measurement Set Maximization for Robust Outlier Detection}},
  year = {2022},
  eprint = {2209.02658},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.02658},
}
Figure