SEEK: Segmented Embedding of Knowledge Graphs

Wentao Xu, Shun Zheng, Liang He, Bin Shao, Jian Yin, Tie-Yan Liu

Introduction

Knowledge Graph Embedding (KGE) is a fundamental task in modern AI, involving the transformation of factual triples—comprising a head entity, a relation, and a tail entity—into low-dimensional vectors. These embeddings are critical for downstream applications such as recommendation systems and automated question-answering. However, the field has long struggled with a trade-off between the scalability of simple linear models and the expressiveness of complex neural architectures. SEEK (Segmented Embedding of Knowledge Graphs) resolves this tension by introducing a lightweight framework that achieves state-of-the-art performance without a significant "parameter tax."

The Challenge of Knowledge Graph Embedding

Historically, KGE models have fallen into two camps:

  1. Shallow Models (e.g., TransE, DistMult): These are computationally efficient and highly scalable but often fail to capture complex semantic nuances, such as relational symmetry or antisymmetry.
  2. Deep/Complex Models (e.g., ConvE, InteractE): These utilize neural networks or high-order tensors to achieve high accuracy but are computationally expensive and difficult to scale to massive, real-world datasets.

SEEK was designed to break this cycle, offering a model that is as expressive as a deep neural network while remaining as efficient as a simple linear model.

The SEEK Framework

The core innovation of SEEK is Segmented Embedding. Rather than treating an embedding vector as a monolithic block, SEEK divides the $d$-dimensional vector into $k$ segments. This segmentation allows for intricate feature interactions between different parts of the head, relation, and tail entities.

Figure 1: Illustration of how SEEK handles symmetry and antisymmetry through segmented interactions for k=4.

The framework is defined by a series of scoring functions that evolve in complexity:

  • $f_1$: A baseline multi-linear dot product.
  • $f_2$: Introduces feature interaction across segments to increase expressiveness.
  • $f_3$: Incorporates a sign variable ($s_{x,y}$) to explicitly preserve relational properties like symmetry and antisymmetry.
  • $f_4$ (The Final SEEK Model): Utilizes an indexing trick ($w_{x,y}$) to reduce computational complexity from $O(k^2d)$ to $O(kd)$, enabling high-performance interaction with minimal overhead.

Key Insights: Symmetry and Unified Theory

SEEK provides a unified theoretical perspective on KGE. The authors demonstrate that many existing models are actually specific instances of SEEK: when $k=1$, the model simplifies to DistMult, and when $k=2$, it becomes equivalent to ComplEx or HolE. This suggests that segmented interaction is a fundamental principle underlying successful KGE breakthroughs.

Furthermore, SEEK is designed to handle relational properties by construction. Even-indexed segments are optimized to capture symmetric properties (where $h \xrightarrow{r} t$ implies $t \xrightarrow{r} h$), while odd-indexed segments handle antisymmetry (where direction is critical).

Figure 2: Real-world application of SEEK on the 'successor' relation, demonstrating its ability to capture antisymmetry.

Experimental Evaluation and Results

The authors evaluated SEEK on major benchmarks including FB15K, DB100K, and YAGO37. The results highlight three key strengths:

  • Superior Accuracy: On the FB15K dataset, SEEK achieved a Mean Reciprocal Rank (MRR) of 0.825, significantly outperforming models like ConvE (0.745) and RotatE (0.797).
  • High Efficiency: SEEK maintains a low parameter count, achieving better results than DistMult while utilizing fewer dimensions (400 vs. 512).
  • Scalability: The linear time complexity relative to the number of segments ($k$) makes the model highly tunable for various hardware constraints.

Limitations and Future Directions

While SEEK is highly effective, its performance is sensitive to the choice of the hyperparameter $k$. Finding the optimal number of segments (typically between 8 and 16) currently requires manual tuning. Future work may explore applying segmented feature interaction to other domains like Natural Language Processing or extending the framework to handle temporal and evolving knowledge graphs.

Summary updated

BibTeX
@inproceedings{xu2020seek,
  author = {Wentao Xu and Shun Zheng and Liang He and Bin Shao and Jian Yin and Tie-Yan Liu},
  title = {{SEEK: Segmented Embedding of Knowledge Graphs}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.358},
}
Figure