KRACL: Contrastive Learning with Graph Context Modeling for Sparse Knowledge Graph Completion

08/16/2022
by   Zhaoxuan Tan, et al.
0

Knowledge Graph Embeddings (KGE) aim to map entities and relations to low dimensional spaces and have become the de-facto standard for knowledge graph completion. Most existing KGE methods suffer from the sparsity challenge, where it is harder to predict entities that appear less frequently in knowledge graphs. In this work, we propose a novel framework KRACL to alleviate the widespread sparsity in KGs with graph context and contrastive learning. Firstly, we propose the Knowledge Relational Attention Network (KRAT) to leverage the graph context by simultaneously projecting neighboring triples to different latent spaces and jointly aggregating messages with the attention mechanism. KRAT is capable of capturing the subtle semantic information and importance of different context triples as well as leveraging multi-hop information in knowledge graphs. Secondly, we propose the knowledge contrastive loss by combining the contrastive loss with cross entropy loss, which introduces more negative samples and thus enriches the feedback to sparse entities. Our experiments demonstrate that KRACL achieves superior results across various standard knowledge graph benchmarks, especially on WN18RR and NELL-995 which have large numbers of low in-degree entities. Extensive experiments also bear out KRACL's effectiveness in handling sparse knowledge graphs and robustness against noisy triples.

READ FULL TEXT

page 1

page 3

research
05/31/2023

InGram: Inductive Knowledge Graph Embedding via Relation Graphs

Inductive knowledge graph completion has been considered as the task of ...
research
11/08/2022

Alleviating Sparsity of Open Knowledge Graphs with Ternary Contrastive Learning

Sparsity of formal knowledge and roughness of non-ontological constructi...
research
11/19/2022

Relational Symmetry based Knowledge Graph Contrastive Learning

Knowledge graph embedding (KGE) aims to learn powerful representations t...
research
08/20/2019

Unsupervised Hierarchical Grouping of Knowledge Graph Entities

Knowledge graphs have attracted lots of attention in academic and indust...
research
12/14/2021

A Simple But Powerful Graph Encoder for Temporal Knowledge Graph Completion

While knowledge graphs contain rich semantic knowledge of various entiti...
research
06/17/2023

DsMtGCN: A Direction-sensitive Multi-task framework for Knowledge Graph Completion

To solve the inherent incompleteness of knowledge graphs (KGs), numbers ...
research
08/22/2021

DisenKGAT: Knowledge Graph Embedding with Disentangled Graph Attention Network

Knowledge graph completion (KGC) has become a focus of attention across ...

Please sign up or login with your details

Forgot password? Click here to reset