Reproduce “SVD-Surgeon: Optimal Singular-Value Surgery for Large Language Model Compression” 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

Mahmoud Safari, Frank Hutter

SVD-Surgeon applies the Optimal Brain Surgeon framework directly to the singular values of Large Language Model weight matrices, deriving a closed-form, training-free update for retained singular values. This approach consistently improves the perplexity-compression trade-off for various LLMs, achieving substantial performance gains, especially under aggressive compression, without requiring post-training fine-tuning.

Key insights

  • The Optimal Brain Surgeon framework can be successfully applied to the singular-value basis of weight matrices, enabling second-order compensation in low-rank approximations.
  • By focusing compensation on singular values while keeping singular directions fixed, the complex fourth-order Hessian in weight space can be reduced to a tractable $\ell \times \ell$ matrix.
  • Significant performance recovery after aggressive SVD compression is primarily achieved by optimally adjusting the *retained* singular values, rather than solely by improving the initial selection of which singular values to prune.

Summary by alphaXiv.

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