Tighter Bounds on the Expressivity of Transformer Encoders
Not on the map. Why?
Abstract (arXiv)
Characterizing neural networks in terms of better-understood formal systems has the potential to yield new insights into the power and limitations of these networks. Doing so for transformers remains an active area of research. Bhattamishra and others have shown that transformer encoders are at least as expressive as a certain kind of counter machine, while Merrill and Sabharwal have shown that fixed-precision transformer encoders recognize only languages in uniform TC0. We connect and strengthen these results by identifying a variant of first-order logic with counting quantifiers that is simultaneously an upper bound for fixed-precision transformer encoders and a lower bound for transformer encoders. This brings us much closer than before to an exact characterization of the languages that transformer encoders recognize.
Key facts. Cited by 66 papers in the map (data through 14 Oct 2026). Builds on 16 of its 32 references that are in the map. First posted on arXiv 25 Jan 2023.
Builds on
16 of 32 references.
References · 16
- 2017Attention Is All You Needcited by 60,361
- 2016Layer Normalizationcited by 5,669
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
- 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 193
- 2021Thinking Like Transformerscited by 184
- 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 153
- 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 139
- 2022Overcoming a Theoretical Limitation of Self-Attentioncited by 113
- 2023Tracr: Compiled Transformers as a Laboratory for Interpretabilitycited by 104
4 more
- 2022Formal Language Recognition by Hard Attention Transformers: Perspectives from Circuit Complexitycited by 93
- 2017Recurrent Neural Networks as Weighted Language Recognizerscited by 30
- 2020On the Linguistic Capacity of Real-Time Counter Automatacited by 17
- 2018SoPa: Bridging CNNs, RNNs, and Weighted Finite-State Machinescited by 8
Built on by
Citing papers per year: 2023: 10; 2024: 24; 2025: 14; 2026: 18.
66 papers.
Sort:
By area:
- 2023Large Language Modelscited by 780
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 260
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
- 2024The Illusion of State in State-Space Modelscited by 187
- 2023What Formal Languages Can Transformers Express? A Surveycited by 124
- 2024Why are Sensitive Functions Hard for Transformers?cited by 74
- 2025A Little Depth Goes a Long Way: The Expressive Power of Log-Depth Transformerscited by 53
- 2023The Expressive Power of Transformers with Chain of Thoughtcited by 50
- 2023Masked Hard-Attention Transformers Recognize Exactly the Star-Free Languagescited by 49
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspectivecited by 46
- 2024Transformers are Universal In-context Learnerscited by 43
38 more
- 2024Counting Like Transformers: Compiling Temporal Counting Logic Into Softmax Transformerscited by 39
- 2023Logical Languages Accepted by Transformer Encoders with Hard Attentioncited by 38
- 2024Transformers Can Represent n-gram Language Modelscited by 32
- 2024Separations in the Representational Capabilities of Transformers and Recurrent Architecturescited by 29
- 2024Measure-to-measure interpolation using Transformerscited by 29
- 2024The Computational Limits of State-Space Models and Mamba via the Lens of Circuit Complexitycited by 21
- 2025Exact Expressive Power of Transformers with Paddingcited by 19
- 2023Do pretrained Transformers Learn In-Context by Gradient Descent?cited by 18
- 2025Characterizing the Expressivity of Fixed-Precision Transformer Language Modelscited by 14
- 2024An Examination on the Effectiveness of Divide-and-Conquer Prompting in Large Language Modelscited by 12
- 2024Ask, and it shall be given: On the Turing completeness of promptingcited by 10
- 2025Unique Hard Attention: A Tale of Two Sidescited by 10
- 2024ALTA: Compiler-Based Analysis of Transformerscited by 7
- 2024Strong hallucinations from negation and how to fix themcited by 6
- 2024Transformers are Expressive, But Are They Expressive Enough for Regression?cited by 6
- 2025Ehrenfeucht-Haussler Rank and Chain of Thoughtcited by 6
- 2025Bridging Kolmogorov Complexity and Deep Learning: Asymptotically Optimal Description Length Objectives for Transformerscited by 6
- 2025Transformers through the lens of support-preserving maps between measurescited by 6
- 2025The Transformer Cookbookcited by 6
- 2024Transformer Encoder Satisfiability: Complexity and Impact on Formal Reasoningcited by 5
- 2024GUNDAM: Aligning Large Language Models with Graph Understandingcited by 5
- 2024Learning Linear Attention in Polynomial Timecited by 5
- 2026Parity, Sensitivity, and Transformerscited by 5
- 2024Simulating Weighted Automata over Sequences and Trees with Transformerscited by 4
- 2025Efficient Turing Machine Simulation with Transformerscited by 4
- 2025Rectifying LLM Thought from Lens of Optimizationcited by 4
- 2026Length Generalization Bounds for Transformerscited by 4
- 2023State space models can express n-gram languagescited by 3
- 2026Characterizing the Expressivity of Local Attention in Transformerscited by 3
- 2026Continuous Latent Contexts Enable Efficient Online Learning in Transformerscited by 3
- 2023Evaluating Transformer's Ability to Learn Mildly Context-Sensitive Languagescited by 2
- 2024A Transformer with Stack Attentioncited by 2
- 2025Deciphering Trajectory-Aided LLM Reasoning: An Optimization Perspectivecited by 2
- 2025Expressive Power of Graph Transformers via Logiccited by 2
- 2025Topos Theory for Generative AI and LLMscited by 2
- 2026SymTorch: Symbolic Distillation of Neural Networkscited by 2
- 2026Measure-to-measure Regression with Transformerscited by 2
- 2026Indexing: the Beginning and the Endcited by 2
50 most cited of 66 All 66 (JSON)
- 2026Rotate the Loop: Blockwise Conformality for Looped Transformers30 Sep 2026
- 2026On the Expressive Power of Transformers13 Aug 2026
- 2026Disentangling the Expressivity of RoPE12 Aug 2026
- 2026Attention-based representations for multi-task computation4 Aug 2026
- 2026Indexing: the Beginning and the End24 Jul 2026
- 2026Measure-to-measure Regression with Transformers27 May 2026
- 2026A Hierarchical Language Model with Predictable Scaling Laws and Provable Benefits of Reasoning13 May 2026
- 2026The Polynomial Counting Capabilities of Message Passing Neural Networks11 May 2026
- 2026Continuous Latent Contexts Enable Efficient Online Learning in Transformers11 May 2026
- 2026Encoder-Decoder Transformers: Logical Characterizations and Periodicity8 May 2026
- 2026Average Attention Transformers and Arithmetic Circuits6 May 2026
- 2026Characterizing the Expressivity of Local Attention in Transformers1 May 2026
38 more
- 2026Closing the Theory-Practice Gap in Spiking Transformers via Effective Dimension17 Apr 2026
- 2026Algorithmic Task Capture, Computational Complexity, and Inductive Bias of Infinite Transformers11 Mar 2026
- 2026SymTorch: Symbolic Distillation of Neural Networks24 Feb 2026
- 2026Length Generalization Bounds for Transformers13 Feb 2026
- 2026Parity, Sensitivity, and Transformers5 Feb 2026
- 2026Semantic Content Determines Algorithmic Performance29 Jan 2026
- 2025Rectifying LLM Thought from Lens of Optimization1 Dec 2025
- 2025Analyzing the Power of Chain of Thought through Memorization Capabilities3 Nov 2025
- 2025The Transformer Cookbook1 Oct 2025
- 2025Transformers through the lens of support-preserving maps between measures30 Sep 2025
- 2025Efficient Turing Machine Simulation with Transformers28 Sep 2025
- 2025Bridging Kolmogorov Complexity and Deep Learning: Asymptotically Optimal Description Length Objectives for Transformers26 Sep 2025
- 2025Topos Theory for Generative AI and LLMs5 Aug 2025
- 2025Expressive Power of Graph Transformers via Logic1 Aug 2025
- 2025Characterizing the Expressivity of Fixed-Precision Transformer Language Models29 May 2025
- 2025Deciphering Trajectory-Aided LLM Reasoning: An Optimization Perspective26 May 2025
- 2025Exact Expressive Power of Transformers with Padding25 May 2025
- 2025Unique Hard Attention: A Tale of Two Sides18 Mar 2025
- 2025A Little Depth Goes a Long Way: The Expressive Power of Log-Depth Transformers5 Mar 2025
- 2025Ehrenfeucht-Haussler Rank and Chain of Thought22 Jan 2025
- 2024The Computational Limits of State-Space Models and Mamba via the Lens of Circuit Complexity9 Dec 2024
- 2024Measure-to-measure interpolation using Transformers7 Nov 2024
- 2024Ask, and it shall be given: On the Turing completeness of prompting4 Nov 2024
- 2024ALTA: Compiler-Based Analysis of Transformers23 Oct 2024
- 2024Learning Linear Attention in Polynomial Time14 Oct 2024
- 2024A mechanistically interpretable neural network for regulatory genomics8 Oct 2024
- 2024GUNDAM: Aligning Large Language Models with Graph Understanding30 Sep 2024
- 2024Transformers are Universal In-context Learners2 Aug 2024
- 2024How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and Reliability13 Jun 2024
- 2024Separations in the Representational Capabilities of Transformers and Recurrent Architectures13 Jun 2024
- 2024Transformer Encoder Satisfiability: Complexity and Impact on Formal Reasoning28 May 2024
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspective27 May 2024
- 2024On the Expressivity of Recurrent Neural Cascades with Identity19 May 2024
- 2024A Transformer with Stack Attention7 May 2024
- 2024Transformers Can Represent n-gram Language Models23 Apr 2024
- 2024The Illusion of State in State-Space Models12 Apr 2024
- 2024Counting Like Transformers: Compiling Temporal Counting Logic Into Softmax Transformers5 Apr 2024
- 2024Simulating Weighted Automata over Sequences and Trees with Transformers12 Mar 2024
50 newest of 66 All 66 (JSON)
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 260
- 2023The Expressive Power of Transformers with Chain of Thoughtcited by 50
- 2025Exact Expressive Power of Transformers with Paddingcited by 19
- 2024Strong hallucinations from negation and how to fix themcited by 6
- 2025Ehrenfeucht-Haussler Rank and Chain of Thoughtcited by 6
- 2025Efficient Turing Machine Simulation with Transformerscited by 4
- 2025Rectifying LLM Thought from Lens of Optimizationcited by 4
- 2025Deciphering Trajectory-Aided LLM Reasoning: An Optimization Perspectivecited by 2
- 2025Analyzing the Power of Chain of Thought through Memorization Capabilitiescited by 1
- 2025Rectifying LLM Thought from Lens of Optimization1 Dec 2025
- 2025Analyzing the Power of Chain of Thought through Memorization Capabilities3 Nov 2025
- 2025Efficient Turing Machine Simulation with Transformers28 Sep 2025
- 2025Deciphering Trajectory-Aided LLM Reasoning: An Optimization Perspective26 May 2025
- 2025Exact Expressive Power of Transformers with Padding25 May 2025
- 2025Ehrenfeucht-Haussler Rank and Chain of Thought22 Jan 2025
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problems20 Feb 2024
- 2024Strong hallucinations from negation and how to fix them16 Feb 2024
- 2023The Expressive Power of Transformers with Chain of Thought11 Oct 2023
- 2023Large Language Modelscited by 780
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
- 2024The Illusion of State in State-Space Modelscited by 187
- 2023What Formal Languages Can Transformers Express? A Surveycited by 124
- 2024Why are Sensitive Functions Hard for Transformers?cited by 74
- 2025A Little Depth Goes a Long Way: The Expressive Power of Log-Depth Transformerscited by 53
- 2023Masked Hard-Attention Transformers Recognize Exactly the Star-Free Languagescited by 49
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspectivecited by 46
- 2024Transformers are Universal In-context Learnerscited by 43
- 2024Counting Like Transformers: Compiling Temporal Counting Logic Into Softmax Transformerscited by 39
- 2023Logical Languages Accepted by Transformer Encoders with Hard Attentioncited by 38
12 most cited of 55 All 55 (JSON)
- 2026Rotate the Loop: Blockwise Conformality for Looped Transformers30 Sep 2026
- 2026On the Expressive Power of Transformers13 Aug 2026
- 2026Disentangling the Expressivity of RoPE12 Aug 2026
- 2026Attention-based representations for multi-task computation4 Aug 2026
- 2026Indexing: the Beginning and the End24 Jul 2026
- 2026Measure-to-measure Regression with Transformers27 May 2026
- 2026A Hierarchical Language Model with Predictable Scaling Laws and Provable Benefits of Reasoning13 May 2026
- 2026The Polynomial Counting Capabilities of Message Passing Neural Networks11 May 2026
- 2026Continuous Latent Contexts Enable Efficient Online Learning in Transformers11 May 2026
- 2026Encoder-Decoder Transformers: Logical Characterizations and Periodicity8 May 2026
- 2026Average Attention Transformers and Arithmetic Circuits6 May 2026
- 2026Characterizing the Expressivity of Local Attention in Transformers1 May 2026
12 newest of 55 All 55 (JSON)