Transformers are Inherently Succinct

Pascal Bergsträßer, Ryan Cotterell, Anthony W. Lin

International Conference on Learning Representations 2026 · Oral

Overview

This talk, presented by Pascal Bergsträßer alongside collaborators Ryan Cotterell and Anthony W. Lin, delves into a theoretical understanding of the remarkable success of Transformer models, particularly in the context of large language models (LLMs). Rather than solely focusing on the widely studied concept of expressivity—the range of functions a model can compute—the authors propose succinctness as a crucial lens through which to evaluate Transformer capabilities. They argue that while expressivity might suggest limitations for fixed-precision Transformers compared to models like Recurrent Neural Networks (RNNs), their ability to represent complex concepts in a highly compact form offers a more compelling explanation for their empirical performance.

Watch on SlidesLive

Visual summary for Transformers are Inherently Succinct by Pascal Bergsträßer, Ryan Cotterell, Anthony W. Lin
Visual summary for Transformers are Inherently Succinct by Pascal Bergsträßer, Ryan Cotterell, Anthony W. Lin

Key moments

  1. 0:00 Introduction: Beyond expressivity for transformers
  2. 1:08 Defining succinctness with number representation analogy
  3. 2:15 Overview of the unique hard attention transformer
  4. 4:50 Exponential tiling problem for demonstrating succinctness
  5. 7:30 Main result: Transformers' extreme succinctness and its cost
  6. 9:00 Open questions and future directions for research
  7. 10:15 Audience Q&A: Succinctness, compression, and performance

Transformers are Inherently Succinct

Speakers: Pascal Bergsträßer, Ryan Cotterell, Anthony W. Lin

Conference: ICLR 2026

YouTube: https://slideslive.com/39064114

Overview

This talk, presented by Pascal Bergsträßer alongside collaborators Ryan Cotterell and Anthony W. Lin, delves into a theoretical understanding of the remarkable success of Transformer models, particularly in the context of large language models (LLMs). Rather than solely focusing on the widely studied concept of expressivity—the range of functions a model can compute—the authors propose succinctness as a crucial lens through which to evaluate Transformer capabilities. They argue that while expressivity might suggest limitations for fixed-precision Transformers compared to models like Recurrent Neural Networks (RNNs), their ability to represent complex concepts in a highly compact form offers a more compelling explanation for their empirical performance.

The core contribution of this research is a rigorous theoretical proof demonstrating that a specific class of Transformers, termed Unique Hard Attention Transformers (U-HATs), can be exponentially more succinct than traditional models like Linear Temporal Logic (LTL), RNNs, and even doubly exponentially more succinct than finite automata for certain computational problems. This profound representational efficiency allows Transformers to tackle problems that would require prohibitively large equivalent representations in other formalisms. However, this power comes with a significant theoretical cost: the verification of U-HATs, specifically problems like emptiness (checking if a transformer accepts any string) and equivalence (checking if two transformers accept the same language), are shown to be exponential space complete, indicating extreme computational difficulty.

The implications of this work are far-reaching for both theoretical understanding and practical deployment of AI systems. For researchers, it offers a novel framework to analyze and compare different neural architectures, shifting focus from merely what they can compute to how efficiently they can represent that computation. For practitioners, it provides a theoretical grounding for why Transformers excel in complex tasks, even with limited resources, while simultaneously highlighting fundamental challenges in their interpretability, debugging, and formal verification—issues that are becoming increasingly critical as these models are deployed in sensitive applications.

Background

▶ Watch: Introduction: Beyond expressivity for transformers (0:00)

The phenomenal success of modern large language models, underpinned by the Transformer architecture, has spurred significant efforts to understand their theoretical foundations. A common approach in this domain has been to analyze the expressivity of neural networks—their capacity to approximate or recognize various functions or languages. Early theoretical work often focused on the universal approximation theorem for feed-forward networks or the ability of RNNs to recognize all regular languages. However, when applied to Transformers, particularly those with fixed-precision arithmetic (as found in practical computing environments), an apparent paradox emerges. It is known that fixed-precision Transformers can only recognize a relatively small class of languages known as star-free languages. Star-free languages are a strict subset of regular languages, meaning there are many simple regular languages—such as AA* (any number of 'A's, starting with at least one 'A')—that cannot be recognized by these models. In contrast, RNNs are capable of recognizing all regular languages, including AA*.

