Lune

EMNLP Findings2020

Pruning Redundant Mappings in Transformer Models via Spectral-Normalized Identity Prior

Zi Lin, Jeremiah Z. Liu, Zi Yang, Nan Hua, Dan Roth

摘要

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 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 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

  1. A Fast Post-Training Pruning Framework for TransformersWoosuk Kwon, Sehoon Kim, Michael W. Mahoney, Joseph Hassoun 等NeurIPS 2022 · 247 次引用
  2. Learned Token Pruning for TransformersSehoon Kim, Sheng Shen, David Thorsley, Amir Gholami 等KDD 2022 · 97 次引用
  3. A Survey on Model Compression and Acceleration for Pretrained Language ModelsCanwen Xu, Julian J. McAuleyAAAI 2023 · 96 次引用
  4. Vision Transformer Slimming: Multi-Dimension Searching in Continuous Optimization SpaceArnav Chavan, Zhiqiang Shen, Zhuang Liu, Zechun Liu 等CVPR 2022 · 64 次引用
  5. Gradient-Free Structured Pruning with Unlabeled DataAzade Nova, Hanjun Dai, Dale SchuurmansICML 2023 · 38 次引用

它引用的 Paper7

  1. TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang 等EMNLP Findings 2020 · 1,787 次引用
  2. Reducing Transformer Depth on Demand with Structured DropoutAngela Fan, Edouard Grave, Armand JoulinICLR 2020 · 695 次引用
  3. MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited DevicesZhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu 等ACL 2020 · 660 次引用
  4. Movement Pruning: Adaptive Sparsity by Fine-TuningVictor Sanh, Thomas Wolf, Alexander M. RushNeurIPS 2020 · 656 次引用
  5. Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTSheng Shen, Zhen Dong, Jiayu Ye, Linjian Ma 等AAAI 2020 · 656 次引用

相关 Paper

  1. When BERT Plays the Lottery, All Tickets Are WinningSai Prasanna, Anna Rogers, Anna RumshiskyEMNLP 2020 · 114 次引用
  2. Constraint-aware and Ranking-distilled Token Pruning for Efficient Transformer InferenceJunyan Li, Li Lyna Zhang, Jiahang Xu, Yujing Wang 等KDD 2023 · 12 次引用
  3. Pruning Large Language Models to Intra-module Low-rank Architecture with Transitional ActivationsBowen Shen, Zheng Lin, Daren Zha, Wei Liu 等ACL Findings 2024 · 3 次引用
  4. Two-Stage Regularization-Based Structured Pruning for LLMsMingkuan Feng, Jinyang Wu, Siyuan Liu, Shuai Zhang 等ACL 2026 · 3 次引用
  5. Efficient Transformer-based Large Scale Language Representations using Hardware-friendly Block Structured PruningBingbing Li, Zhenglun Kong, Tianyun Zhang, Ji Li 等EMNLP Findings 2020 · 39 次引用
黄昏的海面,两侧是细线勾勒的悬崖