Gaussian attention analysis yields sharp error rates and a leaner quantized KV cache
A new arXiv paper proves when averaging attention rows removes value noise, and shows a 2/4-bit value cache saving KV memory on Qwen2.5-0.5B.
In plain words
Attention heads in language models weigh many stored tokens, and researchers asked whether averaging those weights still cancels random noise in the values. The paper answers this mathematically for Gaussian tokens, finding exact error rates under full and causal masks. It also tests a mixed 2/4-bit value cache that stores less per token with modest slowdown.
What was announced
The theoretical core concerns a single attention head over n independent Gaussian tokens in fixed dimension. When each softmax row concentrates on a few keys, the authors identify the sharp worst-case exponent for the expected absolute error of a pooled 1-Lipschitz statistic at fixed score norm: min{1/2, 1/(1+H^2)}. A two-coordinate head attains this bound for every H, which the paper states resolves the Gaussian case of a sharpness question posed by Bohbot et al. (ICML 2026). For growing score norms, the squared error of the pooled mean relates to the probability that two sampled rows draw the same key, and this risk vanishes exactly when the second singular value of the score spectrum grows fast enough relative to the context length.
On the applied side, the authors report experiments on Qwen2.5-0.5B. At a matched byte budget, a 2/4-bit value cache improved LAMBADA accuracy by 2.00 points over a 2-bit/BF16 allocation. Ranking values by pooled rather than averaged squared attention changed accuracy by only -0.17 points, within the reported 95% paired interval of [-0.60, 0.27]. Across eight 16,384-token prefixes on an H100 GPU, the 2/4-bit cache cut prefix KV storage by 36.9% and steady-state device memory by 7.4%, while decode steps ran 7.5% longer than BF16 in the same implementation. These figures come from the paper's own measurements and have not been independently verified.
What it does not show
- The source is the paper's abstract only, so proofs, experimental setup, and baselines cannot be checked from the supplied text.
- All accuracy, memory, and speed figures are the authors' own reported results on one small model and one GPU; no independent confirmation is available.
For security and IT teams
- Status
- The 2/4-bit cache results are limited to Qwen2.5-0.5B with eight 16,384-token prefixes on an H100, with a 7.5% slower decode step than BF16 in the same implementation.
Sources
Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 5 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.