2026-10-15 · 专家 · 自然语言处理 · 机器学习

Continuum Attention

本文提出了一种名为Continuum Attention(CA)的新型因果Transformer注意力算子,通过在连续的记忆轨迹上进行积分,实现了对连续记忆的精确检索。

更新于 2026-11-26。作者:Afshin Khadangi。

中文摘要

我们引入了连续注意力(CA),这是一种因果Transformer注意力算子,它将离散的关键值查找替换为对连续的、分段线性记忆曲线的积分。每个查询在曲线上诱导出指数相关性密度。将密度和插值值进行积分,得到精确归一化注意力,包括半标记边界贡献的封闭形式指数矩。梯度可以从最多二阶矩的分析中得到,这使并行GPU实现成为可能,同时保持了二次序列复杂性和标准Transformer解码器。与普通的softmax和焦点注意力相比,CA将平均验证负对数似然率分别降低了0.0200和0.0480纳特每字节,在所有配对比较中获胜。另外,一个额外的非连接验证切片在配对95%置信区间内比最强的所选softmax基线高出0.0457纳特每字节。这些发现激励了连续集成作为一种有前途的注意力替代方案,同时留出了更大规模的泛化空间。

英文摘要

We introduce Continuum Attention (CA), a causal Transformer attention operator that replaces discrete key and value lookup with integration over a continuous, piecewise linear memory curve. Each query induces an exponential relevance density along the curve. Integrating the density and interpolated values yields exact normalized attention from closed form exponential moments, including half token boundary contributions. The gradients follow analytically from moments of order at most two, enabling parallel GPU implementations while retaining quadratic sequence complexity and the standard Transformer decoder. Compared with ordinary softmax and focal attention, CA reduces mean validation negative log likelihood by 0.0200 and 0.0480 nats per byte, respectively, winning all paired comparisons. An additional disjoint validation slice yields a 0.0457 nats per byte advantage over the strongest selected softmax baseline, with a paired 95% confidence interval. These findings motivate continuous integration as a promising attention alternative while leaving larger scale generalization open.

解读

一句话总结

本文提出了一种名为Continuum Attention(CA)的新型因果Transformer注意力算子,通过在连续的记忆轨迹上进行积分,实现了对连续记忆的精确检索。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源