Relevant or Random: Can LLMs Truly Perform Analogical Reasoning?
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Analogical reasoning is a unique ability of humans to address unfamiliar challenges by transferring strategies from relevant past experiences. One key finding in psychology is that compared with irrelevant past experiences, recalling relevant ones can help humans better handle new tasks. Coincidentally, the NLP community has also recently found that self-generating relevant examples in the context can help large language models (LLMs) better solve a given problem than hand-crafted prompts. However, it is yet not clear whether relevance is the key factor eliciting such capability, i.e., can LLMs benefit more from self-generated relevant examples than irrelevant ones? In this work, we systematically explore whether LLMs can truly perform analogical reasoning on a diverse set of reasoning tasks. With extensive experiments and analysis, we show that self-generated random examples can surprisingly achieve comparable or even better performance on certain tasks, e.g., 4% performance boost on GSM8K with random biological examples. We find that the accuracy of self-generated examples is the key factor and subsequently design two novel methods with improved performance and significantly reduced inference costs. Overall, we aim to advance a deeper understanding of LLM analogical reasoning and hope this work stimulates further research in the design of self-generated contexts.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 55 of its 75 references that are in the map. First posted on arXiv 19 Apr 2024.
Builds on
55 of 75 references.
Closest ancestors · 3
Same direction, newest first
- 2023LLaMA: Open and Efficient Foundation Language Models27 Feb
- 2023Specializing Smaller Language Models towards Multi-Step Reasoning30 Jan
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?25 Feb
Other references · 52
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
38 more
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2023LIMA: Less Is More for Alignmentcited by 1,080
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2023A General Theoretical Paradigm to Understand Learning from Human Preferencescited by 906
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 559
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 554
- 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 486
- 2023RRHF: Rank Responses to Align Language Models with Human Feedback without tearscited by 454
- 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 387
- 2023Larger language models do in-context learning differentlycited by 386
- 2022Dynamic Prompt Learning via Policy Gradient for Semi-structured Mathematical Reasoningcited by 347
- 2023Statistical Rejection Sampling Improves Preference Optimizationcited by 321
- 2022Large Language Models Are Reasoning Teacherscited by 318
- 2022UL2: Unifying Language Learning Paradigmscited by 292
- 2022Teaching Small Language Models to Reasoncited by 279
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
- 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 149
- 2023Verify-and-Edit: A Knowledge-Enhanced Chain-of-Thought Frameworkcited by 139
- 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
- 2022Rationale-Augmented Ensembles in Language Modelscited by 111
- 2023Large Language Models as Analogical Reasonerscited by 107
- 2023Finding Support Examples for In-Context Learningcited by 104
- 2023In-Context Learning with Iterative Demonstration Selectioncited by 74
- 2022Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrationscited by 70
- 2022Self-Generated In-Context Learning: Leveraging Auto-regressive Language Models as a Demonstration Generatorcited by 68
- 2023In-Context Learning Learns Label Relationships but Is Not Conventional Learningcited by 48
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2024: 2; 2025: 2; 2026: 4.
8 papers.
- 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systemscited by 108
- 2024A Systematic Assessment of OpenAI o1-Preview for Higher Order Thinking in Educationcited by 16
- 2025Evaluating the Logical Reasoning Abilities of Large Reasoning Modelscited by 7
- 2026Unlocking LLM Creativity in Science through Analogical Reasoningcited by 6
- 2024DeFine: Decision-Making with Analogical Reasoning over Factor Profilescited by 3
- 2026Can Large Language Models Generalize Procedures Across Representations?cited by 1
- 2026MedCalc-R1: Knowledge-Guided Reward Framework for Medical Mathematical Reasoningcited by 1
- 2026PRISM: A Category-Theoretic Framework for Measuring and Refining Multimodal Analogiescited by 0
- 2026PRISM: A Category-Theoretic Framework for Measuring and Refining Multimodal Analogies1 Oct 2026
- 2026MedCalc-R1: Knowledge-Guided Reward Framework for Medical Mathematical Reasoning9 Aug 2026
- 2026Unlocking LLM Creativity in Science through Analogical Reasoning11 May 2026
- 2026Can Large Language Models Generalize Procedures Across Representations?3 Feb 2026
- 2025Evaluating the Logical Reasoning Abilities of Large Reasoning Models17 May 2025
- 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systems12 Apr 2025
- 2024A Systematic Assessment of OpenAI o1-Preview for Higher Order Thinking in Education11 Oct 2024
- 2024DeFine: Decision-Making with Analogical Reasoning over Factor Profiles2 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2024AnaloBench: Benchmarking the Identification of Abstract and Long-context Analogies
- 2026Not the Example, but the Process: How Self-Generated Examples Enhance LLM Reasoning
- 2024Evaluating the Robustness of Analogical Reasoning in Large Language Models
- 2023Are LLMs the Master of All Trades? : Exploring Domain-Agnostic Reasoning Skills of LLMs
- 2024LLMs as Models for Analogical Reasoning
- 2025Modeling Understanding of Story-Based Analogies Using Large Language Models
- 2024Using Counterfactual Tasks to Evaluate the Generality of Analogical Reasoning in Large Language Models
- 2023Can language models learn analogical reasoning? Investigating training objectives and comparisons to human performance