Lune

CVPR2022顶会

MiniViT: Compressing Vision Transformers with Weight Multiplexing

Jinnian Zhang, Houwen Peng, Kan Wu, Mengchen Liu, Bin Xiao, Jianlong Fu, Lu Yuan

摘要

Vision Transformer (ViT) models have recently drawn much attention in computer vision due to their high model capability. However, ViT models suffer from huge number of parameters, restricting their applicability on devices with limited memory. To alleviate this problem, we propose MiniViT, a new compression framework, which achieves parameter reduction in vision transformers while retaining the same performance. The central idea of MiniViT is to multiplex the weights of consecutive transformer blocks. More specifically, we make the weights shared across layers, while imposing a transformation on the weights to increase diversity. Weight distillation over self-attention is also applied to transfer knowledge from large-scale ViT models to weight-multiplexed compact models. Comprehensive experiments demonstrate the efficacy of MiniViT, showing that it can reduce the size of the pre-trained Swin-B transformer by 48%, while achieving an increase of 1.0% in Top-1 accuracy on ImageNet. Moreover, using a single-layer of parameters, MiniViT is able to compress DeiT-B by 9.7 times from 86M to 9M parameters, without seriously compromising the performance. Finally, we verify the transferability of MiniViT by reporting its performance on downstream benchmarks. Code and models are available at here.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • FacT: Factor-Tuning for Lightweight Adaptation on Vision Transformer 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
  • FacT: Factor-Tuning for Lightweight Adaptation on Vision Transformer 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • I-ViT: Integer-only Quantization for Efficient Vision Transformer Inference 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • I-ViT: Integer-only Quantization for Efficient Vision Transformer Inference 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • I-ViT: Integer-only Quantization for Efficient Vision Transformer Inference 引用了 RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformers
  • RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformers 引用了 I-ViT: Integer-only Quantization for Efficient Vision Transformer Inference
  • I-ViT: Integer-only Quantization for Efficient Vision Transformer Inference 引用了 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 引用了 Training data-efficient image transformers & distillation through attention
  • Adaptive and Background-Aware Vision Transformer for Real-Time UAV Tracking 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Adaptive and Background-Aware Vision Transformer for Real-Time UAV Tracking 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Adaptive and Background-Aware Vision Transformer for Real-Time UAV Tracking 引用了 Training data-efficient image transformers & distillation through attention
  • MixFormerV2: Efficient Fully Transformer Tracking 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MixFormerV2: Efficient Fully Transformer Tracking 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformers 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformers 引用了 Training data-efficient image transformers & distillation through attention
  • Training data-efficient image transformers & distillation through attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper36

  1. MixFormerV2: Efficient Fully Transformer TrackingYutao Cui, Tianhui Song, Gangshan Wu, Limin WangNeurIPS 2023 · 193 次引用
  2. FacT: Factor-Tuning for Lightweight Adaptation on Vision TransformerShibo Jie, Zhi-Hong DengAAAI 2023 · 182 次引用
  3. I-ViT: Integer-only Quantization for Efficient Vision Transformer InferenceZhikai Li, Qingyi GuICCV 2023 · 176 次引用
  4. RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision TransformersZhikai Li, Junrui Xiao, Lianwei Yang, Qingyi GuICCV 2023 · 172 次引用
  5. Adaptive and Background-Aware Vision Transformer for Real-Time UAV TrackingShuiwang Li, Xiangxyang Yang, Dan Zeng, Xucheng WangICCV 2023 · 74 次引用

它引用的 Paper22

  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. ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
  5. CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh 等ICCV 2019 · 5,843 次引用

相关 Paper

  1. Q-ViT: Accurate and Fully Quantized Low-bit Vision TransformerYanjing Li, Sheng Xu, Baochang Zhang, Xianbin Cao 等NeurIPS 2022 · 185 次引用
  2. Learning Efficient Vision Transformers via Fine-Grained Manifold DistillationZhiwei Hao, Jianyuan Guo, Ding Jia, Kai Han 等NeurIPS 2022 · 103 次引用
  3. Unified Visual Transformer CompressionShixing Yu, Tianlong Chen, Jiayi Shen, Huan Yuan 等ICLR 2022 · 118 次引用
  4. COMCAT: Towards Efficient Compression and Customization of Attention-Based Vision ModelsJinqi Xiao, Miao Yin, Yu Gong, Xiao Zang 等ICML 2023 · 17 次引用
  5. BiViT: Extremely Compressed Binary Vision TransformersYefei He, Zhenyu Lou, Luoming Zhang, Jing Liu 等ICCV 2023 · 44 次引用
黄昏的海面,两侧是细线勾勒的悬崖