Reproduce “On the Cost and Benefit of Chain of Thought: A Learning-Theoretic Perspective” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yue Zhang, Zhiyi Dong, Tommaso Cesari, Yongyi Mao

University of Ottawa researchers developed a learning-theoretic framework for Chain of Thought (CoT) in large language models (LLMs), decomposing reasoning risk into trajectory-mismatch (cost) and oracle-trajectory (benefit) components. Their work demonstrates the necessity of stability to control error propagation and characterizes error growth regimes as bounded, linear, or exponential.

Key insights

  • The "reasoning risk" of CoT can be canonically decomposed into a cost (Trajectory-Mismatch Risk, TMR) and a benefit (Oracle-Trajectory Risk, OTR).
  • CoT's benefit (OTR) arises from transforming complex queries into sub-problems more aligned with the model's training distribution, akin to a domain adaptation process.
  • Stability in the loss function, the LLM's answer map, and the chain rule steps is a necessary condition to control error accumulation, with instability leading to arbitrarily large TMR.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.