arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.22843cs.IRcs.AI
收藏

结构引导的检索增强生成用于事实查询

Structure Guided Retrieval-Augmented Generation for Factual Queries

College of Information and Electrical Engineering, China Agricultural University, China(中国农业大学信息与电气工程学院);College of Computing and Data Science, Nanyang Technological University, Singapore(南洋理工大学计算机与数据科学学院);Key Laboratory of Agricultural Informatization Standardization, Ministry of Agriculture and Rural Affairs, China(农业信息化标准化 key laboratory, 农业农村部)

Miao Xie, Xiao Zhang, Yi Li, Chunli Lv

AI总结:

本文提出结构引导的检索增强生成(SG-RAG),通过嵌入式子图匹配解决事实查询中的精确检索问题,实验表明其在ERQA数据集上性能显著提升。

摘要:

检索增强生成(RAG)已被提出以减轻大语言模型(LLMs)中的幻觉问题,其中生成输出可能在事实上不正确。然而,现有RAG方法主要依赖向量相似性进行检索,容易受到语义噪声影响,无法确保生成的响应完全满足事实查询的复杂条件,从而导致错误答案。为了解决这一挑战,我们引入了一个新的研究问题,称为精确检索问题(ERP)。到目前为止,这是第一个明确将结构信息纳入RAG中以满足所有查询条件的问题形式化。为此问题,我们提出了结构引导的检索增强生成(SG-RAG),将检索过程建模为基于嵌入的子图匹配任务,并利用检索到的拓扑结构指导LLM生成满足所有指定查询条件的答案。为了便于评估ERP,我们构建并公开发布了Exact Retrieval Question Answering (ERQA),一个包含120000个事实导向QA对的大型数据集,每个对都涉及复杂的条件,涵盖20个不同的领域。实验结果表明,SG-RAG在ERQA上显著优于强基线,所有评估指标上均实现了从20.68到50.88的绝对提升,同时保持了合理的计算开销。

英文摘要:

Retrieval-Augmented Generation (RAG) has been proposed to mitigate hallucinations in large language models (LLMs), where generated outputs may be factually incorrect. However, existing RAG approaches predominantly rely on vector similarity for retrieval, which is prone to semantic noise and fails to ensure that generated responses fully satisfy the complex conditions specified by factual queries, often leading to incorrect answers. To address this challenge, we introduce a novel research problem, named Exact Retrieval Problem (ERP). To the best of our knowledge, this is the first problem formulation that explicitly incorporates structural information into RAG for factual questions to satisfy all query conditions. For this novel problem, we propose Structure Guided Retrieval-Augmented Generation (SG-RAG), which models the retrieval process as an embedding-based subgraph matching task, and uses the retrieved topological structures to guide the LLM to generate answers that meet all specified query conditions. To facilitate evaluation of ERP, we construct and publicly release Exact Retrieval Question Answering (ERQA), a large-scale dataset comprising 120000 fact-oriented QA pairs, each involving complex conditions, spanning 20 diverse domains. The experimental results demonstrate that SG-RAG significantly outperforms strong baselines on ERQA, delivering absolute improvements from 20.68 to 50.88 points across all evaluation metrics, while maintaining reasonable computational overhead.

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

↑