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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Xu, Wenjie, Liu, Ben, Peng, Miao, Jia, Xu, Peng, Min
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916145460674560
author Xu, Wenjie
Liu, Ben
Peng, Miao
Jia, Xu
Peng, Min
author_facet Xu, Wenjie
Liu, Ben
Peng, Miao
Jia, Xu
Peng, Min
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2305_07912
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Pre-trained Language Model with Prompts for Temporal Knowledge Graph Completion
Xu, Wenjie
Liu, Ben
Peng, Miao
Jia, Xu
Peng, Min
Computation and Language
Artificial Intelligence
I.2.4; I.2.7
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.
title Pre-trained Language Model with Prompts for Temporal Knowledge Graph Completion
topic Computation and Language
Artificial Intelligence
I.2.4; I.2.7
url https://arxiv.org/abs/2305.07912