STaR: Knowledge Graph Embedding by Scaling, Translation and Rotation

Jiayi Li, Yujiu Yang

Abstract

Knowledge Graph Embedding (KGE) models are essential for link prediction but often face a trade-off between capturing logical patterns and handling complex N-to-1 relationships. We introduce STaR, a model that integrates Scaling, Translation, and Rotation into a single bilinear framework. By leveraging a translation matrix approach, STaR effectively captures non-commutative relation patterns—where the order of relations matters—while maintaining high efficiency for complex relations. Evaluated on standard benchmarks, STaR achieves state-of-the-art performance, particularly on datasets with high relation homogeneity.

Introduction: The Challenge of Non-Commutativity

Knowledge Graphs (KGs) represent human knowledge as triplets of (head entity, relation, tail entity). KGE models map these into a vector space to predict missing links. Historically, KGE models have fallen into two camps. Distance-based models, such as TransE and RotatE, treat relations as translations or rotations. They are adept at modeling logical properties like symmetry and inversion but struggle with "complex relations," such as N-to-1 mappings where multiple entities share a common neighbor.

Conversely, bilinear models like ComplEx use matrix multiplication to handle complex relations effectively. However, they possess a significant blind spot: non-commutativity. In many real-world scenarios, the order of operations is critical. For instance, the "wife of Tom's father" is a different person than the "father of Tom's wife." Most bilinear models treat these sequences as interchangeable, leading to reasoning errors.

Non-commutativity and complex relations in Knowledge Graphs.

Methodology: The STaR Framework

STaR (Scaling, Translation, and Rotation) aims to bridge the gap between distance-based and bilinear models by unifying three geometric transformations into a single bilinear operation.

  • Rotation: Used to model patterns like anti-symmetry and inversion.
  • Scaling: Handles the density of complex 1-to-N and N-to-1 relations by acting as a simplified projection.
  • Translation: Captures non-commutativity by ensuring the order of relation application matters.

Integrating translation—traditionally an additive operation ($h + r = t$)—into a multiplicative bilinear framework ($h^T R t$) presented a technical challenge. The researchers solved this by borrowing the concept of a Translation Matrix from robotics. By augmenting entity vectors with an extra dimension (appending a '1'), translation can be represented as a matrix multiplication. The final STaR model represents each relation as a specialized matrix that performs scaling, rotation, and translation simultaneously.

The STaR framework constructs a unified transformation matrix by stacking rotation, scaling, and translation components.

To prevent overfitting in this expressive space, the authors utilize the DURA (Duality-Induced Regularizer), ensuring the model remains robust across different graph densities.

Experimental Evaluation and Key Insights

The model was evaluated on three standard benchmarks: WN18RR (lexical relations), FB15K237 (general knowledge), and YAGO3-10 (large-scale knowledge). STaR achieved state-of-the-art results, notably reaching an MRR of 0.497 on WN18RR.

The Role of Homogeneity

A key finding of the study is that STaR's performance is tied to the "imbalance ratio" of the dataset. In homogeneous datasets like WN18RR, where entities are of similar types (e.g., words), many relation sequences are plausible in multiple orders, making non-commutativity modeling crucial. In heterogeneous datasets like FB15K237 (containing people, films, cities), the semantic types of entities often dictate a single possible order, making the non-commutativity component less critical but still beneficial for overall accuracy.

Parameter Efficiency

Despite its expressive power, STaR is remarkably lean. It achieves performance comparable to the heavy-duty RESCAL model while using only $2n$ parameters per relation instead of $n^2$, making it suitable for large-scale applications.

Conclusion

STaR represents a significant advancement in Knowledge Graph Embedding by successfully injecting translation into a bilinear framework. By unifying scaling, translation, and rotation, it provides a comprehensive solution for modeling both complex logical patterns and dense many-to-one relationships. Future work may extend these geometric transformations to temporal or hyper-relational knowledge graphs.

Summary updated

BibTeX
@inproceedings{li2022star,
  author = {Jiayi Li and Yujiu Yang},
  title = {{STaR: Knowledge Graph Embedding by Scaling, Translation and Rotation}},
  booktitle = {AIMS},
  year = {2022},
  doi = {10.1007/978-3-031-23504-7\_3},
}
Figure