This disparity in theoretical expressivity, where RNNs appear more powerful than fixed-precision Transformers for certain language recognition tasks, clashes directly with the overwhelming empirical evidence of Transformer superiority across a vast array of complex problems. If expressivity alone were the metric, the widespread adoption and success of Transformers would be difficult to reconcile. This suggests that expressivity might not be the sole or even primary factor explaining their performance advantage.

The authors address this gap by proposing succinctness as an alternative, and perhaps more appropriate, measure. Succinctness refers to the compactness of a representation for a given concept or function. To illustrate, they use the analogy of numbers: the number 3888 requires four digits in Arabic numerals but fifteen letters in Roman numerals, demonstrating that Arabic numerals offer a more succinct representation for that specific number. Applied to computational models, a more succinct model can represent a complex language or function using fewer parameters, states, or logical rules than a less succinct model. This shift in perspective allows for a new theoretical framework to explain why Transformers, despite potential limitations in raw expressive power for certain elementary tasks, might be inherently better suited for the complex, high-dimensional problems encountered in modern AI.

Key Findings

▶ Watch: Overview of the unique hard attention transformer (2:15)

The central findings of this research establish the exceptional succinctness of Unique Hard Attention Transformers (U-HATs) and delineate the computational cost associated with this power. The primary contributions are:

  1. Exponential and Doubly Exponential Succinctness: The authors rigorously prove that U-HATs are significantly more succinct than several established models from formal language theory and classical neural architectures. Specifically, for certain languages, U-HATs can be:
  • Exponentially more succinct than Linear Temporal Logic (LTL) formulas and Recurrent Neural Networks (RNNs). This means that a language requiring an LTL formula or an RNN of size S might be represented by a U-HAT of size log(S) or sqrt(S), an exponential reduction.
  • Doubly exponentially more succinct than finite automata. For a language requiring an automaton of size S, a U-HAT might achieve this with a size proportional to log(log(S)), an even more profound compression. This hierarchy of succinctness highlights a fundamental advantage of the Transformer architecture in compactly encoding complex computational patterns.
  1. The "Cost" of Succinctness – Verification Hardness: While U-HATs offer unparalleled compactness, this power is shown to come with a substantial theoretical cost in terms of analyzability and verification. The authors prove that fundamental verification problems for U-HATs are computationally intractable:
  • Emptiness Problem: Determining if a given U-HAT accepts any string (i.e., if the language it recognizes is non-empty) is shown to be exponential space complete.
  • Equivalence Problem: Determining if two given U-HATs accept exactly the same language is also proven to be exponential space complete.

These completeness results imply that, in the worst case, solving these verification tasks for U-HATs would require an amount of memory that grows exponentially with the size of the transformer, placing them in a highly challenging complexity class. This theoretical hardness suggests that understanding, debugging, and formally verifying the behavior of Transformers is fundamentally difficult, a critical consideration for their deployment in safety-critical applications.

These findings collectively offer a nuanced perspective on Transformer capabilities, shifting the explanatory paradigm from mere expressive power to the efficiency of representation, while simultaneously cautioning against the inherent complexities in their formal analysis.

Technical Deep Dive

▶ Watch: Exponential tiling problem for demonstrating succinctness (4:50)

The theoretical results presented hinge on a precise definition of the Unique Hard Attention Transformer (U-HAT) model and its application to a complex computational problem known as the exponential tiling problem.

Unique Hard Attention Transformer (U-HAT) Model

