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

GLaM:通过邻域划分和生成子图编码微调大型语言模型以实现领域知识图谱对齐

GLaM: Fine-Tuning Large Language Models for Domain Knowledge Graph Alignment via Neighborhood Partitioning and Generative Subgraph Encoding

Pacific Northwest National Lab(太平洋西北国家实验室)

Stefan Dernbach, Khushbu Agarwal, Alejandro Zuniga, Michael Henry, Sutanay Choudhury

AI总结:

本文提出GLaM微调框架,将领域知识图谱转换为文本问答对以对齐LLM,增强其基于图谱结构的推理能力,并作为检索增强生成的高效替代方案。

摘要:

将大型语言模型(LLM)与源自特定领域数据的知识图谱相集成,代表了朝着更强大、更符合事实的推理能力迈进的重要进展。随着这些模型能力的不断增强,使其能够对现实世界的知识图谱执行多步推理,同时最大限度地减少幻觉,变得至关重要。尽管大型语言模型在对话和文本生成方面表现出色,但它们在领域特定的互连实体图谱上进行推理的能力仍然有限。例如,我们能否查询一个大型语言模型,根据私有数据库中的关系和属性,为特定目标识别出专业网络中的最佳联系人?答案是否定的——此类能力超出了当前方法的范畴。然而,这个问题凸显了一个必须解决的关键技术差距。科学、安全和电子商务等领域的许多高价值应用依赖于编码了独特结构、关系和逻辑约束的专有知识图谱。我们引入了一个用于开发图谱对齐语言模型(GLaM)的微调框架,该框架将知识图谱转换为带有标注问答对的替代文本表示。我们证明了将模型基于特定的图谱知识进行锚定,能够扩展模型基于结构进行推理的能力。我们的方法利用大型语言模型的生成能力来创建数据集,并提出了一种检索增强生成风格方法的高效替代方案。

英文摘要:

Integrating large language models (LLMs) with knowledge graphs derived from domain-specific data represents an important advancement towards more powerful and factual reasoning. As these models grow more capable, it is crucial to enable them to perform multi-step inferences over real-world knowledge graphs while minimizing hallucination. While large language models excel at conversation and text generation, their ability to reason over domain-specialized graphs of interconnected entities remains limited. For example, can we query a LLM to identify the optimal contact in a professional network for a specific goal, based on relationships and attributes in a private database? The answer is no--such capabilities lie beyond current methods. However, this question underscores a critical technical gap that must be addressed. Many high-value applications in areas such as science, security, and e-commerce rely on proprietary knowledge graphs encoding unique structures, relationships, and logical constraints. We introduce a fine-tuning framework for developing Graph-aligned LAnguage Models (GLaM) that transforms a knowledge graph into an alternate text representation with labeled question-answer pairs. We demonstrate that grounding the models in specific graph-based knowledge expands the models' capacity for structure-based reasoning. Our methodology leverages the large-language model's generative capabilities to create the dataset and proposes an efficient alternate to retrieval-augmented generation styled methods.

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

↑