Learning Second-Order Attentive Context for Efficient Correspondence Pruning

Authors

  • Xinyi Ye Huazhong University of Science and Technology
  • Weiyue Zhao Huazhong University of Science and Technology
  • Hao Lu Huazhong University of Science and Technology
  • Zhiguo Cao Huazhong University of Science and Technology

DOI:

https://doi.org/10.1609/aaai.v37i3.25431

Keywords:

CV: 3D Computer Vision, CV: Representation Learning for Vision

Abstract

Correspondence pruning aims to search consistent correspondences (inliers) from a set of putative correspondences. It is challenging because of the disorganized spatial distribution of numerous outliers, especially when putative correspondences are largely dominated by outliers. It's more challenging to ensure effectiveness while maintaining efficiency. In this paper, we propose an effective and efficient method for correspondence pruning. Inspired by the success of attentive context in correspondence problems, we first extend the attentive context to the first-order attentive context and then introduce the idea of attention in attention (ANA) to model second-order attentive context for correspondence pruning. Compared with first-order attention that focuses on feature-consistent context, second-order attention dedicates to attention weights itself and provides an additional source to encode consistent context from the attention map. For efficiency, we derive two approximate formulations for the naive implementation of second-order attention to optimize the cubic complexity to linear complexity, such that second-order attention can be used with negligible computational overheads. We further implement our formulations in a second-order context layer and then incorporate the layer in an ANA block. Extensive experiments demonstrate that our method is effective and efficient in pruning outliers, especially in high-outlier-ratio cases. Compared with the state-of-the-art correspondence pruning approach LMCNet, our method runs 14 times faster while maintaining a competitive accuracy.

Downloads

Published

2023-06-26

How to Cite

Ye, X., Zhao, W., Lu, H., & Cao, Z. (2023). Learning Second-Order Attentive Context for Efficient Correspondence Pruning. Proceedings of the AAAI Conference on Artificial Intelligence, 37(3), 3250-3258. https://doi.org/10.1609/aaai.v37i3.25431

Issue

Section

AAAI Technical Track on Computer Vision III