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

基于提示的预训练语言模型用于时序知识图谱补全

Pre-trained Language Model with Prompts for Temporal Knowledge Graph Completion

School of Computer Science, Wuhan University(武汉大学计算机学院)

Wenjie Xu, Ben Liu, Miao Peng, Xu Jia, Min Peng

AI总结:

针对时序知识图谱补全中时间与关系语义利用不足的问题,提出 PPT 模型,用提示构造连贯句子并以掩码预测训练 PLM,在三个基准的四项指标上展现竞争力。

摘要:

时序知识图谱补全(TKGC)是一项关键任务,涉及在已知时间戳上进行推理,以补全事实中缺失的部分,近年来受到越来越多的关注。现有方法大多侧重于基于图神经网络学习表示,但在从时间戳中提取信息方面不够准确,也未能充分利用关系中隐含的信息。为解决这些问题,我们提出了一种新颖的 TKGC 模型,即用于 TKGC 的带提示预训练语言模型(Pre-trained Language Model with Prompts for TKGC,PPT)。我们将一系列采样得到的四元组转换为预训练语言模型的输入,并将时间戳之间的间隔转换为不同的提示,以构成具有隐式语义信息的连贯句子。我们采用掩码策略训练模型,将 TKGC 任务转换为掩码词元预测任务,从而利用预训练语言模型中的语义信息。在三个基准数据集上的实验和大量分析表明,在四项指标上,我们的模型相较其他模型具有很强的竞争力。我们的模型能够有效地将时序知识图谱中的信息融入语言模型。

英文摘要:

Temporal Knowledge graph completion (TKGC) is a crucial task that involves reasoning at known timestamps to complete the missing part of facts and has attracted more and more attention in recent years. Most existing methods focus on learning representations based on graph neural networks while inaccurately extracting information from timestamps and insufficiently utilizing the implied information in relations. To address these problems, we propose a novel TKGC model, namely Pre-trained Language Model with Prompts for TKGC (PPT). We convert a series of sampled quadruples into pre-trained language model inputs and convert intervals between timestamps into different prompts to make coherent sentences with implicit semantic information. We train our model with a masking strategy to convert TKGC task into a masked token prediction task, which can leverage the semantic information in pre-trained language models. Experiments on three benchmark datasets and extensive analysis demonstrate that our model has great competitiveness compared to other models with four metrics. Our model can effectively incorporate information from temporal knowledge graphs into the language models.

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

↑