Why Do Some Inputs Break Low-Bit LLM Quantization?
Ting-Yun Chang, Muru Zhang, Jesse Thomason, Robin Jia

TL;DR
This paper investigates why certain inputs cause large errors in low-bit weight-only quantization of large language models, revealing the role of residual stream magnitudes and model components in error amplification.
Contribution
It introduces a hypothesis linking residual stream magnitudes to quantization errors and identifies critical model components affecting performance in low-bit quantization.
Findings
Quantization errors are highly correlated across methods on specific examples.
Residual stream magnitudes predict future quantization errors.
Late layer activations and MLP gates are crucial for maintaining accuracy.
Abstract
Low-bit weight-only quantization significantly reduces the memory footprint of large language models (LLMs), but disproportionately affects certain examples. We analyze diverse 3-4 bit methods on LLMs ranging from 7B-70B in size and find that the quantization errors of 50 pairs of methods are strongly correlated (avg. 0.82) on FineWeb examples. Moreover, the residual stream magnitudes of full-precision models are indicative of future quantization errors. We further establish a hypothesis that relates the residual stream magnitudes to error amplification and accumulation over layers. Using LLM localization techniques, early exiting, and activation patching, we show that examples with large errors rely on precise residual activations in the late layers, and that the outputs of MLP gates play a crucial role in maintaining the perplexity. Our work reveals why certain examples result in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗mratsim/MiniMax-M2.5-BF16-INT4-AWQmodel· 18k dl· ♡ 3818k dl♡ 38
- 🤗mratsim/MiniMax-M2.5-FP8-INT4-AWQmodel· 10.0k dl· ♡ 1910.0k dl♡ 19
- 🤗mratsim/GLM-4.5-Iceblink-106B-A12B-AWQmodel· 2 dl2 dl
- 🤗mratsim/GLM-Steam-106B-A12B-v1-AWQmodel· 5 dl5 dl
- 🤗mratsim/GLM-4.5-Iceblink-v2-106B-A12B-AWQmodel· 1 dl1 dl
- 🤗mratsim/GLM-4.6-EXL3model· 7 dl· ♡ 47 dl♡ 4
- 🤗mratsim/GLM-4.5-Iceblink-v2-106B-A12B-FP8model· 8 dl· ♡ 18 dl♡ 1
- 🤗mratsim/GLM-Steam-106B-A12B-v1-FP8model· 2 dl2 dl
- 🤗mratsim/GLM-4.5-Iceblink-106B-A12B-FP8model· 2 dl· ♡ 12 dl♡ 1
- 🤗mratsim/GLM-4.7-EXL3model· 36 dl· ♡ 2036 dl♡ 20
Videos
Taxonomy
TopicsAdvancements in Photolithography Techniques · Advancements in Semiconductor Devices and Circuit Design
