mlsanityData to 7 Oct 2026

Rethinking Query-Key Pairwise Interactions in Vision Transformers

arXiv 2207.00188 ↗First posted 1 Jul 2022cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Vision Transformers have achieved state-of-the-art performance in many visual tasks. Due to the quadratic computational and memory complexities of self-attention, recent works either apply attention only to low-resolution inputs or restrict the receptive field to a small local region. To overcome these limitations, we propose key-only attention, which excludes query-key pairwise interactions and uses a compute-efficient saliency-gate to obtain attention weights, modeling local-global interactions in all stages. Key-only attention has linear computational and memory complexities w.r.t input size. We use alternate layout to hybridize convolution and attention layers instead of grafting which is suggested by previous works, so that all stages can benefit from both spatial attentions and convolutions. We leverage these improvements to develop a new self-attention model family, LinGlos, which reach state-of-the-art accuracies on the parameter-limited setting of ImageNet classification benchmark, and outperform baselines significantly in downstream tasks, e.g., COCO object detection and ADE20K semantic segmentation.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 49 of its 56 references that are in the map. First posted on arXiv 1 Jul 2022.

Builds on

49 of 56 references.

References · 49

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  7. 2016Layer Normalizationcited by 5,579
  8. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  9. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  10. 2016Feature Pyramid Networks for Object Detectioncited by 5,021
  11. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  12. 2017Squeeze-and-Excitation Networkscited by 4,763
37 more
  1. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  2. 2014Going Deeper with Convolutionscited by 4,231
  3. 2022A ConvNet for the 2020scited by 3,545
  4. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  5. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  6. 2017Non-local Neural Networkscited by 2,290
  7. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  8. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  9. 2020Rethinking Attention with Performerscited by 1,584
  10. 2017Deformable Convolutional Networkscited by 1,481
  11. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  12. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
  13. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
  14. 2017Random Erasing Data Augmentationcited by 1,235
  15. 2016Deep Networks with Stochastic Depthcited by 973
  16. 2019Panoptic Feature Pyramid Networkscited by 644
  17. 2021Transformer in Transformercited by 632
  18. 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 566
  19. 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
  20. 2021RepVGG: Making VGG-style ConvNets Great Againcited by 520
  21. 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
  22. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  23. 2021Conditional Positional Encodings for Vision Transformerscited by 402
  24. 2019Attention Augmented Convolutional Networkscited by 363
  25. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  26. 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 286
  27. 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
  28. 2022cosFormer: Rethinking Softmax in Attentioncited by 212
  29. 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 204
  30. 2019ACNet: Strengthening the Kernel Skeletons for Powerful CNN via Asymmetric Convolution Blockscited by 178
  31. 2020How Much Position Information Do Convolutional Neural Networks Encode?cited by 171
  32. 2021LambdaNetworks: Modeling Long-Range Interactions Without Attentioncited by 107
  33. 2021Diverse Branch Block: Building a Convolution as an Inception-like Unitcited by 87
  34. 2021Fastformer: Additive Attention Can Be All You Needcited by 61
  35. 2019An Empirical Study of Spatial Attention Mechanisms in Deep Networkscited by 58
  36. 2021Position, Padding and Predictions: A Deeper Look at Position Information in CNNscited by 26
  37. 2020Global Self-Attention Networks for Image Recognitioncited by 16

Built on by

Not cited yet.