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