Abstract
As Large Language Models (LLMs) scale to hundreds of billions of parameters, their deployment on consumer-grade hardware is hindered by massive memory and computational requirements. Singular Value Decomposition (SVD) offers a training-free path to compression, yet standard applications often suffer from significant performance degradation due to uniform treatment of weight columns and model layers. This paper introduces Duo-SVD (Dual-level Optimization SVD), a framework that addresses these limitations through a Column-Preserving Strategy (CPS) and a Module-Adaptive Allocation Strategy (MAAS). By preserving high-sensitivity "heavy hitter" columns and optimizing layer-wise compression budgets via dynamic programming, Duo-SVD achieves state-of-the-art performance retention, reducing memory usage and latency while maintaining high accuracy across diverse benchmarks.
Introduction
The deployment of Large Language Models (LLMs) is increasingly constrained by their sheer size. While Singular Value Decomposition (SVD) is a popular training-free method for model shrinking, it typically exhibits two major flaws:
- Micro-level Blindness: Standard SVD treats all columns in a weight matrix as equally significant. However, empirical evidence suggests that a small subset of columns—often termed "heavy hitters"—contributes disproportionately to reconstruction error.
- Macro-level Blindness: Conventional methods often apply a uniform compression ratio across all model modules. This ignores the fact that different layers possess varying degrees of sensitivity and redundancy regarding the model's overall reasoning capabilities.
Duo-SVD addresses these issues by optimizing compression at both the column and module levels.
Methodology
The Duo-SVD framework consists of two primary components designed to minimize reconstruction error under a global parameter budget.
Column-Preserving Strategy (CPS)
At the micro level, Duo-SVD employs a hybrid approach. Instead of full low-rank approximation, it identifies the most sensitive columns and maintains them in their original dense format. The remaining columns are then compressed using SVD. To determine the optimal balance between the number of dense columns and the rank of the SVD component, the authors utilize the Cauchy Interlacing Theorem. This theorem helps prove that the error function is unimodal, enabling the use of Ternary Search to efficiently find the optimal configuration.
Module-Adaptive Allocation Strategy (MAAS)
At the macro level, Duo-SVD moves away from heuristic-based layer pruning. It performs sensitivity profiling by individually perturbing modules and measuring the resulting KL Divergence in the model's output distribution. The global parameter budget is then modeled as a Multiple-Choice Knapsack Problem (MCKP). Using Dynamic Programming, the system identifies the specific compression ratio for each layer that minimizes total model deviation while adhering to the target parameter limit.
Key Insights: Structural Heterogeneity
A core motivation for the Column-Preserving Strategy is the observed structural heterogeneity within LLM weight matrices. Visualizing column errors reveals that error distribution is highly non-uniform.
As shown in Figure 6, a few "spiky" columns account for the majority of the error. By preserving these specific columns in a dense path, the quality of the accompanying low-rank path is significantly improved, leading to better overall model fidelity.
Experimental Results
Duo-SVD was evaluated on LLaMA-2 (7B/13B), Mistral-7B, and LLaMA-3.1 (8B) using WikiText-2 for calibration and a variety of zero-shot benchmarks (MMLU, PIQA, ARC, etc.) for evaluation.
- Performance Retention: On LLaMA-2 13B with 20% compression, Duo-SVD maintained an average accuracy of 63.18%, outperforming baselines like SoLA (58.83%) and Bolaco (59.22%).
- Perplexity: Duo-SVD consistently achieved lower perplexity scores across all compression ratios. For LLaMA-2 7B, it reached a perplexity of 5.99, compared to 6.52 for the next best method.
- Hardware Efficiency: Real-world tests on an NVIDIA RTX 3090 demonstrated that a 50% compressed LLaMA-2 7B model achieved a 31% reduction in Time to First Token (TTFT) and a 15% increase in throughput, while reducing memory consumption from 20GB to 14GB.
Conclusion and Future Work
Duo-SVD demonstrates that moving beyond uniform SVD through dual-level optimization significantly enhances LLM compression. The framework also shows strong synergy with quantization; a Duo-SVD compressed model can be further quantized to 4-bits, outperforming standard 3-bit quantized models of equivalent size. Future work includes the development of specialized CUDA kernels to further optimize the hybrid dense/low-rank computation and investigating the impact of compression on model safety and bias.
Summary updated