Large Language Models as Analogical Reasoners
Michihiro Yasunaga, Xinyun Chen, Yujia Li, Panupong Pasupat, Jure Leskovec, Percy Liang, Ed H. Chi, Denny Zhou
Abstract
Chain-of-thought (CoT) prompting for language models demonstrates impressive performance across reasoning tasks, but typically needs labeled exemplars of the reasoning process. In this work, we introduce a new prompting approach, analogical prompting, designed to automatically guide the reasoning process of large language models. Inspired by analogical reasoning, a cognitive process in which humans draw from relevant past experiences to tackle new problems, our approach prompts language models to self-generate relevant exemplars or knowledge in the context, before proceeding to solve the given problem. This method presents several advantages: it obviates the need for labeling or retrieving exemplars, offering generality and convenience; it can also tailor the generated exemplars and knowledge to each problem, offering adaptability. Experimental results show that our approach outperforms 0-shot CoT and manual few-shot CoT in a variety of reasoning tasks, including math problem solving in GSM8K and MATH, code generation in Codeforces, and other reasoning tasks in BIG-Bench.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
36 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Tree of Thoughts: Deliberate Problem Solving with Large Language Models cites Language Models are Few-Shot Learners
- Tree of Thoughts: Deliberate Problem Solving with Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- MR-Ben: A Meta-Reasoning Benchmark for Evaluating System-2 Thinking in LLMs cites Tree of Thoughts: Deliberate Problem Solving with Large Language Models
- MR-Ben: A Meta-Reasoning Benchmark for Evaluating System-2 Thinking in LLMs cites Large Language Models are Zero-Shot Reasoners
- MR-Ben: A Meta-Reasoning Benchmark for Evaluating System-2 Thinking in LLMs cites Language Models are Few-Shot Learners
- MR-Ben: A Meta-Reasoning Benchmark for Evaluating System-2 Thinking in LLMs cites AutoPSV: Automated Process-Supervised Verifier
- MR-Ben: A Meta-Reasoning Benchmark for Evaluating System-2 Thinking in LLMs cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- MR-Ben: A Meta-Reasoning Benchmark for Evaluating System-2 Thinking in LLMs cites Training language models to follow instructions with human feedback
- Atom of Thoughts for Markov LLM Test-Time Scaling cites Tree of Thoughts: Deliberate Problem Solving with Large Language Models
- Atom of Thoughts for Markov LLM Test-Time Scaling cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Large Language Models are Zero-Shot Reasoners cites Language Models are Few-Shot Learners
- Large Language Models are Zero-Shot Reasoners cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Large Language Models are Zero-Shot Reasoners cites Training language models to follow instructions with human feedback
- Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Models cites Tree of Thoughts: Deliberate Problem Solving with Large Language Models
- Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Models cites Large Language Models are Zero-Shot Reasoners
- Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Models cites Language Models are Few-Shot Learners
- Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Chain-of-Thought Reasoning Without Prompting cites Tree of Thoughts: Deliberate Problem Solving with Large Language Models
- Chain-of-Thought Reasoning Without Prompting cites Large Language Models are Zero-Shot Reasoners
- Chain-of-Thought Reasoning Without Prompting cites Language Models are Few-Shot Learners
- Chain-of-Thought Reasoning Without Prompting cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- AutoPSV: Automated Process-Supervised Verifier cites Tree of Thoughts: Deliberate Problem Solving with Large Language Models
- AutoPSV: Automated Process-Supervised Verifier cites Large Language Models are Zero-Shot Reasoners
- AutoPSV: Automated Process-Supervised Verifier cites Language Models are Few-Shot Learners
- AutoPSV: Automated Process-Supervised Verifier cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- AutoPSV: Automated Process-Supervised Verifier cites Training language models to follow instructions with human feedback
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models cites Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
Cited by top-tier papers36
- Chain-of-Thought Reasoning Without PromptingXuezhi Wang, Denny ZhouNeurIPS 2024 · 305 citations
- Buffer of Thoughts: Thought-Augmented Reasoning with Large Language ModelsLing Yang, Zhaochen Yu, Tianjun Zhang, Shiyi Cao et al.NeurIPS 2024 · 144 citations
- Atom of Thoughts for Markov LLM Test-Time ScalingFengwei Teng, Quan Shi, Zhaoyang Yu, Jiayi Zhang et al.NeurIPS 2025 · 73 citations
- MR-Ben: A Meta-Reasoning Benchmark for Evaluating System-2 Thinking in LLMsZhongshen Zeng, Yinhong Liu, Yingjia Wan, Jingyao Li et al.NeurIPS 2024 · 51 citations
- AutoPSV: Automated Process-Supervised VerifierJianqiao Lu, Zhiyang Dou, Hongru Wang, Zeyu Cao et al.NeurIPS 2024 · 35 citations
Builds on36
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo et al.NeurIPS 2022 · 8,168 citations
- Tree of Thoughts: Deliberate Problem Solving with Large Language ModelsShunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran et al.NeurIPS 2023 · 5,068 citations
Related papers
- AlignedCoT: Prompting Large Language Models via Native-Speaking DemonstrationsZhicheng Yang, Yinya Huang, Jing Xiong, Liang Feng et al.EMNLP Findings 2024 · 1 citation
- Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language ModelsZhihong Shao, Yeyun Gong, Yelong Shen, Minlie Huang et al.ICML 2023 · 98 citations
- Enhancing Chain of Thought Prompting in Large Language Models via Reasoning PatternsYufeng Zhang, Xuepeng Wang, Lingxiang Wu, Jinqiao WangAAAI 2025 · 27 citations
- MetaLadder: Ascending Mathematical Solution Quality via Analogical-Problem Reasoning TransferHonglin Lin, Zhuoshi Pan, Qizhi Pei, Xin Gao et al.EMNLP Findings 2025
- INFORM : Information eNtropy based multi-step reasoning FOR large language ModelsChuyue Zhou, Wangjie You, Juntao Li, Jing Ye et al.EMNLP 2023 · 2 citations
