ExpressivE: A Spatio-Functional Embedding For Knowledge Graph Completion

Aleksandar Pavlovic, Emanuel SallingerICLR 2023

TL;DR

ExpressivE is a novel Knowledge Graph Embedding (KGE) model that represents relations as hyper-parallelograms in a "virtual triple space." It is the first model to jointly capture complex logical patterns—like hierarchy and general composition—while remaining significantly more parameter-efficient than its predecessors.

The Challenge of Knowledge Graph Completion

Knowledge Graphs (KGs), such as Freebase or WordNet, are massive networks of facts, but they are notoriously incomplete. Knowledge Graph Completion (KGC) is the task of predicting missing links within these networks.

To achieve this, researchers use embedding models that translate entities and relations into mathematical vectors. However, existing models face a "triple threat" of limitations:

  1. Incomplete Logic: They can capture basic patterns (e.g., "if A is a part of B, and B is a part of C, then A is a part of C") but fail at more complex ones, particularly "general composition."
  2. Lack of Synergy: Models are typically specialized. They are either good at modeling hierarchies (spatial models) or paths and compositions (functional models), but rarely both simultaneously.
  3. Black Box Nature: Most models lack an intuitive geometric interpretation, making it difficult to visualize why a model predicts a certain fact.

Methods: The Virtual Triple Space

The authors introduce ExpressivE, a "spatio-functional" model. Its core innovation is the use of a Virtual Triple Space ($\mathbb{R}^{2d}$).

In standard models, the "head" entity and "tail" entity are embedded separately. In ExpressivE, a pair of entities $(e_h, e_t)$ is treated as a single point in a higher-dimensional space. Relations are then modeled as hyper-parallelograms within this space.

Geometric representation of ExpressivE.

A triple is considered "true" if the point representing the entity pair falls inside the relation's hyper-parallelogram. This geometric design allows the model to capture two distinct aspects:

  • Functional Aspect: It uses "slopes" to model functional dependencies, such as translations or rotations.
  • Spatial Aspect: It uses "widths" and "centers" to define specific regions, allowing for the modeling of hierarchies and intersections.

By combining these aspects, ExpressivE can model "crooked" boundaries in the embedding space, which is essential for capturing complex dependencies between head and tail entities.

Key Insights and Capabilities

  • The Power of the Virtual Space: By concatenating head and tail embeddings into a single point, the model can visualize "correlation subspaces." This makes it easy to see if a relation is symmetric (appearing as a mirror image across the identity line) or hierarchical (one region nested inside another).
  • Solving General Composition: Most previous models could only handle "compositional definitions" (where a path exactly defines a relation). ExpressivE is the first to handle "general composition," where a path implies a relation but doesn't strictly define its entire scope.
  • Full Expressiveness: The authors mathematically prove that ExpressivE is "fully expressive." Given enough dimensions, the model is theoretically capable of representing any possible graph structure without error.
Inference patterns supported by various KGE models.

Key Results and Efficiency

The model was evaluated on two gold-standard benchmarks: WN18RR (lexical relations with many hierarchical patterns) and FB15k-237 (dense, real-world facts).

  • State-of-the-Art on WN18RR: ExpressivE significantly outperformed previous models on WN18RR, achieving a Mean Reciprocal Rank (MRR) of 0.508, compared to RotatE's 0.476 and BoxE's 0.451.
  • Competitive on FB15k-237: It remains highly competitive with top-tier models like TuckER and ComplEx on the denser FB15k-237 dataset.
  • Parameter Efficiency: Because the hyper-parallelogram is a sophisticated geometric shape, the model requires fewer parameters to achieve high accuracy. On WN18RR, ExpressivE used only 467MB of memory, while its closest rivals (BoxE and RotatE) required 930MB to achieve similar or lesser results.
  • Ablation Success: The authors demonstrated that every part of the hyper-parallelogram (slopes, centers, and widths) is vital. Removing any single component led to a significant drop in performance.

Limitations and Future Work

While ExpressivE represents a major step forward, the authors note a few areas for future exploration. The model's massive gains on WN18RR versus its competitive performance on FB15k-237 suggest that its strengths are highly dependent on the specific logical patterns present in a dataset. Furthermore, there is a known trade-off between a model's "expressive power" and its "degrees of freedom," as highly expressive models can sometimes get stuck in local optima during training. Future work will investigate how specific dataset properties correlate with the performance of different constrained versions of ExpressivE.

Summary updated

BibTeX
@inproceedings{pavlovic2023expressive,
  author = {Aleksandar Pavlovic and Emanuel Sallinger},
  title = {{ExpressivE: A Spatio-Functional Embedding For Knowledge Graph Completion}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
}
Figure