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

读取路径:用于多跳检索增强生成的注意力引导超图检索

Read the Route: Attention-Steered Hypergraph Retrieval for Multi-hop RAG

The University of New South Wales(新南威尔士大学);Hunan University(湖南大学);The University of Sydney(悉尼大学)

Jiate Liu, Liuyi Chen, Xiaofei Yuan, Yifu Tang, Zihan Yang, Xu Zhou, Zhengyi Yang

AI总结:

提出HyperAddress方法,利用LLM的寻址头在描述标签超图上运行个性化PageRank,无需查询时生成,在多跳问答数据集上性能优于基线,且推理更快、索引成本更低。

摘要:

基于图的检索增强生成(GraphRAG)通过将语料组织为图结构并沿其结构检索来回答多跳问题。现有检索方法存在两个局限:基于扩散和相似度的方法沿固定边权重或与问题的相似度扩展检索,未解决问题的隐式实体引用,导致相关性误差随跳数累积;基于探索的方法让大语言模型(LLM)推理下一跳,但每跳需单独生成,推理成本高。我们发现,LLM可在生成任何token前从检索段落和多跳问题中解析隐式实体引用,进一步分析识别出一组称为寻址头的注意力头,其能在单次前向传播中跨多跳捕获该能力。基于此发现,我们提出HyperAddress,该方法在带描述标签的超图上运行个性化PageRank,利用寻址头确定重启分布和转移权重,从而在查询时无需任何生成即可引导多跳检索。在MuSiQue、2WikiMultiHopQA和HotpotQA数据集上,HyperAddress平均比最强基线高出3.5个Recall@5点和7.4个All@5点,增益随跳数增加而增长,推理速度快两倍以上,索引构建成本为基线的一半。

英文摘要:

Graph-based retrieval-augmented generation (GraphRAG) answers multi-hop questions by organizing a corpus into a graph and retrieving along its structure. Existing retrieval methods face two limitations. Diffusion- and similarity-based methods expand retrieval along fixed edge weights or by similarity to the question, without resolving its implicit entity references, allowing relevance errors to accumulate across hops. In contrast, exploration-based methods let an LLM reason about the next hop, but require a separate generation at each hop, leading to high inference costs. We observe that an LLM can resolve implicit entity references from retrieved passages and a multi-hop question before generating any tokens. Further analysis identifies a small set of attention heads, termed addressing heads, that capture this capability across multiple hops in a single forward pass. Building on this finding, we propose HyperAddress, which runs Personalized PageRank on a description-labelled hypergraph, using addressing heads to determine the restart distribution and transition weights, thereby guiding multi-hop retrieval without any generation at query time. On MuSiQue, 2WikiMultiHopQA, and HotpotQA, HyperAddress outperforms the strongest baseline by 3.5 points of Recall@5 and 7.4 points of All@5 on average, with gains that grow with the number of hops. It answers more than twice as fast and builds its index at half the cost.

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

↑