Skip to main content
QUICK REVIEW

[Paper Review] BoxE: A Box Embedding Model for Knowledge Base Completion

Ralph Abboud, İsmail İlkan Ceylan|arXiv (Cornell University)|Jul 13, 2020
Topic ModelingComputer Science45 references27 citations
TL;DR

BoxE is a novel box embedding model that represents entities as points and relations as hyper-rectangles (boxes) in a latent space, enabling full expressivity, support for logical rules, and higher-arity relations. It achieves state-of-the-art performance on knowledge base completion benchmarks, with significant gains from rule injection, and demonstrates strong interpretability through geometric encoding of entity classes and relation types.

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. 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.

Motivation & Objective

  • To address key limitations in existing knowledge base completion (KBC) models, including theoretical inexpressivity, lack of support for logical rules, and poor handling of higher-arity relations.
  • To develop a model that simultaneously supports full expressivity, rule injection, and generalization to higher-arity knowledge bases.
  • To enable natural encoding of logical inference patterns such as hierarchies, disjointness, and symmetry through geometric box representations.
  • To empirically validate that integrating logical rules via box embeddings improves KBC performance and training convergence.

Proposed method

  • Entities are embedded as d-dimensional points, while relations are represented as d-dimensional hyper-rectangles (boxes), which encode logical properties spatially.
  • A fact r(e1,…,en) is scored based on the geometric relationship between entity point embeddings and the corresponding relation box, using inclusion and distance criteria.
  • The model uses a differentiable loss function that encourages correct facts to be inside relation boxes and corrupted facts to be outside, enabling end-to-end training.
  • Logical rules are injected by constraining box parameters to satisfy logical entailments, such as subsumption (A ⊆ B) or disjointness (A ∩ B = ∅).
  • The model supports higher-arity relations by generalizing the box representation to n-ary relations, with head and tail boxes defined per argument position.
  • Normalization via the hyperbolic tangent function maps embeddings to [−1, 1]^d, ensuring bounded box volumes for interpretability and stability.

Experimental results

Research questions

  • RQ1Can a box-based embedding model achieve full expressivity in knowledge base completion, overcoming theoretical inexpressivity in translational models?
  • RQ2To what extent can BoxE naturally encode and inject complex logical rules, such as those in rich rule languages?
  • RQ3How well does BoxE generalize to higher-arity knowledge bases, and does it preserve interpretability of entity classes and relation types?
  • RQ4Does rule injection via BoxE lead to measurable improvements in KBC performance and training convergence?

Key findings

  • BoxE achieves state-of-the-art performance on multiple benchmark knowledge graphs and general knowledge bases, outperforming existing models in both link prediction and rule injection tasks.
  • The model is fully expressive, a first for translational-based models, as it can provably fit any knowledge base, including those with complex logical structures.
  • BoxE successfully captures and enforces logical inference patterns: symmetric relations like isMarriedTo are represented with near-identical head and tail box sizes, confirming symmetry modeling.
  • Larger box volumes in the embedding space correlate with more popular relations and more diverse entity types, indicating effective modeling of entity classes and semantic diversity.
  • The rule injection variant, BoxE+RI, converges faster and achieves significantly higher performance than standard BoxE, with peak MRR reached in under 500 epochs.
  • The model's geometric interpretation allows accurate inference of relation types: larger tail boxes indicate one-to-many relations, larger head boxes indicate many-to-one, and balanced sizes suggest many-to-many or one-to-one relations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.