跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2612.02459 (cs)
[提交于 2026年10月30日]

标题:Born Attention is Linear: Exact Sub-Quadratic Attention and Constant-State Inference from Quantum Measurement

作者:Marcel Crasmaru
查看论文《Born Attention is Linear: Exact Sub-Quadratic Attention and Constant-State Inference from Quantum Measurement》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Softmax attention costs O(T^2) in sequence length because the exponential kernel has no finite feature map, so linear-time variants approximate it. We observe that Born-rule attention, whose weights are quantum-measurement probabilities |<Q_k,K_j>|^2 over complex queries and keys, is an exact finite kernel with the rank-one density-matrix feature map rho_x = x x^dagger, since |<Q_k,K_j>|^2 = tr(rho_Q rho_K). As the complex degree-two case of polynomial-kernel linear attention, it admits an exact O(T d^2) causal recurrence and constant-state decoding, independent of T, and keeps rotary positions exactly. On an A100, constant-state decoding uses 6.4 MB per layer at 0.12 ms per token at any length, against a 3.2 GB FlashAttention-2 cache at 2.26 ms per token at 1M tokens; a fused prefill overtakes FlashAttention-2 between 16k and 32k tokens (4x at 128k). Whether the operator matches softmax is a separate modeling question, answered here at small scale: bolted into a real-valued GPT it trails softmax by 0.12 nats at 1k context and 0.77 at 16k (attention dilution, which a decay kept exactly in the state repairs), while inside a fully complex residual stream it matches softmax at 1k; gated linear attention beats both. At 128k context on PG-19, Born with a fixed decay is 0.32 nats ahead of softmax and within 0.04 of gated linear attention, which is 1.8x faster. Streamed in constant state over the PG-19 test set in 5M-byte windows, 4M-complex-parameter byte models score 1.66 (Born with decay) and 1.70 (gated) bits per byte, where a 350M-parameter hierarchical model built for that window reports 2.45.
主题: 机器学习 (cs.LG); 优化与控制 (math.OC)
引用方式: arXiv:2612.02459 [cs.LG]
  (或者 arXiv:2612.02459v1 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2612.02459

提交历史

来自:Marcel Crasmaru
[v1] 2026年10月30日 星期五 05:41:54 UTC (36 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LG
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-10
切换浏览方式为:
cs
math.OC

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站