How to Parameterize Asymmetric Quantization Ranges for Quantization-Aware Training

Published: 05 Mar 2024, Last Modified: 12 May 2024PML4LRS PosterEveryoneRevisionsBibTeXCC BY 4.0
Keywords: Quantization, Quantization-Aware Training, QAT, LLM, GPT, OPT
TL;DR: This paper conducts a comparative analysis on different ways to parameterize quantization-aware training (QAT) with asymmetric range and proposes best practices to stabilize/accelerate the QAT process.
Abstract: This paper investigates three different parameterizations of asymmetric uniform quantization for quantization-aware training: (1) scale and offset, (2) minimum and maximum, and (3) beta and gamma. We perform a comprehensive comparative analysis of these parameterizations’ influence on quantization-aware training, using both controlled experiments and real-world large language models. Our particular focus is on their changing behavior in response to critical training hyperparameters, bit width and learning rate. Based on our investigation, we propose best practices to stabilize and accelerate quantization-aware training with learnable asymmetric quantization ranges.
Submission Number: 24
Loading