Skip to main content
QUICK REVIEW

[Paper Review] Semantic Correspondence with Transformers.

Seokju Cho, Sunghwan Hong|arXiv (Cornell University)|Jun 4, 2021
Advanced Neural Network ApplicationsComputer Science8 citations
TL;DR

This paper proposes Cost Aggregation with Transformers (CATs), a novel Transformer-based network for dense semantic correspondence that leverages self-attention to model global context and improve robustness to large appearance and geometric variations. By integrating appearance affinity modeling, multi-level feature aggregation, swapping self-attention, and residual connections, CATs outperforms prior CNN-based and hand-crafted methods on correspondence accuracy and generalization under challenging deformations.

ABSTRACT

We propose a novel cost aggregation network, called Cost Aggregation with Transformers (CATs), to find dense correspondences between semantically similar images with additional challenges posed by large intra-class appearance and geometric variations. Compared to previous hand-crafted or CNN-based methods addressing the cost aggregation stage, which either lack robustness to severe deformations or inherit the limitation of CNNs that fail to discriminate incorrect matches due to limited receptive fields, CATs explore global consensus among initial correlation map with the help of some architectural designs that allow us to exploit full potential of self-attention mechanism. Specifically, we include appearance affinity modelling to disambiguate the initial correlation maps and multi-level aggregation to benefit from hierarchical feature representations within Transformer-based aggregator, and combine with swapping self-attention and residual connections not only to enforce consistent matching, but also to ease the learning process. We conduct experiments to demonstrate the effectiveness of the proposed model over the latest methods and provide extensive ablation studies. Code and trained models will be made available at this https URL.

Motivation & Objective

  • Address the limitations of hand-crafted and CNN-based cost aggregation methods in handling large intra-class appearance and geometric variations.
  • Improve robustness to severe deformations and incorrect matches by leveraging global context through self-attention mechanisms.
  • Enhance feature representation by combining multi-level hierarchical features within a Transformer-based aggregator.
  • Enforce consistent matching across images using swapping self-attention and residual connections to stabilize training and improve alignment.

Proposed method

  • Employ a Transformer-based cost aggregation module that models long-range dependencies in initial correlation maps using multi-head self-attention.
  • Introduce appearance affinity modeling to refine initial correlation maps by measuring semantic similarity between features.
  • Implement multi-level feature aggregation to exploit hierarchical representations from different network stages.
  • Use swapping self-attention to enforce bidirectional consistency between matching pairs, improving alignment reliability.
  • Integrate residual connections to ease optimization and stabilize training in the deep Transformer architecture.
  • Combine all components into an end-to-end trainable framework for dense semantic correspondence.

Experimental results

Research questions

  • RQ1Can a Transformer-based cost aggregation module outperform CNN-based and hand-crafted methods in handling large appearance and geometric variations?
  • RQ2How effective is appearance affinity modeling in disambiguating initial correlation maps for more accurate correspondence prediction?
  • RQ3To what extent does multi-level feature aggregation improve performance in correspondence tasks with complex variations?
  • RQ4Does swapping self-attention enhance matching consistency and robustness compared to standard self-attention?
  • RQ5How do residual connections contribute to training stability and convergence in the proposed Transformer-based architecture?

Key findings

  • CATs achieves state-of-the-art performance on benchmark datasets for dense semantic correspondence, demonstrating superior generalization under large intra-class variations.
  • The integration of appearance affinity modeling significantly improves the discrimination of correct from incorrect matches in ambiguous regions.
  • Multi-level aggregation leads to more robust feature representations, especially in areas with complex deformations.
  • Swapping self-attention enhances bidirectional consistency, reducing inconsistent predictions and improving matching reliability.
  • Residual connections contribute to stable training and faster convergence in the deep Transformer architecture.
  • Extensive ablation studies confirm the effectiveness of each component, with the full CATs model outperforming ablated variants across all evaluation metrics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.