Lune

ICLR2022顶会

Unified Visual Transformer Compression

Shixing Yu, Tianlong Chen, Jiayi Shen, Huan Yuan, Jianchao Tan, Sen Yang, Ji Liu, Zhangyang Wang

摘要

Vision transformers (ViTs) have gained popularity recently. Even without customized image operators such as convolutions, ViTs can yield competitive performance when properly trained on massive data. However, the computational overhead of ViTs remains prohibitive, due to stacking multi-head self-attention modules and else. Compared to the vast literature and prevailing success in compressing convolutional neural networks, the study of Vision Transformer compression has also just emerged, and existing works focused on one or two aspects of compression. This paper proposes a unified ViT compression framework that seamlessly assembles three effective techniques: pruning, layer skipping, and knowledge distillation. We formulate a budget-constrained, end-to-end optimization framework, targeting jointly learning model weights, layer-wise pruning ratios/masks, and skip configurations, under a distillation loss. The optimization problem is then solved using the primal-dual algorithm. Experiments are conducted with several ViT variants, e.g. DeiT and T2T-ViT backbones on the ImageNet dataset, and our approach consistently outperforms recent competitors. For example, DeiT-Tiny can be trimmed down to 50% of the original FLOPs almost without losing accuracy. Codes are available online: https://github.com/VITA-Group/UVC.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • SAViT: Structure-Aware Vision Transformer Pruning via Collaborative Optimization 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • SAViT: Structure-Aware Vision Transformer Pruning via Collaborative Optimization 引用了 Training data-efficient image transformers & distillation through attention
  • VTC-LFC: Vision Transformer Compression with Low-Frequency Components 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
  • VTC-LFC: Vision Transformer Compression with Low-Frequency Components 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • VTC-LFC: Vision Transformer Compression with Low-Frequency Components 引用了 Training data-efficient image transformers & distillation through attention
  • VTC-LFC: Vision Transformer Compression with Low-Frequency Components 引用了 MiniViT: Compressing Vision Transformers with Weight Multiplexing
  • VTC-LFC: Vision Transformer Compression with Low-Frequency Components 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • HeatViT: Hardware-Efficient Adaptive Token Pruning for Vision Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • HeatViT: Hardware-Efficient Adaptive Token Pruning for Vision Transformers 引用了 Training data-efficient image transformers & distillation through attention
  • HeatViT: Hardware-Efficient Adaptive Token Pruning for Vision Transformers 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • Is Space-Time Attention All You Need for Video Understanding? 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor Attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor Attention 引用了 Training data-efficient image transformers & distillation through attention
  • ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor Attention 引用了 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
  • MiniViT: Compressing Vision Transformers with Weight Multiplexing 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
  • MiniViT: Compressing Vision Transformers with Weight Multiplexing 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MiniViT: Compressing Vision Transformers with Weight Multiplexing 引用了 Training data-efficient image transformers & distillation through attention
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper33

  1. HeatViT: Hardware-Efficient Adaptive Token Pruning for Vision TransformersPeiyan Dong, Mengshu Sun, Alec Lu, Yanyue Xie 等HPCA 2023 · 117 次引用
  2. MiniViT: Compressing Vision Transformers with Weight MultiplexingJinnian Zhang, Houwen Peng, Kan Wu, Mengchen Liu 等CVPR 2022 · 115 次引用
  3. SAViT: Structure-Aware Vision Transformer Pruning via Collaborative OptimizationChuanyang Zheng, Zheyang Li, Kai Zhang, Zhi Yang 等NeurIPS 2022 · 98 次引用
  4. ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor AttentionJyotikrishna Dass, Shang Wu, Huihong Shi, Chaojian Li 等HPCA 2023 · 65 次引用
  5. VTC-LFC: Vision Transformer Compression with Low-Frequency ComponentsZhenyu Wang, Hao Luo, Pichao Wang, Feng Ding 等NeurIPS 2022 · 57 次引用

它引用的 Paper28

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  2. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
  3. ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
  4. Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li 等ICLR 2021 · 7,353 次引用
  5. Is Space-Time Attention All You Need for Video Understanding?Gedas Bertasius, Heng Wang, Lorenzo TorresaniICML 2021 · 2,927 次引用

相关 Paper

  1. COMCAT: Towards Efficient Compression and Customization of Attention-Based Vision ModelsJinqi Xiao, Miao Yin, Yu Gong, Xiao Zang 等ICML 2023 · 17 次引用
  2. GOHSP: A Unified Framework of Graph and Optimization-Based Heterogeneous Structured Pruning for Vision TransformerMiao Yin, Burak Uzkent, Yilin Shen, Hongxia Jin 等AAAI 2023 · 23 次引用
  3. Chasing Sparsity in Vision Transformers: An End-to-End ExplorationTianlong Chen, Yu Cheng, Zhe Gan, Lu Yuan 等NeurIPS 2021 · 295 次引用
  4. Joint Token Pruning and Squeezing Towards More Aggressive Compression of Vision TransformersSiyuan Wei, Tianzhu Ye, Shen Zhang, Yao Tang 等CVPR 2023
  5. Peeling the Onion: Hierarchical Reduction of Data Redundancy for Efficient Vision Transformer TrainingZhenglun Kong, Haoyu Ma, Geng Yuan, Mengshu Sun 等AAAI 2023 · 32 次引用
黄昏的海面,两侧是细线勾勒的悬崖