We propose attention in which queries and keys are probability distributions and the score is their exact Fisher-Rao geodesic distance. Once the family is chosen, invariance under sufficient statistics fixes the metric up to scale: categorical tokens give a spherical kernel, isotropic Gaussian tokens a hyperbolic one, and Euclidean distance attention is the flat Gaussian location family. The Gaussian kernel is hyperbolic distance attention in half-space coordinates; its exact distance costs one matrix multiplication plus an elementwise arccosh (2.3-2.8x a dot-product module on CPU). On Dyck-2 with matched parameters and a fixed budget, accuracy beyond the training length ranks dot-product 85.8% < spherical 86.6% < hyperbolic 88.4%, with the same margin within it, so the kernel learns nested structure better rather than extrapolating separately; the contrast holds over 20 paired seeds (+2.10 pp, 95% CI 1.74-2.46), is larger in one 19M-parameter configuration (+4.7 pp, 3 seeds) and persists with rotary positions (+1.82 pp, n=20, pre-registered). With Gaussian tokens fixed, it beats Wasserstein-Bures and KL kernels, and a variant without per-token scales keeps most of the gain: the evidence points to the geodesic kernel, not yet separating curvature from slow score growth. With untrained absolute positions, a norm-capped variant degrades less than dot-product attention beyond the training length on code and English prose (pre-registered), but not on Spanish clinical text; these small models are near character-bigram quality. Pre-registered probes find second-layer query scales narrowing and key scales widening with nesting depth, a decodable code whose removal from the query scales costs 0.15 pp beyond the training length (0.41 pp within it). A reimplementation of curvature-adaptive routing (CAT) shows no significant difference. Negative results are reported alongside the positive ones.


翻译:暂无翻译

0
下载
关闭预览

相关内容

《pyramid Attention Network for Semantic Segmentation》
统计学习与视觉计算组
44+阅读 · 2018年8月30日
论文浅尝 | 基于知识图谱子图匹配以回答自然语言问题
开放知识图谱
26+阅读 · 2018年6月26日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
Arxiv
0+阅读 · 11月30日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
8+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
6+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
3+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
15+阅读 · 11月25日
相关VIP内容
相关资讯
《pyramid Attention Network for Semantic Segmentation》
统计学习与视觉计算组
44+阅读 · 2018年8月30日
论文浅尝 | 基于知识图谱子图匹配以回答自然语言问题
开放知识图谱
26+阅读 · 2018年6月26日
相关基金
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员