Lune

NeurIPS2021顶会

Twins: Revisiting the Design of Spatial Attention in Vision Transformers

Xiangxiang Chu, Zhi Tian, Yuqing Wang, Bo Zhang, Haibing Ren, Xiaolin Wei, Huaxia Xia, Chunhua Shen

摘要

Very recently, a variety of vision transformer architectures for dense prediction tasks have been proposed and they show that the design of spatial attention is critical to their success in these tasks. In this work, we revisit the design of the spatial attention and demonstrate that a carefully-devised yet simple spatial attention mechanism performs favourably against the state-of-the-art schemes. As a result, we propose two vision transformer architectures, namely, Twins-PCPVT and Twins-SVT. Our proposed architectures are highly-efficient and easy to implement, only involving matrix multiplications that are highly optimized in modern deep learning frameworks. More importantly, the proposed architectures achieve excellent performance on a wide range of visual tasks, including image level classification as well as dense detection and segmentation. The simplicity and strong performance suggest that our proposed architectures may serve as stronger backbones for many vision tasks. Our code is released at https://github.com/Meituan-AutoML/Twins .

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Uformer: A General U-Shaped Transformer for Image Restoration 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Uformer: A General U-Shaped Transformer for Image Restoration 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Uformer: A General U-Shaped Transformer for Image Restoration 引用了 CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows
  • Uformer: A General U-Shaped Transformer for Image Restoration 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • YOLOv12: Attention-Centric Real-Time Object Detectors 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • YOLOv12: Attention-Centric Real-Time Object Detectors 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • YOLOv12: Attention-Centric Real-Time Object Detectors 引用了 CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows
  • YOLOv12: Attention-Centric Real-Time Object Detectors 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • YOLOv12: Attention-Centric Real-Time Object Detectors 引用了 Training data-efficient image transformers & distillation through attention
  • YOLOv12: Attention-Centric Real-Time Object Detectors 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognition 引用了 Uformer: A General U-Shaped Transformer for Image Restoration
  • AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognition 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognition 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognition 引用了 CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows
  • AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognition 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognition 引用了 Training data-efficient image transformers & distillation through attention
  • AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognition 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • 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
  • CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows 引用了 Training data-efficient image transformers & distillation through attention
  • CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped 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
  • Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows
  • Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 Training data-efficient image transformers & distillation through attention
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper190

  1. YOLOv12: Attention-Centric Real-Time Object DetectorsYunjie Tian, Qixiang Ye, David S. DoermannNeurIPS 2025 · 2,652 次引用
  2. Swin Transformer V2: Scaling Up Capacity and ResolutionZe Liu, Han Hu, Yutong Lin, Zhuliang Yao 等CVPR 2022 · 2,138 次引用
  3. Uformer: A General U-Shaped Transformer for Image RestorationZhendong Wang, Xiaodong Cun, Jianmin Bao, Wengang Zhou 等CVPR 2022 · 1,970 次引用
  4. AdaptFormer: Adapting Vision Transformers for Scalable Visual RecognitionShoufa Chen, Chongjian Ge, Zhan Tong, Jiangliu Wang 等NeurIPS 2022 · 1,291 次引用
  5. CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped WindowsXiaoyi Dong, Jianmin Bao, Dongdong Chen, Weiming Zhang 等CVPR 2022 · 1,207 次引用

它引用的 Paper19

  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. Vision Transformer with Deformable AttentionZhuofan Xia, Xuran Pan, Shiji Song, Li Erran Li 等CVPR 2022 · 835 次引用
  2. Vision Transformer with Sparse Scan PriorYuguang Zhang, Qihang Fan, Huaibo HuangACM MM 2025 · 2 次引用
  3. RMT: Retentive Networks Meet Vision TransformersQihang Fan, Huaibo Huang, Mingrui Chen, Hongmin Liu 等CVPR 2024
  4. Less Is More: Pay Less Attention in Vision TransformersZizheng Pan, Bohan Zhuang, Haoyu He, Jing Liu 等AAAI 2022 · 109 次引用
  5. When Shift Operation Meets Vision Transformer: An Extremely Simple Alternative to Attention MechanismGuangting Wang, Yucheng Zhao, Chuanxin Tang, Chong Luo 等AAAI 2022 · 92 次引用
黄昏的海面,两侧是细线勾勒的悬崖