Reproduce “ROSE: Reordered SparseGPT for More Accurate One-Shot Large Language Models Pruning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Mingluo Su, Huan Wang

A new method named ROSE enhances one-shot pruning accuracy for large language models by adaptively reordering the pruning sequence within the SparseGPT framework. This approach, which prioritizes weights with larger potential errors, consistently reduces perplexity and improves zero-shot task accuracy across various LLaMA and Mistral models without significant computational overhead.

Key insights

  • SparseGPT's fixed left-to-right pruning order is suboptimal, particularly for layers exhibiting 'columnar patterns' where high-magnitude weights are concentrated, leading to higher reconstruction errors.
  • Pruning weights with larger potential errors earlier in the process allows for more effective compensation by a larger pool of remaining parameters, thereby reducing the final reconstruction error.
  • The relative importance of most weights remains largely stable during pruning, enabling effective estimation of potential pruning loss based on initial weight importance for strategic reordering.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.