用知识图谱增强生成可解释性,让回答有据可查。
KGRAG-Ex: Explainable Retrieval-Augmented Generation with Knowledge Graph-based Perturbations
- 用提示抽取构建领域知识图谱,生成语义路径引导检索
- 通过图结构扰动分析关键实体对答案的影响程度
- 适合需要透明推理的医疗、金融等高风险场景
检索增强生成(RAG)通过引入外部信息提升语言模型的准确性,但可解释性仍是难题,尤其当检索依赖非结构化文本时。知识图谱(KG)提供结构化且语义丰富的实体与关系表示,有助于实现透明的检索路径和可解释的推理过程。本文提出KGRAG-Ex,一种基于领域知识图谱的可解释检索增强生成系统。该系统通过提示式信息抽取构建特定领域的知识图谱,用户提问后,系统识别图中相关实体与语义路径,并将其转化为伪段落——即图子结构的自然语言表达,用于指导文档检索。为提升可解释性并支持推理透明性,引入基于扰动的解释方法,评估特定知识图谱组件对生成答案的影响。实验分析了不同扰动方法的敏感性、图成分重要性与其结构位置的关系、语义节点类型的影响,以及图度量与解释影响力之间的关联。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。