Unsupervised Deep Graph Matching Based on Cycle Consistency

Siddharth Tourani, Carsten Rother, Muhammad Haris Khan, Bogdan SavchynskyyarXiv 2023 · DOI

Introduction

Graph matching (GM) is a fundamental computer vision task that involves finding correspondences between sets of points (nodes) across different images. While deep learning has significantly advanced this field, most high-performing models rely on supervised learning, which requires extensive and expensive manually labeled datasets. This paper introduces CLUM (Cycle Loss-based Unsupervised Graph Matching), a novel framework that eliminates the need for ground-truth labels by leveraging the principle of cycle consistency.

The Problem: Differentiability and Signal Quality

Existing unsupervised graph matching methods face two primary hurdles:

  1. The Differentiability Gap: Graph matching typically involves discrete combinatorial solvers to find one-to-one mappings. These solvers have non-differentiable gradients, making it difficult to train neural networks using standard backpropagation.
  2. Signal Quality: Without manual labels, models require a strong self-supervision signal. Previous attempts using data augmentation or simplified solvers often resulted in limited accuracy.

The CLUM Framework

The authors propose a framework that bridges the gap between neural networks and discrete solvers while providing a robust training signal through cycle consistency.

Overview of the CLUM framework, illustrating how cycle consistency across image triplets provides a self-supervision signal for training.

Key Components

  • Cycle Consistency as Supervision: Instead of labels, the model processes triplets of images (A, B, and C). It enforces that matching a point from A to B, then B to C, and finally C back to A should return to the original starting point. Any deviation is penalized as a "cycle loss."
  • Black-Box Differentiation: To integrate powerful, non-differentiable Quadratic Assignment Problem (QAP) solvers into the training loop, the authors utilize a recent "black-box" differentiation technique. This allows the network to learn from the output of discrete solvers directly.
  • Advanced Architecture: The model employs a VGG16 backbone for feature extraction, SplineCNN layers for geometric refinement, and self/cross-attention mechanisms to allow nodes to communicate across different graphs before matching.
  • Handling Incompleteness: CLUM accounts for outliers and occlusions by introducing a hyperparameter that regulates the cost of leaving a node unassigned, allowing for "incomplete" matchings.

Key Insights

  • Discrete is Better: The paper demonstrates that staying in the discrete domain—using actual combinatorial solvers rather than continuous relaxations like Sinkhorn—leads to superior performance when paired with appropriate differentiation strategies.
  • The Power of Triplets: Enforcing closed loops across image triplets provides a surprisingly strong training signal, allowing the model to learn complex semantic and geometric features without human intervention.
  • Quadratic Matters: Utilizing QAP, which considers the relationships between pairs of points, significantly outperforms simpler Linear Assignment Problems (LAP) in unsupervised settings.

Experimental Results

CLUM was evaluated on three standard benchmarks: Pascal VOC, Willow Object Class, and SPair-71K. It established a new state-of-the-art (SOTA) for unsupervised deep graph matching across all datasets.

Qualitative results comparing CLUM to other unsupervised methods (GANN, CL-BBGM) and a supervised baseline (BBGM) across various object categories.

On the challenging SPair-71K dataset, CLUM reached 43.1% accuracy, a significant jump over the previous unsupervised best of 31.7%. On the Willow Object dataset, its mean accuracy of 95.6% nearly matched the performance of fully supervised models (~97%). Qualitatively, the model excels at ignoring distractor keypoints and focusing on semantically meaningful parts, even under varying poses.

Conclusion and Future Work

While CLUM represents a major step forward, challenges remain. The "black-box" differentiation requires running solvers twice per iteration, increasing computational overhead. Additionally, performance still lags behind the best supervised models (e.g., 62.4% vs. ~80% on Pascal VOC). Future work may extend this framework to tasks like 6D pose estimation and 3D point cloud correspondence.

Summary updated

BibTeX
@misc{tourani2023unsupervised,
  author = {Siddharth Tourani and Carsten Rother and Muhammad Haris Khan and Bogdan Savchynskyy},
  title = {{Unsupervised Deep Graph Matching Based on Cycle Consistency}},
  year = {2023},
  eprint = {2307.08930},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.08930},
}
Figure