The Quarks of Attention
Not on the map. Why?
Abstract (arXiv)
Attention plays a fundamental role in both natural and artificial intelligence systems. In deep learning, attention-based neural architectures, such as transformer architectures, are widely used to tackle problems in natural language processing and beyond. Here we investigate the fundamental building blocks of attention and their computational properties. Within the standard model of deep learning, we classify all possible fundamental building blocks of attention in terms of their source, target, and computational mechanism. We identify and study three most important mechanisms: additive activation attention, multiplicative output attention (output gating), and multiplicative synaptic attention (synaptic gating). The gating mechanisms correspond to multiplicative extensions of the standard model and are used across all current attention-based deep learning architectures. We study their functional properties and estimate the capacity of several attentional building blocks in the case of linear and polynomial threshold gates. Surprisingly, additive activation attention plays a central role in the proofs of the lower bounds. Attention mechanisms reduce the depth of certain basic circuits and leverage the power of quadratic activations without incurring their full cost.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 14 of its 33 references that are in the map. First posted on arXiv 15 Feb 2022.
Builds on
14 of 33 references.
References · 14
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
- 2014Neural Turing Machinescited by 630
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
- 2015Attention-Based Models for Speech Recognitioncited by 400
- 2021Pay Attention to MLPscited by 367
- 2016Using Fast Weights to Attend to the Recent Pastcited by 161
- 2016Parameterized Machine Learning for High-Energy Physicscited by 33
- 2020Permutationless Many-Jet Event Reconstruction with Symmetry Preserving Attention Networkscited by 22
- 2020SPLASH: Learnable Activation Functions for Improving Accuracy and Adversarial Robustnesscited by 18
Built on by
Citing papers per year: 2023: 5; 2024: 1; 2025: 1.
7 papers.
- 2023Transformers as Support Vector Machinescited by 67
- 2023On the Role of Attention in Prompt-tuningcited by 49
- 2023On the Optimization and Generalization of Multi-head Attentioncited by 37
- 2024Implicit Bias and Fast Convergence Rates for Self-attentioncited by 31
- 2023Interpretable Joint Event-Particle Reconstruction for Neutrino Physics at NOvA with Sparse CNNs and Transformerscited by 3
- 2023Inductive biases in deep learning models for weather predictioncited by 3
- 2025Particle Hit Clustering and Identification Using Point Set Transformers in Liquid Argon Time Projection Chamberscited by 2
- 2025Particle Hit Clustering and Identification Using Point Set Transformers in Liquid Argon Time Projection Chambers11 Apr 2025
- 2024Implicit Bias and Fast Convergence Rates for Self-attention8 Feb 2024
- 2023On the Optimization and Generalization of Multi-head Attention19 Oct 2023
- 2023Transformers as Support Vector Machines31 Aug 2023
- 2023On the Role of Attention in Prompt-tuning6 Jun 2023
- 2023Inductive biases in deep learning models for weather prediction6 Apr 2023
- 2023Interpretable Joint Event-Particle Reconstruction for Neutrino Physics at NOvA with Sparse CNNs and Transformers10 Mar 2023