ERC-SVD: Error-Controlled SVD for Large Language Model Compression

Haolei Bai, Siyong Jian, Tuo Liang, Yu Yin, Huan Wang

TL;DR

This paper introduces ERC-SVD, a novel post-training compression technique for Large Language Models (LLMs) that significantly reduces model size while preserving performance. By intelligently handling the "residual" information left after standard compression and selectively compressing only the latter layers of the model, ERC-SVD mitigates error propagation and achieves superior results compared to existing methods.

What Problem Does This Paper Address?

Large Language Models (LLMs) are incredibly powerful but also massive, making them difficult and expensive to deploy. This size issue stems from the billions of parameters they contain. While Singular Value Decomposition (SVD) is a promising technique for compressing these models by approximating large matrices with smaller, low-rank ones, current SVD-based methods have two main drawbacks:

  1. Truncation Loss: When SVD approximates a matrix, it discards some information (singular values). Existing methods ignore the "residual" matrix (the part that was discarded), leading to a loss of accuracy.
  2. Error Propagation: LLMs are composed of many layers. If errors are introduced early in the model's processing (due to compression), these errors can compound as they pass through subsequent layers, severely degrading performance. Compressing every layer uniformly exacerbates this problem.

Methods

ERC-SVD tackles these issues with two core innovations:

  • Residual Compensation for SVD Truncation: Instead of just discarding the residual matrix after an initial SVD truncation, ERC-SVD applies a second SVD to this residual matrix. The results from both SVD operations are then combined to reconstruct a more accurate low-rank approximation of the original weight matrix. This effectively "compensates" for the information lost in the first truncation.
  • Partial-layer Compression: Rather than compressing all layers of the LLM, ERC-SVD selectively compresses only the last few layers. This strategy is based on the observation that errors introduced in earlier layers propagate more severely. By keeping the initial layers intact and error-free, the model's overall performance is better preserved, even when the later layers are compressed more aggressively. The paper details a method to find the optimal number of layers to compress to minimize final-layer error.

Datasets

The paper evaluates ERC-SVD on a variety of datasets for different tasks:

  • Language Modeling: WikiText-2, PTB (Penn Treebank), and C4 (Colossal Clean Crawled Corpus).
  • Zero-shot Reasoning and Understanding: Seven tasks from the LM-Evaluation-Harness framework, including OpenbookQA, WinoGrande, HellaSwag, PIQA, MathQA, ARC_e, and ARC_c.
  • Vision-Language Models (VLMs): POPE, TextVQA, and ScienceQA.

Key Insights and Ideas

  • The Residual Matters: The "discarded" information from SVD truncation isn't just noise; it contains valuable data that can be leveraged to improve compression accuracy. A second SVD on the residual is a principled way to recover this information.
  • Layer Order is Crucial: The sequential nature of neural networks means errors don't just stay put. Compressing later layers is a more effective strategy for maintaining overall model integrity than compressing all layers uniformly.
  • Error Propagation is a Major Bottleneck: The paper visually demonstrates how errors cascade through layers, highlighting why selective compression is so important.
  • ERC-SVD is Generalizable: The method shows strong performance across diverse LLM families (LLaMA, OPT, Mistral, Vicuna, Qwen) and even extends to vision-language models.

Key Results

  • Superior Performance: ERC-SVD consistently outperforms existing SVD-based compression methods (like ASVD, SVD-LLM, Basis Sharing, AdaSVD) across various LLMs and datasets, often achieving better accuracy with the same compression ratio.
  • Significant Compression: The method achieves competitive performance even at high compression ratios (e.g., 60%). For instance, on LLaMA-2-7B, ERC-SVD achieves better zero-shot accuracy than SVD-LLM at 60% compression.
  • Reduced Layer-wise Error: The partial-layer compression strategy significantly reduces layer-wise error and mitigates error propagation, as visualized in the paper's figures.
  • Efficiency Gains: While not the primary focus, the paper notes that compressed models deliver faster inference, with speedup growing with batch size.
  • VLM Effectiveness: For vision-language models like LLaVA-1.5-7B, ERC-SVD not only maintains performance but in some cases surpasses the original model on benchmarks like POPE.

Limitations and Future Work

  • Hyperparameter Tuning: The residual compensation factor ($\beta$) is a hyperparameter, though the paper shows it's robust to variations.
  • Computational Cost: While the inference cost is reduced, the compression process itself still involves SVD computations, which can be resource-intensive.
  • Future Directions: The authors suggest exploring ERC-SVD for reasoning LLMs and diffusion frameworks, where low-rank structures are also prevalent. They also propose investigating the intersection of model compression and hallucination mitigation, hypothesizing that low-rank approximations might help filter out noise contributing to factual inaccuracies.

Summary updated

BibTeX
@inproceedings{bai2026erc,
  author = {Haolei Bai and Siyong Jian and Tuo Liang and Yu Yin and Huan Wang},
  title = {{ERC-SVD: Error-Controlled SVD for Large Language Model Compression}},
  booktitle = {CPAL (Proceedings Track)},
  year = {2026},
  url = {https://openreview.net/forum?id=UB7HrKXWXF},
}
Figure