mlsanityData to 7 Oct 2026

Treat Different Negatives Differently: Enriching Loss Functions with Domain and Range Constraints for Link Prediction

arXiv 2303.00286 ↗First posted 1 Mar 2023cs.LG cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Knowledge graph embedding models (KGEMs) are used for various tasks related to knowledge graphs (KGs), including link prediction. They are trained with loss functions that consider batches of true and false triples. However, different kinds of false triples exist and recent works suggest that they should not be valued equally, leading to specific negative sampling procedures. In line with this recent assumption, we posit that negative triples that are semantically valid w.r.t. signatures of relations (domain and range) are high-quality negatives. Hence, we enrich the three main loss functions for link prediction such that all kinds of negatives are sampled but treated differently based on their semantic validity. In an extensive and controlled experimental setting, we show that the proposed loss functions systematically provide satisfying results which demonstrates both the generality and superiority of our proposed approach. In fact, the proposed loss functions (1) lead to better MRR and Hits@10 values, and (2) drive KGEMs towards better semantic correctness as measured by the Sem@K metric. This highlights that relation signatures globally improve KGEMs, and thus should be incorporated into loss functions. Domains and ranges of relations being largely available in schema-defined KGs, this makes our approach both beneficial and widely usable in practice.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 19 of its 37 references that are in the map. First posted on arXiv 1 Mar 2023.

Builds on

19 of 37 references.

References · 19

  1. 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
  2. 2014Embedding Entities and Relations for Learning and Inference in Knowledge Basescited by 929
  3. 2016Complex Embeddings for Simple Link Predictioncited by 897
  4. 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 893
  5. 2017Convolutional 2D Knowledge Graph Embeddingscited by 729
  6. 2020A Survey on Knowledge Graphs: Representation, Acquisition and Applicationscited by 643
  7. 2019TuckER: Tensor Factorization for Knowledge Graph Completioncited by 290
  8. 2018SimplE Embedding for Link Prediction in Knowledge Graphscited by 195
  9. 2020Bringing Light Into the Dark: A Large-scale Evaluation of Knowledge Graph Embedding Models Under a Unified Frameworkcited by 70
  10. 2017KBGAN: Adversarial Learning for Knowledge Graph Embeddingscited by 62
  11. 2018NSCaching: Simple and Efficient Negative Sampling for Knowledge Graph Embeddingcited by 42
  12. 2018Improving Knowledge Graph Embedding Using Simple Constraintscited by 36
7 more
  1. 2015Type-Constrained Representation Learning in Knowledge Graphscited by 34
  2. 2018Differentiating Concepts and Instances for Knowledge Graph Embeddingcited by 27
  3. 2017Analysis of the Impact of Negative Sampling on Link Prediction in Knowledge Graphscited by 22
  4. 2020Type-augmented Relation Prediction in Knowledge Graphscited by 12
  5. 2023Sem@K: Is my knowledge graph embedding model semantic-aware?cited by 10
  6. 2020AutoETER: Automated Entity Type Representation for Knowledge Graph Embeddingcited by 6
  7. 2022ER: Equivariance Regularizer for Knowledge Graph Completioncited by 4

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 1; 2025: 1.

3 papers.