Towards Synergistic Path-based Explanations for Knowledge Graph Completion: Exploration and Evaluation

Tengfei Ma, Xiang song, Wen Tao, Mufei Li, Jiani Zhang, Xiaoqin Pan, Yijun Wang, Bosheng Song, xiangxiang Zeng

TL;DR

KGExplainer is a novel, model-agnostic framework designed to explain Knowledge Graph Completion (KGC) predictions. It achieves this by identifying "synergistic paths"—multiple interconnected reasoning chains that work together to justify a predicted fact. By combining a perturbation-based greedy search with a distilled subgraph evaluator, the authors provide a robust method to discover and quantitatively measure the fidelity of complex, human-understandable explanations.

What Problem Does This Paper Address?

Knowledge Graphs (KGs) are essential for applications ranging from recommendation engines to drug discovery, but they are notoriously incomplete. While Knowledge Graph Embedding (KGE) models (like TransE or RotatE) excel at predicting missing links, they operate as "black boxes," making it difficult to understand why a prediction was made.

Existing explainability methods usually fall into two camps:

  1. Fact-based: These identify isolated edges that influence a prediction but fail to show a coherent reasoning chain.
  2. Path-based: These find a single sequence of relations, which is often too simplistic for complex real-world scenarios.
Examples of synergistic paths in business and biomedical domains.

The authors argue that a single path is rarely enough to explain a fact. For example, to explain why two companies like Alibaba and JD.com are competitors, you might need to see that they both invest in the same retail sector and operate in the same region. Similarly, explaining adverse drug reactions often requires tracing multiple metabolic pathways. This "synergy" of multiple paths is what current explainers miss. Furthermore, evaluating these explanations is difficult because there is no ground truth for why a model made a specific choice.

Methods

To address these challenges, the authors introduce the KGExplainer framework, which consists of three main modules:

The KGExplainer framework, detailing the exploration of synergistic paths and the distillation of the explanation evaluator.
  1. Exploration via Greedy Search: To find the most influential paths, the model uses a perturbation-based approach. It extracts an "enclosing subgraph" around the predicted link and systematically removes entities to observe how much the prediction score drops. It employs a hop-by-hop greedy search to identify the most critical paths.
  2. Efficient Subgraph Retraining: Retraining a massive KGE model every time an entity is removed is computationally prohibitive. KGExplainer introduces a localized retraining strategy that only updates embeddings within the local subgraph, making perturbation analysis feasible for large-scale graphs.
  3. Evaluator Distillation: To solve the evaluation problem, the authors distill a "student" model—a Relational Graph Attention Network (R-GAT)—from the original "teacher" KGE model. This R-GAT is trained to mimic the teacher's scores using only local subgraph structures. If the identified "explanation paths" are high-quality, the distilled evaluator should be able to maintain the original prediction rank using only those paths.

Datasets

The authors evaluated KGExplainer on four diverse benchmarks:

  • OGB-biokg: A large-scale biomedical KG with millions of facts.
  • Family-rr: A dataset containing bloodline and kinship relationships.
  • FB15k-237: A standard benchmark containing general world facts (a subset of Freebase).
  • WN-18: A subset of WordNet (used primarily for robustness checks).

Key Insights and Ideas

  • The Synergy Hypothesis: The core insight is that explanation quality improves when considering multiple paths simultaneously. The authors formalize this using information theory, demonstrating that the joint mutual information of a path set can be greater than the sum of its individual paths.
  • Fidelity through Distillation: Since we cannot directly ask a black-box model to verify an explanation, the distilled evaluator acts as a proxy forced to rely on local structure. This provides quantitative metrics (Recall@N and F1@N) for how much "truth" the explanation actually captures.
  • Model Agnosticism: Because it relies on perturbation and distillation rather than internal model gradients, KGExplainer works across different KGE architectures, including TransE, DistMult, and RotatE.

Key Results

  • Human Preference: In a blind study, human evaluators preferred KGExplainer’s explanations 83.3% of the time over baselines like Kelpie or PaGE-Link.
  • Quantitative Superiority: On the OGB-biokg dataset, KGExplainer improved the F1@1 score (a measure of explanation fidelity) by 16.92% over the best baseline.
  • Efficiency: Despite using a search-based approach, the localized retraining strategy allowed KGExplainer to remain competitive in speed, often outperforming path-based methods like PaGE-Link on larger graphs.
  • The "Hunchback" Curve: The authors found that explanation quality follows a bell curve relative to size. Too few paths are insufficient to explain the fact, while too many paths introduce noise that degrades the explanation's clarity.

Limitations and Future Work

  • Local vs. Global: The current method relies on "enclosing subgraphs" (usually 2-hop). While efficient, it might miss very long-range dependencies that influence a prediction.
  • Computational Overhead: While localized retraining is faster than full retraining, perturbation-based methods remain more computationally expensive than simple gradient-based saliency maps.
  • Domain Generalization: The authors suggest that future work should involve generalizing the framework to even more complex domains beyond the chemical, biological, and general-fact KGs tested in this study.

Summary updated

BibTeX
@inproceedings{ma2025towards,
  author = {Tengfei Ma and Xiang song and Wen Tao and Mufei Li and Jiani Zhang and Xiaoqin Pan and Yijun Wang and Bosheng Song and xiangxiang Zeng},
  title = {{Towards Synergistic Path-based Explanations for Knowledge Graph Completion: Exploration and Evaluation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=WQvkqarwXi},
}
Figure