Low-Rank Prune-And-Factorize for Language Model Compression

Siyu Ren, Kenny Q. Zhu
6/25/2023
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

The components underpinning PLMs -- large weight matrices -- were shown to bear considerable redundancy. Matrix factorization, a well-established technique from matrix theory, has been utilized to reduce the number of parameters in PLM. However, it fails to retain satisfactory performance under moderate to high compression rate. In this paper, we identify the \textit{full-rankness} of fine-tuned PLM as the fundamental bottleneck for the failure of matrix factorization and explore the use of network pruning to extract low-rank sparsity pattern desirable to matrix factorization. We find such low-rank sparsity pattern exclusively exists in models generated by first-order pruning, which motivates us to unite the two approaches and achieve more effective model compression. We further propose two techniques: sparsity-aware SVD and mixed-rank fine-tuning, which improve the initialization and training of the compression procedure, respectively. Experiments on GLUE and question-answering tasks show that the proposed method has superior compression-performance trade-off compared to existing approaches.

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. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

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

Similar Papers

Cite this paper

@article{ren2023lowrank,
  title  = {Low-Rank Prune-And-Factorize for Language Model Compression},
  author = {Siyu Ren and Kenny Q. Zhu},
  year   = {2023},
  eprint = {2306.14152},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.14152v1}
}

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/2306.14152.svg)](https://codeofpaper.com/paper/2306.14152)

Discussion