Inductive Biases and Variable Creation in Self-Attention Mechanisms
Not on the map. Why?
Abstract (arXiv)
Self-attention, an architectural motif designed to model long-range interactions in sequential data, has driven numerous recent breakthroughs in natural language processing and beyond. This work provides a theoretical analysis of the inductive biases of self-attention modules. Our focus is to rigorously establish which functions and long-range dependencies self-attention blocks prefer to represent. Our main result shows that bounded-norm Transformer networks "create sparse variables": a single self-attention head can represent a sparse function of the input sequence, with sample complexity scaling only logarithmically with the context length. To support our analysis, we present synthetic experiments to probe the sample complexity of learning sparse Boolean functions with Transformers.
Key facts. Cited by 144 papers in the map (data through 7 Oct 2026). Builds on 43 of its 79 references that are in the map. First posted on arXiv 19 Oct 2021.
Builds on
43 of 79 references.
References · 43
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2016Layer Normalizationcited by 5,579
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2020Rethinking Attention with Performerscited by 1,584
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
31 more
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2017Spectrally-normalized margin bounds for neural networkscited by 681
- 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 616
- 2019Fantastic Generalization Measures and Where to Find Themcited by 507
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
- 2020Generative Language Modeling for Automated Theorem Provingcited by 379
- 2021FNet: Mixing Tokens with Fourier Transformscited by 343
- 2018Generating Wikipedia by Summarizing Long Sequencescited by 333
- 2017A PAC-Bayesian Approach to Spectrally-Normalized Margin Bounds for Neural Networkscited by 309
- 2015Norm-Based Capacity Control in Neural Networkscited by 299
- 2017Size-Independent Sample Complexity of Neural Networkscited by 289
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 286
- 2019Recurrent Independent Mechanismscited by 219
- 2020The Lipschitz Constant of Self-Attentioncited by 171
- 2021Pretrained Transformers as Universal Computation Enginescited by 162
- 2020Tensor Programs II: Neural Tangent Kernel for Any Architecturecited by 139
- 2020Infinite attention: NNGP and NTK for deep attention networkscited by 117
- 2021Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformerscited by 101
- 2020On the Computational Power of Transformers and its Implications in Sequence Modelingcited by 85
- 2021Neural Production Systems: Learning Rule-Governed Visual Dynamicscited by 75
- 2019Generalization bounds for deep convolutional neural networkscited by 58
- 2021On the Expressive Power of Self-Attention Matricescited by 44
- 2020A Mathematical Theory of Attentioncited by 43
- 2019On Generalization Bounds of a Family of Recurrent Neural Networkscited by 42
- 2021Approximating How Single Head Attention Learnscited by 38
Built on by
Citing papers per year: 2022: 12; 2023: 42; 2024: 41; 2025: 26; 2026: 23.
144 papers.
Sort:
By area:
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
- 2023Large Language Modelscited by 774
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 293
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 256
- 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 223
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
- 2022Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limitcited by 184
38 more
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
- 2023Representational Strengths and Limitations of Transformerscited by 132
- 2023What and How does In-Context Learning Learn? Bayesian Model Averaging, Parameterization, and Generalizationcited by 112
- 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 101
- 2022Vision Transformers provably learn spatial structurecited by 92
- 2025Words or Vision: Do Vision-Language Models Have Blind Faith in Text?cited by 86
- 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understandingcited by 85
- 2023A Theoretical Understanding of Shallow Vision Transformers: Learning, Generalization, and Sample Complexitycited by 77
- 2023Exposing Attention Glitches with Flip-Flop Language Modelingcited by 74
- 2024Why are Sensitive Functions Hard for Transformers?cited by 74
- 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thoughtcited by 73
- 2024Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encodingcited by 72
- 2022Formal Algorithms for Transformerscited by 70
- 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functionscited by 68
- 2023Transformers as Support Vector Machinescited by 67
- 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 65
- 2023Max-Margin Token Selection in Attention Mechanismcited by 57
- 2024FLaRe: Achieving Masterful and Adaptive Robot Policies with Large-Scale Reinforcement Learning Fine-Tuningcited by 54
- 2023JoMA: Demystifying Multilayer Transformers via JOint Dynamics of MLP and Attentioncited by 52
- 2023On the Role of Attention in Prompt-tuningcited by 49
- 2023Do Transformers Parse while Predicting the Masked Word?cited by 48
- 2023Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?cited by 46
- 2023An Over-parameterized Exponential Regressioncited by 45
- 2023Solving Regularized Exp, Cosh and Sinh Regression Problemscited by 44
- 2023The Closeness of In-Context Learning and Weight Shifting for Softmax Regressioncited by 41
- 2023Memorization Capacity of Multi-Head Attention in Transformerscited by 39
- 2023What can a Single Attention Layer Learn? A Study Through the Random Features Lenscited by 39
- 2024An Information-Theoretic Analysis of In-Context Learningcited by 39
- 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Modelscited by 38
- 2023On the Optimization and Generalization of Multi-head Attentioncited by 37
- 2024In-Context Learning with Representations: Contextual Generalization of Trained Transformerscited by 36
- 2024From Self-Attention to Markov Models: Unveiling the Dynamics of Generative Transformerscited by 34
- 2024Mechanics of Next Token Prediction with Self-Attentioncited by 34
- 2024Large Language Models as Markov Chainscited by 33
- 2023Approximation and Estimation Ability of Transformers for Sequence-to-Sequence Functions with Infinite Dimensional Inputcited by 32
- 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammarscited by 30
- 2024A phase transition between positional and semantic learning in a solvable model of dot-product attentioncited by 30
- 2024Understanding Scaling Laws with Statistical and Approximation Theory for Transformer Neural Networks on Intrinsically Low-dimensional Datacited by 30
50 most cited of 144 All 144 (JSON)
- 2026Attention Graphons: A Graph Limit Perspective on Graph Transformers28 Sep 2026
- 2026Information-Theoretic Analysis of Next-Token Prediction under Markovian Data28 Sep 2026
- 2026Neural Scaling Laws of Transformer Operator Network27 Sep 2026
- 2026VC Dimension and Expressivity of Real-Valued Transformers25 Sep 2026
- 2026Non-Crossing Deep Quantile Regression for Distributional Survival Prediction17 Aug 2026
- 2026Efficient LLM Adversarial Training via Low-Rank Defense and Circuit-Guided Surrogates31 Jul 2026
- 2026Generalization Bounds on Optimal Control for Transformer Training and Wasserstein Distributional Robustness30 Jul 2026
- 2026Higher-Order Token Interactions via Quantum Attention10 Jun 2026
- 2026Tight Sample Complexity of Transformers8 Jun 2026
- 2026Measure-to-measure Regression with Transformers27 May 2026
- 2026Correcting Visual Blur Induced by Attention Distraction to Reduce Hallucinations: Algorithm and Theory23 May 2026
- 2026How Many Different Outputs Can a Transformer Generate?21 May 2026
38 more
- 2026Lossless Anti-Distillation Sampling12 May 2026
- 2026Learning Theory of Transformers: Local-to-Global Approximation via Softmax Partition of Unity9 May 2026
- 2026Approximation Error Upper and Lower Bounds for H"older Class with Transformers8 May 2026
- 2026Decentralized Diffusion Policy Learning for Enhanced Exploration in Cooperative Multi-agent Reinforcement Learning8 May 2026
- 2026Every Feedforward Neural Network Definable in an o-Minimal Structure Has Finite Sample Complexity8 May 2026
- 2026How Does Attention Help? Insights from Random Matrices on Signal Recovery from Sequence Models7 May 2026
- 2026Geometric Capacity of Transformers: A Tropical Geometry Perspective16 Apr 2026
- 2026On the Ability of Transformers to Verify Plans20 Mar 2026
- 2026Algorithmic Task Capture, Computational Complexity, and Inductive Bias of Infinite Transformers11 Mar 2026
- 2026Exact Attention Sensitivity and the Geometry of Transformer Stability21 Feb 2026
- 2026Generalization Bounds for Transformer Channel Decoders11 Jan 2026
- 2025Impact of Positional Encoding: Clean and Adversarial Rademacher Complexity for Transformers under In-Context Regression10 Dec 2025
- 2025Softmax Transformers are Turing-Complete25 Nov 2025
- 2025A Framework for Quantifying How Pre-Training and Context Benefit In-Context Learning26 Oct 2025
- 2025Representation Potentials of Foundation Models for Multimodal Alignment: A Survey5 Oct 2025
- 2025Performance-Efficiency Tradeoffs in Transformers: An Approximation Theory Perspective4 Oct 2025
- 2025Towards Sampling Data Structures for Tensor Products in Turnstile Streams4 Oct 2025
- 2025The Transformer Cookbook1 Oct 2025
- 2025Limit Analysis for Symbolic Multi-step Reasoning Tasks with Information Propagation Rules Based on Transformers27 Sep 2025
- 2025Data Uniformity Improves Training Efficiency and More, with a Convergence Framework Beyond the NTK Regime30 Jun 2025
- 2025On the Existence of Universal Simulators of Attention23 Jun 2025
- 2025Sample Complexity and Representation Ability of Test-time Scaling Paradigms5 Jun 2025
- 2025On the Convergence of Gradient Descent on Learning Transformers with Residual Connections5 Jun 2025
- 2025Overfitting has a limitation: a model-independent generalization gap bound based on R'enyi entropy30 May 2025
- 2025The Price of a Second Thought: On the Evaluation of Reasoning Efficiency in Large Language Models28 May 2025
- 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thought18 May 2025
- 2025Lost in Transmission: When and Why LLMs Fail to Reason Globally13 May 2025
- 2025Transformers for Learning on Noisy and Task-Level Manifolds: Approximation and Generalization Insights6 May 2025
- 2025Transformers Can Overcome the Curse of Dimensionality: A Theoretical Study from an Approximation Perspective18 Apr 2025
- 2025Approximation Bounds for Transformer Networks with Application to Regression16 Apr 2025
- 2025When Do Transformers Outperform Feedforward and Recurrent Networks? A Statistical Perspective14 Mar 2025
- 2025Words or Vision: Do Vision-Language Models Have Blind Faith in Text?4 Mar 2025
- 2025Reasoning with Latent Thoughts: On the Power of Looped Transformers24 Feb 2025
- 2025On the Query Complexity of Verifier-Assisted Language Generation17 Feb 2025
- 2025Hallucinations are inevitable but can be made statistically negligible15 Feb 2025
- 2025Generalization Error Analysis for Selective State-Space Models Through the Lens of Attention3 Feb 2025
- 2025On the Role of Transformer Feed-Forward Layers in Nonlinear In-Context Learning30 Jan 2025
- 2024Simulating Hard Attention Using Soft Attention13 Dec 2024
50 newest of 144 All 144 (JSON)
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 293
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 256
- 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 223
- 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thoughtcited by 73
- 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 65
- 2024Towards a Theoretical Understanding of the 'Reversal Curse' via Training Dynamicscited by 27
- 2024Training Neural Networks as Recognizers of Formal Languagescited by 23
- 2024On the Inductive Bias of Stacking Towards Improving Reasoningcited by 18
- 2025The Price of a Second Thought: On the Evaluation of Reasoning Efficiency in Large Language Modelscited by 17
- 2025Sample Complexity and Representation Ability of Test-time Scaling Paradigmscited by 12
- 2024LightTransfer: Your Long-Context LLM is Secretly a Hybrid Model with Effortless Adaptationcited by 11
- 2025On the Query Complexity of Verifier-Assisted Language Generationcited by 10
12 most cited of 14 All 14 (JSON)
- 2025Softmax Transformers are Turing-Complete25 Nov 2025
- 2025Sample Complexity and Representation Ability of Test-time Scaling Paradigms5 Jun 2025
- 2025The Price of a Second Thought: On the Evaluation of Reasoning Efficiency in Large Language Models28 May 2025
- 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thought18 May 2025
- 2025Lost in Transmission: When and Why LLMs Fail to Reason Globally13 May 2025
- 2025Reasoning with Latent Thoughts: On the Power of Looped Transformers24 Feb 2025
- 2025On the Query Complexity of Verifier-Assisted Language Generation17 Feb 2025
- 2024Training Neural Networks as Recognizers of Formal Languages11 Nov 2024
- 2024LightTransfer: Your Long-Context LLM is Secretly a Hybrid Model with Effortless Adaptation17 Oct 2024
- 2024On the Inductive Bias of Stacking Towards Improving Reasoning27 Sep 2024
- 2024Towards a Theoretical Understanding of the 'Reversal Curse' via Training Dynamics7 May 2024
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problems20 Feb 2024
12 newest of 14 All 14 (JSON)
- 2023Bidirectional Attention as a Mixture of Continuous Word Experts8 Jul 2023
- 2022Generalizing Multimodal Variational Methods to Sets19 Dec 2022
- 2023Large Language Modelscited by 774
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
- 2022Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limitcited by 184
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
- 2023Representational Strengths and Limitations of Transformerscited by 132
- 2023What and How does In-Context Learning Learn? Bayesian Model Averaging, Parameterization, and Generalizationcited by 112
- 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 101
12 most cited of 123 All 123 (JSON)
- 2026Attention Graphons: A Graph Limit Perspective on Graph Transformers28 Sep 2026
- 2026Information-Theoretic Analysis of Next-Token Prediction under Markovian Data28 Sep 2026
- 2026Neural Scaling Laws of Transformer Operator Network27 Sep 2026
- 2026VC Dimension and Expressivity of Real-Valued Transformers25 Sep 2026
- 2026Non-Crossing Deep Quantile Regression for Distributional Survival Prediction17 Aug 2026
- 2026Efficient LLM Adversarial Training via Low-Rank Defense and Circuit-Guided Surrogates31 Jul 2026
- 2026Generalization Bounds on Optimal Control for Transformer Training and Wasserstein Distributional Robustness30 Jul 2026
- 2026Higher-Order Token Interactions via Quantum Attention10 Jun 2026
- 2026Tight Sample Complexity of Transformers8 Jun 2026
- 2026Measure-to-measure Regression with Transformers27 May 2026
- 2026How Many Different Outputs Can a Transformer Generate?21 May 2026
- 2026Lossless Anti-Distillation Sampling12 May 2026
12 newest of 123 All 123 (JSON)