Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functions
Not on the map. Why?
Abstract (arXiv)
Despite the widespread success of Transformers on NLP tasks, recent works have found that they struggle to model several formal languages when compared to recurrent models. This raises the question of why Transformers perform well in practice and whether they have any properties that enable them to generalize better than recurrent models. In this work, we conduct an extensive empirical study on Boolean functions to demonstrate the following: (i) Random Transformers are relatively more biased towards functions of low sensitivity. (ii) When trained on Boolean functions, both Transformers and LSTMs prioritize learning functions of low sensitivity, with Transformers ultimately converging to functions of lower sensitivity. (iii) On sparse Boolean functions which have low sensitivity, we find that Transformers generalize near perfectly even in the presence of noisy labels whereas LSTMs overfit and achieve poor generalization accuracy. Overall, our results provide strong quantifiable evidence that suggests differences in the inductive biases of Transformers and recurrent models which may help explain Transformer's effective generalization performance despite relatively limited expressiveness.
Key facts. Cited by 70 papers in the map (data through 14 Oct 2026). Builds on 42 of its 78 references that are in the map. First posted on arXiv 22 Nov 2022.
Builds on
42 of 78 references.
References · 42
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2018On the Spectral Bias of Neural Networkscited by 1,341
- 2017A Closer Look at Memorization in Deep Networkscited by 942
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2017Deep Neural Networks as Gaussian Processescited by 622
- 2020Bayesian Deep Learning and a Probabilistic Perspective of Generalizationcited by 480
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
30 more
- 2022Neural Networks and the Chomsky Hierarchycited by 217
- 2022Exploring Length Generalization in Large Language Modelscited by 206
- 2019SGD on Neural Networks Learns Functions of Increasing Complexitycited by 204
- 2018Sensitivity and Generalization in Neural Networks: an Empirical Studycited by 189
- 2022Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limitcited by 187
- 2018Deep learning generalizes because the parameter-function map is biased towards simple functionscited by 183
- 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
- 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 139
- 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
- 2021Can You Learn an Algorithm? Generalizing from Easy to Hard Problems with Recurrent Networkscited by 117
- 2022Overcoming a Theoretical Limitation of Self-Attentioncited by 113
- 2021Self-Attention Networks Can Process Bounded Hierarchical Languagescited by 105
- 2022Formal Language Recognition by Hard Attention Transformers: Perspectives from Circuit Complexitycited by 93
- 2018Overparameterized Nonlinear Learning: Gradient Descent Takes the Shortest Path?cited by 88
- 2020A Formal Hierarchy of RNN Architecturescited by 62
- 2020How Can Self-Attention Networks Recognize Dyck-n Languages?cited by 51
- 2020Is SGD a Bayesian sampler? Well, almostcited by 50
- 2019LSTM Networks Can Perform Dynamic Countingcited by 45
- 2019On the Computational Power of RNNscited by 35
- 2021Memorisation versus Generalisation in Pre-trained Language Modelscited by 32
- 2021Sensitivity as a Complexity Measure for Sequence Classification Taskscited by 28
- 2019Neural networks are a priori biased towards Boolean functions with low entropycited by 24
- 2020On the Practical Ability of Recurrent Neural Networks to Recognize Hierarchical Languagescited by 22
- 2020TraDE: Transformers for Density Estimationcited by 18
- 2018On Evaluating the Generalization of LSTM Models in Formal Languagescited by 17
- 2018Evaluating the Ability of LSTMs to Learn Context-Free Grammarscited by 16
- 2019Learning Curves for Deep Neural Networks: A Gaussian Field Theory Perspectivecited by 11
- 2020Choppy: Cut Transformer For Ranked List Truncationcited by 11
- 2022What Makes Instruction Learning Hard? An Investigation and a New Challenge in a Synthetic Environmentcited by 9
- 2018A Comparative Study of Rule Extraction for Recurrent Neural Networkscited by 3
Built on by
Citing papers per year: 2023: 11; 2024: 24; 2025: 18; 2026: 17.
70 papers.
Sort:
By area:
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 199
- 2023Looped Transformers are Better at Learning Learning Algorithmscited by 149
- 2023Representational Strengths and Limitations of Transformerscited by 133
- 2023What Formal Languages Can Transformers Express? A Surveycited by 124
- 2023In-Context Learning through the Bayesian Prismcited by 83
- 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokkingcited by 80
- 2024Why are Sensitive Functions Hard for Transformers?cited by 74
- 2023Understanding In-Context Learning in Transformers and LLMs by Learning to Learn Discrete Functionscited by 63
- 2024Neural Redshift: Random Networks are not Random Functionscited by 43
- 2024IsoBench: Benchmarking Multimodal Foundation Models on Isomorphic Representationscited by 38
- 2024Why Do You Grok? A Theoretical Analysis of Grokking Modular Additioncited by 36
- 2023How are Prompts Different in Terms of Sensitivity?cited by 35
38 more
- 2024Out-of-Domain Generalization in Dynamical Systems Reconstructioncited by 33
- 2023Deep neural networks have an inbuilt Occam's razorcited by 28
- 2024Understanding the Expressive Power and Mechanisms of Transformer for Sequence Modelingcited by 25
- 2024Language Models Need Inductive Biases to Count Inductivelycited by 25
- 2024Learning Syntax Without Planting Trees: Understanding Hierarchical Generalization in Transformerscited by 24
- 2024A distributional simplicity bias in the learning dynamics of transformerscited by 24
- 2024Training Neural Networks as Recognizers of Formal Languagescited by 24
- 2025How Muon's Spectral Design Benefits Generalization: A Study on Imbalanced Datacited by 19
- 2024Progressive distillation induces an implicit curriculumcited by 15
- 2025Saddle-to-Saddle Dynamics Explains A Simplicity Bias Across Neural Network Architecturescited by 15
- 2024Transformers Learn Low Sensitivity Functions: Investigations and Implicationscited by 14
- 2024Towards Understanding Inductive Bias in Transformers: A View From Infinitycited by 13
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wildcited by 13
- 2025Representation Potentials of Foundation Models for Multimodal Alignment: A Surveycited by 11
- 2024On the Optimal Memorization Capacity of Transformerscited by 10
- 2025Binned Spectral Power Loss for Improved Prediction of Chaotic Systemscited by 10
- 2026The Expressive Limits of Diagonal SSMs for State-Trackingcited by 9
- 2024The Mystery of the Pathological Path-star Task for Language Modelscited by 8
- 2025When Do Neural Networks Learn World Models?cited by 8
- 2023MLRegTest: A Benchmark for the Machine Learning of Regular Languagescited by 7
- 2024IM-Context: In-Context Learning for Imbalanced Regression Taskscited by 7
- 2024ALTA: Compiler-Based Analysis of Transformerscited by 7
- 2025Bridging Kolmogorov Complexity and Deep Learning: Asymptotically Optimal Description Length Objectives for Transformerscited by 6
- 2024Investigating Recurrent Transformers with Dynamic Haltcited by 5
- 2025Transformers Can Overcome the Curse of Dimensionality: A Theoretical Study from an Approximation Perspectivecited by 5
- 2026Long-Tail Knowledge in Large Language Models: Taxonomy, Mechanisms, Interventions and Implicationscited by 5
- 2025To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Modelscited by 4
- 2024A rationale from frequency perspective for grokking in training neural networkcited by 3
- 2024Early learning of the optimal constant solution in neural networks and humanscited by 3
- 2024Exploiting the equivalence between quantum neural networks and perceptronscited by 3
- 2024Neural Networks Generalize on Low Complexity Datacited by 3
- 2025Transformers Provably Learn Sparse XOR with Polylogarithmic Parameterscited by 3
- 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More Morecited by 3
- 2025Review of Hallucination Understanding in Large Language and Vision Modelscited by 2
- 2025Adam or Gauss-Newton? A Comparative Study In Terms of Basis Alignment and SGD Noisecited by 2
- 2025Transformers with RL or SFT Provably Learn Sparse Boolean Functions, But Differentlycited by 2
- 2026How Far Ahead Do LLMs Plan? Uncovering the Latent Horizon in Chain-of-Thought Reasoningcited by 2
- 2026Solomonoff inductioncited by 2
50 most cited of 70 All 70 (JSON)
- 2026Operator-informed initialization for Fourier features physics-informed neural networks2 Oct 2026
- 2026State Propagation Also Satisfies: A Complex-Valued State-Space Model for Deterministic State Tracking4 Aug 2026
- 2026Transcript-Managed Transformers: Monotone Multi-Agent Collapse and Universality with Two Pop-Enabled Transcripts31 Jul 2026
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Tasks20 Jul 2026
- 2026Higher-Order Token Interactions via Quantum Attention10 Jun 2026
- 2026Understanding the Parameter Space Geometry of Transformers Encoding Boolean Functions7 Jun 2026
- 2026Looped Transformers with Layer Normalization Provably Learn the Power Method30 May 2026
- 2026Do Deep Networks Forget Initialization? A Forgetting-Time View of Practical Inductive Bias27 May 2026
- 2026The two clocks and the innovation window: When and how generative models learn rules11 May 2026
- 2026Solomonoff induction17 Mar 2026
- 2026The Expressive Limits of Diagonal SSMs for State-Tracking2 Mar 2026
- 2026Long-Tail Knowledge in Large Language Models: Taxonomy, Mechanisms, Interventions and Implications18 Feb 2026
38 more
- 2026Trapped by simplicity: When Transformers fail to learn from noisy features9 Feb 2026
- 2026Noise Stability of Transformer Models9 Feb 2026
- 2026Gradient Flow Through Diagram Expansions: Learning Regimes and Explicit Solutions4 Feb 2026
- 2026How Far Ahead Do LLMs Plan? Uncovering the Latent Horizon in Chain-of-Thought Reasoning2 Feb 2026
- 2026On the Convergence Behavior of Preconditioned Gradient Descent Toward the Rich Learning Regime6 Jan 2026
- 2025Saddle-to-Saddle Dynamics Explains A Simplicity Bias Across Neural Network Architectures23 Dec 2025
- 2025Transformers with RL or SFT Provably Learn Sparse Boolean Functions, But Differently22 Nov 2025
- 2025How Muon's Spectral Design Benefits Generalization: A Study on Imbalanced Data27 Oct 2025
- 2025To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Models16 Oct 2025
- 2025Adam or Gauss-Newton? A Comparative Study In Terms of Basis Alignment and SGD Noise15 Oct 2025
- 2025Representation Potentials of Foundation Models for Multimodal Alignment: A Survey5 Oct 2025
- 2025Review of Hallucination Understanding in Large Language and Vision Models26 Sep 2025
- 2025Bridging Kolmogorov Complexity and Deep Learning: Asymptotically Optimal Description Length Objectives for Transformers26 Sep 2025
- 2025Parity Requires Unified Input Dependence and Negative Eigenvalues in SSMs10 Aug 2025
- 2025Characterising the Inductive Biases of Neural Networks on Boolean Data29 May 2025
- 2025Simplicity is Key: An Unsupervised Pretraining Approach for Sparse Radio Channels19 May 2025
- 2025Transformers Can Overcome the Curse of Dimensionality: A Theoretical Study from an Approximation Perspective18 Apr 2025
- 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More More13 Mar 2025
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wild13 Mar 2025
- 2025When Do Neural Networks Learn World Models?13 Feb 2025
- 2025Transformers Provably Learn Sparse XOR with Polylogarithmic Parameters11 Feb 2025
- 2025Binned Spectral Power Loss for Improved Prediction of Chaotic Systems1 Feb 2025
- 2025Learning Model Successors31 Jan 2025
- 2024Exploring Grokking: Experimental and Mechanistic Investigations14 Dec 2024
- 2024Training Neural Networks as Recognizers of Formal Languages11 Nov 2024
- 2024A distributional simplicity bias in the learning dynamics of transformers25 Oct 2024
- 2024ALTA: Compiler-Based Analysis of Transformers23 Oct 2024
- 2024The Mystery of the Pathological Path-star Task for Language Models17 Oct 2024
- 2024Progressive distillation induces an implicit curriculum7 Oct 2024
- 2024On the Optimal Memorization Capacity of Transformers26 Sep 2024
- 2024Neural Networks Generalize on Low Complexity Data19 Sep 2024
- 2024Why Do You Grok? A Theoretical Analysis of Grokking Modular Addition17 Jul 2024
- 2024Exploiting the equivalence between quantum neural networks and perceptrons5 Jul 2024
- 2024Early learning of the optimal constant solution in neural networks and humans25 Jun 2024
- 2024Language Models Need Inductive Biases to Count Inductively30 May 2024
- 2024IM-Context: In-Context Learning for Imbalanced Regression Tasks28 May 2024
- 2024A rationale from frequency perspective for grokking in training neural network24 May 2024
- 2024Learning Syntax Without Planting Trees: Understanding Hierarchical Generalization in Transformers25 Apr 2024
50 newest of 70 All 70 (JSON)
- 2025When Do Neural Networks Learn World Models?cited by 8
- 2025When Do Neural Networks Learn World Models?13 Feb 2025
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 199
- 2023Looped Transformers are Better at Learning Learning Algorithmscited by 149
- 2023Representational Strengths and Limitations of Transformerscited by 133
- 2023What Formal Languages Can Transformers Express? A Surveycited by 124
- 2023In-Context Learning through the Bayesian Prismcited by 83
- 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokkingcited by 80
- 2024Why are Sensitive Functions Hard for Transformers?cited by 74
- 2023Understanding In-Context Learning in Transformers and LLMs by Learning to Learn Discrete Functionscited by 63
- 2024Neural Redshift: Random Networks are not Random Functionscited by 43
- 2024IsoBench: Benchmarking Multimodal Foundation Models on Isomorphic Representationscited by 38
- 2024Why Do You Grok? A Theoretical Analysis of Grokking Modular Additioncited by 36
- 2023How are Prompts Different in Terms of Sensitivity?cited by 35
12 most cited of 65 All 65 (JSON)
- 2026Operator-informed initialization for Fourier features physics-informed neural networks2 Oct 2026
- 2026State Propagation Also Satisfies: A Complex-Valued State-Space Model for Deterministic State Tracking4 Aug 2026
- 2026Transcript-Managed Transformers: Monotone Multi-Agent Collapse and Universality with Two Pop-Enabled Transcripts31 Jul 2026
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Tasks20 Jul 2026
- 2026Higher-Order Token Interactions via Quantum Attention10 Jun 2026
- 2026Understanding the Parameter Space Geometry of Transformers Encoding Boolean Functions7 Jun 2026
- 2026Looped Transformers with Layer Normalization Provably Learn the Power Method30 May 2026
- 2026Do Deep Networks Forget Initialization? A Forgetting-Time View of Practical Inductive Bias27 May 2026
- 2026The two clocks and the innovation window: When and how generative models learn rules11 May 2026
- 2026Solomonoff induction17 Mar 2026
- 2026The Expressive Limits of Diagonal SSMs for State-Tracking2 Mar 2026
- 2026Long-Tail Knowledge in Large Language Models: Taxonomy, Mechanisms, Interventions and Implications18 Feb 2026
12 newest of 65 All 65 (JSON)