mlsanityData to 7 Oct 2026

MaiT: Leverage Attention Masks for More Efficient Image Transformers

arXiv 2207.03006 ↗First posted 6 Jul 2022cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Though image transformers have shown competitive results with convolutional neural networks in computer vision tasks, lacking inductive biases such as locality still poses problems in terms of model efficiency especially for embedded applications. In this work, we address this issue by introducing attention masks to incorporate spatial locality into self-attention heads. Local dependencies are captured efficiently with masked attention heads along with global dependencies captured by unmasked attention heads. With Masked attention image Transformer - MaiT, top-1 accuracy increases by up to 1.7% compared to CaiT with fewer parameters and FLOPs, and the throughput improves by up to 1.5X compared to Swin. Encoding locality with attention masks is model agnostic, and thus it applies to monolithic, hierarchical, or other novel transformer architectures.

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

Builds on

32 of 39 references.

References · 32

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  9. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  10. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  11. 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
  12. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
20 more
  1. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
  2. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
  3. 2021Going deeper with Image Transformerscited by 759
  4. 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
  5. 2021Transformer in Transformercited by 632
  6. 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
  7. 2019Stand-Alone Self-Attention in Vision Modelscited by 542
  8. 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
  9. 2021Conditional Positional Encodings for Vision Transformerscited by 402
  10. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  11. 2020Visual Transformers: Token-based Image Representation and Processing for Computer Visioncited by 333
  12. 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
  13. 2021Incorporating Convolution Designs into Visual Transformerscited by 248
  14. 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
  15. 2021Co-Scale Conv-Attentional Image Transformerscited by 224
  16. 2019Local Relation Networks for Image Recognitioncited by 210
  17. 2021Efficient Self-supervised Vision Transformers for Representation Learningcited by 149
  18. 2021Lite Vision Transformer with Enhanced Self-Attentioncited by 64
  19. 2021BossNAS: Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture Searchcited by 63
  20. 2021Centroid Transformers: Learning to Abstract with Attentioncited by 20

Built on by

Not cited yet.