Ehrenfeucht-Haussler Rank and Chain of Thought
On the map: LLM reasoning → Prompting and chain-of-thought reasoning
Abstract (arXiv)
The notion of rank of a Boolean function has been a cornerstone in PAC learning theory, enabling quasipolynomial-time learning algorithms for polynomial-size decision trees. We present a novel characterization of rank, grounded in the well-known Transformer architecture. We show that the rank of a function f corresponds to the minimum number of Chain of Thought (CoT) steps required by a single-layer Transformer with hard attention to compute f. Based on this characterization we establish tight bounds on the number of CoT steps required for specific problems, showing that (ℓ)-fold function composition necessitates exactly (ℓ) CoT steps. Furthermore, we analyze the problem of identifying the position of the (k)-th occurrence of 1 in a Boolean sequence, proving that it requires (k) CoT steps. Finally, we introduce the notion of the multi-head rank that captures multi-head single-layer transformers, and perform the analysis of PAC-learnability of the classes of functions with bounded multi-head rank.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 14 of its 27 references that are in the map. First posted on arXiv 22 Jan 2025.
Builds on
14 of 27 references.
Closest ancestors · 1
Same direction, newest first
Other references · 13
- 2017Attention Is All You Needcited by 60,361
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
- 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 193
- 2022Formal Language Recognition by Hard Attention Transformers: Perspectives from Circuit Complexitycited by 93
- 2023Mitigating Large Language Model Hallucinations via Autonomous Knowledge Graph-based Retrofittingcited by 70
- 2023Tighter Bounds on the Expressivity of Transformer Encoderscited by 66
- 2024On Limitations of the Transformer Architecturecited by 63
- 2023Masked Hard-Attention Transformers Recognize Exactly the Star-Free Languagescited by 49
- 2024Theoretical limitations of multi-layer Transformercited by 45
- 2024Counting Like Transformers: Compiling Temporal Counting Logic Into Softmax Transformerscited by 39
1 more
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2025Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformerscited by 28
- 2026Parity, Sensitivity, and Transformerscited by 5
- 2025Provable Benefit of Curriculum in Transformer Tree-Reasoning Post-Trainingcited by 4
- 2026When does Chain-of-Thought Help: A Markovian Perspectivecited by 2
- 2026Indexing: the Beginning and the Endcited by 2
- 2026A Provable Expressiveness Hierarchy in Hybrid Linear-Full Attentioncited by 1
- 2026Indexing: the Beginning and the End24 Jul 2026
- 2026When does Chain-of-Thought Help: A Markovian Perspective27 Feb 2026
- 2026Parity, Sensitivity, and Transformers5 Feb 2026
- 2026A Provable Expressiveness Hierarchy in Hybrid Linear-Full Attention2 Feb 2026
- 2025Provable Benefit of Curriculum in Transformer Tree-Reasoning Post-Training10 Nov 2025
- 2025Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers4 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2026A Sharper Picture of Generalization in Transformers
- 2025Transformers with RL or SFT Provably Learn Sparse Boolean Functions, But Differently
- 2025Discovering Hidden Algebraic Structures via Transformers with Rank-Aware Beam GRPO
- 2026Tight Sample Complexity of Transformers
- 2025Softmax Transformers are Turing-Complete
- 2025Minimalist Softmax Attention Provably Learns Constrained Boolean Functions
- 2026Chain-of-Thought Shows the Path to a Tree: Realizing Branching Complexity
- 2024Transformers Provably Solve Parity Efficiently with Chain of Thought