arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.20745cs.LGcs.AI
收藏

HESTIA: 一种基于Hessian的可微量化感知训练框架用于极低比特LLMs

HESTIA: A Hessian-Guided Differentiable Quantization-Aware Training Framework for Extremely Low-Bit LLMs

School of Software and Microelectronics, Peking University, Beijing, China(软件与微电子学院,北京大学,北京,中国);School of Computer Science, Peking University, Beijing, China(计算机科学学院,北京大学,北京,中国)

Guoan Wang, Feiyu Wang, Zongwei Lv, Yikun Zong, Tong Yang

AI总结:

HESTIA通过Hessian引导的可微量化感知训练框架,实现极低比特LLMs的高效训练,提升模型性能。

摘要:

随着大型语言模型(LLMs)的持续扩展,部署日益受到内存瓶颈的限制,推动了向极低比特量化转变的趋势。然而,大多数量化感知训练(QAT)方法从训练开始就应用硬舍入和直通估计器(STE),这会过早地离散化优化景观,并在潜在权重和量化权重之间引起持续的梯度不匹配,阻碍了量化模型的有效优化。为此,我们提出了HESTIA,一种针对极低比特LLMs的Hessian引导的可微QAT框架,它用温度控制的softmax放松取代了刚性的步函数,以在训练初期维持梯度流动,同时逐步强化量化。此外,HESTIA利用张量级Hessian迹度量作为轻量级曲率信号,驱动细粒度的温度退火,使模型在敏感性方面实现离散化。在Llama-3.2上的评估表明,HESTIA在现有三进制QAT基线中表现一致,为1B和3B模型分别实现了平均零样本改进5.39%和4.34%。这些结果表明,Hessian引导的放松有效地恢复了表示能力,为1.58比特LLMs建立了更稳健的训练路径。代码可在https://github.com/hestia2026/Hestia获取。

英文摘要:

As large language models (LLMs) continue to scale, deployment is increasingly bottlenecked by the memory wall, motivating a shift toward extremely low-bit quantization. However, most quantization-aware training (QAT) methods apply hard rounding and the straight-through estimator (STE) from the beginning of the training, which prematurely discretizes the optimization landscape and induces persistent gradient mismatch between latent weights and quantized weights, hindering effective optimization of quantized models. To address this, we propose Hestia, a Hessian-guided differentiable QAT framework for extremely low-bit LLMs, which replaces the rigid step function with a temperature-controlled softmax relaxation to maintain gradient flow early in training while progressively hardening quantization. Furthermore, Hestia leverages a tensor-wise Hessian trace metric as a lightweight curvature signal to drive fine-grained temperature annealing, enabling sensitivity-aware discretization across the model. Evaluations on Llama-3.2 show that Hestia consistently outperforms existing ternary QAT baselines, yielding average zero-shot improvements of 5.39% and 4.34% for the 1B and 3B models. These results indicate that Hessian-guided relaxation effectively recovers representational capacity, establishing a more robust training path for 1.58-bit LLMs. The code is available at https://github.com/hestia2026/Hestia.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