Transformers are Inherently Succinct
Pascal Bergsträßer, Ryan Cotterell, Anthony W. Lin
TL;DR
The paper reframes transformer expressiveness through succinctness, showing that fixed-precision UHATs can describe languages far more compactly than classical formalisms. It proves that verifying properties of UHATs is EXPSPACE-complete, and establishes tight gaps in succinctness: transformers are exponentially more succinct than LTL and RNNs and doubly exponentially more succinct than finite automata, with a constructive translation from UHATs to exponential-size LTL formulas. Central to the results is the ability to encode extremely large counters up to $2^{2^n}$ using attention, enabling non-emptiness proofs and tiling-based reductions that underpin the complexity bounds. The work connects Boolean RASP and UHATs, leverages fixed-precision modeling, and situates the findings relative to existing verification and logic translations, highlighting substantial implications for theoretical understanding and practical verification of transformer-based systems.
Abstract
We propose succinctness as a measure of the expressive power of a transformer in describing a concept. To this end, we prove that transformers are highly expressive in that they can represent formal languages substantially more succinctly than standard representations of formal languages like finite automata and Linear Temporal Logic (LTL) formulas. As a by-product of this expressivity, we show that verifying properties of transformers is provably intractable (i.e. EXPSPACE-complete).
