PLoQ: A Prompt-Specific Low-Rank Basis for 4-bit Quantization of LLM Activations
Faraz Tahmasebi, Michael Pellauer, Hyoukjun Kwon, Sitao Huang
Abstract
Low-bit activation quantization of large language models remains challenging, as a small number of dominant directions dictate the quantization range. State-of-the-art methods isolate these directions in a high-precision subspace through transformations calibrated offline and folded into the weights, which fixes the subspace for all prompts, leaving each prompt's few unique directions unprotected, and rules it out wherever no weight can absorb the transformation. We present PLoQ, a prompt-adaptive low-rank decomposition that extracts the dominant activation components before quantization, quantizes them separately, and restores them within the layer's GEMM, without modifying the weights. The low-rank component's basis is estimated from each prompt during prefill and reused throughout decoding. At the same bit width as state-of-the-art mixed-precision quantization (4-bit weights, activations and K/V cache with an eighth of the channels at 8 bits, about 4.2 bits per activation on average), PLoQ outperforms it on all six Llama and Qwen models from 1B to 70B parameters, at up to 8k tokens (16k on two of them), recovering up to 46% of the perplexity that the state of the art still loses to 4-bit activations. On Llama-3.1-8B at 8k tokens it adds only 4% to prefill and 8% to decoding.
Create a lesson
Related papers
Complete-SVD: A Functional Norm Approach to Low-Rank LLM Compression
Shared title terminology · Alper Kalle, Theo Rudkiewicz, Mohamed-Oumar Ouerfelli et al.
Composable Soft-Prompt Distillation of RL Experts: Toward Continual Post-Training
Shared title terminology · Zhen Zhang, Changyi Yang, Xuehai He et al.
CreditFilter: Calibrated Token Weights over the Within-Response Entropy Rank for RLVR
Shared title terminology · Hanqing Zhao, Liuyue Xie, Rong-Cheng Tu et al.
The Vulnerability Window: Decision Instability in Quantized Reward Models
Shared title terminology · Omkar Shewale, Deepak Kumar, Divakar Kumar Yadav
Auditing and Adapting kNNGuard for Long-Context Prompts
Shared title terminology · Niccolò Ronchetti
Active Feature Acquisition by Distilling an Oracle Teacher
Shared title terminology · Yang Meng, Zixin Ding, Robert L. Grossman et al.