about
Spikes in LLMs Are Bias Vectors: Spike-Free Quantization (arxiv.org)
4 points by sbulaev 123 days ago | hide | past | pdf | discuss on HN

In plain words: Certain tokens carry huge fixed bias vectors that create giant number spikes, wrecking the trick of storing numbers in fewer bits. A new method clamps the spikes and restores their job with pre-made templates, matching the best low-bit storage and working on image models.

Abstract · Massive Spikes in LLMs are Bias Vectors: Mechanistic Uncovering and Spike-Free Quantization

Massive activation spikes in Large Language Models (LLMs) severely degrade quantization by stretching dynamic ranges. While prior hypotheses characterize these as high-level scalar biases, we argue that they are merely the scalar intermediates of rigid, structural vector biases in the spike-carrying tokens. We show that these tokens converge to constant vectors after normalization that drive the attention sink and value-state drain mechanisms. We geometrically substantiate this by analyzing the coordination of projection weights: $W_K$ contrastively amplifies the vector, $W_Q$ aligns semantic tokens toward it, and $W_V$ projects it into the spectral null-space. Furthermore, we reveal that the model actively preserves these structural biases against Rotary Positional Embedding (RoPE) perturbations by localizing them in "zones of rotational stability" utilizing low-frequency bands and coherent channel pairs. Leveraging this, we propose INSERTQUANT, a post-training quantization (PTQ) framework that clamps spikes and restores their function via pre-computed template vectors. This renders activations strictly spike-free, enabling robust low-bit quantization with high fidelity. INSERTQUANT achieves parity with state-of-the-art per-tensor quantization methods on LLMs and uniquely generalizes beyond text to other modalities such as ViTs.

Yung-Chin Chen, Chung Peng Lee, Ze-Wei Liou, Naveen Verma
arXiv:2606.02288 · cs.LG · submitted Jun 1, 2026
abstract · pdf · html

add comment on HN