Continuum Attention
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 15 references that are in the map. First posted on arXiv 14 Oct 2026.
Builds on
14 of 15 references.
References · 14
- 2017Attention Is All You Needcited by 60,361
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2020GLU Variants Improve Transformercited by 1,804
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
- 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 341
- 2018Online normalizer calculation for softmaxcited by 162
- 2019Adaptive Attention Span in Transformerscited by 149
- 2020Sparse and Continuous Attention Mechanismscited by 39
2 more
- 2021Sparse Continuous Distributions and Fenchel-Young Lossescited by 14
- 2021On the Regularity of Attentioncited by 11
Built on by
Not cited yet.