Introduction
Knowledge Graph Embedding (KGE) models represent entities and relations in a continuous vector space to facilitate link prediction. While models like TransE and RotatE have shown significant success, they suffer from a fundamental structural deficiency identified as the Z-paradox. This paradox arises when a model's score function creates a linear dependency that forces it to predict a relation simply because of the surrounding graph structure, regardless of the actual data.
As illustrated in the figure above, if a model learns that Actor A and Actor B both acted in Movie 1, and Actor B acted in Movie 2, the mathematical constraints of many KGE models force the conclusion that Actor A also acted in Movie 2. This leads to systematic "hallucinations" in link prediction. The authors found that up to 35% of test facts in common datasets like FB15k-237 are negatively impacted by this paradox.
Methodology: MQuinE
To resolve this, the authors introduce MQuinE (Matrix Quintuple Embedding). Unlike traditional models that use simple vectors, MQuinE represents entities as symmetric matrices ($\mathbf{H}$ for head, $\mathbf{T}$ for tail) and relations as a triplet of matrices $\langle \mathbf{R}^h, \mathbf{R}^t, \mathbf{R}^c \rangle$.
The Score Function
The core innovation of MQuinE is the inclusion of a non-linear cross term in its score function: $$s(h, r, t) = \| \mathbf{H}\mathbf{R}^h - \mathbf{R}^t\mathbf{T} + \mathbf{H}\mathbf{R}^c\mathbf{T} \|^2_F$$ By incorporating the term $\mathbf{H}\mathbf{R}^c\mathbf{T}$, the model allows the head and tail entities to interact through the relation in a way that breaks the linear dependency of the Z-paradox. This ensures that the relationship between $e_1$ and $e_4$ in a Z-pattern is no longer a simple sum of the other links.
Z-sampling
Complementing the model architecture is Z-sampling, a novel training strategy. During training, the algorithm identifies Z-patterns within the graph and explicitly treats the "missing" link—the one the paradox would incorrectly predict—as a negative sample. This explicitly teaches the model to resist making paradoxical inferences.
Theoretical Comparison
MQuinE is designed to be highly expressive, capturing various relational patterns such as symmetry, asymmetry, and inversion, while uniquely addressing the Z-paradox.
Evaluation and Results
The model was evaluated on standard benchmarks including FB15k-237, WN18RR, and YAGO3-10. MQuinE demonstrated superior performance across the board:
- Superior Accuracy: On FB15k-237, MQuinE achieved a Mean Reciprocal Rank (MRR) of 0.420, significantly higher than RotatE (0.336) and the previous state-of-the-art MQuadE (0.356).
- Hard Case Performance: On test samples most affected by the Z-paradox ("Hard" cases), MQuinE improved Hits@10 by 13% over RotatE.
- Generalization: Z-sampling alone was found to improve the performance of other models like DisMult and ComplEx by 5-7%, proving the sampling strategy is a valuable standalone contribution.
Conclusion
MQuinE effectively addresses the Z-paradox, a previously overlooked structural flaw in KGE models. By combining a matrix-based quintuple representation with Z-sampling, it provides a more robust and logically sound framework for knowledge graph completion, setting a new state-of-the-art for link prediction accuracy.
Summary updated