Global-Local Bayesian Transformer for Semantic Correspondence

Qingping Zheng, Jiankang Deng, Mingming Gong, Ying Li, Stefanos ZafeiriouOpenReview 2022

Abstract

Cost aggregation is the key to finding semantic correspondence between a pair of similar images. Transformer-based cost aggregators have recently shown strong performance in obtaining high-quality correlation maps due to their capability of capturing long-range dependencies between matching points. However, such models are data-hungry and prone to over-fitting when training data is not sufficiently large. Besides, they easily incur incorrect matches when finding correspondences in the local semantic context. To address these issues, we propose a Global-Local Bayesian Transformer (GLBT) for cost aggregation. Specifically, GLBT introduces one global Bayesian self-attention module, whose weights are sampled from a learnable Bayesian posterior distribution, to mitigate over-fitting while modeling the long-range interaction from correlation maps. Furthermore, to model the short-range interaction between candidate matches, GLBT introduces another local Bayesian self-attention module, which factorizes both correlation maps and Bayesian attention weights into pairs of patches and conducts a matrix multiplication on individuals rather than a direct dot-product. Two self-attention modules are joined together to model the long-range and short-range interactions from correlation maps. Ultimately, GLBT is hierarchically aggregated for the refinement of correlation maps before feeding it to the flow estimator. We conduct extensive experiments to show the superiority of our proposed network to the state-of-the-art methods on datasets, including SPair-71k, PF-PASCAL, and PF-WILLOW.
BibTeX
@misc{zheng2022global,
  author = {Qingping Zheng and Jiankang Deng and Mingming Gong and Ying Li and Stefanos Zafeiriou},
  title = {{Global-Local Bayesian Transformer for Semantic Correspondence}},
  year = {2022},
  url = {https://openreview.net/forum?id=aGkxJtOxKx},
  howpublished = {OpenReview},
}

Loading related content...

Figure