The U-HAT model considered is a variant of the Transformer architecture designed for language acceptance, mapping an input string to a binary (yes/no) output.

  1. Input Processing:
  • The model takes an input string composed of symbols from a finite alphabet $\Sigma$.
  • Each symbol in the input string is mapped to a vector of rational numbers, creating a sequence of vectors.
  1. Intermediate Layers: The core computation happens through intermediate layers, which include standard ReLU layers and specialized attention layers.
  • ReLU Layers: These apply the Rectified Linear Unit function component-wise to the vectors, introducing non-linearity.
  • Attention Layer: This is where the "hard attention" mechanism is defined. For each output vector $V_i$ in the sequence:
  • Score Computation: For every pair of vectors $(V_i, V_j)$ where $j < i$ (strict future masking), an attention score is computed. This score is derived from an affine transformation of the vectors, followed by a dot product.
  • Strict Future Masking: The model only "looks into the strict past." For example, when processing $V_6$, it only considers vectors $V_1$ through $V_5$. This is a causal attention mechanism.
  • Rightmost Tie-Breaking: Among all past vectors, the one yielding the maximum attention score is selected. If multiple past vectors share the same maximum score, the rightmost (i.e., the one with the largest index) among them is chosen as the attention vector. This "hard" selection of a single attention vector simplifies the analysis compared to softmax attention, which distributes attention across multiple vectors.
  • Output Transformation: The current vector $V_i$ is then updated by applying another affine transformation to itself and the chosen attention vector.
  1. Acceptance Criterion: After processing the entire sequence through these layers, the model produces an output sequence of vectors. To determine language acceptance (yes/no):
  • A specific vector from the output sequence (e.g., the last one) is chosen.
  • Its dot product is computed with a pre-defined acceptance vector.
  • If this dot product is greater than zero, the transformer accepts the input string (outputs "yes"); otherwise, it rejects (outputs "no").

Exponential Tiling Problem and Reduction to U-HAT

To demonstrate the succinctness of U-HATs, the authors utilize a variant of the tiling problem, which is a known computationally hard problem in theoretical computer science.

  1. Tiling Instance Definition:
  • Given an integer n (provided in unary).
  • A set of tile types is provided. Each tile is a square divided into four triangles, and each triangle has a specific color.
  • A configuration involves placing these tiles on a grid. The grid has exponentially many columns (up to $2^n$) and an arbitrary number of rows.
  • The problem asks whether there exists a tiling configuration such that:
  • Specific edge conditions are met (e.g., certain colors at the boundaries).
  • All adjacent tiles match (i.e., the colors of triangles touching each other must be identical).
  • A designated final tile type appears at the upper-right corner of the grid.
  1. The Challenge: Some instances of this tiling problem are extremely complex, requiring configurations with a doubly exponentially many rows to satisfy the conditions. This inherent complexity makes it a perfect candidate to test the representational power of different computational models.
  1. Reduction to U-HAT: The core of the succinctness proof lies in showing how a U-HAT can solve this exponential tiling problem with a surprisingly compact representation.
  • Encoding the Table as a String: The exponentially large tiling table is encoded into a polynomial-sized input string for the U-HAT. This is achieved by:
  • Using a counter that tracks the column index. Since there are $2^n$ columns, this counter requires only n bits, making it polynomial in n.
  • Encoding the specific tile types for each cell at each position alongside the counter.
  • U-HAT's Role: The U-HAT, using its hard attention mechanism with strict future masking and rightmost tie-breaking, processes this encoded string. Its attention mechanism is crucial for checking the "matching" conditions between adjacent tiles in the conceptual grid. By carefully designing the affine transformations and acceptance vector, the U-HAT can effectively simulate the logic required to verify a valid tiling configuration.
  • Succinctness Demonstration: The key insight is that while the tiling problem itself might necessitate doubly exponentially sized solutions (e.g., number of rows), the U-HAT that recognizes whether a given encoded string represents a valid tiling has a size that is only polynomial in n. This polynomial-sized U-HAT is capable of processing strings encoding grids with exponentially many columns and potentially doubly exponentially many rows, demonstrating its extreme representational efficiency.

Complexity Proofs

