SASQ: Static Activation Scaling for Quantization-Aware Training in Large Language Models
By: Shizhuo Mao, Song Chen, Yi Kang
Potential Business Impact:
Makes big AI models run faster on phones.
Large language models (LLMs) excel at natural language tasks but face deployment challenges due to their growing size outpacing GPU memory advancements. Model quantization mitigates this issue by lowering weight and activation precision, but existing solutions face fundamental trade-offs: dynamic quantization incurs high computational overhead and poses deployment challenges on edge devices, while static quantization sacrifices accuracy. Existing approaches of quantization-aware training (QAT) further suffer from weight training costs. We propose SASQ: a lightweight QAT framework specifically tailored for activation quantization factors. SASQ exclusively optimizes only the quantization factors (without changing pre-trained weights), enabling static inference with high accuracy while maintaining deployment efficiency. SASQ adaptively truncates some outliers, thereby reducing the difficulty of quantization while preserving the distributional characteristics of the activations. SASQ not only surpasses existing SOTA quantization schemes but also outperforms the corresponding FP16 models. On LLaMA2-7B, it achieves 5.2% lower perplexity than QuaRot and 4.7% lower perplexity than the FP16 model on WikiText2.
Similar Papers
ZeroQAT: Your Quantization-aware Training but Efficient
Machine Learning (CS)
Makes smart computer programs run faster and smaller.
DL-QAT: Weight-Decomposed Low-Rank Quantization-Aware Training for Large Language Models
CV and Pattern Recognition
Makes AI smarter and faster using less computer power.
Precision Neural Network Quantization via Learnable Adaptive Modules
CV and Pattern Recognition
Makes AI smarter and smaller for phones.