A Theoretical Understanding of Chain-of-Thought: Coherent Reasoning and Error-Aware Demonstration
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…
- Venue
- arXiv 2410.16540
- Publisher
- arXiv 2410.16540
- Source
- arxiv
- Access
- open arXiv PDF/abs
- 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)
- Added
- Sep 15, 2026
- Verified
- Sep 15, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Oct 21, 2024
- arXiv categories
- cs.CL, cs.AI, cs.LG, stat.ML
- Citations
- 17 (1 influential)
- References
- 32
- Published in
- International Conference on Artificial Intelligence and Statistics
Abstract (from arXiv)
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.
Tags
Topics
reasoning / RL
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
Similar entries
- Paper DAG-Math: Graph-of-Thought Guided Mathematical Reasoning in LLMs
- Paper Token-Efficient RL for LLM Reasoning
- Paper LoongRL: Reinforcement Learning for Advanced Reasoning over Long Contexts
- Paper From $f(x)$ and $g(x)$ to $f(g(x))$: LLMs Learn New Skills in RL by Composing Old Ones
- Paper The Markovian Thinker: Architecture-Agnostic Linear Scaling of Reasoning
- Paper Attention-Aligned Reasoning for Large Language Models