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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Sprague, Zayne, Yin, Fangcong, Rodriguez, Juan Diego, Jiang, Dongwei, Wadhwa, Manya, Singhal, Prasann, Zhao, Xinyu, Ye, Xi, Mahowald, Kyle, Durrett, Greg
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913825872150528
author Sprague, Zayne
Yin, Fangcong
Rodriguez, Juan Diego
Jiang, Dongwei
Wadhwa, Manya
Singhal, Prasann
Zhao, Xinyu
Ye, Xi
Mahowald, Kyle
Durrett, Greg
author_facet Sprague, Zayne
Yin, Fangcong
Rodriguez, Juan Diego
Jiang, Dongwei
Wadhwa, Manya
Singhal, Prasann
Zhao, Xinyu
Ye, Xi
Mahowald, Kyle
Durrett, Greg
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_12183
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoning
Sprague, Zayne
Yin, Fangcong
Rodriguez, Juan Diego
Jiang, Dongwei
Wadhwa, Manya
Singhal, Prasann
Zhao, Xinyu
Ye, Xi
Mahowald, Kyle
Durrett, Greg
Computation and Language
Artificial Intelligence
Machine Learning
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.
title To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoning
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2409.12183