Subgraph matching using compactness prior for robust feature correspondence

Yumin Suh, Kamil Adamczewski, Kyoung Mu LeeCVPR 2015

Abstract

Feature correspondence plays a central role in various computer vision applications. It is widely formulated as a graph matching problem due to its robust performance under challenging conditions, such as background clutter, object deformation and repetitive patterns. A variety of fast and accurate algorithms have been proposed for graph matching. However, most of them focus on improving the recall of the solution while rarely considering its precision, thus inducing a solution with numerous outliers. To address both precision and recall feature correspondence should rather be formulated as a subgraph matching problem. This paper proposes a new subgraph matching formulation which uses a compactness prior, an additional constraint that prefers sparser solutions and effectively eliminates outliers. To solve the new optimization problem, we propose a meta-algorithm based on Markov chain Monte Carlo. By constructing Markov chain on the restricted search space instead of the original solution space, our method approximates the solution effectively. The experiments indicate that our proposed formulation and algorithm significantly improve the baseline performance under challenging conditions when both outliers and deformation noise are present.

The Problem: The "Greedy" Flaw in Graph Matching

In computer vision, feature correspondence is the task of identifying matching points between two images—for example, identifying the same wheel on two different motorcycles. This is traditionally modeled as a Graph Matching problem, specifically Integer Quadratic Programming (IQP).

However, standard IQP suffers from a significant "greedy" flaw: the objective function typically sums up affinity scores, incentivizing the algorithm to select as many matches as possible to maximize the total score. In real-world scenarios filled with background clutter and outliers, this approach forces matches even where no true correspondence exists. This results in high recall but very poor precision, as the algorithm picks up noise just to satisfy its objective.

Standard graph matching algorithms often struggle with background clutter, producing numerous incorrect outlier matches (red lines).

Methods: Introducing the Compactness Prior

To move from "matching everything" to "matching the right things," the authors introduce two major innovations:

  1. Compactness Augmented Model: The standard objective function is modified by subtracting a penalty term: the compactness prior. This term, $\lambda^T \Omega(\|y\|)$, penalizes the solution based on the number of matches. This forces the algorithm to prove that adding a match increases the affinity score enough to outweigh the penalty. The parameters for this penalty are learned using a Structured Support Vector Machine (SSVM) to balance precision and recall effectively.
  2. MCMC Meta-Algorithm: Solving this new objective is computationally intensive. The authors propose a meta-algorithm based on Markov Chain Monte Carlo (MCMC). The algorithm "wanders" through different subsets of nodes, proposing to add or delete nodes. For each subset, it uses a standard core graph matching algorithm (like RRWM or FGM) to find the best matching. It accepts or rejects these changes based on the augmented objective function, eventually converging on a sparse, high-quality subgraph.

Key Insights and Results

The core intuition behind the "compactness" prior is that true matches tend to form a compact group with high mutual affinity, whereas outliers are scattered and lack consistent geometric relationships. By mathematically encoding this "quality over quantity" intuition, the researchers transformed the problem into a subgraph matching task.

The proposed subgraph matching with a compactness prior effectively eliminates outliers, leading to cleaner and more precise correspondences (cyan lines).

In synthetic tests with high deformation noise and numerous outliers, the proposed method maintained high recall and precision while competing methods saw performance drops. On real-world benchmarks like the Willow Object Class Dataset, the method consistently achieved higher F-scores than state-of-the-art baselines. Crucially, the authors demonstrated that this integrated approach outperforms simple post-processing (cleaning up a standard match after the fact).

Limitations and Future Directions

While effective, the MCMC approach introduces computational overhead because it requires running a core matching algorithm multiple times. The authors noted that total runtime depends heavily on the speed of the underlying solver. Future work may extend this framework to higher-order graph matching, which examines relationships between triplets or larger groups of nodes to provide even greater geometric robustness.

Summary updated

BibTeX
@inproceedings{suh2015subgraph,
  author = {Yumin Suh and Kamil Adamczewski and Kyoung Mu Lee},
  title = {{Subgraph matching using compactness prior for robust feature correspondence}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  url = {https://openreview.net/forum?id=rkbFR1zuZB},
}
Figure