[论文解读] Enhancing Knowledge Graph Construction Using Large Language Models
本文比较 REBEL 与 ChatGPT 在从可持续发展相关文本自动构建知识图谱方面的能力,结果显示通过精炼提示的 ChatGPT 可以生成更高质量的本体与实例。它还证明,使用基础 LLMs 的自动本体生成可以提升知识图谱的相关性。
The growing trend of Large Language Models (LLM) development has attracted significant attention, with models for various applications emerging consistently. However, the combined application of Large Language Models with semantic technologies for reasoning and inference is still a challenging task. This paper analyzes how the current advances in foundational LLM, like ChatGPT, can be compared with the specialized pretrained models, like REBEL, for joint entity and relation extraction. To evaluate this approach, we conducted several experiments using sustainability-related text as our use case. We created pipelines for the automatic creation of Knowledge Graphs from raw texts, and our findings indicate that using advanced LLM models can improve the accuracy of the process of creating these graphs from unstructured text. Furthermore, we explored the potential of automatic ontology creation using foundation LLM models, which resulted in even more relevant and accurate knowledge graphs.
研究动机与目标
- 调查基础 LLMs 与专门的预训练模型在联合实体与关系抽取方面的比较。
- 评估从非结构化网页文本在可持续性用例中创建知识图谱的端到端流程。
- 评估提示策略是否能诱导本体创建并提升知识图谱质量。
- 探索实体链接和本体对齐在从文本生成可用知识图谱中的作用。
提出的方法
- 使用 REBEL 在 94 篇可持续性新闻文章上进行端到端关系抽取,由于 512-token 限制而分批 256-token 块。
- 在两次实验中使用 ChatGPT:i) 抽取关系并构建知识图谱,进行后处理和实体链接;ii) 通过迭代提示生成 OWL 本体及 RDF Turtle 格式的实例。
- 应用基于 DBpedia 的实体链接进行实体归一化。
- 比较输出以评估每种方法产生的三元组、实体和关系。
- 在知识图图质量的 18 条原则框架下对知识图谱质量进行定性评估。

实验结果
研究问题
- RQ1基础大语言模型如 ChatGPT 是否在从非结构化文本自动关系抽取与知识图谱创建方面胜过专门的 RE 模型如 REBEL?
- RQ2提示 ChatGPT 生成本体是否能提升最终知识图谱的可用性和连贯性?
- RQ3实体链接与本体生成对可持续领域知识图谱质量的影响如何?
主要发现
- REBEL 从同一语料中提取了 805 个实体、105 个关系和 854 条三元组,而 ChatGPT 提取了 1158 个实体、677 个关系和 826 条三元组。
- ChatGPT 产出更多实体,但多为短语而非抽象概念,若不进行提示 refinement,生成的本体可用性较低。
- 第二种 ChatGPT 方法(明确生成本体与实例)产生的知识图谱质量更高,概念–实例关系更清晰。
- 基于本体的输出可以将组织、做法和政策联系起来,使得对更复杂的可持续性查询成为可能。
- 在提出的 18 条原则框架下,定性评估 favor 了第二种 ChatGPT 方法在知识图谱质量方面的表现。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。