HESTIA: A Hessian-Guided Differentiable Quantization-Aware Training Framework for Extremely Low-Bit LLMs
Abstract
Quantization-aware training (QAT) is a key approach for adapting large language models (LLMs) to extremely low-bit weights, where post-training quantization often suffers severe accuracy loss. However, most extremely low-bit QAT methods rely on the straight-through estimator (STE), which keeps hard round-and-clip weights in the forward pass while using an identity surrogate in the backward pass, creating a mismatch between discrete forward states and continuous latent-weight updates. As a result, small updates may fail to cross quantization boundaries, causing dead-zone stagnation in sub-optimal discrete states. To address this problem, we propose HESTIA, an operator-faithful differentiable QAT framework for extremely low-bit LLMs based on soft-to-hard continuation. Instead of repairing the gradient of a hard quantizer, HESTIA relaxes the quantizer itself as a temperature-controlled Softmax expectation over the same discrete codebook. With detached group scales, the relaxation provides forward-backward consistent gradients during training and uses the target hard quantizer at the endpoint for inference. To stabilize this soft-to-hard transition, HESTIA further uses offline Hessian traces as lightweight tensor-wise sensitivity signals for adaptive temperature scheduling. Experiments on Llama-3.2 show that HESTIA improves average zero-shot accuracy by 5.39% and 4.34% relative to reported Tequila results on 1B and 3B models, with about 2.5% and 2.9% training-time overhead, respectively, including about 0.2% for calibration, and no additional inference-time operations. Example code is available at https://github.com/PKU-LLM-DS-LAB/Hestia.