English

Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers

Machine Learning 2025-07-15 v3 Computational Complexity

Abstract

Chain-of-thought reasoning and scratchpads have emerged as critical tools for enhancing the computational capabilities of transformers. While theoretical results show that polynomial-length scratchpads can extend transformers' expressivity from TC0TC^0 to PTIMEPTIME, their required length remains poorly understood. Empirical evidence even suggests that transformers need scratchpads even for many problems in TC0TC^0, such as Parity or Multiplication, challenging optimistic bounds derived from circuit complexity. In this work, we initiate the study of systematic lower bounds for the number of chain-of-thought steps across different algorithmic problems, in the hard-attention regime. We study a variety of algorithmic problems, and provide bounds that are tight up to logarithmic factors. Overall, these results contribute to emerging understanding of the power and limitations of chain-of-thought reasoning.

Keywords

Cite

@article{arxiv.2502.02393,
  title  = {Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers},
  author = {Alireza Amiri and Xinting Huang and Mark Rofin and Michael Hahn},
  journal= {arXiv preprint arXiv:2502.02393},
  year   = {2025}
}

Comments

ICML 2025