Glance-and-Gaze Vision Transformer
Qihang Yu, Yingda Xia, Yutong Bai, Yongyi Lu, Alan L. Yuille, Wei Shen
摘要
Recently, there emerges a series of vision Transformers, which show superior performance with a more compact model size than conventional convolutional neural networks, thanks to the strong ability of Transformers to model long-range dependencies. However, the advantages of vision Transformers also come with a price: Self-attention, the core part of Transformer, has a quadratic complexity to the input sequence length. This leads to a dramatic increase of computation and memory cost with the increase of sequence length, thus introducing difficulties when applying Transformers to the vision tasks that require dense predictions based on high-resolution feature maps. In this paper, we propose a new vision Transformer, named Glance-and-Gaze Transformer (GG-Transformer), to address the aforementioned issues. It is motivated by the Glance and Gaze behavior of human beings when recognizing objects in natural scenes, with the ability to efficiently model both long-range dependencies and local context. In GG-Transformer, the Glance and Gaze behavior is realized by two parallel branches: The Glance branch is achieved by performing self-attention on the adaptively-dilated partitions of the input, which leads to a linear complexity while still enjoying a global receptive field; The Gaze branch is implemented by a simple depth-wise convolutional layer, which compensates local image context to the features obtained by the Glance mechanism. We empirically demonstrate our method achieves consistently superior performance over previous state-of-the-art Transformers on various vision tasks and benchmarks. The codes and models will be made available at https://github.com/yucornetto/GG-Transformer .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 22 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Scaled ReLU Matters for Training Vision Transformers 引用了 MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger Tokens
- Scaled ReLU Matters for Training Vision Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Scaled ReLU Matters for Training Vision Transformers 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Scaled ReLU Matters for Training Vision Transformers 引用了 Training data-efficient image transformers & distillation through attention
- 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 引用了 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
- MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger Tokens 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger Tokens 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger Tokens 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger Tokens 引用了 Training data-efficient image transformers & distillation through attention
- MPViT: Multi-Path Vision Transformer for Dense Prediction 引用了 CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- MPViT: Multi-Path Vision Transformer for Dense Prediction 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- MPViT: Multi-Path Vision Transformer for Dense Prediction 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- MPViT: Multi-Path Vision Transformer for Dense Prediction 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- MPViT: Multi-Path Vision Transformer for Dense Prediction 引用了 Training data-efficient image transformers & distillation through attention
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- 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
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions 引用了 CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- 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
- CF-ViT: A General Coarse-to-Fine Method for Vision Transformer 引用了 MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger Tokens
- CF-ViT: A General Coarse-to-Fine Method for Vision Transformer 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Training data-efficient image transformers & distillation through attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
引用它的顶会 Paper22
- YOLOv12: Attention-Centric Real-Time Object DetectorsYunjie Tian, Qixiang Ye, David S. DoermannNeurIPS 2025 · 2,652 次引用
- MPViT: Multi-Path Vision Transformer for Dense PredictionYoungwan Lee, Jonghee Kim, Jeffrey Willette, Sung Ju HwangCVPR 2022 · 339 次引用
- CF-ViT: A General Coarse-to-Fine Method for Vision TransformerMengzhao Chen, Mingbao Lin, Ke Li, Yunhang Shen 等AAAI 2023 · 105 次引用
- MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger TokensJiemin Fang, Lingxi Xie, Xinggang Wang, Xiaopeng Zhang 等CVPR 2022 · 73 次引用
- Scaled ReLU Matters for Training Vision TransformersPichao Wang, Xue Wang, Hao Luo, Jingkai Zhou 等AAAI 2022 · 55 次引用
它引用的 Paper18
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
- CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh 等ICCV 2019 · 5,843 次引用
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan 等ICCV 2021 · 4,909 次引用
相关 Paper
- Focal Attention for Long-Range Interactions in Vision TransformersJianwei Yang, Chunyuan Li, Pengchuan Zhang, Xiyang Dai 等NeurIPS 2021 · 228 次引用
- Less Is More: Pay Less Attention in Vision TransformersZizheng Pan, Bohan Zhuang, Haoyu He, Jing Liu 等AAAI 2022 · 109 次引用
- Glance2Gaze: Efficient Vision-Language Models from Glance Fusion to Gaze CompressionJuan Chen, Honglin Liu, Yingying Ao, Ting Zhang 等NeurIPS 2025 · 1 次引用
- Group Vision TransformerYaopeng Peng, Milan Sonka, Danny Z. ChenACM MM 2024
- Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image EncodingPengchuan Zhang, Xiyang Dai, Jianwei Yang, Bin Xiao 等ICCV 2021 · 384 次引用
