一种通过命题图遍历实现全面RAG的导航方法
A Navigational Approach for Comprehensive RAG via Traversal over Proposition Graphs
AI总结:
ToPG通过命题图遍历实现高效结构RAG系统,结合查询意识的图遍历与事实细粒度,提升复杂多跳查询和单跳事实检索的性能。
摘要:
标准基于分块的RAG管道在简单的事实检索方面表现优异,但在复杂的多跳查询上由于缺乏结构连通性而失败。相反,初始将检索与推理交织在一起的策略往往缺乏全局语料库意识,而基于知识图谱(KG)的RAG在复杂的多跳任务上表现强劲,但在事实导向的单跳查询上却遇到困难。为弥合这一差距,我们提出了一种新的RAG框架:ToPG(通过命题图遍历)。ToPG将其知识库建模为命题、实体和段落的异构图,有效地结合了命题的细粒度事实密度与图连通性。我们利用这种结构通过迭代的建议-选择循环进行处理,其中建议阶段使查询意识的图遍历成为可能,而选择阶段则通过LLM反馈来修剪无关的命题并播种下一个迭代。在三个不同的问答任务(简单、复杂和抽象问答)上进行评估,ToPG在准确性和质量基于的指标上均表现出色。总体而言,ToPG表明,结合查询意识的图遍历与事实细粒度是高效结构RAG系统的关键组成部分。ToPG可在https://github.com/idiap/ToPG上获得。
英文摘要:
Standard RAG pipelines based on chunking excel at simple factual retrieval but fail on complex multi-hop queries due to a lack of structural connectivity. Conversely, initial strategies that interleave retrieval with reasoning often lack global corpus awareness, while Knowledge Graph (KG)-based RAG performs strongly on complex multi-hop tasks but suffers on fact-oriented single-hop queries. To bridge this gap, we propose a novel RAG framework: ToPG (Traversal over Proposition Graphs). ToPG models its knowledge base as a heterogeneous graph of propositions, entities, and passages, effectively combining the granular fact density of propositions with graph connectivity. We leverage this structure using iterative Suggestion-Selection cycles, where the Suggestion phase enables a query-aware traversal of the graph, and the Selection phase provides LLM feedback to prune irrelevant propositions and seed the next iteration. Evaluated on three distinct QA tasks (Simple, Complex, and Abstract QA), ToPG demonstrates strong performance across both accuracy- and quality-based metrics. Overall, ToPG shows that query-aware graph traversal combined with factual granularity is a critical component for efficient structured RAG systems. ToPG is available at https://github.com/idiap/ToPG.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。