Unifying Linear-Time Attention via Latent Probabilistic Modelling
Not on the map. Why?
Abstract (arXiv)
Transformers have achieved state-of-the-art results across a range of domains, but their quadratic attention mechanism poses significant challenges for long-sequence modelling. Recent efforts to design linear-time attention mechanisms have yielded more scalable alternatives, yet often at the cost of performance, particularly on discrete data such as language. In this work, we revisit linear attention through the lens of probabilistic graphical models. We first show that standard linear attention can be interpreted as an undirected latent variable model, revealing a key limitation: the absence of directionality. To address this, we propose a novel directed parameterisation of linear attention that introduces an asymmetric structure, enabling an interpretation aligned with the causal and sequential nature of language. Our formulation integrates global latent-variable attention with local standard attention in a fully probabilistic framework. Additionally, we introduce a recurrent parameterisation of queries and keys that avoids reliance on relative positional encodings, often incompatible with linear attention. Experiments on language modelling benchmarks demonstrate that our model achieves competitive performance with standard attention and outperforms existing linear attention variants.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 27 of its 42 references that are in the map. First posted on arXiv 27 Feb 2024.
Builds on
27 of 42 references.
References · 27
- 2017Attention Is All You Needcited by 60,361
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Reformer: The Efficient Transformercited by 1,668
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
15 more
- 2022Simplified State Space Layers for Sequence Modelingcited by 788
- 2016Language Modeling with Gated Convolutional Networkscited by 702
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
- 2021A Survey of Transformerscited by 401
- 2018Efficient Attention: Attention with Linear Complexitiescited by 368
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
- 2022Transformer Quality in Linear Timecited by 191
- 2022Mega: Moving Average Equipped Gated Attentioncited by 179
- 2022A Length-Extrapolatable Transformercited by 127
- 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 120
- 2021Luna: Linear Unified Nested Attentioncited by 96
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
Built on by
Citing papers per year: 2026: 1.
1 paper.