Zero Sum SVD: Balancing Loss Sensitivity for Low Rank LLM Compression
Ali Abbasi, Chayne Thrash, Haoran Qin, Shansita Sharma, Sepehr Seifi, Soheil Kolouri
TL;DR
Zero Sum SVD introduces a post-training SVD-based compression for LLMs that selects singular components across layers under a global loss-budget using activation whitening and first-order calibration loss estimates. A zero-sum greedy rule preserves the cumulative predicted loss drift near zero, automatically yielding heterogeneous per-layer ranks without expensive rank-allocation optimization; an optional projected-gradient correction further boosts performance while keeping the rank low. The method demonstrates consistent perplexity and accuracy gains across diverse model sizes and benchmarks, with additional practical benefits in inference throughput and memory efficiency. Its hardware-agnostic, post-training nature makes it attractive for deploying capable LLMs on resource-constrained devices while maintaining accuracy and speed.
Abstract
Advances in large language models have driven strong performance across many tasks, but their memory and compute costs still hinder deployment. SVD-based compression reduces storage and can speed up inference via low-rank factors, yet performance depends on how rank is allocated under a global compression ratio. Prior methods often use homogeneous ranks for similarly sized matrices, despite large differences in loss sensitivity, or rely on expensive iterative pre-truncation optimization to determine per matrix ranks. We propose \textbf{Zero Sum SVD} (\textbf{ZS-SVD}), a post-training method that performs \emph{global} singular component selection using activation whitening and first-order calibration loss estimates in whitened coordinates. \textbf{ZS-SVD} prunes components across the whole model with a \textbf{zero sum} rule that keeps the cumulative predicted loss change near zero, automatically yielding heterogeneous ranks without solving a rank allocation optimization. Motivated by evidence that gradients near pretrained solutions exhibit low rank structure, we also introduce an optional lightweight correction that applies a \textbf{single} projected gradient update after truncation, followed by re-truncation. Extensive experiments across multiple LLM architectures show consistent gains across diverse benchmarks and compression ratios. Code is available at https://github.com/mint-vu/Zero-Sum-SVD
