Finding Matches in a Haystack: A Max-Pooling Strategy for Graph Matching in the Presence of Outliers

Minsu Cho, Jian Sun, Olivier Duchenne, Jean PonceCVPR 2014

Abstract

A major challenge in real-world feature matching problems is to tolerate the numerous outliers arising in typical visual tasks. Variations in object appearance, shape, and structure within the same object class make it harder to distinguish inliers from outliers due to clutters. In this paper, we propose a max-pooling approach to graph matching, which is not only resilient to deformations but also remarkably tolerant to outliers. The proposed algorithm evaluates each candidate match using its most promising neighbors, and gradually propagates the corresponding scores to update the neighbors. As final output, it assigns a reliable score to each match together with its supporting neighbors, thus providing contextual information for further verification. We demonstrate the robustness and utility of our method with synthetic and real image experiments.

Introduction

In computer vision, graph matching involves finding correspondences between sets of features, typically modeled as a Quadratic Assignment Problem (QAP). A significant hurdle in practical applications is the "haystack" problem: images are often cluttered with features from the background or irrelevant objects, acting as outliers.

A cluttered scene with extracted features and the resulting graph matching using the proposed method.

Traditional algorithms often struggle in these environments because they rely on "sum-pooling" (averaging support from all neighboring matches). In highly cluttered scenes, the volume of false matches (noise) can easily overwhelm the true matches (signal), causing algorithms to converge on incorrect local minima.

Methodology: From Sum-Pooling to Max-Pooling

The core innovation of this work is the adaptation of feature pooling—a concept widely successful in deep learning—to the graph matching domain.

The Max-Pooling Product

Standard spectral matching updates match confidence by summing the affinities of all neighbors. The authors replace this with a max-pooling product ($A \otimes x$). Instead of aggregating all neighbor support, the algorithm identifies and selects only the most promising neighbor for each candidate match.

Comparison of sum-pooling (a) and max-pooling (b, c) support mechanisms in graph matching.

Iterative Optimization

The Max-Pooling Matching (MPM) algorithm iteratively updates assignment scores using this non-linear operator. By focusing on the "peak" signal rather than the "average" noise, MPM suppresses outliers. Accidental high affinities from noise rarely possess consistent, strong support from neighbors, whereas true matches maintain stable structural relationships. Furthermore, this approach provides contextual information by identifying which specific neighbors provided the maximum support for a given match.

Experimental Results

The MPM algorithm was evaluated against synthetic point sets and real-world datasets including Caltech-256, PASCAL VOC 2007, and a landmark church dataset.

  • Outlier Tolerance: In synthetic tests, MPM maintained 100% accuracy even with 200 outliers for every 10 inliers, significantly outperforming state-of-the-art methods like RRWM and IPFP.
  • Real-World Performance: On object class datasets, MPM achieved superior accuracy across categories. For instance, in the "Face" category, MPM reached 68.9% accuracy compared to 47.1% for the next best method.
  • Structural Flexibility: MPM's "soft" optimization allows it to handle repetitive structures (e.g., identical windows on a building) more effectively than methods that enforce strict one-to-one constraints too early.

Conclusion

Max-Pooling Matching offers a robust solution for graph matching in cluttered environments. By prioritizing the strongest structural evidence over aggregate neighbor support, it achieves remarkable resilience to outliers. Future work will focus on establishing formal convergence proofs and exploring adaptive parameter learning for pairwise similarities.

Summary updated

BibTeX
@inproceedings{cho2014finding,
  author = {Minsu Cho and Jian Sun and Olivier Duchenne and Jean Ponce},
  title = {{Finding Matches in a Haystack: A Max-Pooling Strategy for Graph Matching in the Presence of Outliers}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  url = {https://openreview.net/forum?id=ryZbm0Z_bS},
}
Figure