Structure Aware Negative Sampling in Knowledge Graphs

09/23/2020
by   Kian Ahrabian, et al.
4

Learning low-dimensional representations for entities and relations in knowledge graphs using contrastive estimation represents a scalable and effective method for inferring connectivity patterns. A crucial aspect of contrastive learning approaches is the choice of corruption distribution that generates hard negative samples, which force the embedding model to learn discriminative representations and find critical characteristics of observed data. While earlier methods either employ too simple corruption distributions, i.e. uniform, yielding easy uninformative negatives or sophisticated adversarial distributions with challenging optimization schemes, they do not explicitly incorporate known graph structure resulting in suboptimal negatives. In this paper, we propose Structure Aware Negative Sampling (SANS), an inexpensive negative sampling strategy that utilizes the rich graph structure by selecting negative samples from a node's k-hop neighborhood. Empirically, we demonstrate that SANS finds high-quality negatives that are highly competitive with SOTA methods, and requires no additional parameters nor difficult adversarial optimization.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/19/2022

MixKG: Mixing for harder negative samples in knowledge graph

Knowledge graph embedding (KGE) aims to represent entities and relations...
research
05/17/2023

Investigating the Effect of Hard Negative Sample Distribution on Contrastive Knowledge Graph Embedding

The success of the knowledge graph completion task heavily depends on th...
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
07/31/2018

A First Experiment on Including Text Literals in KGloVe

Graph embedding models produce embedding vectors for entities and relati...
research
05/09/2018

Adversarial Contrastive Estimation

Learning by contrasting positive and negative samples is a general strat...
research
08/31/2021

Structure-Aware Hard Negative Mining for Heterogeneous Graph Contrastive Learning

Recently, heterogeneous Graph Neural Networks (GNNs) have become a de fa...
research
08/24/2023

Contrastive Learning of Temporal Distinctiveness for Survival Analysis in Electronic Health Records

Survival analysis plays a crucial role in many healthcare decisions, whe...

Please sign up or login with your details

Forgot password? Click here to reset