Attention: Marginal Probability is All You Need?
Not on the map. Why?
Abstract (arXiv)
Attention mechanisms are a central property of cognitive systems allowing them to selectively deploy cognitive resources in a flexible manner. Attention has been long studied in the neurosciences and there are numerous phenomenological models that try to capture its core properties. Recently attentional mechanisms have become a dominating architectural choice of machine learning and are the central innovation of Transformers. The dominant intuition and formalism underlying their development has drawn on ideas of keys and queries in database management systems. In this work, we propose an alternative Bayesian foundation for attentional mechanisms and show how this unifies different attentional architectures in machine learning. This formulation allows to to identify commonality across different attention ML architectures as well as suggest a bridge to those developed in neuroscience. We hope this work will guide more sophisticated intuitions into the key properties of attention architectures and suggest new ones.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 14 of its 24 references that are in the map. First posted on arXiv 7 Apr 2023.
Builds on
14 of 24 references.
References · 14
- 2017Attention Is All You Needcited by 59,932
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
- 2020Object-Centric Learning with Slot Attentioncited by 865
- 2022Image as a Foreign Language: BEiT Pretraining for All Vision and Vision-Language Taskscited by 510
- 2017Structured Attention Networkscited by 95
- 2017The free energy principle for action and perception: A mathematical reviewcited by 66
- 2018Latent Alignment and Variational Attentioncited by 36
- 2021Improving Transformers with Probabilistic Attention Keyscited by 28
- 2022Transformers from an Optimization Perspectivecited by 27
- 2022A Theoretical Framework for Inference and Learning in Predictive Coding Networkscited by 16
- 2021Probabilistic Attention for Interactive Segmentationcited by 12
- 2020On Learning Continuous Pairwise Markov Random Fieldscited by 9
2 more
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 1.
4 papers.
- 2024Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusterscited by 13
- 2025Compression Barriers for Autoregressive Transformerscited by 5
- 2025Bayesian Attention Mechanism: A Probabilistic Framework for Positional Encoding and Context Length Extrapolationcited by 3
- 2026A Probabilistic Interpretation of KV Cache Evictioncited by 0
- 2026A Probabilistic Interpretation of KV Cache Eviction28 Aug 2026
- 2025Bayesian Attention Mechanism: A Probabilistic Framework for Positional Encoding and Context Length Extrapolation28 May 2025
- 2025Compression Barriers for Autoregressive Transformers21 Feb 2025
- 2024Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters7 Aug 2024