Structured Pruning of Large Language Models

By Ziheng Wang, Jeremy Wohlwend, Tao Lei. Conference on Empirical Methods in Natural Language Processing, 2019

354 citations recorded by the source corpus.

Large language models have recently achieved state of the art performance across a wide variety of natural language tasks. Meanwhile, the size of these models and their latency have significantly increased, which makes their usage costly, and raises an interesting question: do language models need to be large? We study this question through the lens of model compression. We present a novel, structured pruning approach based on low rank factorization and augmented Lagrangian L0 norm regularization. Our structured approach achieves significant inference speedups while matching or outperforming our unstructured pruning baseline at various sparsity levels. We apply our method to state of the art models on the enwiki8 dataset and obtain a 1.19 perplexity score with just 5M parameters, vastly outperforming a model of the same size trained from scratch. We also demonstrate that our method can be applied to language model fine-tuning by pruning the BERT model on several downstream classification benchmarks.

Subfields: Artificial Intelligence

View Paper: https://www.semanticscholar.org/paper/83b8108014e3db4f46354a28ae68193f143c4e7e

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Kurt Keutzer
  2. Michael W. Mahoney
  3. A. Gholami
  4. Zi-Mei Yao
  5. Dacheng Tao
  6. Percy Liang
  7. Luke S. Zettlemoyer
  8. Mohit Bansal

Citations in the corpus