Pruning Pre-trained Language Models with Principled Importance and Self-regularization

Siyu Ren, Kenny Q. Zhu
5/21/2023
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Iterative pruning is one of the most effective compression methods for pre-trained language models. We discovered that finding the optimal pruning decision is an equality-constrained 0-1 Integer Linear Programming problem. The solution to this optimization problem leads to a principled importance criterion which we use to rank parameters during iterative model pruning. To mitigate the poor generalization at high sparsity levels, we propose a self-regularization scheme where model prediction is regularized by the latest checkpoint with increasing sparsity throughout pruning. Our experiments on natural language understanding, question-answering, named entity recognition, and data-to-text generation with various Transformer-based PLMs show the effectiveness of the approach at various sparsity levels.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{ren2023pruning,
  title  = {Pruning Pre-trained Language Models with Principled Importance and Self-regularization},
  author = {Siyu Ren and Kenny Q. Zhu},
  year   = {2023},
  eprint = {2305.12394},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.12394v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.12394.svg)](https://codeofpaper.com/paper/2305.12394)

Discussion