Search papers, labs, and topics across Lattice.
This paper introduces KronQ, a novel post-training quantization (PTQ) framework that incorporates gradient covariance into the quantization process of large language models (LLMs). By leveraging the Kronecker-factored Hessian approximation, KronQ enhances quantization objectives beyond traditional methods by considering both activation and gradient covariances, leading to improved model performance. The results demonstrate that KronQ significantly outperforms existing methods, achieving a perplexity of 7.93 on LLaMA-3-70B with 2-bit weight-only quantization, while other methods fail to maintain quality.
KronQ achieves a perplexity of 7.93 on LLaMA-3-70B with 2-bit quantization, outperforming existing methods that struggle to maintain quality.
Post-training quantization (PTQ) is a widely adopted technique for compressing large language models (LLMs) without retraining. Existing second-order PTQ methods, including GPTQ, construct quantization objectives exclusively from input activation statistics, effectively assuming that all output channels contribute equally to the layer-wise reconstruction objective. We propose KronQ, a PTQ framework that challenges this assumption by introducing the gradient covariance into the quantization pipeline. Under the Kronecker-factored Hessian approximation, the quantization loss depends jointly on both the activation and gradient covariances, and KronQ exploits this at two complementary levels. (1) KronQ introduces bidirectional incoherence processing, extending the existing input-side random rotation to the output dimension using the gradient covariance, reducing weight magnitude variance across both input and output dimensions. (2) KronQ derives a new sensitivity metric for inter-layer mixed-precision allocation, driven by the gradient and activation Hessian traces. Notably, in the case of 2-bit weight-only quantization on LLaMA-3-70B, while GPTQ and GPTAQ diverge or produce degenerate quantizations (>2000 perplexity on WikiText-2), KronQ achieves 7.93 perplexity.