arXiv:2410.02811cs.AIcs.CL2024-10ACL被引 59

用大模型自动构建领域知识图谱,精度超89%。

SAC-KG: Exploiting Large Language Models as Skilled Automatic Constructors for Domain Knowledge Graphs

  • 用大模型生成、验证、修剪三阶段自动构建知识图谱
  • 构建超百万节点图谱,精度达89.32%,提升超20%
  • 适合需要快速构建高质量领域知识图谱的场景

知识图谱(KG)在专业领域的知识密集型任务中至关重要,精准可靠的知識获取尤为关键。然而现有构建方法严重依赖人工,限制了实际应用。为此,我们提出通用框架SAC-KG,利用大语言模型(LLMs)作为领域专家,自动构建多层级、高精度的知识图谱。SAC-KG包含生成器、验证器和修剪器三部分:生成器从原始领域文本中提取实体关系及尾部节点,构建单层知识图谱;验证器与修剪器协同工作,修正生成错误,并判断新节点是否需迭代生成下一层。实验表明,SAC-KG可自动构建规模超过一百万节点的领域知识图谱,精确率达89.32%,相比现有最先进方法精度提升超过20%。

原文摘要 · Abstract (English)

Knowledge graphs (KGs) play a pivotal role in knowledge-intensive tasks across specialized domains, where the acquisition of precise and dependable knowledge is crucial. However, existing KG construction methods heavily rely on human intervention to attain qualified KGs, which severely hinders the practical applicability in real-world scenarios. To address this challenge, we propose a general KG construction framework, named SAC-KG, to exploit large language models (LLMs) as Skilled Automatic Constructors for domain Knowledge Graph. SAC-KG effectively involves LLMs as domain experts to generate specialized and precise multi-level KGs. Specifically, SAC-KG consists of three components: Generator, Verifier, and Pruner. For a given entity, Generator produces its relations and tails from raw domain corpora, to construct a specialized single-level KG. Verifier and Pruner then work together to ensure precision by correcting generation errors and determining whether newly produced tails require further iteration for the next-level KG.Experiments demonstrate that SAC-KG automatically constructs a domain KG at the scale of over one million nodes and achieves a precision of 89.32%, leading to a superior performance with over 20% increase in precision rate compared to existing state-of-the-art methods for the KG construction task.

知识图谱大模型自动构建多层级

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。