TL;DR
eXpath is a new framework that explains black-box Knowledge Graph (KG) link predictions by identifying semantically meaningful "relation paths" and ontological rules. By moving beyond simple neighbor-based explanations to multi-hop reasoning, it improves explanation quality by ~20% and reduces computation time by over 60% compared to state-of-the-art methods.
What Problem Does This Paper Address?
Knowledge Graphs (KGs) are massive networks of real-world facts (e.g., (Paris, is_capital_of, France)), but they are often incomplete. Researchers use deep learning models—specifically Knowledge Graph Embeddings (KGE) like TransE or ConvE—to predict missing links.
The problem? These models are "black boxes." While they are great at predicting that a specific chemical might be a good solvent for a material, they can't tell you why. Existing explanation tools (like Kelpie) usually look at "local" evidence—single-hop links directly connected to the entities. However, human experts often think in paths (e.g., "A is a solvent for B because they share a specific molecular sub-structure"). There is a significant gap between the raw data perturbations used to "explain" a model and the high-level semantic reasoning humans actually use.
Methods
The authors introduce eXpath, which treats explanation as a search for the most influential ontological rules that support a prediction. The pipeline consists of three main stages:
- Path Aggregation: Instead of looking at every possible path (which is computationally impossible), eXpath uses Breadth-First Search (BFS) to find paths between the head and tail entities. It then abstracts these into "relation paths"—sequences of relation types (e.g.,
born_in$\rightarrow$located_in) rather than specific entity chains. - Path-based Rule Mining: It identifies two types of rules:
- Closed Path (CP) Rules: Traditional multi-hop logic (e.g., if $X$ is born in $Y$ and $Y$ is in $Z$, then $X$ is a citizen of $Z$).
-
Property Transition (PT) Rules: Attribute-based logic (e.g., if a film's genre is Anime, its country is likely Japan). These rules are evaluated using a fast, matrix-based approach to calculate confidence and support.
-
Critical Fact Selection: Finally, it scores individual facts in the KG based on how many high-confidence rules they satisfy. The facts with the highest scores are presented as the "explanation."
Crucially, eXpath can be fused with existing local methods. If a simple neighbor is the best explanation, the fusion model picks it; if a complex path is better, it picks eXpath.
Datasets
The authors evaluated eXpath using four standard benchmark datasets for Knowledge Graph completion:
- FB15k & FB15k-237: Subsets of Freebase containing general world knowledge.
- WN18 & WN18RR: Subsets of WordNet containing lexical relationships between words.
They tested these against three popular KGE models: ComplEx, ConvE, and TransE.
Key Insights and Ideas
- Abstraction is Efficiency: By focusing on "relation paths" (the types of links) rather than specific intermediate entities, the authors drastically reduced the search space without losing the semantic "soul" of the explanation.
- The Power of "Closed Paths": The "aha moment" here is that most meaningful explanations in a KG are circular or "closed." If the model predicts a link, there is usually an alternative path in the graph that justifies it. Tracing these paths provides a "rationale" that humans can actually read.
- Tail-End Informality: The researchers found that in sparse graphs, facts related to the tail entity are often more informative than the head. Because tail entities (like a specific actor) often have fewer connections than head entities (like a major movie studio), removing a tail-related fact has a much sharper impact on the model's prediction, making it a better "lever" for explanation.
Key Results
- Better Explanations: eXpath outperformed the previous best method (Kelpie) by about 20% on key metrics like $\delta MRR$ (which measures how much the model's confidence drops when the "explanation" facts are removed).
- Faster Performance: It reduced the time required to generate an explanation by 61.4%, averaging about 25 seconds per prediction compared to over a minute for competitors.
- Fusion Success: When eXpath was combined with Kelpie, the quality of explanations jumped by nearly 50% in some scenarios, showing that path-based and neighbor-based explanations are highly complementary.
- Ablation: Removing the "Closed Path" rules caused a 20.3% drop in performance, confirming that these multi-hop paths are indeed the backbone of effective KG explanations.
Limitations and Future Work
- Rule Diversity: Currently, eXpath only uses two specific types of ontological rules (CP and PT). It doesn't yet handle "unary" rules (e.g., "X is a person") or more complex logical negations.
- Model Biases: The authors noted that KGE models sometimes rely on "language biases" (statistical quirks in the data) that don't always align with formal logic. eXpath might struggle to explain a prediction if the model's reason for making it is purely a statistical artifact rather than a logical path.
- Future Directions: The team suggests developing interactive visualization tools so that non-experts (like doctors or financial analysts) can explore these paths visually to build trust in AI-driven KG predictions.
Summary updated