Cross-KG Link Prediction by Learning Substructural Semantics

Wen Wen, Shiyuan Wu, Ruichu Cai, Zhifeng HaoNeural Process. Lett 2024

Abstract

Link prediction across different knowledge graphs (i.e. Cross-KG link prediction) plays an important role in discovering new triples and fusing multi-source knowledge. Existing cross-KG link prediction methods mainly rely on entity and relation alignment, and are challenged by the problems of KG incompleteness, semantic implicitness and ambiguosness. To deal with these challenges, we propose a learning framework that incorporates both node-level and substructure-level context for cross-KG link prediction. The proposed method mainly consists of a neural-based tensor-completion module and a graph-convolutional-network module, which respectively captures the node-level and substructure-level semantics to enhance the performance of cross-KG link prediction. Extensive experiments are conducted on three benchmark datasets. The results show that our method significantly outperforms the state-of-the-art baselines and some interesting analysis on real cases are also provided in this paper.

Introduction

Knowledge Graphs (KGs) are fundamental to modern AI, serving as the structured backbone for search engines, recommendation systems, and medical diagnostics. However, KGs are notoriously incomplete. While traditional link prediction focuses on filling gaps within a single graph, Cross-KG link prediction attempts to discover relationships between entities residing in different graphs—for instance, linking a specific drug in a medical KG to a symptom recorded in a separate disease-focused KG.

An illustration of Cross-KG link prediction. Overlapping nodes like 'thirsty' and 'fever' provide the substructural context needed to predict new relationships (e.g., 'use drug?') between entities in separate knowledge graphs.

This task is particularly difficult due to three primary hurdles:

  1. Incompleteness: Missing data in one graph makes it harder to establish connections to another.
  2. Semantic Ambiguity: Different KGs often use varying nomenclature for the same relationship (e.g., "symptom" vs. "treat_symptom").
  3. Implicit Semantics: Entity names alone often fail to reveal their relationship. As shown in the figure above, "Medicine1" and "summer-heat" might not appear related by name, but their shared neighbors (like "fever" or "thirsty") reveal a hidden connection.

Methodology

The proposed framework addresses these challenges through a dual-module architecture designed to capture both explicit identity and implicit context:

Node-Level Representation (NR) Module

This module utilizes a neural-based tensor-completion approach. By treating the KG as a 3D tensor (head, relation, tail), it learns low-dimensional embeddings for entities and relations. This captures the fundamental "identity" of each node within its respective graph.

Substructure-Level Representation (SR) Module

To capture broader context, the authors employ a 2-layer Graph Convolutional Network (GCN). The GCN aggregates information from an entity’s neighbors, creating a "semantic signature" based on local graph structure. This allows the model to recognize that two entities are similar if they exist in similar "neighborhoods," even if their specific labels differ across graphs.

The model is trained using a unified loss function that combines a tensor-approximation loss (for node-level accuracy) and a margin-based ranking loss (for structural consistency).

Experimental Setup

The researchers evaluated the model on three diverse benchmark datasets:

  • DFB-1: A subset of Freebase-15K with approximately 30% entity overlap between sub-graphs.
  • WK3L-E: An English dataset derived from DBpedia.
  • MEDICINE: A real-world Chinese medical dataset comprising CMeEE (Traditional Chinese Medicine instructions) and MedicalGraph (web-sourced medical data). This dataset is particularly challenging due to its domain-specific terminology and high degree of semantic ambiguity.

Key Results and Insights

The proposed method consistently outperformed state-of-the-art baselines, including COMPLEX, AFE, and SATTLE, across all datasets.

Performance Metrics

  • Accuracy: On the WK3L-E dataset, the model achieved a Hits@1 of 0.269, a significant improvement over the best baseline (0.249).
  • Mean Rank (MR): The model showed dramatic improvements in Mean Rank, particularly on the DFB-1 dataset, where it achieved an MR of 11.88 compared to the next best baseline's 44.73.
  • Robustness to Low Overlap: Most cross-KG methods fail when graphs share few entities. This model remains stable even as the overlap ratio drops toward 0%, thanks to its ability to learn from local structures rather than relying solely on direct entity alignment.

Efficiency

Beyond accuracy, the model demonstrated superior efficiency. While many recent models rely on heavy Transformer-based attention mechanisms, this GCN-based approach proved to be up to 12 times faster than AFE during training while achieving better predictive results.

Conclusion

This research demonstrates that substructural context is vital for resolving naming ambiguities in cross-KG tasks. By combining node-level identity with neighborhood-level semantics, the model provides a robust solution for knowledge fusion. Future work may explore the integration of external text descriptions or images to further resolve semantic gaps and the adaptation of this framework to dynamic, evolving knowledge graphs.

Summary updated

BibTeX
@inproceedings{wen2024cross,
  author = {Wen Wen and Shiyuan Wu and Ruichu Cai and Zhifeng Hao},
  title = {{Cross-KG Link Prediction by Learning Substructural Semantics}},
  booktitle = {Neural Process. Lett},
  year = {2024},
  url = {https://openreview.net/forum?id=p2kvKPlnZE},
}
Figure