EMNLP Findings2020
Pruning Redundant Mappings in Transformer Models via Spectral-Normalized Identity Prior
摘要
Traditional (unstructured) pruning methods for a Transformer model focus on regularizing the individual weights by penalizing them toward zero. In this work, we explore spectralnormalized identity priors (SNIP), a structured pruning approach that penalizes an entire residual module in a Transformer model toward an identity mapping. Our method identifies and discards unimportant non-linear mappings in the residual connections by applying a thresholding operator on the function norm. It is applicable to any structured module, including a single attention head, an entire attention block, or a feed-forward subnetwork. Furthermore, we introduce spectral normalization to stabilize the distribution of the post-activation values of the Transformer layers, further improving the pruning effectiveness of the proposed methodology. We conduct experiments with BERT on 5 GLUE benchmark tasks to demonstrate that SNIP achieves effective pruning results while maintaining comparable performance. Specifically, we improve the performance over the state-of-the-art by 0.5 to 1.0% on average at 50% compression ratio.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- TinyBERT: Distilling BERT for Natural Language Understanding 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
- TinyBERT: Distilling BERT for Natural Language Understanding 引用了 Reducing Transformer Depth on Demand with Structured Dropout
- TinyBERT: Distilling BERT for Natural Language Understanding 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
- MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
- Learned Token Pruning for Transformers 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
- Learned Token Pruning for Transformers 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- Learned Token Pruning for Transformers 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
- Learned Token Pruning for Transformers 引用了 Reducing Transformer Depth on Demand with Structured Dropout
- Learned Token Pruning for Transformers 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
- Gradient-Free Structured Pruning with Unlabeled Data 引用了 A Fast Post-Training Pruning Framework for Transformers
- Gradient-Free Structured Pruning with Unlabeled Data 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- Gradient-Free Structured Pruning with Unlabeled Data 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
- Gradient-Free Structured Pruning with Unlabeled Data 引用了 Reducing Transformer Depth on Demand with Structured Dropout
- Gradient-Free Structured Pruning with Unlabeled Data 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
- A Fast Post-Training Pruning Framework for Transformers 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- A Fast Post-Training Pruning Framework for Transformers 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
- A Fast Post-Training Pruning Framework for Transformers 引用了 Reducing Transformer Depth on Demand with Structured Dropout
- A Fast Post-Training Pruning Framework for Transformers 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
- Movement Pruning: Adaptive Sparsity by Fine-Tuning 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
- Movement Pruning: Adaptive Sparsity by Fine-Tuning 引用了 Reducing Transformer Depth on Demand with Structured Dropout
- A Survey on Model Compression and Acceleration for Pretrained Language Models 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
- A Survey on Model Compression and Acceleration for Pretrained Language Models 引用了 Learned Token Pruning for Transformers
- A Survey on Model Compression and Acceleration for Pretrained Language Models 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- A Survey on Model Compression and Acceleration for Pretrained Language Models 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
- A Survey on Model Compression and Acceleration for Pretrained Language Models 引用了 Reducing Transformer Depth on Demand with Structured Dropout
- A Survey on Model Compression and Acceleration for Pretrained Language Models 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
引用它的顶会 Paper13
- A Fast Post-Training Pruning Framework for TransformersWoosuk Kwon, Sehoon Kim, Michael W. Mahoney, Joseph Hassoun 等NeurIPS 2022 · 247 次引用
- Learned Token Pruning for TransformersSehoon Kim, Sheng Shen, David Thorsley, Amir Gholami 等KDD 2022 · 97 次引用
- A Survey on Model Compression and Acceleration for Pretrained Language ModelsCanwen Xu, Julian J. McAuleyAAAI 2023 · 96 次引用
- Vision Transformer Slimming: Multi-Dimension Searching in Continuous Optimization SpaceArnav Chavan, Zhiqiang Shen, Zhuang Liu, Zechun Liu 等CVPR 2022 · 64 次引用
- Gradient-Free Structured Pruning with Unlabeled DataAzade Nova, Hanjun Dai, Dale SchuurmansICML 2023 · 38 次引用
它引用的 Paper7
- TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang 等EMNLP Findings 2020 · 1,787 次引用
- Reducing Transformer Depth on Demand with Structured DropoutAngela Fan, Edouard Grave, Armand JoulinICLR 2020 · 695 次引用
- MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited DevicesZhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu 等ACL 2020 · 660 次引用
- Movement Pruning: Adaptive Sparsity by Fine-TuningVictor Sanh, Thomas Wolf, Alexander M. RushNeurIPS 2020 · 656 次引用
- Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTSheng Shen, Zhen Dong, Jiayu Ye, Linjian Ma 等AAAI 2020 · 656 次引用
相关 Paper
- When BERT Plays the Lottery, All Tickets Are WinningSai Prasanna, Anna Rogers, Anna RumshiskyEMNLP 2020 · 114 次引用
- Constraint-aware and Ranking-distilled Token Pruning for Efficient Transformer InferenceJunyan Li, Li Lyna Zhang, Jiahang Xu, Yujing Wang 等KDD 2023 · 12 次引用
- Pruning Large Language Models to Intra-module Low-rank Architecture with Transitional ActivationsBowen Shen, Zheng Lin, Daren Zha, Wei Liu 等ACL Findings 2024 · 3 次引用
- Two-Stage Regularization-Based Structured Pruning for LLMsMingkuan Feng, Jinyang Wu, Siyuan Liu, Shuai Zhang 等ACL 2026 · 3 次引用
- Efficient Transformer-based Large Scale Language Representations using Hardware-friendly Block Structured PruningBingbing Li, Zhenglun Kong, Tianyun Zhang, Ji Li 等EMNLP Findings 2020 · 39 次引用
