arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.20753cs.CLcs.LG
收藏

Plan*RAG:面向检索增强生成的高效测试时规划

Plan*RAG: Efficient Test-Time Planning for Retrieval Augmented Generation

Aalto University(阿尔托大学);Microsoft Research(微软研究院)

Prakhar Verma, Sukruta Prakash Midigeshi, Gaurav Sinha, Arno Solin, Nagarajan Natarajan, Amit Sharma

AI总结:

Plan*RAG 通过将推理计划构建为语言模型工作记忆外的有向无环图,实现结构化多跳推理、原子子查询检索和并行执行,在标准多跳推理基准上优于 RQ-RAG 和 Self-RAG,同时保持相近计算成本。

摘要:

我们提出 Plan*RAG,一个通过在测试时生成推理计划,在检索增强生成(RAG)中实现结构化多跳推理的新框架。虽然 ReAct 等现有方法在语言模型的上下文窗口内维护推理链,但我们观察到这往往会导致计划碎片化和执行失败。我们的核心见解是,通过将推理计划隔离为语言模型工作记忆之外的有向无环图(DAG),可以实现:(1)对推理路径的系统性探索,(2)支持精确检索和证据锚定的原子子查询,以及(3)通过并行执行和有界上下文窗口利用实现高效性。此外,Plan*RAG 的模块化设计使其能够与现有 RAG 方法集成,从而为改进当前 RAG 系统提供实用解决方案。在标准多跳推理基准上,Plan*RAG 相较于 RQ-RAG 和 Self-RAG 等近期提出的方法持续取得性能提升,同时保持可比较的计算成本。

英文摘要:

We introduce Plan*RAG, a novel framework that enables structured multi-hop reasoning in retrieval-augmented generation (RAG) through test-time reasoning plan generation. While existing approaches such as ReAct maintain reasoning chains within the language model's context window, we observe that this often leads to plan fragmentation and execution failures. Our key insight is that by isolating the reasoning plan as a directed acyclic graph (DAG) outside the LM's working memory, we can enable (1) systematic exploration of reasoning paths, (2) atomic subqueries enabling precise retrievals and grounding, and (3) efficiency through parallel execution and bounded context window utilization. Moreover, Plan*RAG's modular design allows it to be integrated with existing RAG methods, thus providing a practical solution to improve current RAG systems. On standard multi-hop reasoning benchmarks, Plan*RAG consistently achieves improvements over recently proposed methods such as RQ-RAG and Self-RAG, while maintaining comparable computational costs.

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

↑