A Continuous Relaxation of Quantization-Aware Training
Kartikeya Bhardwaj, Mohammed Almousa, Chaitanya Mullapudi, Ananth Balasubramanian, Nithin Ramesan, Tuc Nguyen, Harris Teague
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.
Create a lesson
Related papers
Altair-Nidhogg: Which Model-Merging Theories Hold for a One-Pass Decision Encoder? Soups, Task Arithmetic, TIES and DARE Against Joint Training and Prediction Ensembling
Shared title terminology · Mohammed Nayeem Khan, Navin Kumar R, Akhil P
Trained on Harm, Still Refusing: A Training-Time Defense for Code Generation
Shared title terminology · Miaoqing Tian, Ruohan Li, Qian Lu et al.
Jagged Robustness: Uneven Safety Transfer and Emerging Vulnerabilities under LLM Quantization
Shared title terminology · Ramneek Agnihotri, Yingte Xu, Hans Vath
Bel: Step-Level Policy Improvement of Visual Agents Without Training
Shared title terminology · Jiajun Fan, Ziwen Wang, Zhaoyu Zhu et al.
EDAGoat: An EDA-Aware Agent for Project-Level GPU Optimization
Shared title terminology · Chengxi Li, Liang Xiao, Yutao Wang et al.
From Acting to Learning: Experience Selection toward Continually Learning Agents
Shared title terminology · Yaoyuan Yan, Haoxiang Jie, Zhiyou Heng et al.