mlsanityData to 14 Oct 2026

A Little Depth Goes a Long Way: The Expressive Power of Log-Depth Transformers

arXiv 2503.03961 ↗First posted 5 Mar 2025cs.LG cs.CCcited by 53

Not on the map. Why?

Cited by 20 in LLM reasoning, but placed by its own abstract, which didn’t fit.

Abstract (arXiv)

Recent theoretical results show transformers cannot express sequential reasoning problems over long inputs, intuitively because their computational depth is bounded. However, prior work treats the depth as a constant, leaving it unclear to what degree bounded depth may suffice for solving problems over short inputs, or how increasing the transformer's depth affects its expressive power. We address these questions by analyzing transformers whose depth can grow minimally with context length n. We show even highly uniform transformers with depth Theta(log n) can express two important problems: recognizing regular languages, which captures state tracking abilities and was known to be expressible only by an unconventional, non-uniform model of transformers, and graph connectivity, which underlies multi-step reasoning. Notably, both of these problems cannot be expressed by fixed-depth transformers under standard complexity conjectures, demonstrating the expressivity benefit of growing depth. Moreover, our theory quantitatively predicts how depth must grow with input length to express these problems, showing that depth scaling is more efficient than scaling width or chain-of-thought steps. Empirically, our detailed experiments designed to bridge the expressivity vs. learnability gap reveal that our theoretical depth requirements for regular language recognition closely match the practical depth requirements for successfully training transformers. Thus, our results clarify how depth affects a transformer's reasoning capabilities, and provide practical guidance for effective depth selection for sequential reasoning.

Key facts. Cited by 53 papers in the map (data through 14 Oct 2026). Builds on 22 of its 40 references that are in the map. First posted on arXiv 5 Mar 2025.

Builds on

22 of 40 references.

References · 22

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  4. 2016Layer Normalizationcited by 5,669
  5. 2017Mixed Precision Trainingcited by 1,156
  6. 2020On Layer Normalization in the Transformer Architecturecited by 922
  7. 2018Universal Transformerscited by 647
  8. 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 415
  9. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  10. 2022Transformers Learn Shortcuts to Automatacited by 268
  11. 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 260
  12. 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 240
10 more
  1. 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 193
  2. 2024Let's Think Dot by Dot: Hidden Computation in Transformer Language Modelscited by 191
  3. 2024The Illusion of State in State-Space Modelscited by 187
  4. 2023Looped Transformers are Better at Learning Learning Algorithmscited by 149
  5. 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 139
  6. 2022A Logic for Expressing Log-Precision Transformerscited by 67
  7. 2024Understanding Transformer Reasoning Capabilities via Graph Algorithmscited by 67
  8. 2023Tighter Bounds on the Expressivity of Transformer Encoderscited by 66
  9. 2023The Impact of Depth on Compositional Generalization in Transformer Language Modelscited by 38
  10. 2024Transformers as Transducerscited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 25; 2026: 28.

53 papers.

Sort:

By area:

  1. 2025Scaling Latent Reasoning via Looped Language Modelscited by 165
  2. 2025A Survey on Latent Reasoningcited by 81
  3. 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thoughtcited by 77
  4. 2025Teaching Pretrained Language Models to Think Deeper with Retrofitted Recurrencecited by 47
  5. 2025Coevolutionary Continuous Discrete Diffusion: Make Your Diffusion Language Model a Latent Reasonercited by 32
  6. 2025Exact Expressive Power of Transformers with Paddingcited by 19
  7. 2025Constant Bit-size Transformers Are Turing Completecited by 19
  8. 2025Theory of Scaling Laws for In-Context Regression: Depth, Width, Context and Timecited by 16
  9. 2025A Formal Comparison Between Chain of Thought and Latent Thoughtcited by 15
  10. 2026Training-Free Looped Transformerscited by 15
  11. 2025Transformers Provably Learn Chain-of-Thought Reasoning with Length Generalizationcited by 14
  12. 2025Pangu Ultra: Pushing the Limits of Dense Large Language Models on Ascend NPUscited by 13
