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

使用大型语言模型评估知识图中的类成员关系

Evaluating Class Membership Relations in Knowledge Graphs using Large Language Models

University of Amsterdam(阿姆斯特丹大学)

Bradley P. Allen, Paul T. Groth

AI总结:

本文提出一种使用零样本思维链分类器评估知识图中类成员关系质量的新方法,实验表明大型语言模型能有效辅助知识工程师进行知识图细化。

摘要:

知识图的骨干是它们的类成员关系,即将实体分配给给定类。作为知识工程过程的一部分,我们提出了一种评估这些关系质量的新方法,该方法通过使用零样本思维链分类器处理给定实体和类的描述来实现,该分类器利用类的自然语言内涵定义。我们使用两个公开可用的知识图 Wikidata 和 CaLiGraph 以及 7 个大型语言模型对该方法进行了评估。使用 gpt-4-0125-preview 大型语言模型,该方法的分类性能在 Wikidata 数据上实现了 0.830 的宏平均 F1 分数,在 CaLiGraph 数据上实现了 0.893 的宏平均 F1 分数。此外,对分类错误的人工分析表明,40.9% 的错误归因于知识图,其中 16.0% 归因于缺失关系,24.9% 归因于错误断言的关系。这些结果表明了大型语言模型如何协助知识工程师进行知识图细化过程。代码和数据可在 Github 上获取。

英文摘要:

A backbone of knowledge graphs are their class membership relations, which assign entities to a given class. As part of the knowledge engineering process, we propose a new method for evaluating the quality of these relations by processing descriptions of a given entity and class using a zero-shot chain-of-thought classifier that uses a natural language intensional definition of a class. We evaluate the method using two publicly available knowledge graphs, Wikidata and CaLiGraph, and 7 large language models. Using the gpt-4-0125-preview large language model, the method's classification performance achieves a macro-averaged F1-score of 0.830 on data from Wikidata and 0.893 on data from CaLiGraph. Moreover, a manual analysis of the classification errors shows that 40.9% of errors were due to the knowledge graphs, with 16.0% due to missing relations and 24.9% due to incorrectly asserted relations. These results show how large language models can assist knowledge engineers in the process of knowledge graph refinement. The code and data are available on Github.

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

↑