A Practical Maximum Clique Algorithm for Matching with Pairwise Constraints

Álvaro Parra Bustos, Tat-Jun Chin, Frank Neumann, Tobias Friedrich, Maximilian KatzmannarXiv 2019

TL;DR

This paper tackles the challenge of accurately registering 3D point clouds, which often suffer from a high percentage of incorrect correspondences. The authors propose a novel, highly efficient algorithm based on the maximum clique problem to find the largest set of consistent correspondences, significantly outperforming existing methods in speed and practicality for real-world applications.

What Problem Does This Paper Address?

Registering 3D point clouds is crucial for tasks like object recognition and robotic navigation. A common approach involves extracting "keypoints" (distinctive points) from two scans and finding correspondences between them. However, automated keypoint extraction often yields many incorrect correspondences (outliers). Traditional methods then use robust estimation techniques (like RANSAC) to find the best rigid transformation despite these outliers. This becomes computationally expensive, especially with very high outlier rates (up to 99% in this paper's experiments). This paper proposes an alternative: instead of fitting a transformation to potentially noisy data, they directly search for the largest subset of correspondences that are mutually consistent with a single rigid transformation. This transforms the problem into a combinatorial optimization task known as "matching with pairwise constraints," which is then reformulated as a maximum clique problem.

Methods

The core of the paper is a new algorithm for solving the maximum clique (MC) problem, specifically tailored for the "matching with pairwise constraints" problem arising from 3D registration.

  • Problem Formulation: The problem of finding the largest set of pairwise consistent correspondences is framed as finding the maximum clique in a "consistency graph." Each vertex in this graph represents a correspondence, and an edge exists between two vertices if those correspondences are mutually consistent (i.e., they could both arise from the same rigid transformation).
  • Branch-and-Bound (BnB) with Graph Colouring: The authors build upon existing BnB algorithms for MC. A key component is using graph coloring to establish an upper bound on the size of a potential clique, allowing for aggressive pruning of the search tree. This is similar to the MCQ algorithm [15].
  • Novel Pruning Strategy (PMC Algorithm): The paper introduces a new pruning technique, leading to their "Practical Maximum Clique" (PMC) algorithm. This strategy aims to identify a subset of candidate vertices within the current search node that must contain a vertex from any maximal clique. By intelligently selecting which vertices to expand, they significantly reduce the search space. This is achieved by leveraging information about already explored branches and the graph structure.

Datasets

The authors evaluated their method on scans of objects from two publicly available datasets:

  • Stanford 3D Scanning Repository: Including "armadillo," "buddha," "bunny," and "dragon."
  • Mian's dataset: Including "chef," "chicken," "parasauro," and "t-rex."

For evaluation, they selected pairs of partially overlapping scans, centered and scaled them, and then used the ISS3D detector and PFH descriptor (from the Point Cloud Library) to generate initial correspondences. They then selected the top N (1000, 3000, or 5000) correspondences for their experiments.

Key Insights and Ideas

  • Pairwise Consistency as a Direct Solution: The paper demonstrates that directly searching for the largest set of pairwise consistent correspondences is a more robust and efficient approach than traditional outlier-sensitive robust fitting methods, especially when outlier rates are extremely high.
  • Maximum Clique as the Right Tool: Reformulating the pairwise consistency problem as a maximum clique problem is a powerful insight, allowing the application of specialized combinatorial optimization algorithms.
  • The Power of Targeted Pruning: The novel pruning strategy in their PMC algorithm is crucial. By identifying a subset of vertices that must be part of any optimal solution, they avoid exploring vast portions of the search tree, leading to dramatic speedups.
  • Practicality for Real-World Data: Despite the theoretical NP-hardness of the maximum clique problem, the authors show that their algorithm can solve realistic instances from 3D registration in seconds to minutes, making it a practical alternative.

Key Results

  • Speedup: The proposed PMC algorithm is significantly faster than existing maximum clique algorithms (like MCQ) and even standard MIP solvers for this problem. For larger instances (N=5000), PMC was orders of magnitude faster than MCQ, often solving problems in seconds or minutes where MCQ took thousands of seconds or timed out.
  • Performance: PMC consistently found the optimal solution for the matching with pairwise constraints problem.
  • Comparison to RANSAC: While RANSAC is a standard robust estimator, its runtime grows exponentially with outlier ratio. For the datasets used, which had very high outlier rates (>90%), PMC was up to an order of magnitude faster than RANSAC while achieving better or comparable registration quality.
  • Registration Quality: The alignments achieved using the correspondences found by PMC were generally good, with low angular and translation errors, especially for larger correspondence sets.

Limitations and Future Work

  • Theoretical Intractability: The authors acknowledge that the maximum clique problem is NP-hard in general. While their algorithm is efficient for the tested instances, performance on extremely large or pathological graphs is not guaranteed.
  • Dependence on Initial Correspondences: The performance of the algorithm relies on the quality of the initial set of correspondences generated by keypoint detectors and descriptors. If the initial set is extremely sparse or contains very few correct correspondences, the resulting consistency graph might not yield a good solution.
  • Future Work: The paper suggests that their approach is a "very practical approach for point cloud registration and an excellent alternative to standard robust estimation." Future work could explore further optimizations or applications of this method to other computer vision problems involving pairwise constraints.

Summary updated

BibTeX
@misc{bustos2019practical,
  author = {Álvaro Parra Bustos and Tat-Jun Chin and Frank Neumann and Tobias Friedrich and Maximilian Katzmann},
  title = {{A Practical Maximum Clique Algorithm for Matching with Pairwise Constraints}},
  year = {2019},
  eprint = {1902.01534},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.01534},
}
Figure