38 more
  1. 2025The Serial Scaling Hypothesiscited by 13
  2. 2026Solve the Loop: Attractor Models for Language and Reasoningcited by 13
  3. 2025To CoT or To Loop? A Formal Comparison Between Chain-of-Thought and Looped Transformerscited by 11
  4. 2026Residual Context Diffusion Language Modelscited by 10
  5. 2025Too Long, Didn't Model: Decomposing LLM Long-Context Understanding With Novelscited by 9
  6. 2025Chain-of-Experts: Unlocking the Communication Power of Mixture-of-Experts Modelscited by 9
  7. 2025Sequences of Logits Reveal the Low Rank Structure of Language Modelscited by 9
  8. 2026Prioritize the Process, Not Just the Outcome: Rewarding Latent Thought Trajectories Improves Reasoning in Looped Language Modelscited by 8
  9. 2026Why Are Linear RNNs More Parallelizable?cited by 8
  10. 2025On the Reasoning Abilities of Masked Diffusion Language Modelscited by 7
  11. 2025Bridging Kolmogorov Complexity and Deep Learning: Asymptotically Optimal Description Length Objectives for Transformerscited by 6
  12. 2025The Transformer Cookbookcited by 6
  13. 2026When Does Recurrence Become an Algorithm? Convergence Selection in Weight-Tied Looped Transformerscited by 6
  14. 2025Learning to Ponder: Adaptive Reasoning in Latent Spacecited by 5
  15. 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architecturescited by 4
  16. 2025Efficient Turing Machine Simulation with Transformerscited by 4
  17. 2026Context-Free Recognition with Transformerscited by 4
  18. 2026Sparse Growing Transformer: Training-Time Sparse Depth Allocation via Progressive Attention Loopingcited by 3
  19. 2026The Topological Trouble With Transformerscited by 3
  20. 2026One Step Forward and K Steps Back: Better Reasoning with Denoising Recursion Modelscited by 3
  21. 2026Continuous Latent Contexts Enable Efficient Online Learning in Transformerscited by 3
  22. 2025Catch Your Breath: Adaptive Computation for Self-Paced Sequence Productioncited by 2
  23. 2026Representational Homomorphism Predicts and Improves Compositional Generalization In Transformer Language Modelcited by 2
  24. 2026Chain-of-Thought and Compressed Looped Transformers: A Memory-Budget Separationcited by 2
  25. 2025VersatileFFN: Achieving Parameter Efficiency in LLMs via Adaptive Wide-and-Deep Reusecited by 1
  26. 2026A model of errors in transformerscited by 1
  27. 2026The Scaling Properties of Implicit Deductive Reasoning in Transformerscited by 1
  28. 2026Revisiting Padded Transformer Expressivity: Which Architectural Choices Matter and Which Don'tcited by 1
  29. 2026Attention-based representations for multi-task computationcited by 1
  30. 2025BAR Conjecture: the Feasibility of Inference Budget-Constrained LLM Services with Authenticity and Reasoningcited by 0
  31. 2026Do Transformers Use their Depth Adaptively? Evidence from a Relational Reasoning Taskcited by 0
  32. 2026Do Language Models Need Sleep? Offline Recurrence for Improved Online Inferencecited by 0
  33. 2026Rethinking the Role of Positional Encoding: Sliding-Window Transformers without PE Remain Turing Completecited by 0
  34. 2026Universal Transformers for Circuit Computations: Perfect Length Generalization in Tiny Transformerscited by 0
  35. 2026When does a scaling result justify a different allocation? A critical review of resource-allocation evidence for AI systemscited by 0
  36. 2026Tracking States or Tracking Cosets? An Algebraic Account of Learned State Trackingcited by 0
  37. 2026Ceiling of a Task: When Can a Transformer Succeed Without Its Chain of Thought?cited by 0
  38. 2026Pretraining Latent Information Feedback Transformers with Teacher Supervisioncited by 0

50 most cited of 53 All 53 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2023The Expressive Power of Transformers with Chain of Thought
  2. 2026Barriers to Universal Reasoning With Transformers (And How to Overcome Them)
  3. 2026Circuit Complexity of Hierarchical Knowledge Tracing and Implications for Log-Precision Transformers
  4. 2026Thinking Deeper, Not Longer: Memory-Efficient Test-Time Reasoning with Depth-Recurrent Transformers for Compositional Generalization
  5. 2025Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers
  6. 2026The Complexity Ceiling Benchmark: A Multi-Domain Evaluation of Sequential Reasoning Under Depth Scaling
  7. 2026Beyond the Training Horizon: Mechanisms and Limits of Length Generalization in Looped Transformers
  8. 2025Transformers are Inherently Succinct