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

Relation-aware Ensemble Learning for Knowledge Graph Embedding

Ling Yue, Yongqi Zhang, Quanming Yao, Yong Li, Xian Wu, Ziheng Zhang, Zhenxi Lin, Yefeng Zheng

Knowledge Graph Embedding (KGE) is a fundamental task in link prediction, where entities and relations are mapped into low-dimensional vector spaces. While numerous scoring functions like TransE, RotatE, and ComplEx have been proposed, each possesses distinct mathematical properties that make them suitable for specific types of relations (e.g., symmetric vs. hierarchical). Standard ensemble methods typically apply uniform weights across all relations, failing to leverage these specialized strengths. This paper introduces RelEns-DSC, a framework that enables relation-aware ensemble learning by assigning specific weights to different models based on the relation type.

The RelEns-DSC Framework

The primary challenge in relation-aware ensembling is the "curse of dimensionality." With $N$ models and $R$ relations, the search space for optimal weights grows to $N \times R$, making traditional optimization computationally prohibitive for large graphs. RelEns-DSC addresses this through a "Divide-Search-Combine" strategy.

The RelEns-DSC framework decomposes the global optimization problem into independent sub-problems for each relation.
  1. Divide: The global optimization problem is mathematically decomposed into $R$ independent sub-problems, one for each relation type $r$.
  2. Search: For each relation, the best model weights are identified independently using Tree-structured Parzen Estimator (TPE), a Bayesian optimization technique.
  3. Combine: The optimal weights from each sub-problem are aggregated into a final global model.

This decomposition allows for parallel processing, ensuring that the computational cost remains manageable even as the number of relations increases.

Insights: Model Specialization

A key finding of this research is the empirical verification of model specialization. By visualizing the weights assigned to different base models across various relations, the authors demonstrate that certain architectures are significantly more effective for specific semantic structures.

Heatmap showing the optimal weights assigned to different KGE models across various relation types.

For instance, translational models like TransE may dominate specific meronym relations, while bilinear models like ComplEx excel at domain-specific topics. RelEns-DSC captures these nuances by using rankings rather than raw scores, providing a stable signal across diverse model architectures.

Performance and Results

RelEns-DSC was evaluated on five benchmarks, including the large-scale Open Graph Benchmark (OGB). As of October 2023, the method secured 1st place on both the ogbl-biokg and ogbl-wikikg2 leaderboards. On the ogbl-biokg dataset, RelEns-DSC achieved a 5.55% improvement in Mean Reciprocal Rank (MRR) over standard uniform ensembles (SimpleEns). Ablation studies further confirmed that the DSC strategy outperforms other ensemble variants like stacking or simple arithmetic means.

Conclusion

RelEns-DSC provides a scalable and effective solution for relation-aware ensemble learning in KGE. By breaking down the complex global optimization into parallelizable sub-problems, it achieves state-of-the-art performance without the exponential computational overhead typically associated with high-dimensional parameter search. Future work may extend this relation-aware logic to other graph machine learning tasks beyond link prediction.

Summary updated

BibTeX
@inproceedings{yue2023relation,
  author = {Ling Yue and Yongqi Zhang and Quanming Yao and Yong Li and Xian Wu and Ziheng Zhang and Zhenxi Lin and Yefeng Zheng},
  title = {{Relation-aware Ensemble Learning for Knowledge Graph Embedding}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.1034},
}
Figure