HackerPapers

arXiv:2502.02393cs.LG

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

Alireza Amiri, Xinting Huang, Mark Rofin, Michael Hahn

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

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 $TC^0$ to $PTIME$, their required length remains poorly understood. Empirical evidence even suggests that transformers need scratchpads even for many problems in $TC^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.

arXiv comments
ICML 2025
Journal reference
DOI
Subjects
cs.LGMachine Learning cs.CCComputational Complexity

On Hacker News

Linked by 1 identifiable commenter in 5 comments across 5 threads, from Mar 2025 to Jul 2025.

Comments linking this paper, per year.

Discussed in comments5 threads

    • Subbarao Kambhampati and his team has several papers strongly suggesting that the intermediate tokens are of no symantic import.[0] My hunch is that training explicitly for human acceptance of the intermediate/scratch tokens will end up being expensive. What you need is to…

      nyrikkiView on HNParent context

    • As an intuition on why many people see this as different. PAC Learning is about compression, KF/EKF is more like Taylor expansion. The specific types of PAC Learning that this paper covers has problems with a simplicity bias, and fairly low sensitivity. While based on UHATs…

      nyrikkiView on HNParent context

  1. Gemma3 Function Calling 1 comment
    • In the field of AI wishful mnemonics is the rule, arguments about prescription are of limited value. CoT scratch space extends LLMs from DLOGTIME-UNIFORM TC0 to PTIME with polynomial sized scratch space. https://arxiv.org/abs/2502.02393 Yes prompt engineering is probably better…

      nyrikkiView on HNParent context

    • We can't even define what intelligence is. We know or have strong hints at the limits of math/computation related to LLMs + CoT Note how PARITY and MEDIAN is hard here: https://arxiv.org/abs/2502.02393 We also know HALT == open frame == symbol grounding == system identification…

      nyrikkiView on HNParent context

    • Subbarao Kambhampati, who seems to only use X is a good resource. He points out how the CoT text is not of semantic importantce. This work from his team shows how few 'reasoning' traces are valid. https://atharva.gundawar.com/searchformer_response_analysis.... This paper shows…

      nyrikkiView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.