Reproduce “What Makes Quantization for Large Language Models Hard? An Empirical Study from the Lens of Perturbation” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Zhuocheng Gong, Jiahao Liu, Jingang Wang, Xunliang Cai, Dongyan Zhao, Rui Yan

Researchers from Peking University, Meituan, and Renmin University of China empirically investigated the causes of performance degradation in Large Language Model quantization using a "lens of perturbation" framework. They found that smaller values are highly sensitive to perturbations, leading them to develop a simple non-uniform quantization method that maintained near-lossless performance in aggressive 4-bit weight and 8-bit activation settings, where uniform methods failed.

Key insights

  • The specific distribution of quantization perturbations (e.g., Gaussian vs. Uniform) has minimal impact on LLM performance degradation.
  • The relationship between perturbation magnitude and the original value's magnitude is crucial: smaller values are highly sensitive to perturbations, while larger values are more robust.
  • Clipping of outlier values, an extreme form of perturbation, causes substantially more adverse performance degradation than bounded perturbations.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.