Variational Linear Attention: Stable Associative Memory for Long-Context Transformers
Not on the map. Why?
Abstract (arXiv)
Linear attention reduces the quadratic cost of softmax attention to O(T), but its memory state grows as O(T) in Frobenius norm, causing progressive interference between stored associations. We introduce Variational Linear Attention (VLA), which reframes the memory update as an online regularised least-squares problem with an adaptive penalty matrix maintained via the Sherman-Morrison rank-1 formula. We prove that normalising the write direction to unit length gives the recurrence Jacobian spectral norm exactly 1 for all sequence lengths and head dimensions (Proposition 2), and that the state norm is self-limiting under bounded inputs (Proposition 1). Empirically, VLA reduces |St|F by 109× relative to standard linear attention at T=1,000, achieves near-perfect exact-match accuracy on multi-query associative recall within the effective per-head memory regime (npairs < dh), maintaining substantially higher retrieval performance than DeltaNet and standard linear attention under increasing memory load, and maintains 62% accuracy at the per-head capacity boundary. A Triton-fused kernel achieves 14× speedup over sequential Python and O(T) scaling, crossing below softmax attention latency at approximately 43,000 tokens.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 7 of its 11 references that are in the map. First posted on arXiv 11 May 2026.
Builds on
7 of 11 references.
References · 7
- 2017Attention Is All You Needcited by 60,361
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2020Rethinking Attention with Performerscited by 1,601
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2020Hopfield Networks is All You Needcited by 475
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
Built on by
Citing papers per year: 2026: 2.
2 papers.