Pruning Large Language Models via Accuracy Predictor

Yupeng Ji, Yibo Cao, Jiucai Liu
9/18/2023
cs.AIcs.CL

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

Abstract

Large language models(LLMs) containing tens of billions of parameters (or even more) have demonstrated impressive capabilities in various NLP tasks. However, substantial model size poses challenges to training, inference, and deployment so that it is necessary to compress the model. At present, most model compression for LLMs requires manual design of pruning features, which has problems such as complex optimization pipeline and difficulty in retaining the capabilities of certain parts of the model.Therefore, we propose a novel pruning approach: firstly, a training set of a certain number of architecture-accuracy pairs is established, and then a non-neural model is trained as an accuracy predictor. Using the accuracy predictor to further optimize the search space and search, the optimal model can be automatically selected. Experiments show that our proposed approach is effective and efficient. Compared with the baseline, the perplexity(PPL) on Wikitext2 and PTB dropped by 9.48% and 5,76% respectively, and the average accuracy of MMLU increased by 6.28%.

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. 5 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{ji2023pruning,
  title  = {Pruning Large Language Models via Accuracy Predictor},
  author = {Yupeng Ji and Yibo Cao and Jiucai Liu},
  year   = {2023},
  eprint = {2309.09507},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.09507v2}
}

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

Discussion