Zero-Assignment Constraint for Graph Matching With Outliers

Fudong Wang, Nan Xue, Jin-Gang Yu, Gui-Song Xia

Abstract

Graph matching (GM), as a longstanding problem in computer vision and recognition, still suffers from numerous cluttered outliers in practical applications. To address this issue, we present the zero-assignment constraint (ZAC) for approaching the graph matching problem in the presence of outliers. The underlying idea is to suppress the matchings of outliers by assigning zero-valued vectors to the potential outliers in the obtained optimal correspondence matrix. We provide elaborate theoretical analysis to the problem and figure out that the GM problem with and without outliers are intrinsically different, which enables us to put forward a sufficient condition to construct valid and reasonable objective function. Consequently, we design an efficient outlier-robust algorithm to significantly reduce the incorrect or redundant matchings caused by numerous outliers. Extensive experiments demonstrate that our method can achieve the state-of-the-art performance in terms of accuracy and efficiency, especially in the presence of numerous outliers.

Introduction

Graph Matching (GM) is a fundamental task in computer vision, involving the identification of correspondences between nodes in different graphs—for example, matching keypoints between two images of a vehicle. In ideal scenarios, every node in Graph A has exactly one counterpart in Graph B. However, real-world sensors and cluttered environments introduce "outliers"—nodes with no true match in the target set. Traditional GM methods often fail by forcing matches for these outliers, leading to error propagation and redundant matchings. This paper introduces the Zero-Assignment Constraint (ZAC) to move away from matching outliers and toward identifying and suppressing them.

Methods

The core innovation is the ZAC, which redefines the feasible set of the correspondence matrix $P$. In standard matching, rows and columns are typically constrained to sum to 1. ZAC allows rows and columns corresponding to potential outliers to be zero vectors. For a set with $k$ expected inliers, the sum of all entries in the matrix $P$ is constrained to exactly $k$.

The authors utilize the Frank-Wolfe method for optimization, paired with a $k$-cardinality Linear Assignment Problem (kLAP) solver. This approach is significantly more efficient than standard linear programming, as it specifically targets the top $k$ matches. This keeps space complexity at $O(n^2)$ by avoiding the massive $O(m^2n^2)$ affinity matrix used in many competing methods.

Key Insights: The Power of Suppression

A primary insight of this work is that trying to find a "best-fit" for an outlier is counterproductive. By allowing the mathematical model to assign a "zero" to a node, the algorithm effectively ignores noise.

The paper demonstrates that the row and column sums of the soft correspondence matrix serve as powerful signals for outlier detection. In a joint probability space, inliers (with sums near 1) and outliers (with sums near 0) form two very distinct clusters, allowing for explicit pruning and refinement.

Visualization of the correspondence matrix row/column sums, demonstrating the clear separation between inlier and outlier clusters.

Experimental Results

The ZAC approach was evaluated on the PASCAL, VGG, and 2D Shape Template datasets to test robustness across geometric distortions and clutter.

Robustness and Accuracy

On the PASCAL dataset (car and motorbike images), ZAC and its regularized version (ZACR) maintained high precision even as outlier counts increased, whereas competing methods saw sharp performance drops. In non-rigid shape matching, ZAC outperformed specialized point registration algorithms like Coherent Point Drift (CPD) when outliers were present.

Qualitative results on the PASCAL motorbike dataset. The green lines indicate correct inlier matches, while the accompanying heatmap visualizes the suppressed outlier assignments.

Computational Efficiency

ZAC is significantly faster than state-of-the-art methods like BPFG or FGMD. For instance, in a test with 20 outliers, ZAC completed the task in approximately 0.56 seconds, while BPFG required over 122 seconds. This speedup is attributed to the efficient kLAP solver and the avoidance of dense affinity matrices.

Conclusion

By shifting the paradigm from "matching outliers" to "suppressing outliers" through the Zero-Assignment Constraint, this work provides a theoretically grounded and computationally efficient solution to the graph matching problem. The method's ability to handle heavy clutter while maintaining high speed makes it a robust candidate for real-world computer vision applications. Future work will explore applying the ZAC principle to broader Quadratic Assignment Problem (QAP) formulations.

Summary updated

BibTeX
@inproceedings{wang2020zero,
  author = {Fudong Wang and Nan Xue and Jin-Gang Yu and Gui-Song Xia},
  title = {{Zero-Assignment Constraint for Graph Matching With Outliers}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=i5FnxQ6Hi1},
}
Figure