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

使用大型语言模型进行知识工程(LLMKE):以 Wikidata 为例

Using Large Language Models for Knowledge Engineering (LLMKE): A Case Study on Wikidata

King's College London(伦敦国王学院)

Bohui Zhang, Ioannis Reklos, Nitisha Jain, Albert Meroño Peñuela, Elena Simperl

AI总结:

针对基于Wikidata的知识工程任务,本文提出结合知识探测与实体映射的LLMKE流水线,利用预训练大语言模型生成宾语并链接至对应QID,在ISWC 2023挑战赛Track 2中夺冠,宏平均F1达0.701,验证了LLMs在协作式知识工程中的应用潜力。

摘要:

在本研究中,我们探讨了在 ISWC 2023 LM-KBC Challenge 背景下,使用 Large Language Models (LLMs) 执行知识工程任务。针对此任务,给定源自 Wikidata 的主语和关系对,我们利用预训练 LLMs 以字符串格式生成相关宾语,并将其链接至各自的 Wikidata QIDs。我们开发了一条使用 LLMs 进行知识工程的流水线(LLMKE),结合了知识探测与 Wikidata 实体映射。该方法在各属性上取得了 0.701 的宏平均 F1 分数,得分范围从 1.00 到 0.328。这些结果表明,LLMs 的知识因领域而异且差异显著,需要进一步实验来确定在何种情况下 LLMs 可用于自动知识库(如 Wikidata)的补全与纠正。对结果的调查还表明,LLMs 在协作式知识工程中具有前景广阔的贡献。LLMKE 赢得了该挑战赛的 Track 2。实现代码可在 https://github.com/bohuizhang/LLMKE 获取。

英文摘要:

In this work, we explore the use of Large Language Models (LLMs) for knowledge engineering tasks in the context of the ISWC 2023 LM-KBC Challenge. For this task, given subject and relation pairs sourced from Wikidata, we utilize pre-trained LLMs to produce the relevant objects in string format and link them to their respective Wikidata QIDs. We developed a pipeline using LLMs for Knowledge Engineering (LLMKE), combining knowledge probing and Wikidata entity mapping. The method achieved a macro-averaged F1-score of 0.701 across the properties, with the scores varying from 1.00 to 0.328. These results demonstrate that the knowledge of LLMs varies significantly depending on the domain and that further experimentation is required to determine the circumstances under which LLMs can be used for automatic Knowledge Base (e.g., Wikidata) completion and correction. The investigation of the results also suggests the promising contribution of LLMs in collaborative knowledge engineering. LLMKE won Track 2 of the challenge. The implementation is available at https://github.com/bohuizhang/LLMKE.

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

↑