arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.01954cs.CL
收藏

基于大型语言模型的零样本与少样本知识图谱三元组抽取

Zero- and Few-Shots Knowledge Graph Triplet Extraction with Large Language Models

The Australian National University(澳大利亚国立大学);The University of New South Wales(新南威尔士大学);The University of Sydney(悉尼大学);University of Turku(图尔库大学)

Andrea Papaluca, Daniel Krefl, Sergio Mendez Rodriguez, Artem Lensky, Hanna Suominen

AI总结:

本文提出一种从知识库动态收集上下文三元组和示例的流程,以提示增强LLMs,使其在零样本和少样本三元组抽取中达到与BiLSTM基线相当的性能,并发现上下文质量与性能强相关而模型规模仅呈对数提升。

摘要:

在这项工作中,我们测试了多种不同规模的大型语言模型(LLMs)在零样本和少样本设置下的三元组抽取(TE)能力。具体而言,我们提出了一种流程,该流程动态地从知识库(KB)中收集上下文信息,既包括上下文三元组的形式,也包括(句子,三元组)对作为示例的形式,并通过提示将其提供给LLM。额外的上下文使LLMs能够与所有基于双向长短期记忆(BiLSTM)网络架构的较早完全训练基线相竞争。我们进一步对所收集的知识库上下文质量进行了详细分析,发现其与模型的最终三元组抽取性能强相关。相比之下,模型规模似乎仅以对数方式提升LLMs的三元组抽取能力。

英文摘要:

In this work, we tested the Triplet Extraction (TE) capabilities of a variety of Large Language Models (LLMs) of different sizes in the Zero- and Few-Shots settings. In detail, we proposed a pipeline that dynamically gathers contextual information from a Knowledge Base (KB), both in the form of context triplets and of (sentence, triplets) pairs as examples, and provides it to the LLM through a prompt. The additional context allowed the LLMs to be competitive with all the older fully trained baselines based on the Bidirectional Long Short-Term Memory (BiLSTM) Network architecture. We further conducted a detailed analysis of the quality of the gathered KB context, finding it to be strongly correlated with the final TE performance of the model. In contrast, the size of the model appeared to only logarithmically improve the TE capabilities of the LLMs.

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

↑