Lune

NeurIPS2022顶会

Expediting Large-Scale Vision Transformer for Dense Prediction without Fine-tuning

Weicong Liang, Yuhui Yuan, Henghui Ding, Xiao Luo, Weihong Lin, Ding Jia, Zheng Zhang, Chao Zhang, Han Hu

摘要

Vision transformers have recently achieved competitive results across various vision tasks but still suffer from heavy computation costs when processing a large number of tokens. Many advanced approaches have been developed to reduce the total number of tokens in large-scale vision transformers, especially for image classification tasks. Typically, they select a small group of essential tokens according to their relevance with the [class] token, then fine-tune the weights of the vision transformer. Such fine-tuning is less practical for dense prediction due to the much heavier computation and GPU memory cost than image classification. In this paper, we focus on a more challenging problem, i.e., accelerating large-scale vision transformers for dense prediction without any additional re-training or finetuning. In response to the fact that high-resolution representations are necessary for dense prediction, we present two non-parametric operators, a token clustering layer to decrease the number of tokens and a token reconstruction layer to increase the number of tokens. The following steps are performed to achieve this: (i) we use the token clustering layer to cluster the neighboring tokens together, resulting in low-resolution representations that maintain the spatial structures; (ii) we apply the following transformer layers only to these low-resolution representations or clustered tokens; and (iii) we use the token reconstruction layer to re-create the high-resolution representations from the refined low-resolution representations. The results obtained by our method are promising on five dense prediction tasks, including object detection, semantic segmentation, panoptic segmentation, instance segmentation, and depth estimation. Accordingly, our method accelerates 40% ↑ FPS and saves 30% ↓ GFLOPs of "Segmenter+ViT-L/16" while maintaining 99.5% of the performance on ADE20K without fine-tuning the official weights.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • CrossGET: Cross-Guided Ensemble of Tokens for Accelerating Vision-Language Transformers 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • ClusterFomer: Clustering As A Universal Visual Learner 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • ClusterFomer: Clustering As A Universal Visual Learner 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • ClusterFomer: Clustering As A Universal Visual Learner 引用了 SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • AiluRus: A Scalable ViT Framework for Dense Prediction 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • AiluRus: A Scalable ViT Framework for Dense Prediction 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • AiluRus: A Scalable ViT Framework for Dense Prediction 引用了 SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • 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 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Convolution Meets LoRA: Parameter Efficient Finetuning for Segment Anything Model 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Convolution Meets LoRA: Parameter Efficient Finetuning for Segment Anything Model 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Convolution Meets LoRA: Parameter Efficient Finetuning for Segment Anything Model 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Convolution Meets LoRA: Parameter Efficient Finetuning for Segment Anything Model 引用了 SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Dynamic Token Pruning in Plain Vision Transformers for Semantic Segmentation 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Dynamic Token Pruning in Plain Vision Transformers for Semantic Segmentation 引用了 SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

  1. Convolution Meets LoRA: Parameter Efficient Finetuning for Segment Anything ModelZihan Zhong, Zhiqiang Tang, Tong He, Haoyang Fang 等ICLR 2024 · 91 次引用
  2. Dynamic Token Pruning in Plain Vision Transformers for Semantic SegmentationQuan Tang, Bowen Zhang, Jiajun Liu, Fagui Liu 等ICCV 2023 · 74 次引用
  3. ClusterFomer: Clustering As A Universal Visual LearnerJames Liang, Yiming Cui, Qifan Wang, Tong Geng 等NeurIPS 2023 · 63 次引用
  4. CrossGET: Cross-Guided Ensemble of Tokens for Accelerating Vision-Language TransformersDachuan Shi, Chaofan Tao, Anyi Rao, Zhendong Yang 等ICML 2024 · 46 次引用
  5. AiluRus: A Scalable ViT Framework for Dense PredictionJin Li, Yaoming Wang, Xiaopeng Zhang, Bowen Shi 等NeurIPS 2023 · 18 次引用

它引用的 Paper40

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  2. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
  3. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  4. SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar 等NeurIPS 2021 · 9,661 次引用
  5. Scaling Up Visual and Vision-Language Representation Learning With Noisy Text SupervisionChao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen 等ICML 2021 · 5,401 次引用

相关 Paper

  1. Making Vision Transformers Efficient from A Token Sparsification ViewShuning Chang, Pichao Wang, Ming Lin, Fan Wang 等CVPR 2023
  2. Vision Transformers for Dense PredictionRené Ranftl, Alexey Bochkovskiy, Vladlen KoltunICCV 2021 · 2,647 次引用
  3. GPViT: A High Resolution Non-Hierarchical Vision Transformer with Group PropagationChenhongyi Yang, Jiarui Xu, Shalini De Mello, Elliot J. Crowley 等ICLR 2023 · 7 次引用
  4. Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan 等ICCV 2021 · 4,909 次引用
  5. Vision Transformer Adapter for Dense PredictionsZhe Chen, Yuchen Duan, Wenhai Wang, Junjun He 等ICLR 2023 · 204 次引用
黄昏的海面,两侧是细线勾勒的悬崖