arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.16293cs.CL
收藏

通过动态笔记书写增强大型语言模型在复杂问答中的推理能力

Augmenting LLM Reasoning with Dynamic Notes Writing for Complex QA

ServiceNow

Rishabh Maheshwary, Masoud Hashemi, Khyati Mahajan, Shiva Krishna Reddy Malay, Sai Rajeswar, Sathwik Tejaswi Madhusudhan, Spandana Gella, Vikas Yadav

AI总结:

提出笔记书写方法,在迭代RAG中逐步生成简洁笔记以减少噪声,间接扩展LLM有效上下文长度,提升多跳问答推理性能,平均提升15.6个百分点。

摘要:

迭代式检索增强生成(Iterative RAG)在多跳问答中面临长上下文和无关信息积累的挑战。这阻碍了模型对检索内容进行处理和推理的能力,并限制了性能。虽然近期方法侧重于压缩检索到的信息,但它们要么局限于单轮RAG,要么需要微调,要么在迭代RAG中缺乏可扩展性。为应对这些挑战,我们提出了笔记书写(Notes Writing)方法,该方法在每一步从检索到的文档中生成简洁且相关的笔记,从而减少噪声并仅保留关键信息。这间接增加了大型语言模型(LLMs)的有效上下文长度,使其在处理更大规模输入文本时能够更有效地进行推理和规划。笔记书写与框架无关,可集成到不同的迭代RAG方法中。我们通过三种迭代RAG方法、两个模型和四个评估数据集证明了其有效性。笔记书写在总体上平均提升了15.6个百分点,且输出令牌的增加极少。

英文摘要:

Iterative RAG for multi-hop question answering faces challenges with lengthy contexts and the buildup of irrelevant information. This hinders a model's capacity to process and reason over retrieved content and limits performance. While recent methods focus on compressing retrieved information, they are either restricted to single-round RAG, require finetuning or lack scalability in iterative RAG. To address these challenges, we propose Notes Writing, a method that generates concise and relevant notes from retrieved documents at each step, thereby reducing noise and retaining only essential information. This indirectly increases the effective context length of Large Language Models (LLMs), enabling them to reason and plan more effectively while processing larger volumes of input text. Notes Writing is framework agnostic and can be integrated with different iterative RAG methods. We demonstrate its effectiveness with three iterative RAG methods, across two models and four evaluation datasets. Notes writing yields an average improvement of 15.6 percentage points overall, with minimal increase in output tokens.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