Lune

EMNLP2021顶会

Block Pruning For Faster Transformers

François Lagunas, Ella Charlaix, Victor Sanh, Alexander M. Rush

摘要

Pre-training has improved model accuracy for both classification and generation tasks at the cost of introducing much larger and slower models. Pruning methods have proven to be an effective way of reducing model size, whereas distillation methods are proven for speeding up inference. We introduce a block pruning approach targeting both small and fast models. Our approach extends structured methods by considering blocks of any size and integrates this structure into the movement pruning paradigm for fine-tuning. We find that this approach learns to prune out full components of the underlying model, such as attention heads. Experiments consider classification and generation tasks, yielding among other results a pruned model that is a 2.4x faster, 74% smaller BERT on SQuAD v1, with a 1% drop on F1, competitive both with distilled models in speed and pruned models in size.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 73 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • 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
  • Structured Pruning Learns Compact and Accurate Models 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
  • Structured Pruning Learns Compact and Accurate Models 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
  • Structured Pruning Learns Compact and Accurate Models 引用了 Reducing Transformer Depth on Demand with Structured Dropout
  • Structured Pruning Learns Compact and Accurate Models 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
  • A Fast Post-Training Pruning Framework for Transformers 引用了 Structured Pruning Learns Compact and Accurate Models
  • A Fast Post-Training Pruning Framework for Transformers 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
  • 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
  • Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
  • Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning 引用了 Structured Pruning Learns Compact and Accurate Models
  • Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
  • Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
  • DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scale 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper73

  1. DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI ScaleSamyam Rajbhandari, Conglong Li, Zhewei Yao, Minjia Zhang 等ICML 2022 · 523 次引用
  2. MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse AttentionHuiqiang Jiang, Yucheng Li, Chengruidong Zhang, Qianhui Wu 等NeurIPS 2024 · 479 次引用
  3. Sheared LLaMA: Accelerating Language Model Pre-training via Structured PruningMengzhou Xia, Tianyu Gao, Zhiyuan Zeng, Danqi ChenICLR 2024 · 453 次引用
  4. A Fast Post-Training Pruning Framework for TransformersWoosuk Kwon, Sehoon Kim, Michael W. Mahoney, Joseph Hassoun 等NeurIPS 2022 · 247 次引用
  5. Structured Pruning Learns Compact and Accurate ModelsMengzhou Xia, Zexuan Zhong, Danqi ChenACL 2022 · 236 次引用

它引用的 Paper8

  1. TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang 等EMNLP Findings 2020 · 1,787 次引用
  2. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad 等ACL 2020 · 1,224 次引用
  3. Reducing Transformer Depth on Demand with Structured DropoutAngela Fan, Edouard Grave, Armand JoulinICLR 2020 · 695 次引用
  4. MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited DevicesZhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu 等ACL 2020 · 660 次引用
  5. Movement Pruning: Adaptive Sparsity by Fine-TuningVictor Sanh, Thomas Wolf, Alexander M. RushNeurIPS 2020 · 656 次引用

相关 Paper

  1. Gradient-based Intra-attention Pruning on Pre-trained Language ModelsZiqing Yang, Yiming Cui, Xin Yao, Shijin WangACL 2023 · 2 次引用
  2. Blockwise Self-Attention for Long Document UnderstandingJiezhong Qiu, Hao Ma, Omer Levy, Wen-tau Yih 等EMNLP Findings 2020 · 165 次引用
  3. EfficientBERT: Progressively Searching Multilayer Perceptron via Warm-up Knowledge DistillationChenhe Dong, Guangrun Wang, Hang Xu, Jiefeng Peng 等EMNLP Findings 2021 · 20 次引用
  4. Constraint-aware and Ranking-distilled Token Pruning for Efficient Transformer InferenceJunyan Li, Li Lyna Zhang, Jiahang Xu, Yujing Wang 等KDD 2023 · 12 次引用
  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 次引用
黄昏的海面,两侧是细线勾勒的悬崖