River of No Return: Graph Percolation Embeddings for Efficient Knowledge Graph Reasoning

Kai Wang, Siqiang Luo, Dan LinarXiv 2023 · DOI

Introduction

Knowledge Graphs (KGs) such as Freebase and WordNet are essential for structured information retrieval, yet they are frequently incomplete. Knowledge Graph reasoning—the task of predicting missing links between entities—is therefore a critical area of research. While modern Graph Neural Networks (GNNs) have advanced this field through message-passing mechanisms, they often suffer from "path redundancy." These models explore every possible path up to a certain length, including loops and "uphill" paths that introduce noise and significant computational overhead.

The Problem: Redundancy and Entropy

The authors of "River of No Return" identify a fundamental flaw in exhaustive path exploration. They introduce the concept of Transformation Error Entropy, providing a theoretical proof that as paths in a KG grow longer, they accumulate error. Using information theory, they demonstrate that redundant paths increase the entropy (uncertainty) of the final prediction. This mathematical justification suggests that prioritizing shortest paths is not just an optimization for speed, but a necessary filter for accuracy.

The GraPE Framework

To solve the redundancy problem, the authors propose GraPE (Graph Percolation Embeddings). This framework is inspired by Darcy’s Law in fluid mechanics, which describes the flow of a fluid through a porous medium.

Graph Percolation Process

GraPE treats the query entity as a "high potential" source. Information is permitted to flow only "downhill"—from entities closer to the source to those further away. This "percolation" effectively prunes redundant loops and long-winded paths that would otherwise contribute noise.

Conceptual comparison between standard GNN propagation and the proposed Graph Percolation.

Encoder-Decoder Architecture

The model utilizes a specialized architecture to maintain efficiency:

  • GraPE Encoder: This layer processes only the triples that move "downhill" or stay at the same potential level. By enforcing this one-way street for information, the model prevents "over-smoothing," a common issue in deep GNNs where entity representations become indistinguishable.
  • GraPE Decoder: A lightweight GNN layer aggregates local features to produce the final link prediction scores.
  • Efficiency via Tied Weights: Unlike standard GNNs that require distinct parameters for each layer, GraPE uses a tied-weight structure. This allows the model to maintain a constant parameter count regardless of the search depth, significantly reducing the memory footprint.

Experimental Results

GraPE was evaluated on standard transductive benchmarks (WN18RR and FB15k-237) and inductive reasoning tasks. The results demonstrate that GraPE consistently outperforms previous state-of-the-art models like NBFNet and RED-GNN.

Performance comparison of GraPE against state-of-the-art KGE, path-based, and GNN-based methods.

Key performance highlights include:

  • Superior Accuracy: On the WN18RR dataset, GraPE achieved a Mean Reciprocal Rank (MRR) of 0.570, a substantial improvement over the previous best of 0.496.
  • Computational Gains: In transductive tasks, GraPE utilized up to 90% fewer triple calculations and 70% fewer parameters than NBFNet.
  • Inference Speed: The model demonstrated an 11x speedup during inference on the FB15k-237 dataset, reducing processing time from 1320s to just 120s.

Conclusion

By reframing Knowledge Graph reasoning as a percolation process, GraPE addresses the long-standing issue of path redundancy. The "River of No Return" approach ensures that only the most informative, low-entropy paths are considered, leading to a framework that is both more accurate and significantly more efficient than its predecessors. This work highlights the potential of borrowing principles from physical sciences to optimize complex graph-based reasoning tasks.

Summary updated

Abstract

