To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoning
post by Bogdan Ionut Cirstea (bogdan-ionut-cirstea) · 2024-09-19T16:13:55.835Z · LW · GW · 1 commentsThis is a link post for https://arxiv.org/abs/2409.12183
Contents
1 comment
Authors: Zayne Sprague, Fangcong Yin, Juan Diego Rodriguez, Dongwei Jiang, Manya Wadhwa, Prasann Singhal, Xinyu Zhao, Xi Ye, Kyle Mahowald, Greg Durrett.
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.
X(/twitter) thread: https://x.com/ZayneSprague/status/1836784332704215519.
1 comments
Comments sorted by top scores.
comment by Nathan Helm-Burger (nathan-helm-burger) · 2024-09-20T04:49:53.051Z · LW(p) · GW(p)
This matches my personal observations where I've been trying to test various language models on broad philosophical and moral reasoning, but also on math and coding problems.
My rankings are quite different for each.
Math and Coding:
o1-preview > Sonnet 3.5 > Opus 3 > GPT-4o > GPT-4
Philosophy and moral reasoning:
Opus 3 > Sonnet 3.5 > GPT-4o > GPT-4 > o1-preview
I've tested other models, but not thoroughly enough to be sure of their ranking. None who would compete for the top two places in either ranking.