CPSVD: Enhancing Large Language Model Compression via Column-Preserving Singular Value Decomposition
Lin Xv, Jingsheng Gao, Xian Gao, Ting Li, Yuzhuo Fu
TL;DR
The paper tackles inefficiencies in uniform SVD-based compression for large language models by recognizing non-uniform truncation errors across matrix columns. It proposes CPSVD, which preserves high-error columns and applies SVD to the rest, and further allocates layer-wide compression adaptively at the module level based on measured reconstruction errors. Empirical results across multiple models, datasets, and compression rates show CPSVD consistently outperforms state-of-the-art SVD-based methods in perplexity and zero-shot accuracy, with favorable efficiency characteristics. This approach provides a scalable, architecture-agnostic strategy for more effective SVD-based LLM compression and has potential applicability to other column-dependent decomposition methods.
Abstract
The rapid advancement of Large Language Models (LLMs) faces a critical bottleneck in their immense size, necessitating efficient compression techniques. While Singular Value Decomposition (SVD) is a promising approach, existing SVD-based methods treat the entire parameter matrix uniformly, overlooking that SVD approximation errors vary significantly across different matrix parts, which often leads to suboptimal compression. To address this, we propose \textbf{C}olumn-\textbf{P}reserving \textbf{S}ingular \textbf{V}alue \textbf{D}ecomposition (CPSVD), a novel method that refines SVD-based LLM compression by intelligently segmenting the parameter matrix. Unlike traditional SVD, CPSVD identifies and directly preserves matrix columns with high decomposition errors, applying SVD only to columns with low decomposition errors, while precisely determining the optimal balance point between these two strategies to minimize error. Furthermore, leveraging the inherent heterogeneity in decomposition errors across different matrices within an LLM, CPSVD adaptively allocates non-uniform compression rates to modules within that layer, while adhering to a target layer-wise compression ratio, thereby further enhancing compression performance. Extensive experiments demonstrate that CPSVD consistently outperforms state-of-the-art SVD-based LLM compression methods, achieving lower perplexity and higher accuracy on zero-shot tasks.