The verification hardness results (exponential space completeness for emptiness and equivalence) are derived through reductions:

  • Upper Bound: For the upper bound, the authors show that U-HATs can be translated into LTL formulas, for which existing complexity results can be leveraged.
  • Lower Bound: The lower bound for exponential space completeness is established by reducing the exponential tiling problem itself (which is known to be exponential space complete via a reduction from exponential space bounded Turing machines) to the emptiness or equivalence problem for U-HATs. This reduction formally proves that solving these U-HAT verification problems is at least as hard as solving the exponential tiling problem, placing them firmly in the exponential space complete class.

In essence, the U-HAT's unique hard attention mechanism, particularly its ability to selectively focus on a single past token via rightmost tie-breaking, allows it to perform complex symbolic manipulations and pattern matching over a vast, implicitly defined space with a remarkably compact physical representation. This capability underlies its theoretical succinctness.

Experimental Setup & Results

▶ Watch: Open questions and future directions for research (9:00)

This talk presents theoretical results and complexity proofs, rather than empirical benchmarks or experimental evaluations with datasets and hardware. Therefore, a traditional "experimental setup and results" section, as typically understood in empirical machine learning, does not apply.

Instead, the "results" are the formal mathematical proofs of succinctness and complexity. These proofs demonstrate:

  1. Succinctness Hierarchy:
  • U-HATs are proven to be exponentially more succinct than LTL and RNNs. This means that for certain languages, an LTL formula or an RNN might require a size proportional to $2^k$ (where $k$ is related to the input size or complexity), while a U-HAT can represent the same language with a size proportional to $k$.
  • U-HATs are proven to be doubly exponentially more succinct than finite automata. For the same languages, an automaton might require a size proportional to $2^{2^k}$, while a U-HAT achieves this with size $k$.
  • The specific example used to demonstrate this is the exponential tiling problem. While some instances of this problem require solutions with doubly exponentially many rows, a U-HAT of polynomial size in n (the input to the tiling problem) can recognize valid configurations. In contrast, an LTL formula or an RNN would require an exponentially sized representation, and an automaton would require a doubly exponentially sized representation to recognize the same language. This concrete example illustrates the orders of magnitude difference in representational compactness.
  1. Verification Complexity:
  • The emptiness problem for U-HATs is proven to be exponential space complete.
  • The equivalence problem for U-HATs is proven to be exponential space complete.

These results are established through formal reductions. The upper bound involves a translation to LTL, leveraging known complexity results for LTL. The lower bound uses a reduction from the exponential tiling problem, which is itself known to be exponential space complete. This means that, in the worst case, algorithms to verify U-HAT properties would require memory resources that grow exponentially with the size of the U-HAT itself.

These are fundamental theoretical properties of the U-HAT model, providing insights into its computational power and inherent limitations, rather than performance metrics on specific tasks or datasets.

Practical Implications

▶ Watch: Audience Q&A: Succinctness, compression, and performance (10:15)

The theoretical findings regarding the succinctness and verification hardness of Unique Hard Attention Transformers (U-HATs) carry significant practical implications for various stakeholders in the AI/ML ecosystem.

For Practitioners and Model Builders:

  • Explaining Transformer Efficacy: The concept of succinctness offers a powerful theoretical explanation for why Transformers are so effective in practice. It suggests that their ability to represent incredibly complex functions and patterns with a relatively compact set of parameters is a core strength. This efficiency in representation allows them to generalize well and tackle tasks that might overwhelm models requiring larger or less efficient internal states. When building models, understanding this inherent compactness can guide architectural choices and resource allocation, emphasizing the model's ability to learn compressed representations.
  • Compact Models: The findings imply that for certain complex problems, a Transformer might be able to achieve desired performance with a significantly smaller model size (in terms of parameters or internal states) compared to an equivalent RNN or automaton. This is crucial for deployment scenarios with memory or computational constraints, even if the absolute number of parameters in modern LLMs is still vast.
  • Design Trade-offs: The research highlights a fundamental trade-off: extreme representational succinctness comes at the cost of analytical complexity. While a Transformer might be small in terms of parameters, understanding why it makes a particular decision or what language it precisely recognizes becomes exponentially harder. This is a critical consideration for debugging, interpretability, and building trust in AI systems.

