# A Theoretical Understanding of Chain-of-Thought: Coherent Reasoning and Error-Aware Demonstration

- **ID:** 938
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2410.16540
- **Authors:** Cui, Yingqian, He, Pengfei, Tang, Xianfeng, Qi, Luo, Chen, Jiliang, Xing, Yue
- **Venue:** arXiv 2410.16540
- **Publisher:** arXiv 2410.16540
- **Published:** 2024
- **Source:** arxiv
- **Access:** open arXiv PDF/abs
- **Tags:** arxiv, 2410-16540, reasoning-rl, linkedin-thread
- **Topics:** reasoning / RL
- **Added:** 2026-09-15
- **Verified:** 2026-09-15
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/938

## Summary

Few-shot Chain-of-Thought (CoT) prompting has demonstrated strong performance in improving the reasoning capabilities of large language models (LLMs). While theoretical investigations have been conducted to understand CoT, the underlying transformer used in these studies isolates the CoT reasoning process into separate…

## Attributes

- **Purpose:** A Theoretical Understanding of Chain-of-Thought: Coherent Reasoning and Error-Aware Demonstration
- **Domain:** reasoning / RL
- **Used for:** LLM research reference
- **Time period:** arXiv 2024/10/21; Discord LinkedIn mid harvested 2026-09-15
- **Author type:** academic/industry (see abs)

## From the source (fetched 2026-10-03)

- **Published:** Oct 21, 2024 (arXiv)
- **arXiv categories:** cs.CL, cs.AI, cs.LG, stat.ML (arXiv)
- **Citations:** 17 (1 influential) (Semantic Scholar)
- **References:** 32 (Semantic Scholar)
- **Published in:** International Conference on Artificial Intelligence and Statistics (Semantic Scholar)

## Abstract

Few-shot Chain-of-Thought (CoT) prompting has demonstrated strong performance in improving the reasoning capabilities of large language models (LLMs). While theoretical investigations have been conducted to understand CoT, the underlying transformer used in these studies isolates the CoT reasoning process into separated in-context learning steps (Stepwise ICL). In this work, we theoretically show that, compared to Stepwise ICL, the transformer gains better error correction ability and more accurate predictions if the reasoning from earlier steps (Coherent CoT) is integrated. Given that this coherent reasoning changes the behavior of the transformer, we further investigate the sensitivity of the transformer with Coherent CoT when the demonstration examples are corrupted at the inference stage. Our theoretical results indicate that the transformer is more sensitive to errors in intermediate reasoning steps than the final outcome. Building upon this observation, we propose an improvement on CoT by incorporating both correct and incorrect reasoning paths in the demonstration. Our experiments validate the effectiveness of the proposed approach.

## Research notes

- From LinkedIn thread (Discord mid 1305505046888321134). Primary: https://www.linkedin.com/posts/philipp-schmid-a6a2bb196_does-incorrect-reasoning-explanation-help-activity-7261692742513176576-sowk?utm_source=share&utm_medium=member_desktop.

## Cites, within this collection

- [Graph of Thoughts: Solving Elaborate Problems with Large Language Models](https://papers.projxon.ai/entries/911) (paper 2023, #911)

## Similar entries

- [DAG-Math: Graph-of-Thought Guided Mathematical Reasoning in LLMs](https://papers.projxon.ai/entries/935) (paper, #935)
- [Token-Efficient RL for LLM Reasoning](https://papers.projxon.ai/entries/964) (paper, #964)
- [LoongRL: Reinforcement Learning for Advanced Reasoning over Long Contexts](https://papers.projxon.ai/entries/930) (paper, #930)
- [From $f(x)$ and $g(x)$ to $f(g(x))$: LLMs Learn New Skills in RL by Composing Old Ones](https://papers.projxon.ai/entries/937) (paper, #937)
- [The Markovian Thinker: Architecture-Agnostic Linear Scaling of Reasoning](https://papers.projxon.ai/entries/952) (paper, #952)
- [Attention-Aligned Reasoning for Large Language Models](https://papers.projxon.ai/entries/934) (paper, #934)
