Lune

AAAI2022顶会

Less Is More: Pay Less Attention in Vision Transformers

Zizheng Pan, Bohan Zhuang, Haoyu He, Jing Liu, Jianfei Cai

摘要

Transformers [42] have become one of the dominant architectures in deep learning, particularly as a powerful alternative to convolutional neural networks (CNNs) in computer vision. However, Transformer training and inference in previous works can be prohibitively expensive due to the quadratic complexity of self-attention over a long sequence of representations, especially for high-resolution dense prediction tasks. To this end, we present a novel Less attention vIsion Transformer (LIT), building upon the fact that the early self-attention layers in Transformers still focus on local patterns and bring minor benefits in recent hierarchical vision Transformers. Specifically, we propose a hierarchical Transformer where we use pure multi-layer perceptrons (MLPs) to encode rich local patterns in the early stages while applying self-attention modules to capture longer dependencies in deeper layers. Moreover, we further propose a learned deformable token merging module to adaptively fuse informative patches in a non-uniform manner. The proposed LIT achieves promising performance on image recognition tasks, including image classification, object detection and instance segmentation, serving as a strong backbone for many vision tasks. Code is available at: https://github.com/zhuang-group/LIT

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 19 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • MogaNet: Multi-order Gated Aggregation Network 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MogaNet: Multi-order Gated Aggregation Network 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • MogaNet: Multi-order Gated Aggregation Network 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • MogaNet: Multi-order Gated Aggregation Network 引用了 Training data-efficient image transformers & distillation through attention
  • MogaNet: Multi-order Gated Aggregation Network 引用了 Fast Vision Transformers with HiLo Attention
  • MogaNet: Multi-order Gated Aggregation Network 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization 引用了 Training data-efficient image transformers & distillation through attention
  • FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization 引用了 Fast Vision Transformers with HiLo Attention
  • Lightweight Vision Transformer with Bidirectional Interaction 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Lightweight Vision Transformer with Bidirectional Interaction 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Lightweight Vision Transformer with Bidirectional Interaction 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • Lightweight Vision Transformer with Bidirectional Interaction 引用了 Training data-efficient image transformers & distillation through attention
  • Lightweight Vision Transformer with Bidirectional Interaction 引用了 Fast Vision Transformers with HiLo Attention
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Training data-efficient image transformers & distillation through attention
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions 引用了 Training data-efficient image transformers & distillation through attention
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • Training data-efficient image transformers & distillation through attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Token Merging: Your ViT But Faster 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Token Merging: Your ViT But Faster 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Token Merging: Your ViT But Faster 引用了 Training data-efficient image transformers & distillation through attention
  • Fast Vision Transformers with HiLo Attention 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Fast Vision Transformers with HiLo Attention 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • Fast Vision Transformers with HiLo Attention 引用了 Training data-efficient image transformers & distillation through attention
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper19

  1. FastViT: A Fast Hybrid Vision Transformer using Structural ReparameterizationPavan Kumar Anasosalu Vasu, James Gabriel, Jeff Zhu, Oncel Tuzel 等ICCV 2023 · 341 次引用
  2. Fast Vision Transformers with HiLo AttentionZizheng Pan, Jianfei Cai, Bohan ZhuangNeurIPS 2022 · 321 次引用
  3. MogaNet: Multi-order Gated Aggregation NetworkSiyuan Li, Zedong Wang, Zicheng Liu, Cheng Tan 等ICLR 2024 · 151 次引用
  4. Token Merging: Your ViT But FasterDaniel Bolya, Cheng-Yang Fu, Xiaoliang Dai, Peizhao Zhang 等ICLR 2023 · 62 次引用
  5. Lightweight Vision Transformer with Bidirectional InteractionQihang Fan, Huaibo Huang, Xiaoqiang Zhou, Ran HeNeurIPS 2023 · 59 次引用

它引用的 Paper23

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  3. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
  4. Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li 等ICLR 2021 · 7,353 次引用
  5. Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan 等ICCV 2021 · 4,909 次引用

相关 Paper

  1. You Only Need Less Attention at Each Stage in Vision TransformersShuoxi Zhang, Hanpeng Liu, Stephen Lin, Kun HeCVPR 2024 · 19 次引用
  2. Scalable Vision Transformers with Hierarchical PoolingZizheng Pan, Bohan Zhuang, Jing Liu, Haoyu He 等ICCV 2021 · 154 次引用
  3. Incorporating Convolution Designs into Visual TransformersKun Yuan, Shaopeng Guo, Ziwei Liu, Aojun Zhou 等ICCV 2021 · 581 次引用
  4. ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive BiasYufei Xu, Qiming Zhang, Jing Zhang, Dacheng TaoNeurIPS 2021 · 429 次引用
  5. Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image EncodingPengchuan Zhang, Xiyang Dai, Jianwei Yang, Bin Xiao 等ICCV 2021 · 384 次引用
黄昏的海面,两侧是细线勾勒的悬崖