When each softmax row concentrates on a few keys, can averaging rows still remove value noise? We study one attention head on a shared context of $n$ i.i.d.\ Gaussian tokens in fixed dimension, under full and causal masks. At fixed score norm $H$, the sharp worst-case exponent for the expected absolute error of a pooled 1-Lipschitz statistic is $\min\{1/2,1/(1+H^2)\}$; a two-coordinate head attains it for every $H$, answering the Gaussian case of a sharpness question of Bohbot et al.\ (ICML 2026). Now let the score matrix $H_nB_n$ grow with $n$, where $B_n$ has singular values $1=σ_{1,n}\ge\cdots\geσ_{d,n}$, and put $a_n=\sqrt{2\log n}$. For i.i.d.\ centered unit-variance values independent of the scores, the expected squared pooled mean is the probability that two rows, sampled uniformly with replacement, draw the same key when each samples from its own weights. For either mask and $H_n\ge ha_n$ with fixed $h>0$, this risk is of order $\prod_{j=2}^d(1+a_nσ_{j,n})^{-1}$ uniformly in the spectrum, so for $d\ge2$ it vanishes if and only if $a_nσ_{2,n}\to\infty$. When $H_n\to\infty$ and $H_n=o(a_n)$, it acquires a further factor $\exp[-(2+o(1))\log n/H_n^2]$. In planar hardmax attention, a weak second direction yields different full and causal crossover curves, with rank-one endpoints $1/2$ and $1/4$. On Qwen2.5-0.5B, at a matched byte budget, a 2/4-bit value cache improves LAMBADA accuracy by 2.00 points over a 2-bit/BF16 allocation. With bit counts and measured reconstruction errors held fixed, ranking values by pooled rather than averaged squared attention changes accuracy by only $-0.17$ points (95\% paired interval $[-0.60,0.27]$). With eight 16,384-token prefixes on an H100, the 2/4-bit cache cuts prefix KV storage by 36.9\% and steady-state device memory by 7.4\%, at the cost of a 7.5\% longer decode step than BF16 in the same implementation.


翻译:暂无翻译

0
下载
关闭预览

相关内容

Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
Multi-Task Learning的几篇综述文章
深度学习自然语言处理
15+阅读 · 2020年6月15日
白话attention综述(上)
AINLP
12+阅读 · 2019年12月14日
用Attention玩转CV,一文总览自注意力语义分割进展
From Softmax to Sparsemax-ICML16(1)
KingsGarden
74+阅读 · 2016年11月26日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
9+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
8+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
4+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
15+阅读 · 11月25日
相关VIP内容
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员