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

CogMG:大语言模型与知识图谱之间的协同增强

CogMG: Collaborative Augmentation Between Large Language Model and Knowledge Graph

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Tong Zhou, Yubo Chen, Kang Liu, Jun Zhao

AI总结:

本文提出CogMG协同增强框架,通过LLM与知识图谱双向互补,解决QA场景中知识覆盖不全与更新不一致问题,显著降低幻觉并提升事实准确性。

摘要:

大语言模型已成为问答应用的重要组成部分,尽管它们倾向于产生幻觉和事实不准确的内容。通过查询知识图谱来减少 LLM 中的幻觉,面临着知识图谱中知识覆盖不完整的挑战。另一方面,通过信息抽取和知识图谱补全来更新知识图谱,面临知识更新不一致的问题。在这项工作中,我们引入了一个协同增强框架 CogMG,利用知识图谱来解决 LLM 在 QA 场景中的局限性,明确针对知识覆盖不完整和知识更新不一致的问题。LLM 识别并分解 KG 中不存在的所需知识三元组,对其进行丰富,并将更新与现实世界的需求对齐。我们通过在智能体框架内进行监督微调的 LLM 展示了该方法的有效性,显示出在减少幻觉和提高 QA 响应中的事实准确性方面的显著改进。我们的代码和视频已公开提供。

英文摘要:

Large language models have become integral to question-answering applications despite their propensity for generating hallucinations and factually inaccurate content. Querying knowledge graphs to reduce hallucinations in LLM meets the challenge of incomplete knowledge coverage in knowledge graphs. On the other hand, updating knowledge graphs by information extraction and knowledge graph completion faces the knowledge update misalignment issue. In this work, we introduce a collaborative augmentation framework, CogMG, leveraging knowledge graphs to address the limitations of LLMs in QA scenarios, explicitly targeting the problems of incomplete knowledge coverage and knowledge update misalignment. The LLMs identify and decompose required knowledge triples that are not present in the KG, enriching them and aligning updates with real-world demands. We demonstrate the efficacy of this approach through a supervised fine-tuned LLM within an agent framework, showing significant improvements in reducing hallucinations and enhancing factual accuracy in QA responses. Our code and video are publicly available.

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

↑