Skip to main content
QUICK REVIEW

[论文解读] Mitigating Large Language Model Hallucinations via Autonomous Knowledge Graph-based Retrofitting

Xinyan Guan, Yanjiang Liu|arXiv (Cornell University)|Nov 22, 2023
Topic ModelingComputer Science被引用 10
一句话总结

KGR 自动地对 LLM 草拟的回答进行基于知识图谱事实的改造,以减轻推理过程中的事实性幻觉,在事实性问答基准上提高准确性。

ABSTRACT

Incorporating factual knowledge in knowledge graph is regarded as a promising approach for mitigating the hallucination of large language models (LLMs). Existing methods usually only use the user's input to query the knowledge graph, thus failing to address the factual hallucination generated by LLMs during its reasoning process. To address this problem, this paper proposes Knowledge Graph-based Retrofitting (KGR), a new framework that incorporates LLMs with KGs to mitigate factual hallucination during the reasoning process by retrofitting the initial draft responses of LLMs based on the factual knowledge stored in KGs. Specifically, KGR leverages LLMs to extract, select, validate, and retrofit factual statements within the model-generated responses, which enables an autonomous knowledge verifying and refining procedure without any additional manual efforts. Experiments show that KGR can significantly improve the performance of LLMs on factual QA benchmarks especially when involving complex reasoning processes, which demonstrates the necessity and effectiveness of KGR in mitigating hallucination and enhancing the reliability of LLMs.

研究动机与目标

  • 在多步推理过程中激发并解决 LLMs 的事实性幻觉。
  • 提出一个框架,能够自主地使用知识图谱提取、验证并回填事实陈述。
  • 在具有不同推理复杂度的多种 LLMs 和事实性问答基准上展示有效性。
  • 证明该方法可以在无需额外人工干预的情况下运行,并且可泛化到不同模型规模和对齐方式。

提出的方法

  • 引入基于知识图谱的回填(KGR),通过 KG 事实迭代地重新拟合 LLM 草拟的回答。
  • 通过主张提取将草拟回答分解为原子级事实主张。
  • 在主张中检测关键实体并检索相应的 KG 子图。
  • 在长上下文约束下使用事实选择器挑选相关的 KG 三元组。
  • 将每个主张与 KG 知识进行核验,并通过 LLM 生成的修订建议提出回填。
  • 迭代提取-检测-选择-验证-回填,以使所有事实与 KG 数据对齐。

实验结果

研究问题

  • RQ1在简单任务和复杂任务中,基于 KG 的自主回填是否能降低 LLM 推理中的事实性幻觉?
  • RQ2与基于检索的基线相比,KGR 在不同 LLMs 与知识领域上的表现如何?
  • RQ3在主张提取、实体检测和事实选择中的瓶颈是什么,它们如何影响准确性?
  • RQ4迭代式回填是否在开放域多跳问答(如 HotpotQA)中提升可靠性?

主要发现

  • KGR 在三个数据集上的事实性问答表现显著提升,尤其是在具有复杂推理的情境中。
  • KGR 在评估的数据集和模型类型上均超越 CoT 和 CRITIC 基线。
  • 通过 KG 证据和验证链进行事实核验提升 Mintaka 与 HotpotQA 的表现。
  • KGR 展现出对紧凑型 LM(Vicuna 13B)以及对齐与非对齐的 LLM 的泛化能力。
  • 错误分析将实体检测与事实选择确认为需要改进的主要瓶颈。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。