Lune

ACL2024Top-tier venue

WRP: Weight Recover Prune for Structured Sparsity

Zhendong Tan, Xingjun Zhang, Zheng Wei

2024Year
1Top-tier citations

Abstract

As the scale of Large Language Models (LLMs) increases, it is necessary to compress the models to reduce the substantial demand on computational resources.Network pruning significantly reduces the model size by converting the weight matrix from dense to sparse data format.Current methodologies advocate for one-shot pruning to avoid the expense of retraining, ensuring the maintenance of model performance under conditions of 50%-60% unstructured pruning.Nevertheless, matrices characterized by this level of sparsity could not be treated as sparse matrices, because the indices would incur significant costs.To mitigate this problem, NVIDIA introduced the 2:4 structured sparsity.However, we observe a notable decline in model performance when adopting 2:4 structured sparsity due to group constraints.In this paper, we introduce the Weight Recover Prune (WRP) approach.By recovering a minimal set of critical weights, WRP aims to enhance model performance while maintaining the efficiency of the compression.Our evaluation of the WRP method on the LLAMA2 and OPT models shows that it outperforms other 2:4 pattern one-shot pruning methods.Meanwhile, WRP can guarantee that the size of the pruned model is about 60% of the dense model.Our code is available at

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext e6d85cde-5bea-40c4-80cb-9c55a33d095e

Cited by top-tier papers1

Ask how each one uses it

Builds on5

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines