跳到正文
arXiv (AI + Vision + Imaging)· Kartikeya Bhardwaj, Mohammed Almousa, Chaitanya Mullapudi, Ananth Balasubramanian, Nithin Ramesan, Tuc Nguyen, Harris Teague·· 3 天前AI 评分36

RelaxQAT:通过动态位宽连续松弛改进量化感知训练

A Continuous Relaxation of Quantization-Aware Training

AI 导读

研究者提出 RelaxQAT,将量化感知训练(QAT)中的位宽改为随训练逐步变化,而非突变或固定,以缓解低比特量化的平坦损失面问题。在视觉任务上平均精度最高提升 6.3%,自然语言任务上平均精度最高提升 7.7%,对比对象为领先的 QAT 方法。

正文 · 原文

arXiv:2611.27056v1 Announce Type: new Abstract: Quantization is a critical piece of the deployment pipeline in the era of large generative models. Low-bit quantization, particularly 2-bits or sub-2-bits, is a notoriously difficult problem, particularly when using a channelwise quantization scheme which has been shown as a leading candidate for hardware-efficiency. The key challenges with low-bit quantization range from limited quantization levels to saddle points or flat regions in the loss surface. In this paper, we look at the problem of flat quantization loss surfaces through a lens of dynamically changing bitwidth. Unlike existing techniques which either change the bit-precision abruptly or keep it fixed, we propose to gradually alter the bitwidth as the model trains. To this end, we propose RelaxQAT, a continuous relaxation of the QAT process. We also provide simple theoretical and empirical insights behind why RelaxQAT helps the QAT performance. Our extensive experiments demonstrate up to 6.3% average accuracy gains on vision and up to 7.7% better average accuracy on natural language tasks, compared to the leading QAT methods.

来源:arXiv (AI + Vision + Imaging) · arxiv.org