For Infrastructure Teams and Deployers:

  • Verification Challenges: The exponential space completeness of verification problems (emptiness, equivalence) is a stark warning. For safety-critical applications, formally verifying that a deployed Transformer behaves as expected (e.g., doesn't accept malicious inputs, or two versions are truly equivalent) could be computationally intractable in the worst case. This means that traditional formal verification techniques, often used for critical software, might not scale to the complexity of Transformers.
  • Debugging and Auditing: Debugging a Transformer's unexpected behavior or auditing its decision-making process becomes inherently difficult. The "black box" problem is not just an empirical observation but a theoretical consequence of its succinctness. Infrastructure teams need to be aware that even if a model is "small," proving its properties can be immensely resource-intensive, potentially requiring novel, approximation-based verification methods rather than exact ones.
  • Resource Allocation: While the model itself might be succinct, the tools and processes required to ensure its reliability and safety could demand significant computational resources, potentially eclipsing the inference costs.

Limitations and Future Work Considerations:

  • Focus on U-HATs: The current work focuses on Unique Hard Attention Transformers, which use a specific, simplified attention mechanism (strict future masking, rightmost tie-breaking). While useful for theoretical analysis, most real-world Transformers employ softmax attention, which is more complex and distributes attention across multiple tokens. The authors acknowledge that extending these results to softmax Transformers is a natural next step and would likely present even greater analytical challenges. The practical hardness might be even more pronounced for real-world models.
  • Worst-Case Complexity: The results are based on worst-case complexity. It's an open question whether the "exponential space hardness" truly manifests in typical practical scenarios or if there exist specific subclasses of Transformers or common tasks for which verification is much easier.
  • Learning Succinct Models: The theoretical existence of succinct Transformers does not automatically imply that current training algorithms (e.g., gradient descent) are effective at learning these maximally succinct representations. Bridging this gap between theoretical capacity and practical learnability is a crucial area for future research.

In summary, the research underscores that the power of Transformers lies not just in what they can compute, but in how compactly they can represent that computation. This succinctness is a double-edged sword: enabling impressive performance while simultaneously posing profound challenges for their analysis, verification, and trustworthy deployment.

Key Takeaways

  • Succinctness Explains Transformer Success: Beyond expressivity, the ability of Transformers to represent complex concepts and languages in a highly compact form (succinctness) is a primary driver of their empirical success.
  • U-HATs are Highly Succinct: Unique Hard Attention Transformers (U-HATs) are proven to be exponentially more succinct than LTL and RNNs, and doubly exponentially more succinct than finite automata for certain problems, such as the exponential tiling problem.
  • Compact Representation of Complex Problems: This extreme succinctness allows U-HATs to recognize languages that would require exponentially or doubly exponentially larger representations in other formalisms, using only a polynomial-sized model.
  • High Cost of Verification: This theoretical power comes with a significant cost: verification problems for U-HATs, such as emptiness and equivalence, are shown to be exponential space complete, implying extreme computational difficulty for formal analysis.
  • Practical Trade-offs: Practitioners face a trade-off between the representational efficiency of Transformers and the inherent difficulty in understanding, debugging, and formally verifying their behavior, especially for safety-critical applications.
  • Future Research Directions: Important next steps include investigating if this theoretical hardness appears in practical scenarios, identifying subclasses of Transformers with easier verification, and extending these analyses to more realistic softmax Transformers.

About the Speaker(s)

The talk was a joint effort presented by Pascal Bergsträßer, in collaboration with Ryan Cotterell and Anthony W. Lin. As the presenter, Pascal Bergsträßer articulated the core concepts and findings of their research. The work reflects a collaboration focused on the theoretical foundations of machine learning models, particularly Transformers, and their properties within formal language theory and computational complexity.

Reviews

→ Top-rated talks at International Conference on Learning Representations 2026

All talks from International Conference on Learning Representations 2026