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

用于知识图谱构建的迭代式零样本LLM提示

Iterative Zero-Shot LLM Prompting for Knowledge Graph Construction

University of Cagliari(卡利亚里大学)

Salvatore Carta, Alessandro Giuliani, Leonardo Piano, Alessandro Sebastian Podda, Livio Pompianu, Sandro Gabriele Tiddia

AI总结:

本文提出一种基于GPT-3.5的迭代式零样本LLM提示流水线,无需外部资源或人工即可构建知识图谱,实验证明其在特定领域数据集上具备可扩展性与多功能性。

摘要:

在当前的数字化时代,捕获并有效地表示知识在大多数现实场景中至关重要。在此背景下,知识图谱代表了一种强大的工具,能够以适当互联且可解释的结构检索和组织大量信息。然而,它们的生成仍然具有挑战性,通常需要大量的人工努力和领域专业知识,阻碍了跨不同应用领域的可扩展性和灵活性。本文提出了一种创新的知识图谱生成方法,利用了最新生成式大型语言模型(如GPT-3.5)的潜力,能够解决知识图谱构建中的所有主要关键问题。该方法通过一个流水线传达,在生成过程的主要阶段包含新颖的迭代零样本和外部知识无关策略。我们独特的多重方法可能为科学界带来显著益处。具体而言,主要贡献可概括为:(i) 一种创新策略,用于迭代式提示大型语言模型以提取最终图谱的相关组件;(ii) 每个提示的零样本策略,意味着无需提供示例来“引导”提示结果;(iii) 一个可扩展的解决方案,因为采用LLM避免了对任何外部资源或人类专业知识的需求。为了评估我们提出模型的有效性,我们在一个涵盖特定领域的数据集上进行了实验。我们声称我们的提案是适用于可扩展和多功能知识图谱构建的合适解决方案,并可应用于不同和新颖的语境中。

英文摘要:

In the current digitalization era, capturing and effectively representing knowledge is crucial in most real-world scenarios. In this context, knowledge graphs represent a potent tool for retrieving and organizing a vast amount of information in a properly interconnected and interpretable structure. However, their generation is still challenging and often requires considerable human effort and domain expertise, hampering the scalability and flexibility across different application fields. This paper proposes an innovative knowledge graph generation approach that leverages the potential of the latest generative large language models, such as GPT-3.5, that can address all the main critical issues in knowledge graph building. The approach is conveyed in a pipeline that comprises novel iterative zero-shot and external knowledge-agnostic strategies in the main stages of the generation process. Our unique manifold approach may encompass significant benefits to the scientific community. In particular, the main contribution can be summarized by: (i) an innovative strategy for iteratively prompting large language models to extract relevant components of the final graph; (ii) a zero-shot strategy for each prompt, meaning that there is no need for providing examples for "guiding" the prompt result; (iii) a scalable solution, as the adoption of LLMs avoids the need for any external resources or human expertise. To assess the effectiveness of our proposed model, we performed experiments on a dataset that covered a specific domain. We claim that our proposal is a suitable solution for scalable and versatile knowledge graph construction and may be applied to different and novel contexts.

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

↑