BoxE: A Box Embedding Model for Knowledge Base Completion

Ralph Abboud, İsmail İlkan Ceylan, Thomas Lukasiewicz, Tommaso Salvatori
7/13/2020
cs.AIcs.LG

Official code: ralphabb/BoxE (47 stars, Python, last commit 2020-12-03).

Abstract

Knowledge base completion (KBC) aims to automatically infer missing facts by exploiting information already present in a knowledge base (KB). A promising approach for KBC is to embed knowledge into latent spaces and make predictions from learned embeddings.

Show full abstract

However, existing embedding models are subject to at least one of the following limitations: (1) theoretical inexpressivity, (2) lack of support for prominent inference patterns (e.g., hierarchies), (3) lack of support for KBC over higher-arity relations, and (4) lack of support for incorporating logical rules. Here, we propose a spatio-translational embedding model, called BoxE, that simultaneously addresses all these limitations. BoxE embeds entities as points, and relations as a set of hyper-rectangles (or boxes), which spatially characterize basic logical properties. This seemingly simple abstraction yields a fully expressive model offering a natural encoding for many desired logical properties. BoxE can both capture and inject rules from rich classes of rule languages, going well beyond individual inference patterns. By design, BoxE naturally applies to higher-arity KBs. We conduct a detailed experimental analysis, and show that BoxE achieves state-of-the-art performance, both on benchmark knowledge graphs and on more general KBs, and we empirically show the power of integrating logical rules.

View on arXivView PDF

Code Implementations(1)

ralphabb/BoxEOfficial100%

Implementation of the BoxE model from the NeurIPS 2020 paper "BoxE: A Box Embedding Model for Knowledge Base Completion". Also includes a visualization tool, BoxEViz, to show the evolution of boxes over training.

475Python, JavaScriptOct 15, 20205 years ago

Similar Papers

Cite this paper

@article{abboud2020boxe,
  title  = {BoxE: A Box Embedding Model for Knowledge Base Completion},
  author = {Ralph Abboud and İsmail İlkan Ceylan and Thomas Lukasiewicz and Tommaso Salvatori},
  year   = {2020},
  eprint = {2007.06267},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.06267}
}

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/2007.06267.svg)](https://codeofpaper.com/paper/2007.06267)

Discussion