paper-with-me

홈 › Papers

Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matters

2022-12-20 · Boshi Wang, Sewon Min, Xiang Deng, Jiaming Shen, You Wu, Luke Zettlemoyer, Huan Sun

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.

📄 PDF Abstract BibTeX arXiv:2212.10001

Code (2)

sunlab-osu/understanding-cot 공식 구현 pytorch
lastmile-ai/aiconfig

Methods 이 논문이 사용한 방법론

CoT Prompting Chain-of-thought prompts contain a series of intermediate reasoning steps, and they are shown to significantly improve the ability of large language models to perform certain…

Similar Papers 제목 키워드 기반

Chain-of-Thought Prompting Elicits Reasoning in Large Language Models

2022-01-28 · Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 외

We explore how generating a chain of thought -- a series of intermediate reasoning steps -- significantly improves the ability of large language models to perform complex reasoning. In particular, we show how such reason…

Common Sense ReasoningGSM8KLanguage ModelingLanguage Modelling+2

Analyzing Chain-of-Thought Prompting in Large Language Models via Gradient-based Feature Attributions

2023-07-25 · Skyler Wu, Eric Meng Shen, Charumathi Badrinath, Jiaqi Ma 외

Chain-of-thought (CoT) prompting has been shown to empirically improve the accuracy of large language models (LLMs) on various question answering tasks. While understanding why CoT prompting is effective is crucial to en…

Question Answering

Slang Context-based Inference Enhancement via Greedy Search-Guided Chain-of-Thought Prompting

2026-01-15 · Jinghan Cao, Qingyang Ren, Xiangyun Chen, Xinjin Li 외 arxiv

Slang interpretation has been a challenging downstream task for Large Language Models (LLMs) as the expressions are inherently embedded in contextual, cultural, and linguistic frameworks. In the absence of domain-specifi…

Understanding Defects in Generated Codes by Language Models

2024-08-23 · Ali Mohammadi Esfahani, Nafiseh Kahani, Samuel A. Ajila

This study investigates the reliability of code generation by Large Language Models (LLMs), focusing on identifying and analyzing defects in the generated code. Despite the advanced capabilities of LLMs in automating cod…

Code GenerationPrompt Engineering

Self-Consistency Improves Chain of Thought Reasoning in Language Models

2022-03-21 · Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le 외

Chain-of-thought prompting combined with pre-trained large language models has achieved encouraging results on complex reasoning tasks. In this paper, we propose a new decoding strategy, self-consistency, to replace the …

ARCArithmetic ReasoningGSM8KLanguage Modelling+2