Lune

AAAI2020Top-tier venue

Compressed Self-Attention for Deep Metric Learning

Ziye Chen, Mingming Gong, Yanwu Xu, Chaohui Wang, Kun Zhang, Bo Du

Abstract

In this paper, we aim to enhance self-attention (SA) mechanism for deep metric learning in visual perception, by capturing richer contextual dependencies in visual data. To this end, we propose a novel module, named compressed self-attention (CSA), which significantly reduces the computation and memory cost with a neglectable decrease in accuracy with respect to the original SA mechanism, thanks to the following two characteristics: i) it only needs to compute a small number of base attention maps for a small number of base feature vectors; and ii) the output at each spatial location can be simply obtained by an adaptive weighted average of the outputs calculated from the base attention maps. The high computational efficiency of CSA enables the application to high-resolution shallow layers in convolutional neural networks with little additional cost. In addition, CSA makes it practical to further partition the feature maps into groups along the channel dimension and compute attention maps for features in each group separately, thus increasing the diversity of long-range dependencies and accordingly boosting the accuracy. We evaluate the performance of CSA via extensive experiments on two metric learning tasks: person re-identification and local descriptor learning. Qualitative and quantitative comparisons with latest methods demonstrate the significance of CSA in this topic.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Semi-Supervised Metric Learning: A Deep ResurrectionUjjal Kr Dutta, Mehrtash Harandi, Chellu Chandra SekharAAAI 2021 · 7 citations

Builds on1

  1. Effective and Efficient Community Search over Large Heterogeneous Information NetworksYixiang Fang, Yixing Yang, Wenjie Zhang, Xuemin Lin et al.VLDB 2020 · 150 citations

Related papers

  1. Expectation-Maximization Attention Networks for Semantic SegmentationXia Li, Zhisheng Zhong, Jianlong Wu, Yibo Yang et al.ICCV 2019 · 639 citations
  2. Explicitly Modeled Attention Maps for Image ClassificationAndong Tan, Duc Tam Nguyen, Maximilian Dax, Matthias Nießner et al.AAAI 2021 · 10 citations
  3. Learning Deep Local Features with Multiple Dynamic Attentions for Large-Scale Image RetrievalHui Wu, Min Wang, Wengang Zhou, Houqiang LiICCV 2021 · 26 citations
  4. Deep Local Binary Coding for Person Re-Identification by Delving into the DetailsJiaxin Chen, Jie Qin, Yichao Yan, Lei Huang et al.ACM MM 2020 · 14 citations
  5. Self-Critical Attention Learning for Person Re-IdentificationGuangyi Chen, Chunze Lin, Liangliang Ren, Jiwen Lu et al.ICCV 2019 · 146 citations
Dusk over the sea between two cliffs drawn in fine vertical lines