Deep stacks of self-attention make token representations cluster, and the idealized dynamics used to study this suggest a simple rule: the value matrix decides where tokens go. Under causal masking the first token follows the leading eigenvector of the value matrix, and later tokens have been expected to collapse onto that direction or its antipode. We show that the query-key geometry can overrule this rule. When the value matrix has distinct positive eigenvalues, attention scores can hold tokens away from both poles: we construct configurations that attract an open set of initial conditions to an off-eigenvector direction, including ones whose query-key product is positive definite with invertible tied queries and keys, and a stable configuration of three clusters pairwise at least 90 degrees apart; these attractors persist under a normalized residual update with any step size. For two tokens in the plane we derive the exact phase law: with a diagonal score matrix diag(a,b), a >= 0, an off-axis attractor exists for some value spectrum if and only if b - a > (1+a)/2, inside a window of value ratios, so a score gap of 1/2 is the sharp uniform threshold. When the top eigenvalue is repeated, the picture reverses: every equilibrium other than consensus is unstable, a token facing a consensus prefix joins it at an explicit exponential rate, and all tokens reach a single cluster from almost every initialization when the sequence is no longer than the multiplicity or the complement is one-dimensional. Where causally masked tokens cluster is thus decided jointly by the value spectrum and the query-key geometry. As consequences, we disprove the two-cluster conjecture of Karagodin, Polyanskiy and Rigollet (2024), prove their single-cluster conjecture in several regimes, and show that off-axis attractors appear for every score gap beyond the constant used in recent positive results.


翻译:暂无翻译

0
下载
关闭预览

相关内容

专知会员服务
38+阅读 · 2021年5月15日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
一文读懂Attention机制
机器学习与推荐算法
63+阅读 · 2020年6月9日
白话attention综述(上)
AINLP
12+阅读 · 2019年12月14日
赛尔笔记 | Attention!注意力机制可解释吗?
哈工大SCIR
23+阅读 · 2019年9月27日
Self-Attention GAN 中的 self-attention 机制
PaperWeekly
12+阅读 · 2019年3月6日
深度学习中Attention Mechanism详细介绍:原理、分类及应用
深度学习与NLP
10+阅读 · 2019年2月18日
一文读懂「Attention is All You Need」| 附代码实现
PaperWeekly
37+阅读 · 2018年1月10日
原创 | Attention Modeling for Targeted Sentiment
黑龙江大学自然语言处理实验室
25+阅读 · 2017年11月5日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
18+阅读 · 2012年12月31日
Arxiv
0+阅读 · 11月30日
Attention Latent Feedback
Arxiv
0+阅读 · 11月23日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
8+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
6+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
3+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
15+阅读 · 11月25日
相关VIP内容
专知会员服务
38+阅读 · 2021年5月15日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
相关资讯
一文读懂Attention机制
机器学习与推荐算法
63+阅读 · 2020年6月9日
白话attention综述(上)
AINLP
12+阅读 · 2019年12月14日
赛尔笔记 | Attention!注意力机制可解释吗?
哈工大SCIR
23+阅读 · 2019年9月27日
Self-Attention GAN 中的 self-attention 机制
PaperWeekly
12+阅读 · 2019年3月6日
深度学习中Attention Mechanism详细介绍:原理、分类及应用
深度学习与NLP
10+阅读 · 2019年2月18日
一文读懂「Attention is All You Need」| 附代码实现
PaperWeekly
37+阅读 · 2018年1月10日
原创 | Attention Modeling for Targeted Sentiment
黑龙江大学自然语言处理实验室
25+阅读 · 2017年11月5日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
18+阅读 · 2012年12月31日
Top
微信扫码咨询专知VIP会员