A Tensor-Based Algorithm for High-Order Graph Matching

Olivier Duchenne, Francis R. Bach, In-So Kweon, Jean Ponce

TL;DR

This paper introduces a novel tensor-based algorithm for high-order graph matching, moving beyond traditional pairwise constraints to capture more complex relationships between visual features. By formulating the problem as a hypergraph matching task and using a generalized spectral method with tensor power iterations, the authors achieve state-of-the-art performance in establishing correspondences, especially in the presence of ambiguities and complex transformations.

What Problem Does This Paper Address?

Establishing correspondences between visual features across different images is a fundamental problem in computer vision, crucial for tasks like object recognition, tracking, and image retrieval. Traditional methods often rely on unary (individual feature) or pairwise (relationships between pairs of features) constraints to guide this matching process. However, these approaches can struggle with ambiguities arising from repeated patterns, textures, or non-discriminative local appearances. Furthermore, they may not adequately capture complex geometric relationships or deformations, especially when dealing with higher-order structures within the data. This paper aims to address these limitations by proposing a method that leverages higher-order constraints (specifically, relationships between triplets of features) to achieve more robust and accurate matching.

Methods

The core contribution of this paper is a tensor-based algorithm for high-order graph matching. Instead of relying on matrices for pairwise relationships, the authors employ tensors to represent higher-order affinities between feature tuples. The problem is framed as maximizing a multilinear objective function over permutations of features, which is equivalent to a hypergraph matching problem.

Key methodological aspects include:

  • Tensor Formulation: The affinity between feature triplets is represented by a 6-dimensional tensor. This allows for the encoding of more complex relationships than pairwise methods.
  • Spectral Relaxation and Power Iterations: The problem is relaxed to a continuous optimization problem, which is then solved using a generalization of spectral techniques. Specifically, a multi-dimensional power method (tensor power iteration) is used to find the main eigenvector of the tensor.
  • Unit-Norm Row Constraints: The authors explore different relaxations of the assignment matrix. They introduce a unit-norm row constraint (l¹-norm) which leads to more interpretable and almost binary solutions, facilitating the projection back to a discrete assignment matrix.
  • Efficient Tensor Computation: Recognizing the exponential growth in tensor size, the paper proposes an efficient approach to compute only the relevant parts of the tensor, often by using truncated similarity measures and approximate nearest neighbor searches.
  • Potentials of Different Orders: The framework is flexible enough to combine potentials of different orders (e.g., pairwise and triplet information) to leverage diverse cues for matching.

Datasets

The paper evaluates its proposed algorithm on several datasets:

  • Synthetic Data: Used to quantitatively compare the algorithm against state-of-the-art methods under controlled conditions, including varying numbers of outliers and different geometric transformations (rotation, scaling).
  • House Dataset: A standard benchmark for testing matching algorithms, involving images of a house taken from different viewpoints.
  • Caltech-256 Database: Used for matching silhouettes of objects with significant deformations.
  • 3D Models: Freely available 3D models are used to test the algorithm's performance on 3D object matching.

Key Insights and Ideas

  • Higher-Order Constraints for Robustness: The paper strongly advocates for the use of higher-order constraints (beyond pairwise) to significantly improve matching robustness, especially in the presence of noise, outliers, and complex deformations. Triplet-based constraints, for instance, can better disambiguate matches when pairwise information becomes ambiguous.
  • Tensor Power Iteration as a Generalization: The tensor power iteration method is presented as a natural and effective extension of spectral methods for higher-order graph matching, allowing for efficient computation of approximate solutions.
  • l¹-Norm Relaxation for Interpretability: The use of an l¹-norm constraint on the assignment matrix rows leads to solutions that are much closer to binary, making the resulting correspondences more directly interpretable and easier to extract.
  • Flexibility in Feature Engineering: The tensor framework is shown to be highly adaptable to various types of invariant features (similarity, affine, projective, 3D), allowing researchers to incorporate domain-specific knowledge and improve matching accuracy.

Key Results

  • State-of-the-Art Performance: The proposed tensor-based algorithm consistently outperforms existing spectral and hypergraph matching methods on synthetic data, particularly when dealing with a high number of outliers or significant geometric transformations (rotation, scaling).
  • Robustness to Outliers and Deformations: Experiments on natural images (Caltech-256) demonstrate the algorithm's ability to match objects with strong visual deformations.
  • Effective 3D Matching: The algorithm shows promising results in matching 3D object models, even with limited point correspondences.
  • Competitive Running Time: Despite the increased complexity of higher-order potentials, the tensor power iteration method, combined with efficient tensor computation, achieves competitive running times with existing methods.

Limitations and Future Work

  • Computational Complexity: While the paper proposes efficient tensor computation, the inherent complexity of higher-order tensors can still be a bottleneck for very large numbers of features or very high-order potentials. The paper notes that the brute-force algorithm has a complexity of O(n²ᵈ) per iteration for d-th order potentials.
  • Global Optimum Guarantee: The tensor power iteration method, like many spectral methods, converges to a stationary point, not necessarily a global optimum. However, the authors note that it almost always converges to a satisfactory solution in their experiments.
  • Future Work: The authors suggest several avenues for future research:
  • Extending the framework to even higher-order potentials (four, five, or more features) for greater invariance.
  • Learning potentials automatically from labeled or partially labeled data, rather than hand-crafting them.
  • Developing more sophisticated feature descriptors that can capture richer information.

Summary updated

BibTeX
@article{duchenne2011tensor,
  author = {Olivier Duchenne and Francis R. Bach and In-So Kweon and Jean Ponce},
  title = {{A Tensor-Based Algorithm for High-Order Graph Matching}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2011},
  url = {https://openreview.net/forum?id=oa3SyL73uY},
}
Figure