Augmenting Knowledge Graphs for Better Link Prediction

Jiang Wang, Filip Ilievski, Pedro Szekely, Ke-Thia Yao
3/26/2022
cs.AI

Official code: Otamio/KGA (9 stars, Python, MIT, last commit 2025-04-05).

Abstract

Embedding methods have demonstrated robust performance on the task of link prediction in knowledge graphs, by mostly encoding entity relationships. Recent methods propose to enhance the loss function with a literal-aware term.

Show full abstract

In this paper, we propose KGA: a knowledge graph augmentation method that incorporates literals in an embedding model without modifying its loss function. KGA discretizes quantity and year values into bins, and chains these bins both horizontally, modeling neighboring values, and vertically, modeling multiple levels of granularity. KGA is scalable and can be used as a pre-processing step for any existing knowledge graph embedding model. Experiments on legacy benchmarks and a new large benchmark, DWD, show that augmenting the knowledge graph with quantities and years is beneficial for predicting both entities and numbers, as KGA outperforms the vanilla models and other relevant baselines. Our ablation studies confirm that both quantities and years contribute to KGA's performance, and that its performance depends on the discretization and binning settings. We make the code, models, and the DWD benchmark publicly available to facilitate reproducibility and future research.

View on arXivView PDF

Code Implementations(1)

Otamio/KGAOfficial100%
MIT
92PythonJan 5, 20221 years agoMIT

Similar Papers

Cite this paper

@article{wang2022augmenting,
  title  = {Augmenting Knowledge Graphs for Better Link Prediction},
  author = {Jiang Wang and Filip Ilievski and Pedro Szekely and Ke-Thia Yao},
  year   = {2022},
  eprint = {2203.13965},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.13965}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.13965.svg)](https://codeofpaper.com/paper/2203.13965)

Discussion