Relevant or Random: Can LLMs Truly Perform Analogical Reasoning?
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 selfgenerating 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 selfgenerated 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.* Equal contribution, order decided by coin flip. InputOutput Q: The second and ninth terms of an arithmetic sequence are 2 and 30, respectively.What is the fiftieth term?
Authors
- Shafiq Joty (ORCID: https://orcid.org/0000-0002-9222-2641)
- Bosheng Ding
- Tan Wang
- Fangkai Jiao (ORCID: https://orcid.org/0000-0002-0670-6990)
- Wenhan Xia (ORCID: https://orcid.org/0000-0002-3063-144X)
- Yu‐Chen Hu (ORCID: https://orcid.org/0000-0002-5055-3645)
- Chengwei Qin (ORCID: https://orcid.org/0000-0002-1121-2100)
- Ruirui Chen (ORCID: https://orcid.org/0000-0003-0396-9725)
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.findings-acl.1230
- Citations
- 2
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 4.96