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

KGRAG-Ex:基于知识图谱扰动的可解释检索增强生成

KGRAG-Ex: Explainable Retrieval-Augmented Generation with Knowledge Graph-based Perturbations

University of Ioannina, Greece(希腊伊奥安妮亚大学);Archimedes, Athena Research Center, Greece(阿提卡研究中心)

Georgios Balanos, Evangelos Chasanis, Konstantinos Skianis, Evaggelia Pitoura

AI总结:

本文提出KGRAG-Ex系统,通过领域特定知识图谱提取实体和语义路径生成伪段落指导检索,并结合基于扰动的解释方法评估图谱组件对生成答案的影响,提升了RAG的事实基础与可解释性。

摘要:

检索增强生成(RAG)通过将响应建立在外部信息基础上来增强语言模型,但可解释性仍然是一个关键挑战,特别是当检索依赖于非结构化文本时。知识图谱(KG)通过引入实体及其关系的结构化、语义丰富的表示,提供了一种解决方案,从而实现透明的检索路径和可解释的推理。在这项工作中,我们提出了KGRAG-Ex,这是一个RAG系统,通过利用基于提示的信息提取构建的领域特定KG,提高了事实基础和可解释性。给定用户查询,KGRAG-Ex识别图中的相关实体和语义路径,然后将其转换为伪段落:即图子结构的自然语言表示,用于指导语料库检索。为了提高可解释性并支持推理透明度,我们结合了基于扰动的解释方法,评估特定KG派生组件对生成答案的影响。我们进行了一系列实验,分析系统对不同扰动方法的敏感性、图组件重要性与其结构位置之间的关系、语义节点类型的影响,以及图指标如何对应解释过程中组件的影响。

英文摘要:

Retrieval-Augmented Generation (RAG) enhances language models by grounding responses in external information, yet explainability remains a critical challenge, particularly when retrieval relies on unstructured text. Knowledge graphs (KGs) offer a solution by introducing structured, semantically rich representations of entities and their relationships, enabling transparent retrieval paths and interpretable reasoning. In this work, we present KGRAG-Ex, a RAG system that improves both factual grounding and explainability by leveraging a domain-specific KG constructed via prompt-based information extraction. Given a user query, KGRAG-Ex identifies relevant entities and semantic paths in the graph, which are then transformed into pseudo-paragraphs: natural language representations of graph substructures that guide corpus retrieval. To improve interpretability and support reasoning transparency, we incorporate perturbation-based explanation methods that assess the influence of specific KG-derived components on the generated answers. We conduct a series of experiments to analyze the sensitivity of the system to different perturbation methods, the relationship between graph component importance and their structural positions, the influence of semantic node types, and how graph metrics correspond to the influence of components within the explanations process.

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

↑