NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Knowledge Graph Embedding with Multiple Relation Projections

Kien Do, Truyen Tran, Svetha Venkatesh

Introduction

Knowledge Graphs (KGs) represent facts as triples $(h, r, t)$, where $h$ and $t$ are entities and $r$ is a relation. Embedding these into continuous vector spaces is crucial for tasks like link prediction and scalable reasoning. While early models like TransE are efficient, they struggle with complex relations (1-to-N, N-to-1, N-to-N). Subsequent models like TransR introduced relation-specific projection matrices to handle this complexity, but at the cost of massive parameter counts and a failure to capture semantic correlations between relations.

TransF: Factorizing Relation Projections

To address these limitations, this paper introduces TransF. The core idea is to factorize relation-specific projection matrices into a set of shared basis matrices and relation-specific coefficients. Instead of learning a unique matrix for every relation, TransF assumes that all projection matrices lie in a subspace spanned by a small number of shared basis matrices.

Specifically, the projection matrices for the head and tail entities are calculated as a weighted sum of these shared bases. This approach significantly reduces the number of parameters while explicitly modeling the latent commonalities between different relations.

The TransF framework projects entities into a relation-specific space derived from a shared basis space.

Evaluation and Datasets

The model was evaluated on the link prediction task using four standard datasets: FB15k, WN18, and their more challenging counterparts, FB15k-237 and WN18RR. The latter datasets are particularly important as they remove inverse relations, preventing simple data leakage and providing a more robust test of a model's reasoning capabilities.

Key Insights: Semantic Clustering

A significant advantage of TransF is its ability to capture semantic correlations. By forcing relations to share basis matrices, the model learns embeddings where semantically related relations (e.g., "place of birth" and "nationality") are positioned closely together.

t-SNE visualization of learned relation embeddings shows that semantically similar relations cluster together.

Visual analysis using t-SNE confirms that TransF's learned coefficients act as meaningful coordinates in the basis space, grouping relations with similar semantic properties even if they are structurally distinct in the KG schema.

Results and Efficiency

TransF achieves state-of-the-art performance among translation-based models. On the rigorous FB15k-237 dataset, it reached a Hits@10 of 47.2%. It is particularly effective at handling asymmetric mappings, showing marked improvements in predicting head entities for N-to-1 relations and tail entities for 1-to-N relations.

Furthermore, TransF is highly efficient. By using a small number of basis matrices (e.g., 5), it maintains a parameter count close to TransE while offering the expressive power of TransR. This allows for faster training times—roughly half that of TransR—making it scalable to larger knowledge graphs.

Conclusion

TransF successfully bridges the gap between simple, scalable models and complex, expressive ones. By leveraging matrix factorization, it captures the underlying correlations between relations and handles complex mappings efficiently, setting a new standard for translation-based knowledge graph embeddings.

Summary updated

BibTeX
@inproceedings{do2018knowledge,
  author = {Kien Do and Truyen Tran and Svetha Venkatesh},
  title = {{Knowledge Graph Embedding with Multiple Relation Projections}},
  booktitle = {ICPR},
  year = {2018},
  url = {https://openreview.net/forum?id=JhoN_iTYrRW},
}
Figure