arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.13314cs.CL
收藏

通过基于知识图谱的自主改造来缓解大型语言模型的幻觉

Mitigating Large Language Model Hallucinations via Autonomous Knowledge Graph-based Retrofitting

Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);State Key Laboratory of Computer Science(计算机科学国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学)

Xinyan Guan, Yanjiang Liu, Hongyu Lin, Yaojie Lu, Ben He, Xianpei Han, Le Sun

AI总结:

本文提出KGR框架,通过利用LLMs自主提取、选择、验证并改造模型回复中的事实陈述,结合知识图谱知识改造初始草稿,有效缓解推理过程中的事实性幻觉,显著提升复杂推理事实问答表现。

摘要:

将知识图谱中的事实知识结合进来被认为是缓解大型语言模型(LLMs)幻觉的一种有前景的方法。现有方法通常仅使用用户输入来查询知识图谱,因此无法解决LLMs在其推理过程中产生的事实性幻觉。为解决这一问题,本文提出了Knowledge Graph-based Retrofitting (KGR)这一新框架,该框架将LLMs与知识图谱(KGs)相结合,通过基于KGs中存储的事实知识对LLMs的初始草稿回复进行改造,来缓解推理过程中的事实性幻觉。具体而言,KGR利用LLMs在模型生成的回复中提取、选择、验证并改造事实陈述,从而实现无需任何额外人工努力的自主知识验证与精炼过程。实验表明,KGR能显著提升LLMs在事实性问答基准上的表现,尤其是在涉及复杂推理过程时,这证明了KGR在缓解幻觉和增强LLMs可靠性方面的必要性与有效性。

英文摘要:

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.

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

↑