We study Graph Neural Networks (GNNs)-based embedding techniques for knowledge graph (KG) reasoning. For the first time, we link the path redundancy issue in the state-of-the-art KG reasoning models based on path encoding and message passing to the transformation error in model training, which brings us new theoretical insights into KG reasoning, as well as high efficacy in practice. On the theoretical side, we analyze the entropy of transformation error in KG paths and point out query-specific redundant paths causing entropy increases. These findings guide us to maintain the shortest paths and remove redundant paths for minimized-entropy message passing. To achieve this goal, on the practical side, we propose an efficient Graph Percolation Process motivated by the percolation model in Fluid Mechanics, and design a lightweight GNN-based KG reasoning framework called Graph Percolation Embeddings (GraPE). GraPE outperforms previous state-of-the-art methods in both transductive and inductive reasoning tasks while requiring fewer training parameters and less inference time.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
WN18RRGraPEMRR0.568evaluation=transductive
Source quote
L286: Compared with traditional KGE-based and path-based baselines, GraPE achieves significant performance gains. Especially, the MRR of GraPE has a more than 10% increase on both datasets which improves from 0.496 to 0.568 on WN18RR and from 0.366 to 0.423 on FB15k237.
FB15K237GraPEMRR0.423evaluation=transductive
Source quote
L286: Compared with traditional KGE-based and path-based baselines, GraPE achieves significant performance gains. Especially, the MRR of GraPE has a more than 10% increase on both datasets which improves from 0.496 to 0.568 on WN18RR and from 0.366 to 0.423 on FB15k237.
FB15k237-v1GraPEMRR0.422+0.05 vs baselinesubset=v1 · evaluation=inductive
Source quote
L319: Compared with the previous best method RED-GNN, GraPE obtains an average 8% relative performance gain in MRR. Especially, the MRR of GraPE improves from 0.369 to 0.422 on the FB15k237-v1 dataset, and from 0.419 to 0.517 on NELL-995-v2. In the inductive task, the generalization ability of relational features learned from paths is much more important than that in the transductive one. Instead of encoding all possible relational paths in RED-GNN, GraPE only extracts features from the limited low-entropy paths, thus improving precision and efficiency simultaneously.
NELL-995-v2GraPEMRR0.517+0.1 vs baselinesubset=v2 · evaluation=inductive
Source quote
L319: Compared with the previous best method RED-GNN, GraPE obtains an average 8% relative performance gain in MRR. Especially, the MRR of GraPE improves from 0.369 to 0.422 on the FB15k237-v1 dataset, and from 0.419 to 0.517 on NELL-995-v2. In the inductive task, the generalization ability of relational features learned from paths is much more important than that in the transductive one. Instead of encoding all possible relational paths in RED-GNN, GraPE only extracts features from the limited low-entropy paths, thus improving precision and efficiency simultaneously.
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
FB15k237-v1RED-GNN baselineMRR0.369subset=v1 · evaluation=inductive
Source quote
L319: Compared with the previous best method RED-GNN, GraPE obtains an average 8% relative performance gain in MRR. Especially, the MRR of GraPE improves from 0.369 to 0.422 on the FB15k237-v1 dataset, and from 0.419 to 0.517 on NELL-995-v2. In the inductive task, the generalization ability of relational features learned from paths is much more important than that in the transductive one. Instead of encoding all possible relational paths in RED-GNN, GraPE only extracts features from the limited low-entropy paths, thus improving precision and efficiency simultaneously.
NELL-995-v2RED-GNN baselineMRR0.419subset=v2 · evaluation=inductive
Source quote
L319: Compared with the previous best method RED-GNN, GraPE obtains an average 8% relative performance gain in MRR. Especially, the MRR of GraPE improves from 0.369 to 0.422 on the FB15k237-v1 dataset, and from 0.419 to 0.517 on NELL-995-v2. In the inductive task, the generalization ability of relational features learned from paths is much more important than that in the transductive one. Instead of encoding all possible relational paths in RED-GNN, GraPE only extracts features from the limited low-entropy paths, thus improving precision and efficiency simultaneously.
BibTeX
@misc{wang2023river,
  author = {Kai Wang and Siqiang Luo and Dan Lin},
  title = {{River of No Return: Graph Percolation Embeddings for Efficient Knowledge Graph Reasoning}},
  year = {2023},
  eprint = {2305.09974},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.09974},
}
Figure