mlsanityData to 7 Oct 2026

Relevant or Random: Can LLMs Truly Perform Analogical Reasoning?

arXiv 2404.12728 ↗First posted 19 Apr 2024cs.CLcited by 8

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

  1. 2023LLaMA: Open and Efficient Foundation Language Models27 Feb
  2. 2023Specializing Smaller Language Models towards Multi-Step Reasoning30 Jan
  3. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?25 Feb

Other references · 52

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2017Proximal Policy Optimization Algorithmscited by 14,441
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  6. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  7. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  8. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  9. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  10. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  11. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  12. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
38 more
  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  2. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  5. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
  6. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  7. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  8. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
  9. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  10. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  11. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  12. 2023LIMA: Less Is More for Alignmentcited by 1,080
  13. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  14. 2023A General Theoretical Paradigm to Understand Learning from Human Preferencescited by 906
  15. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
  16. 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 559
  17. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
  18. 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 554
  19. 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 486
  20. 2023RRHF: Rank Responses to Align Language Models with Human Feedback without tearscited by 454
  21. 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 387
  22. 2023Larger language models do in-context learning differentlycited by 386
  23. 2022Dynamic Prompt Learning via Policy Gradient for Semi-structured Mathematical Reasoningcited by 347
  24. 2023Statistical Rejection Sampling Improves Preference Optimizationcited by 321
  25. 2022Large Language Models Are Reasoning Teacherscited by 318
  26. 2022UL2: Unifying Language Learning Paradigmscited by 292
  27. 2022Teaching Small Language Models to Reasoncited by 279
  28. 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
  29. 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 149
  30. 2023Verify-and-Edit: A Knowledge-Enhanced Chain-of-Thought Frameworkcited by 139
  31. 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
  32. 2022Rationale-Augmented Ensembles in Language Modelscited by 111
  33. 2023Large Language Models as Analogical Reasonerscited by 107
  34. 2023Finding Support Examples for In-Context Learningcited by 104
  35. 2023In-Context Learning with Iterative Demonstration Selectioncited by 74
  36. 2022Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrationscited by 70
  37. 2022Self-Generated In-Context Learning: Leveraging Auto-regressive Language Models as a Demonstration Generatorcited by 68
  38. 2023In-Context Learning Learns Label Relationships but Is Not Conventional Learningcited by 48

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 2; 2026: 4.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024AnaloBench: Benchmarking the Identification of Abstract and Long-context Analogies
  2. 2026Not the Example, but the Process: How Self-Generated Examples Enhance LLM Reasoning
  3. 2024Evaluating the Robustness of Analogical Reasoning in Large Language Models
  4. 2023Are LLMs the Master of All Trades? : Exploring Domain-Agnostic Reasoning Skills of LLMs
  5. 2024LLMs as Models for Analogical Reasoning
  6. 2025Modeling Understanding of Story-Based Analogies Using Large Language Models
  7. 2024Using Counterfactual Tasks to Evaluate the Generality of Analogical Reasoning in Large Language Models
  8. 2023Can language models learn analogical reasoning? Investigating training objectives and comparisons to human performance