Bi-Link: Bridging Inductive Link Predictions from Text via Contrastive Learning of Transformers and Prompts

10/26/2022
by   Bohua Peng, et al.
0

Inductive knowledge graph completion requires models to comprehend the underlying semantics and logic patterns of relations. With the advance of pretrained language models, recent research have designed transformers for link prediction tasks. However, empirical studies show that linearizing triples affects the learning of relational patterns, such as inversion and symmetry. In this paper, we propose Bi-Link, a contrastive learning framework with probabilistic syntax prompts for link predictions. Using grammatical knowledge of BERT, we efficiently search for relational prompts according to learnt syntactical patterns that generalize to large knowledge graphs. To better express symmetric relations, we design a symmetric link prediction model, establishing bidirectional linking between forward prediction and backward prediction. This bidirectional linking accommodates flexible self-ensemble strategies at test time. In our experiments, Bi-Link outperforms recent baselines on link prediction datasets (WN18RR, FB15K-237, and Wikidata5M). Furthermore, we construct Zeshel-Ind as an in-domain inductive entity linking the environment to evaluate Bi-Link. The experimental results demonstrate that our method yields robust representations which can generalize under domain shift.

READ FULL TEXT
research
10/10/2022

SMiLE: Schema-augmented Multi-level Contrastive Learning for Knowledge Graph Link Prediction

Link prediction is the task of inferring missing links between entities ...
research
01/02/2023

IRT2: Inductive Linking and Ranking in Knowledge Graphs of Varying Scale

We address the challenge of building domain-specific knowledge models fo...
research
10/31/2019

DRUM: End-To-End Differentiable Rule Mining On Knowledge Graphs

In this paper, we study the problem of learning probabilistic logical ru...
research
11/11/2021

Poisoning Knowledge Graph Embeddings via Relation Inference Patterns

We study the problem of generating data poisoning attacks against Knowle...
research
02/06/2023

Learning Representations of Bi-Level Knowledge Graphs for Reasoning beyond Link Prediction

Knowledge graphs represent known facts using triplets. While existing kn...
research
07/28/2022

Subgraph Neighboring Relations Infomax for Inductive Link Prediction on Knowledge Graphs

Inductive link prediction for knowledge graph aims at predicting missing...
research
04/01/2023

Inductive Relation Prediction from Relational Paths and Context with Hierarchical Transformers

Relation prediction on knowledge graphs (KGs) is a key research topic. D...

Please sign up or login with your details

Forgot password? Click here to reset