Discrete hyper-graph matching

Junchi Yan, Chao Zhang, Hongyuan Zha, Wei Liu, Xiaokang Yang, Stephen M. Chu

Abstract

Hyper-graph matching is a powerful tool for finding correspondences between point sets by leveraging higher-order geometric relationships. However, traditional solvers often rely on continuous relaxations that are computationally expensive and prone to accuracy loss during discretization. This paper presents Hyper Adaptive Discrete Gradient Assignment (HADGA), a purely discrete optimization framework. By iteratively solving linear assignments and employing an adaptive mechanism to prevent cyclic behavior, HADGA achieves state-of-the-art accuracy with significantly reduced computational overhead compared to continuous relaxation methods.

Introduction

Finding correspondences between sets of points is a fundamental challenge in computer vision, essential for tasks such as object recognition and 3D reconstruction. While standard graph matching considers pairwise relationships (edges), hyper-graph matching utilizes triplets or larger groups (hyper-edges). This higher-order approach offers superior robustness to scale and rotation changes but introduces significant computational complexity, typically modeled as a Quadratic Assignment Problem (QAP).

Qualitative examples of hyper-graph matching on car and house datasets.

Existing solvers predominantly use "continuous relaxation," treating the discrete matching problem as a continuous optimization task. This approach often suffers from accuracy loss during the final "rounding" step and high computational costs due to iterative processes like Sinkhorn normalization. This research explores whether a solver can operate entirely within the discrete space while maintaining convergence and accuracy.

Methods

The researchers propose two primary algorithms:

  1. HDGA (Hyper Discrete Gradient Assignment): This baseline method approximates the higher-order objective as a linear assignment problem in each iteration, solved via the Hungarian algorithm. This ensures the solution remains discrete throughout the process.
  2. HADGA (Hyper Adaptive Discrete Gradient Assignment): To address the "m-circle" phenomenon—where HDGA may cycle through a set of solutions without converging—HADGA introduces an adaptive relaxation mechanism. When a cycle is detected, the algorithm modifies the affinity tensor to break the loop, ensuring theoretical convergence to a fixed point.

By bypassing continuous approximations, these methods avoid the need for post-processing rounding and eliminate the requirement for tuning complex annealing schedules.

Experimental Results

The proposed methods were evaluated against synthetic point sets and standard benchmarks like the CMU House/Hotel sequences and natural image pairs from MSRC v2 and Caltech 256.

Quantitative performance comparison (Accuracy, Score, Time) against an increasing number of outliers.

Speed and Efficiency

HADGA demonstrated a significant speed advantage, performing 3x to 4x faster than leading continuous methods such as Reweighted Random Walks (RRWM) and Hyper-graph Graduated Assignment (HGAGM) in natural image tests. This efficiency stems from the algorithm's ability to operate on sparse discrete assignments rather than dense probability matrices.

Accuracy and Robustness

On the CMU House and Hotel datasets, HADGA achieved near 100% accuracy. In synthetic tests involving high levels of deformation noise and outliers, HADGA maintained higher stability and a slower decay in accuracy compared to the Tensor Power Method (TSM). The discrete nature of the solver appears to provide a stabilizing effect in noisy environments.

Conclusion

HADGA represents a shift toward discrete optimization for hyper-graph matching, proving that staying within the discrete realm can yield both speed and accuracy benefits. While the method is a local optimizer and may not reach the global maximum for all NP-hard instances, its theoretical grounding and empirical performance make it a robust alternative to continuous relaxation techniques. Future work may involve hybridizing these discrete insights with continuous solvers or applying the framework to specialized tasks like facial analysis.

Summary updated

BibTeX
@inproceedings{yan2015discrete,
  author = {Junchi Yan and Chao Zhang and Hongyuan Zha and Wei Liu and Xiaokang Yang and Stephen M. Chu},
  title = {{Discrete hyper-graph matching}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7298759},
}
Figure