Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Structure Aware Negative Sampling in Knowledge Graphs

About

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 semantically meaningful negatives and is competitive with SOTA approaches while requires no additional parameters nor difficult adversarial optimization.

Kian Ahrabian, Aarash Feizi, Yasmin Salehi, William L. Hamilton, Avishek Joey Bose• 2020

Related benchmarks

TaskDatasetResultRank
Knowledge Graph ReasoningFB15k-237 (test)
HITS@3 (Avg)0.301
29
Link PredictionTwitter ptb_rate = 0.3 (noisy and incomplete)
MRR1.9
13
Knowledge Graph ReasoningFB15K-237 ptb_rate=0.7 (test)
MRR0.201
12
Knowledge Graph ReasoningWN18
MRR0.453
12
Knowledge Graph ReasoningWN18 (test)
MRR0.619
12
Knowledge Graph ReasoningFB15K ptb_rate=0.7 (test)
MRR29.2
12
Knowledge Graph ReasoningFB15K-237 ptb_rate = 0.5 (test)
MRR0.225
12
Knowledge Graph ReasoningWN18 ptb_rate=0.7 (test)
MRR0.202
12
Knowledge Graph ReasoningFB15K ptb_rate = 0.5 (test)
MRR0.335
12
Knowledge Graph ReasoningWN18 ptb_rate = 0.5 (test)
MRR0.313
12
Showing 10 of 10 rows

Other info

Follow for update