paper-with-me

홈 › Papers

ParetoQ: Scaling Laws in Extremely Low-bit LLM Quantization

2025-02-04 · Zechun Liu, Changsheng Zhao, Hanxian Huang, Sijia Chen, Jing Zhang, Jiawei Zhao, Scott Roy, Lisa Jin, Yunyang Xiong, Yangyang Shi, Lin Xiao, Yuandong Tian, Bilge Soran, Raghuraman Krishnamoorthi, Tijmen Blankevoort, Vikas Chandra

The optimal bit-width for achieving the best trade-off between quantized model size and accuracy has been a subject of ongoing debate. While some advocate for 4-bit quantization, others propose that 1.58-bit offers superior results. However, the lack of a cohesive framework for different bits has left such conclusions relatively tenuous. We present ParetoQ, the first unified framework that facilitates rigorous comparisons across 1-bit, 1.58-bit, 2-bit, 3-bit, and 4-bit quantization settings. Our findings reveal a notable learning transition between 2 and 3 bits: For 3-bits and above, the fine-tuned models stay close to their original pre-trained distributions, whereas for learning 2-bit networks or below, the representations change drastically. By optimizing training schemes and refining quantization functions, ParetoQ surpasses all previous methods tailored to specific bit widths. Remarkably, our ParetoQ ternary 600M-parameter model even outperforms the previous SoTA ternary 3B-parameter model in accuracy, using only one-fifth of the parameters. Extensive experimentation shows that ternary, 2-bit, and 3-bit quantization maintains comparable performance in the size-accuracy trade-off and generally exceeds 4-bit and binary quantization. Considering hardware constraints, 2-bit quantization offers promising potential for memory reduction and speedup.

📄 PDF Abstract BibTeX arXiv:2502.02631

Code (1)

facebookresearch/LLM-QAT pytorch

Tasks

Quantization

Similar Papers 제목 키워드 기반

Compression Scaling Laws:Unifying Sparsity and Quantization

2025-02-23 · Elias Frantar, Utku Evci, Wonpyo Park, Neil Houlsby 외

We investigate how different compression techniques -- such as weight and activation quantization, and weight sparsity -- affect the scaling behavior of large language models (LLMs) during pretraining. Building on previo…

Quantization

Scaling Laws for Precision

2024-11-07 · Tanishq Kumar, Zachary Ankner, Benjamin F. Spector, Blake Bordelon 외

Low precision training and inference affect both the quality and cost of language models, but current scaling laws do not account for this. In this work, we devise "precision-aware" scaling laws for both training and inf…

Quantization

Low-Bit Quantization Favors Undertrained LLMs: Scaling Laws for Quantized LLMs with 100T Training Tokens

2024-11-26 · Xu Ouyang, Tao Ge, Thomas Hartvigsen, Zhisong Zhang 외

We reveal that low-bit quantization favors undertrained large language models (LLMs) by observing that models with larger sizes or fewer training tokens experience less quantization-induced degradation (QiD) when applyin…

Quantization

Scaling Laws for Precision in High-Dimensional Linear Regression

2026-02-22 · Dechen Zhang, Xuan Tang, Yingyu Liang, Difan Zou arxiv

Low-precision training is critical for optimizing the trade-off between model quality and training costs, necessitating the joint allocation of model size, dataset size, and numerical precision. While empirical scaling l…

Scaling Laws for Floating Point Quantization Training

2025-01-05 · Xingwu Sun, Shuaipeng Li, Ruobing Xie, Weidong Han 외

Low-precision training is considered an effective strategy for reducing both training and downstream inference costs. Previous scaling laws for precision mainly focus on integer quantization, which pay less attention to …

Quantization