Topology-Aware Correlations Between Relations for Inductive Link Prediction in Knowledge Graphs

Jiajun Chen, Huarui He, Feng Wu, Jie Wang

Abstract

Knowledge Graphs (KGs) are dynamic, requiring models to predict relations between previously unseen entities—a task known as inductive link prediction. While structural methods like GraIL capture local graph topology, they often overlook the semantic correlations between relations. This paper introduces TACT (Topology-Aware CorrelaTions), a framework that models relational correlations based on their topological connection patterns. By constructing a Relational Correlation Graph (RCG) and employing a Relational Correlation Network (RCN), TACT learns entity-independent relational representations. Experimental results on standard benchmarks demonstrate that TACT significantly outperforms state-of-the-art inductive link prediction models.

Introduction

Knowledge Graphs (KGs) represent facts as triples (e.g., Paris, capital_of, France). In real-world applications like recommendation engines or search, KGs are constantly evolving with new entities. Traditional transductive models fail in these scenarios because they can only predict links between entities seen during training.

Inductive link prediction addresses this by generalizing to entirely new entities. While recent subgraph-based methods have improved performance, they typically ignore the semantic correlations between different relations (e.g., the correlation between "nationality" and "languages spoken"). The authors of TACT argue that these correlations are reflected in the graph's physical topology—the specific ways edges are wired together—and can be leveraged to enhance inductive reasoning.

Methodology

TACT (Topology-Aware CorrelaTions) utilizes a dual-module architecture to score potential links between unseen entities.

The TACT architecture overview, showing the integration of the Relational Correlation Module (RCN) and the Graph Structure Module (R-GCN).

Relational Correlation Module (RCN)

The core innovation of TACT is the modeling of relational neighborhoods. The authors observed that the correlation between two relations depends on their connectivity. They identify seven fundamental topological patterns: Head-to-Tail (H-T), Tail-to-Tail (T-T), Head-to-Head (H-H), Tail-to-Head (T-H), Parallel (PARA), Loop (LOOP), and No Connection (NC).

The seven topological patterns used to define edges in the Relational Correlation Graph (RCG).

These patterns are used to construct a Relational Correlation Graph (RCG), where nodes represent relations. A Relational Correlation Network (RCN) then applies an attention mechanism over this graph to learn correlation coefficients, determining which neighboring relations are most informative for predicting a target link.

Graph Structure Module

To capture local structural context, TACT extracts a subgraph around the target entities. Nodes are labeled based on their distance to the targets, and a Relational Graph Convolutional Network (R-GCN) processes this subgraph to extract structural features. Finally, a Scoring Network fuses the outputs of the RCN and the R-GCN to calculate the probability of a link.

Experimental Evaluation

TACT was evaluated on inductive versions of three major benchmarks: WN18RR, FB15k-237, and NELL-995. To ensure a strictly inductive setting, entities in the test sets were entirely disjoint from those in the training sets.

Key Results

  • Superior Classification: TACT consistently outperformed the previous state-of-the-art, GraIL, in AUC-PR across nearly all datasets. For instance, on FB15k-237 v4, TACT achieved a score of 98.30.
  • Enhanced Ranking: In inductive relation prediction tasks, TACT's Mean Reciprocal Rank (MRR) was frequently double or triple that of rule-based baselines like Neural LP and DRUM.
  • Ablation Insights: A simplified version, TACT-base, which utilizes only the relational correlation module, still outperformed existing models on several benchmarks, highlighting the intrinsic value of modeling relational topology.

Discussion and Limitations

TACT demonstrates that topology serves as an effective proxy for semantics. By focusing on the relationships between relations rather than entities, the model achieves high entity independence and strong generalization.

However, the model faces challenges regarding computational complexity. Constructing and processing the RCG adds significant overhead; for example, TACT requires approximately 9 hours to run on FB15k-237 v1, compared to 20 minutes for GraIL. Additionally, scaling to KGs with tens of thousands of unique relations may lead to a combinatorial explosion in the RCG. Future work may explore integrating TACT with multi-hop reasoning or more efficient rule-mining techniques to mitigate these scalability issues.

Summary updated

BibTeX
@inproceedings{chen2021topology,
  author = {Jiajun Chen and Huarui He and Feng Wu and Jie Wang},
  title = {{Topology-Aware Correlations Between Relations for Inductive Link Prediction in Knowledge Graphs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i7.16779},
}
Figure