GOHSP: A Unified Framework of Graph and Optimization-Based Heterogeneous Structured Pruning for Vision Transformer
Miao Yin, Burak Uzkent, Yilin Shen, Hongxia Jin, Bo Yuan
摘要
The recently proposed Vision transformers (ViTs) have shown very impressive empirical performance in various computer vision tasks, and they are viewed as an important type of foundation model. However, ViTs are typically constructed with large-scale sizes, which then severely hinder their potential deployment in many practical resources constrained applications. To mitigate this challenging problem, structured pruning is a promising solution to compress model size and enable practical efficiency. However, unlike its current popularity for CNNs and RNNs, structured pruning for ViT models is little explored. In this paper, we propose GOHSP, a unified framework of Graph and Optimization-based Structured Pruning for ViT models. We first develop a graph-based ranking for measuring the importance of attention heads, and the extracted importance information is further integrated to an optimization-based procedure to impose the heterogeneous structured sparsity patterns on the ViT models. Experimental results show that our proposed GOHSP demonstrates excellent compression performance. On CIFAR-10 dataset, our approach can bring 40% parameters reduction with no accuracy loss for ViT-Small model. On ImageNet dataset, with 30% and 35% sparsity ratio for DeiT-Tiny and DeiT-Small models, our approach achieves 1.65% and 0.76% accuracy increase over the existing structured pruning methods, respectively.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Scaling Vision Transformers 引用了 Language Models are Few-Shot Learners
- Scaling Vision Transformers 引用了 Training data-efficient image transformers & distillation through attention
- COMCAT: Towards Efficient Compression and Customization of Attention-Based Vision Models 引用了 Training data-efficient image transformers & distillation through attention
- Adaptive Layer Sparsity for Large Language Models via Activation Correlation Assessment 引用了 Language Models are Few-Shot Learners
- Adaptive Pruning of Pretrained Transformer via Differential Inclusions 引用了 Training data-efficient image transformers & distillation through attention
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models 引用了 Language Models are Few-Shot Learners
- DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification 引用了 Training data-efficient image transformers & distillation through attention
- BVT-IMA: Binary Vision Transformer with Information-Modified Attention 引用了 Training data-efficient image transformers & distillation through attention
引用它的顶会 Paper5
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language ModelsLujun Li, Peijie Dong, Zhenheng Tang, Xiang Liu 等NeurIPS 2024 · 51 次引用
- Adaptive Layer Sparsity for Large Language Models via Activation Correlation AssessmentWei Li, Lujun Li, Mark G. Lee, Shengjie SunNeurIPS 2024 · 39 次引用
- COMCAT: Towards Efficient Compression and Customization of Attention-Based Vision ModelsJinqi Xiao, Miao Yin, Yu Gong, Xiao Zang 等ICML 2023 · 17 次引用
- BVT-IMA: Binary Vision Transformer with Information-Modified AttentionZhenyu Wang, Hao Luo, Xuemei Xie, Fan Wang 等AAAI 2024 · 4 次引用
- Adaptive Pruning of Pretrained Transformer via Differential InclusionsYizhuo Ding, Ke Fan, Yikai Wang, Xinwei Sun 等ICLR 2025
它引用的 Paper13
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
- DynamicViT: Efficient Vision Transformers with Dynamic Token SparsificationYongming Rao, Wenliang Zhao, Benlin Liu, Jiwen Lu 等NeurIPS 2021 · 1,343 次引用
- Scaling Vision TransformersXiaohua Zhai, Alexander Kolesnikov, Neil Houlsby, Lucas BeyerCVPR 2022 · 767 次引用
- MetaPruning: Meta Learning for Automatic Neural Network Channel PruningZechun Liu, Haoyuan Mu, Xiangyu Zhang, Zichao Guo 等ICCV 2019 · 633 次引用
相关 Paper
- Unified Visual Transformer CompressionShixing Yu, Tianlong Chen, Jiayi Shen, Huan Yuan 等ICLR 2022 · 118 次引用
- Global Vision Transformer Pruning with Hessian-Aware SaliencyHuanrui Yang, Hongxu Yin, Maying Shen, Pavlo Molchanov 等CVPR 2023
- Rethinking Depth Pruning for Vision Transformers: A Heterogeneity-Aware PerspectiveZhenfeng Su, Kang Zhao, Han Bao, Tao Yuan 等ICML 2026
- CAP: Correlation-Aware Pruning for Highly-Accurate Sparse Vision ModelsDenis Kuznedelev, Eldar Kurtic, Elias Frantar, Dan AlistarhNeurIPS 2023 · 24 次引用
- Chasing Sparsity in Vision Transformers: An End-to-End ExplorationTianlong Chen, Yu Cheng, Zhe Gan, Lu Yuan 等NeurIPS 2021 · 295 次引用
