ACL Findings2021
EBERT: Efficient BERT Inference with Dynamic Structured Pruning
摘要
Pruning has been demonstrated as an effective way of reducing computational complexity for deep networks, especially CNNs for computer vision tasks. In this paper, we investigate the opportunity to accelerate the inference of large-scale pre-trained language model via pruning. We propose EBERT, a dynamic structured pruning algorithm for efficient BERT inference. Unlike previous methods that randomly prune the model weights for static inference, EBERT dynamically determines and prunes the unimportant heads in multi-head self-attention layers and the unimportant structured computations in feed-forward network for each input sample at run-time. Experimental results show that our proposed EBERT outperforms other state-of-the-art methods on different tasks.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Learned Token Pruning for Transformers 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
- Learned Token Pruning for Transformers 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- Accurate Retraining-free Pruning for Pretrained Encoder-based Language Models 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
- Accurate Retraining-free Pruning for Pretrained Encoder-based Language Models 引用了 A Fast Post-Training Pruning Framework for Transformers
- Accurate Retraining-free Pruning for Pretrained Encoder-based Language Models 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- Accurate Retraining-free Pruning for Pretrained Encoder-based Language Models 引用了 Language Models are Few-Shot Learners
- Accurate Retraining-free Pruning for Pretrained Encoder-based Language Models 引用了 LLM-Pruner: On the Structural Pruning of Large Language Models
- BERT Loses Patience: Fast and Robust Inference with Early Exit 引用了 Language Models are Few-Shot Learners
- The Need for Speed: Pruning Transformers with One Recipe 引用了 A Fast Post-Training Pruning Framework for Transformers
- The Need for Speed: Pruning Transformers with One Recipe 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- The Need for Speed: Pruning Transformers with One Recipe 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- The Need for Speed: Pruning Transformers with One Recipe 引用了 LLM-Pruner: On the Structural Pruning of Large Language Models
- A Fast Post-Training Pruning Framework for Transformers 引用了 BERT Loses Patience: Fast and Robust Inference with Early Exit
- A Fast Post-Training Pruning Framework for Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- A Fast Post-Training Pruning Framework for Transformers 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- A Fast Post-Training Pruning Framework for Transformers 引用了 Language Models are Few-Shot Learners
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 Language Models are Few-Shot Learners
- Movement Pruning: Adaptive Sparsity by Fine-Tuning 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
- Movement Pruning: Adaptive Sparsity by Fine-Tuning 引用了 Language Models are Few-Shot Learners
- LLM-Pruner: On the Structural Pruning of Large Language Models 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
- LLM-Pruner: On the Structural Pruning of Large Language Models 引用了 A Fast Post-Training Pruning Framework for Transformers
- LLM-Pruner: On the Structural Pruning of Large Language Models 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper9
- LLM-Pruner: On the Structural Pruning of Large Language ModelsXinyin Ma, Gongfan Fang, Xinchao WangNeurIPS 2023 · 994 次引用
- 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 次引用
- The Need for Speed: Pruning Transformers with One RecipeSamir Khaki, Konstantinos N. PlataniotisICLR 2024 · 17 次引用
- Accurate Retraining-free Pruning for Pretrained Encoder-based Language ModelsSeungcheol Park, Hojun Choi, U KangICLR 2024 · 14 次引用
它引用的 Paper9
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang 等EMNLP Findings 2020 · 1,787 次引用
- Movement Pruning: Adaptive Sparsity by Fine-TuningVictor Sanh, Thomas Wolf, Alexander M. RushNeurIPS 2020 · 656 次引用
- BERT Loses Patience: Fast and Robust Inference with Early ExitWangchunshu Zhou, Canwen Xu, Tao Ge, Julian J. McAuley 等NeurIPS 2020 · 473 次引用
相关 Paper
- EarlyBERT: Efficient BERT Training via Early-bird Lottery TicketsXiaohan Chen, Yu Cheng, Shuohang Wang, Zhe Gan 等ACL 2021
- DynaBERT: Dynamic BERT with Adaptive Width and DepthLu Hou, Zhiqi Huang, Lifeng Shang, Xin Jiang 等NeurIPS 2020 · 401 次引用
- COST-EFF: Collaborative Optimization of Spatial and Temporal Efficiency with Slenderized Multi-exit Language ModelsBowen Shen, Zheng Lin, Yuanxin Liu, Zhengxiao Liu 等EMNLP 2022 · 3 次引用
- FastBERT: a Self-distilling BERT with Adaptive Inference TimeWeijie Liu, Peng Zhou, Zhiruo Wang, Zhe Zhao 等ACL 2020 · 257 次引用
- PDP: Parameter-free Differentiable Pruning is All You NeedMinsik Cho, Saurabh Adya, Devang NaikNeurIPS 2023 · 24 次引用
