Preserve-Then-Quantize: Balancing Rank Budgets for Quantization Error Reconstruction in LLMs
Yoonjun Cho, Dongjae Jeon, Soeun Kim, Moongyu Jeon, Albert No
TL;DR
Preserve-Then-Quantize introduces Structured Residual Reconstruction (SRR), a principled rank-allocation framework that splits the quantization-rank budget between preserving the dominant activation-scales of weights and reconstructing the remaining quantization error. By selecting an optimal split $k^*$ using a theory-guided surrogate that combines the spectral energy of $S\mathbf{W}$ with a random error proxy, SRR achieves a more faithful $\textbf{W} \approx \textbf{Q}+\textbf{L}\textbf{R}$ representation under low-bit post-training quantization. The framework extends naturally to Quantized PEFT (QPEFT), where SRR initializes a two-component adapter and applies gradient scaling on preserved directions to stabilize fine-tuning, yielding consistent gains across PTQ and QPEFT benchmarks. Empirical results show SRR delivering substantial perplexity reductions and improved zero-shot GLUE performance in PTQ, along with 5.9 percentage-point average gains in GLUE under 2-bit QPEFT, demonstrating robust, quantization-aware improvements across model families and quantizers. Overall, SRR provides a robust, scalable approach to leverage low-rank corrections by intelligently balancing structure preservation with error reconstruction.
Abstract
Quantization Error Reconstruction (QER) reduces accuracy loss in Post-Training Quantization (PTQ) by approximating weights as $\mathbf{W} \approx \mathbf{Q} + \mathbf{L}\mathbf{R}$, using a rank-$r$ correction to reconstruct quantization error. Prior methods devote the full rank budget to error reconstruction, which is suboptimal when $\mathbf{W}$ has intrinsic low-rank structure and quantization corrupts dominant directions. We propose Structured Residual Reconstruction (SRR), a rank-allocation framework that preserves the top-$k$ singular subspace of the activation-scaled weight before quantization, quantizes only the residual, and uses the remaining rank $r-k$ for error reconstruction. We derive a theory-guided criterion for selecting $k$ by balancing quantization-exposed energy and unrecoverable error under rank constraints. We further show that resulting $\mathbf{Q} + \mathbf{L}\mathbf{R}$ parameterization naturally supports Quantized Parameter-Efficient Fine-Tuning (QPEFT), and stabilizes fine-tuning via gradient scaling along preserved directions. Experiments demonstrate consistent perplexity reductions across diverse models and quantization settings in PTQ, along with a 5.9 percentage-point average gain on GLUE under 2-bit QPEFT.
