JMLR

Unveiling the Statistical Foundations of Chain-of-Thought Prompting Methods

Authors
Zhuoran Yang Fengzhuo Zhang Xinyang Hu Siyu Chen
Research Topics
Machine Learning
Paper Information
  • Journal:
    Journal of Machine Learning Research
  • Added to Tracker:
    Sep 09, 2026
Abstract

Chain-of-Thought (CoT) prompting and its variants have gained significant attention as effective methods for solving multi-step reasoning tasks with pretrained large language models (LLMs). However, their theoretical underpinnings remain insufficiently explored. We analyze CoT prompting from a statistical perspective, offering insights into why “pretrained LLMs + CoT prompting” performs well. Additionally, we examine the role of the transformer architecture and the inclusion of intermediate reasoning steps in enhancing performance. We introduce a multi-step latent variable model to capture the reasoning process. In this model, we show that the estimator induced by CoT prompting approximates a Bayesian estimator that solves the reasoning task by inferring the posterior distribution from examples in the prompt. We prove that the statistical error of the CoT estimator consists of (i) a prompting error, which is incurred in inferring the desired task from the prompt, and (ii) a pretraining error, which is the statistical error of the pretrained LLM. We further prove that the prompting error decreases exponentially as the number of examples in the prompt increases. For the pretrained LLM, we construct a transformer model class that explicitly approximates the target distribution and establish the generalization error under the Pac-Bayes framework.

Author Details
Zhuoran Yang
Author
Fengzhuo Zhang
Author
Xinyang Hu
Author
Siyu Chen
Author
Research Topics & Keywords
Machine Learning
Research Area
Citation Information
APA Format
Zhuoran Yang , Fengzhuo Zhang , Xinyang Hu & Siyu Chen . Unveiling the Statistical Foundations of Chain-of-Thought Prompting Methods. Journal of Machine Learning Research .
BibTeX Format
@article{paper1660,
  title = { Unveiling the Statistical Foundations of Chain-of-Thought Prompting Methods },
  author = { Zhuoran Yang and Fengzhuo Zhang and Xinyang Hu and Siyu Chen },
  journal = { Journal of Machine Learning Research },
  url = { https://www.jmlr.org/papers/v27/25-2240.html }
}