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

用知识图谱思考:通过结构化数据增强大语言模型推理

Thinking with Knowledge Graphs: Enhancing LLM Reasoning Through Structured Data

Yahoo Research(雅虎研究院)

Xue Wu, Kostas Tsioutsiouliklis

AI总结:

本文提出将知识图谱的结构与语义紧密集成到大语言模型中,通过编程语言表示知识图谱并微调预训练模型,显著提升复杂推理性能并增强推理的可解释性。

摘要:

大语言模型(LLMs)在自然语言理解和生成方面展现了卓越的能力。然而,它们常常在复杂推理任务中遇到困难,并且容易产生幻觉。近期研究表明,利用知识图谱(KGs)来增强大语言模型性能具有可喜的成果。知识图谱提供了实体及其关系的结构化表示,为增强大语言模型的推理能力提供了丰富的信息来源。在这项工作中,我们开发了多种技术,将知识图谱的结构和语义紧密集成到大语言模型的表示中。我们的结果表明,我们能够显著提高大语言模型在复杂推理场景中的性能,并用知识图谱为推理过程提供依据。我们是首个用编程语言表示知识图谱并对预训练大语言模型进行知识图谱微调的研究团队。这种集成促进了更准确和可解释的推理过程,为大语言模型更高级的推理能力铺平了道路。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable capabilities in natural language understanding and generation. However, they often struggle with complex reasoning tasks and are prone to hallucination. Recent research has shown promising results in leveraging knowledge graphs (KGs) to enhance LLM performance. KGs provide a structured representation of entities and their relationships, offering a rich source of information that can enhance the reasoning capabilities of LLMs. For this work, we have developed different techniques that tightly integrate KG structures and semantics into LLM representations. Our results show that we are able to significantly improve the performance of LLMs in complex reasoning scenarios, and ground the reasoning process with KGs. We are the first to represent KGs with programming language and fine-tune pretrained LLMs with KGs. This integration facilitates more accurate and interpretable reasoning processes, paving the way for more advanced reasoning capabilities of LLMs.

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

↑