AdaProp: Learning Adaptive Propagation for Graph Neural Network based Knowledge Graph Reasoning

Yongqi Zhang, Zhanke Zhou, Quanming Yao, Xiaowen Chu, Bo Han

Introduction

Knowledge Graph (KG) reasoning is the fundamental task of predicting missing facts within a structured network of entities and relations. For example, given a query like "Where does LeBron live?", a reasoning model must traverse existing relationships—such as his team (Lakers), his spouse (Savannah), or his sponsor (Nike)—to infer the correct destination (Los Angeles).

An example of Knowledge Graph reasoning where the model must navigate relationships to answer a query.

Graph Neural Networks (GNNs) have become the standard for this task due to their ability to aggregate local neighborhood information. However, they face a critical "neighbor explosion" problem: as the number of propagation steps (hops) increases, the set of involved entities grows exponentially. Most of these entities are irrelevant "noise," leading to high computational costs and the "over-smoothing" problem, where entity representations become indistinguishable.

The AdaProp Framework

To address these challenges, the authors propose AdaProp, a novel GNN framework that learns to dynamically prune its own propagation path. Unlike traditional GNNs that propagate information to all neighbors, AdaProp makes propagation "adaptive" through two key innovations:

  1. Incremental Sampling: Standard sampling methods often lose the connection to the original query entity. AdaProp preserves entities from the previous step and adds a fixed number ($K$) of new neighbors. This ensures the reasoning path remains connected while limiting the growth of involved entities to be linear ($O(L \cdot K)$) rather than exponential.
  2. Learning-Based Semantic Distribution: AdaProp does not select neighbors at random. It learns a sampling distribution that scores neighbors based on their relevance to the specific query relation. By using the Gumbel-max trick and a Straight-Through (ST) estimator, the model can be trained end-to-end, allowing the sampler to learn which semantic paths are most promising for a given question.
Comparison of different propagation strategies in KG reasoning. AdaProp (right) selectively involves only the most relevant entities compared to full or progressive propagation.

Key Results and Insights

AdaProp was evaluated on several standard benchmarks, including WN18RR, FB15k237, and NELL-995, across both transductive and inductive settings.

  • State-of-the-Art Performance: AdaProp consistently outperformed strong baselines like NBFNet and RED-GNN. On WN18RR, it achieved a Mean Reciprocal Rank (MRR) of 0.562. In inductive settings—where the model must reason about entities never seen during training—it showed even larger gains, often surpassing competitors by 3-6% in Hit@10 metrics.
  • Efficiency and Scalability: By constraining the propagation set, AdaProp remains performant on large-scale KGs where full-propagation models would exceed memory limits. It processes fewer entities, resulting in faster training times despite using deeper propagation (up to 8 hops).
  • Semantic Awareness: Qualitative analysis confirms that AdaProp learns meaningful associations. For a "son_of" query, the model correctly prioritizes parent entities, while for a "nephew" query, it shifts its focus toward aunts and uncles.

Conclusion

AdaProp represents a significant step forward in making GNN-based KG reasoning both efficient and semantically grounded. By replacing fixed, exhaustive propagation with a learned, adaptive mechanism, it effectively filters out graph noise while maintaining high accuracy. This framework offers a promising path for scaling complex reasoning tasks to massive, real-world heterogeneous networks.

Summary updated

BibTeX
@inproceedings{zhang2023adaprop,
  author = {Yongqi Zhang and Zhanke Zhou and Quanming Yao and Xiaowen Chu and Bo Han},
  title = {{AdaProp: Learning Adaptive Propagation for Graph Neural Network based Knowledge Graph Reasoning}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2023},
  doi = {10.1145/3580305.3599404},
}
Figure