Continuum Attention:以連續記憶曲線積分取代離散鍵值查找
Continuum Attention
研究提出 Continuum Attention(CA),以沿連續分段線性記憶曲線積分,取代離散鍵值查找,作為因果 Transformer 注意力算子。
Published on Oct 14
Authors:
Abstract
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.
View arXiv page View PDF Add to collection
Get this paper in your agent:
hf papers read 2610.20586
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash
Models citing this paper 1
Text Generation • 1B • Updated 7 minutes ago • 33 • 1akhadangi/Llama3.2.1B.0.1-H
Datasets citing this paper 0
No dataset linking this paper
Cite arxiv.org/abs/2610.20586 in a dataset README.md to link it from this page.
Spaces citing this paper 0
No Space linking this paper
Cite arxiv.org/abs/2610.20586 in a Space README.md to link it from this page.
Collections including this paper 0
No Collection including this paper
Add this paper to a collection to link it from this page.
來源:HuggingFace Daily Papers(社區熱門論文) · huggingface.co