Vision Transformer Compression with Structured Pruning and Low Rank Approximation
Not on the map. Why?
Abstract (arXiv)
Transformer architecture has gained popularity due to its ability to scale with large dataset. Consequently, there is a need to reduce the model size and latency, especially for on-device deployment. We focus on vision transformer proposed for image recognition task (Dosovitskiy et al., 2021), and explore the application of different compression techniques such as low rank approximation and pruning for this purpose. Specifically, we investigate a structured pruning method proposed recently in Zhu et al. (2021) and find that mostly feedforward blocks are pruned with this approach, that too, with severe degradation in accuracy. We propose a hybrid compression approach to mitigate this where we compress the attention blocks using low rank approximation and use the previously mentioned pruning with a lower rate for feedforward blocks in each transformer layer. Our technique results in 50% compression with 14% relative increase in classification error whereas we obtain 44% compression with 20% relative increase in error when only pruning is applied. We propose further enhancements to bridge the accuracy gap but leave it as a future work.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 26 of its 34 references that are in the map. First posted on arXiv 25 Mar 2022.
Builds on
26 of 34 references.
References · 26
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2020Knowledge Distillation: A Surveycited by 1,603
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2017Mixed Precision Trainingcited by 1,156
14 more
- 2016Pruning Filters for Efficient ConvNetscited by 1,143
- 2020What is the State of Neural Network Pruning?cited by 583
- 2016Learning Structured Sparsity in Deep Neural Networkscited by 541
- 2019Importance Estimation for Neural Network Pruningcited by 541
- 2020Scaling Laws for Autoregressive Generative Modelingcited by 522
- 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 521
- 2021A White Paper on Neural Network Quantizationcited by 472
- 2015Deep Learning with Limited Numerical Precisioncited by 376
- 2021Chasing Sparsity in Vision Transformers: An End-to-End Explorationcited by 183
- 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 164
- 2021Vision Transformer Pruningcited by 79
- 2020LadaBERT: Lightweight Adaptation of BERT through Hybrid Model Compressioncited by 45
- 2021A Unified Pruning Framework for Vision Transformerscited by 40
- 2021Multi-Dimensional Model Compression of Vision Transformercited by 13
Built on by
Citing papers per year: 2023: 2; 2024: 2.
4 papers.
- 2023Low Rank Optimization for Efficient Deep Learning: Making A Balance between Compact Architecture and Fast Trainingcited by 5
- 2024Memory-Efficient Vision Transformers: An Activation-Aware Mixed-Rank Compression Strategycited by 4
- 2023Compressing Vision Transformers for Low-Resource Visual Learningcited by 2
- 2024Research on Personalized Compression Algorithm for Pre-trained Models Based on Homomorphic Entropy Increasecited by 1
- 2024Research on Personalized Compression Algorithm for Pre-trained Models Based on Homomorphic Entropy Increase16 Aug 2024
- 2024Memory-Efficient Vision Transformers: An Activation-Aware Mixed-Rank Compression Strategy8 Feb 2024
- 2023Compressing Vision Transformers for Low-Resource Visual Learning5 Sep 2023
- 2023Low Rank Optimization for Efficient Deep Learning: Making A Balance between Compact Architecture and Fast Training22 Mar 2023