paper-with-me

홈 › Papers

Reasoning Graph Enhanced Exemplars Retrieval for In-Context Learning

2024-09-17 · Yukang Lin, Bingchen Zhong, Shuoran Jiang, Joanna Siebert, Qingcai Chen

Large language models (LLMs) have exhibited remarkable few-shot learning capabilities and unified the paradigm of NLP tasks through the in-context learning (ICL) technique. Despite the success of ICL, the quality of the exemplar demonstrations can significantly influence the LLM's performance. Existing exemplar selection methods mainly focus on the semantic similarity between queries and candidate exemplars. On the other hand, the logical connections between reasoning steps can be beneficial to depict the problem-solving process as well. In this paper, we proposes a novel method named Reasoning Graph-enhanced Exemplar Retrieval (RGER). RGER first quires LLM to generate an initial response, then expresses intermediate problem-solving steps to a graph structure. After that, it employs graph kernel to select exemplars with semantic and structural similarity. Extensive experiments demonstrate the structural relationship is helpful to the alignment of queries and candidate exemplars. The efficacy of RGER on math and logit reasoning tasks showcases its superiority over state-of-the-art retrieval-based approaches. Our code is released at https://github.com/Yukang-Lin/RGER.

📄 PDF Abstract BibTeX arXiv:2409.11147

Code (1)

yukang-lin/rger 공식 구현 pytorch

Tasks

Few-Shot LearningIn-Context LearningMathRetrievalSemantic SimilaritySemantic Textual Similarity

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Revisiting Chain-of-Thought Prompting: Zero-shot Can Be Stronger than Few-shot

2025-06-17 · Xiang Cheng, Chengyan Pan, Minjun Zhao, Deyang Li 외

In-Context Learning (ICL) is an essential emergent ability of Large Language Models (LLMs), and recent studies introduce Chain-of-Thought (CoT) to exemplars of ICL to enhance the reasoning capability, especially in mathe…

In-Context LearningMathematical Reasoning

RetrievalSum: A Retrieval Enhanced Framework for Abstractive Summarization

2021-09-16 · Chenxin An, Ming Zhong, Zhichao Geng, Jianqiang Yang 외

Existing summarization systems mostly generate summaries purely relying on the content of the source document. However, even for humans, we usually need some references or exemplars to help us fully understand the source…

Abstractive Text SummarizationRetrieval

Enhancing Reasoning with Collaboration and Memory

2025-03-07 · Julie Michelman, Nasrin Baratalipour, Matthew Abueg

We envision a continuous collaborative learning system where groups of LLM agents work together to solve reasoning problems, drawing on memory they collectively build to improve performance as they gain experience. This …

DQ-LoRe: Dual Queries with Low Rank Approximation Re-ranking for In-Context Learning

2023-10-04 · Jing Xiong, Zixuan Li, Chuanyang Zheng, Zhijiang Guo 외

Recent advances in natural language processing, primarily propelled by Large Language Models (LLMs), have showcased their remarkable capabilities grounded in in-context learning. A promising avenue for guiding LLMs in in…

Dimensionality ReductionIn-Context LearningRe-Ranking

In-Context Exemplars as Clues to Retrieving from Large Associative Memory

2023-11-06 · Jiachen Zhao

Recently, large language models (LLMs) have made remarkable progress in natural language processing. The most representative ability of LLMs is in-context learning (ICL), which enables LLMs to learn patterns from in-cont…

In-Context LearningRetrieval