SVD-LLM V2: Optimizing Singular Value Truncation for Large Language Model Compression
Xin Wang, Samiul Alam, Zhongwei Wan, Hui Shen, Mi Zhang
TL;DR
SVD-LLMV2 tackles practical post-training compression of large language models by addressing two bottlenecks in prior SVD-based methods: layer-wise redundancy heterogeneity and unstable Cholesky-based truncation. It introduces heterogeneous compression ratio allocation guided by the theoretical minimum truncation loss $L_{min}$ and a loss-optimized two-round SVD truncation that achieves the same minimum loss without Cholesky instability. Empirically, SVD-LLMV2 consistently surpasses state-of-the-art SVD-based baselines across ten datasets and five LLMs, delivering notable perplexity reductions and accuracy gains, along with up to $2.71\times$ speedups on real hardware. The approach also demonstrates favorable comparisons with structured pruning and quantization, and can further improve performance when combined with quantization techniques, highlighting its practical impact for efficient, post-training LLM deployment.
Abstract
Despite significant advancements, the practical deployment of Large Language Models (LLMs) is often hampered by their immense sizes, highlighting the need for effective compression techniques. Singular Value Decomposition (SVD) is a promising LLM compression technique. However, existing SVD-based compression methods fall short in reducing truncation losses, leading to less competitive performance in compressed models. In this work, we introduce SVD-LLM V2, a SVD-based LLM compression method that optimizes singular value truncation in SVD compression with two techniques. First, SVD-LLM V2 proposes to use theoretical truncation loss of weight matrices to assign a unique compression ratio to each weight matrix at different layers to accommodate weight redundancy heterogeneity. Second, SVD-LLM V2 proposes loss-optimized weight truncation to ensure that the truncated singular values result in a lower and more stable truncation loss in practice. We evaluate SVD-LLM V2 on ten datasets and five LLMs at various scales. Our results show SVD-LLM V2 outperforms state-of-the-art SVD-based LLM compression methods. Our code is available at https://github.com/AIoT-MLSys-Lab/SVD-LLM
