Skip to main content
QUICK REVIEW

[Paper Review] To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoning

Zayne Sprague, Fangcong Yin|arXiv (Cornell University)|Sep 18, 2024
Computability, Logic, AI AlgorithmsComputer Science9 citations
TL;DR

A meta-analysis and experiments show Chain-of-Thought (CoT) prompts help mainly for math and symbolic reasoning; for non-symbolic tasks, CoT offers little or no benefit and can be outperformed by tool-augmented solving. The study advocates selective use of CoT and calls for alternatives that leverage intermediate computation beyond prompting.

ABSTRACT

Chain-of-thought (CoT) via prompting is the de facto method for eliciting reasoning capabilities from large language models (LLMs). But for what kinds of tasks is this extra ``thinking'' really helpful? To analyze this, we conducted a quantitative meta-analysis covering over 100 papers using CoT and ran our own evaluations of 20 datasets across 14 models. Our results show that CoT gives strong performance benefits primarily on tasks involving math or logic, with much smaller gains on other types of tasks. On MMLU, directly generating the answer without CoT leads to almost identical accuracy as CoT unless the question or model's response contains an equals sign, indicating symbolic operations and reasoning. Following this finding, we analyze the behavior of CoT on these problems by separating planning and execution and comparing against tool-augmented LLMs. Much of CoT's gain comes from improving symbolic execution, but it underperforms relative to using a symbolic solver. Our results indicate that CoT can be applied selectively, maintaining performance while saving inference costs. Furthermore, they suggest a need to move beyond prompt-based CoT to new paradigms that better leverage intermediate computation across the whole range of LLM applications.

Motivation & Objective

  • Assess when prompt-based CoT improves performance across a broad set of tasks and models.
  • Quantify CoT’s impact across symbolic, math, logical, and non-symbolic domains via literature meta-analysis and new experiments.
  • Disentangle planning and execution to understand where CoT adds value in symbolic reasoning.
  • Compare CoT to tool-augmented approaches to determine relative strengths and limits.
  • Suggest directions for moving beyond prompt-based CoT to leverage intermediate computation more effectively.

Proposed method

  • Systematic meta-analysis of 1,218 CoT vs direct-answer comparisons from 110 papers (14 models, 264 datasets) across 2024 ICLR/NAACL/EACL venues.
  • Categorization of tasks into 14 categories (e.g., symbolic/algorithmic, math, logical reasoning, encyclopedic knowledge, mixed datasets).
  • Large-scale experiments on 20 datasets with 14 contemporary LLMs under zero-shot and few-shot prompting.
  • Evaluation includes zero-shot CoT vs direct prompts, with attention to whether outputs contain an equals sign (symbolic operations).
  • Investigation of planning vs execution by creating symbolic plans and testing Plan+Direct Solver, Plan+CoT Solver, and Plan+Tool Solver configurations.
Figure 1: Left: meta-analysis of CoT literature; each point is a reported delta of CoT over direct answering for some (LLM, task) pair. Right: average performance of using zero-shot CoT v.s. direct answer prompts across five general reasoning categories, covering 20 datasets with 14 LLMs evaluated o
Figure 1: Left: meta-analysis of CoT literature; each point is a reported delta of CoT over direct answering for some (LLM, task) pair. Right: average performance of using zero-shot CoT v.s. direct answer prompts across five general reasoning categories, covering 20 datasets with 14 LLMs evaluated o

Experimental results

Research questions

  • RQ1Which task types (symbolic, mathematical, logical, non-symbolic) benefit from Chain-of-Thought prompting?
  • RQ2To what extent does CoT improve performance across datasets and models, and how does this compare to direct prompting?
  • RQ3Can separating planning and execution (and using external tools) outperform CoT on symbolic reasoning tasks?
  • RQ4Is CoT cost-effective in terms of inference cost compared to alternative approaches?
  • RQ5What are the implications for moving beyond prompt-based CoT to more integrated reasoning paradigms?

Key findings

  • CoT yields substantial gains primarily on math, symbolic, and logical-reasoning tasks.
  • Across literature and experiments, non-symbolic tasks show little to no CoT benefit; for many such tasks, direct prompting performs comparably.
  • On MMLU, up to 95% of CoT gains come from questions or outputs containing an equals sign, i.e., involving symbolic reasoning.
  • Separating planning and execution reveals CoT improves execution but external symbolic solvers can outperform CoT in both planning and execution.
  • Tool-augmented solving (Plan+Tool Solver) often surpasses Plan+CoT in symbolic domains, suggesting CoT’s limits without external tools.
  • Overall, CoT can be selective and cost-saving, pushing for approaches beyond prompt-based CoT that leverage intermediate computations.
Figure 2: Results from our meta-analysis (grey dots) aggregated by paper and category (blue dots).
Figure 2: Results from our meta-analysis (grey dots) aggregated by paper and category (blue dots).

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.