arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.18784cs.LG
收藏

CAGE: 曲率感知梯度估计用于精确的量化感知训练

CAGE: Curvature-Aware Gradient Estimation For Accurate Quantization-Aware Training

Anonymous Authors(匿名作者)

Soroush Tabesh, Mher Safaryan, Andrei Panferov, Alexandra Volkova, Dan Alistarh

AI总结:

提出CAGE方法,通过曲率感知校正项改进直通估计器,平衡损失最小化与量化约束,在平滑非凸设置下提供收敛保证,显著提升低比特量化感知训练的精度。

摘要:

尽管在低比特量化感知训练(QAT)方面已有大量工作,但这些技术与原生训练之间仍存在精度差距。为解决这一问题,我们引入了CAGE(曲率感知梯度估计),一种新的QAT方法,它用曲率感知校正项增强直通估计器(STE)梯度,旨在抵消量化引起的损失增加。CAGE源自QAT的多目标视角,平衡损失最小化与量化约束,产生一个依赖于局部曲率信息的原理性校正项。在理论方面,我们引入了量化优化的帕累托最优解概念,并证明CAGE在平滑非凸设置下具有强收敛保证。在实现方面,我们的方法是优化器无关的,但我们提供了一个利用Adam统计信息的高效实现。在相似计算成本下,CAGE在精度上显著优于先前最先进的方法:对于QAT微调,它将压缩精度损失相对于先前最佳方法减半;而对于Llama模型的QAT预训练,其在3比特权重和激活(W3A3)下的精度与先前最佳方法在4比特(W4A4)下达到的精度相当。官方实现可在以下链接找到:https://github.com/IST-DASLab/CAGE。

英文摘要:

Despite significant work on low-bit quantization-aware training (QAT), there is still an accuracy gap between such techniques and native training. To address this, we introduce CAGE (Curvature-Aware Gradient Estimation), a new QAT method that augments the straight-through estimator (STE) gradient with a curvature-aware correction designed to counteract the loss increase induced by quantization. CAGE is derived from a multi-objective view of QAT that balances loss minimization with the quantization constraints, yielding a principled correction term that depends on local curvature information. On the theoretical side, we introduce the notion of Pareto-optimal solutions for quantized optimization, and establish that CAGE yields strong convergence guarantees in the smooth non-convex setting. In terms of implementation, our approach is optimizer-agnostic, but we provide a highly-efficient implementation that leverages Adam statistics. CAGE significantly improves upon the prior state-of-the-art methods in terms of accuracy, for similar computational cost: for QAT fine-tuning, it halves the compression accuracy loss relative to the prior best method, while for QAT pre-training of Llama models, its accuracy for 3-bit weights-and-activations (W3A3) matches the accuracy achieved at 4-bits (W4A4) with the prior best method. The official implementation can be found over https://github.com/IST-DASLab/CAGE .

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

↑