Skip to main content
QUICK REVIEW

[Paper Review] Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matters

Boshi Wang, Sewon Min|arXiv (Cornell University)|Dec 20, 2022
Topic ModelingComputer Science9 citations
TL;DR

This paper investigates the effectiveness of Chain-of-Thought (CoT) prompting in few-shot reasoning by ablation, revealing that model performance remains high (80-90% of CoT baseline) even with invalid reasoning steps in demonstrations. The key insight is that relevance to the query and proper ordering of reasoning steps matter more than logical validity, suggesting LLMs rely more on pre-trained reasoning patterns than on ground-truth rationales.

ABSTRACT

Chain-of-Thought (CoT) prompting can dramatically improve the multi-step reasoning abilities of large language models (LLMs). CoT explicitly encourages the LLM to generate intermediate rationales for solving a problem, by providing a series of reasoning steps in the demonstrations. Despite its success, there is still little understanding of what makes CoT prompting effective and which aspects of the demonstrated reasoning steps contribute to its performance. In this paper, we show that CoT reasoning is possible even with invalid demonstrations - prompting with invalid reasoning steps can achieve over 80-90% of the performance obtained using CoT under various metrics, while still generating coherent lines of reasoning during inference. Further experiments show that other aspects of the rationales, such as being relevant to the query and correctly ordering the reasoning steps, are much more important for effective CoT reasoning. Overall, these findings both deepen our understanding of CoT prompting, and open up new questions regarding LLMs' capability to learn to reason in context.

Motivation & Objective

  • To understand which components of Chain-of-Thought (CoT) demonstrations are essential for effective few-shot reasoning in large language models.
  • To investigate whether ground-truth logical validity of reasoning steps in demonstrations is crucial for model performance.
  • To identify the key attributes of CoT rationales that drive performance improvements in multi-step reasoning tasks.
  • To challenge the assumption that correct reasoning steps are necessary for CoT success, and instead explore the role of format and structure.

Proposed method

  • Conduct ablation studies on CoT demonstrations by systematically modifying components such as reasoning validity, relevance, and step ordering.
  • Design controlled prompting settings: 'invalid reasoning', 'no coherence', 'no relevance', and 'no ordering' to isolate the impact of each rationale component.
  • Use two benchmark tasks: arithmetic reasoning and multi-hop factual question answering to evaluate model performance across settings.
  • Measure performance using standard metrics like exact match and F1, comparing ablated settings against standard CoT and zero-shot baselines.
  • Analyze model-generated rationales to assess coherence, relevance, and logical consistency even under invalid demonstrations.
  • Define and extract 'bridging objects' (e.g., numbers, entities) and 'language templates' (e.g., relations, predicates) to analyze their role in reasoning.

Experimental results

Research questions

  • RQ1Does the logical validity of reasoning steps in CoT demonstrations significantly affect model performance?
  • RQ2Are there alternative components of CoT rationales—such as relevance or ordering—that contribute more to performance than correctness of reasoning?
  • RQ3Can LLMs generate effective reasoning paths even when shown invalid or incoherent demonstrations?
  • RQ4To what extent do pre-trained reasoning capabilities in LLMs reduce the need for accurate demonstrations in CoT prompting?
  • RQ5How do language templates and bridging objects jointly influence reasoning effectiveness in few-shot settings?

Key findings

  • Providing demonstrations with completely invalid reasoning steps still achieves 80-90% of the performance of standard CoT across multiple metrics in both arithmetic reasoning and multi-hop QA.
  • Even with invalid reasoning, models generate coherent, step-by-step rationales that are relevant to the query and maintain logical flow during inference.
  • Relevance of reasoning steps to the query and correct ordering of steps are more critical for performance than the logical validity of the reasoning process.
  • The model’s ability to reason effectively under CoT prompting is largely due to pre-trained reasoning capabilities, with demonstrations primarily serving to regularize output format and structure.
  • Language templates and bridging objects are essential components, but their correctness is less important than their presence and proper alignment with the query.
  • The findings suggest that CoT prompting functions more as a format regularization mechanism than as a mechanism for teaching correct reasoning, challenging assumptions about in-context learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.