Generating and Evaluating Plausible Explanations for Knowledge Graph Completion

Antonio Di Mauro, Zhao Xu, Wiem Ben Rim, Timo Sztyler, Carolin LawrenceACL 2024

Abstract

Knowledge Graph Completion (KGC) models are increasingly accurate but remain "black boxes," often providing explanations that lack human-centric plausibility. This paper introduces GradPath, a method that prioritizes logical reasoning paths over isolated training triples. By aligning explanations with human reasoning, GradPath enables users to more effectively judge the correctness of AI predictions, significantly outperforming existing gradient-based methods.

Introduction: The Plausibility Gap in KGC

Knowledge Graph Completion (KGC) involves predicting missing links between entities in a network—for instance, deducing that "Angela" is the "sister of" "Marco." While modern models perform well, their internal logic is often opaque. Existing eXplainable AI (XAI) methods typically focus on algorithmic faithfulness, identifying specific training triples that influenced the model's weights. However, these triples often appear nonsensical to humans, failing to provide a logical "why."

The authors argue that for an explanation to be useful, it must possess plausibility—it must align with human reasoning. A human understands a sibling relationship through shared parents, not through a random, unrelated triple. This lack of plausibility hinders trust, particularly in critical domains like healthcare.

Methods: Bridging Influence and Logic with GradPath

To address the gap between mathematical influence and human-readable logic, the authors propose GradPath. This method shifts the focus from isolated facts to sequential reasoning.

Path-based Reasoning

GradPath searches for paths that connect the subject and object of a prediction. This approach mimics the way humans deduce facts through a chain of related entities and relations.

GradPath identifies reasoning paths between entities and scores them using gradient-based techniques.

Gradient-based Scoring

To maintain faithfulness to the underlying model, GradPath employs a technique called Gradient Rollback. It performs a "what-if" analysis, calculating how the probability of a predicted triple would change if a specific path were removed from the training data. This ensures the chosen path is both human-readable and mathematically significant to the model's decision.

Human-Centric Evaluation Framework

The authors move beyond automated metrics, proposing a framework where human testers evaluate predictions based on their accuracy of assessment, perceived helpfulness, and the time taken to reach a decision.

The evaluation interface allows users to assess the plausibility and helpfulness of predicted relations based on provided paths.

Datasets and Experimental Setup

The study utilized benchmarks chosen for their human-understandability:

  • Kinship: A dataset of familial relations (24 entities, 12 relations), ideal for testing logical "storytelling" in explanations.
  • CoDEx: A complex dataset from Wikidata and Wikipedia covering diverse real-world facts.
  • Other datasets like Countries, MovieLens, and YAGO3-10 were also analyzed for benchmark suitability.

Key Insights

  • The "Path" is the Point: User interviews confirmed that humans look for connections, not isolated facts. Constraining the search space to logical paths is central to GradPath's success.
  • Plausibility vs. Faithfulness: There is a trade-off between an explanation that perfectly mirrors a model's internal math and one a human can understand. The authors advocate for a "plausible-first" approach, as a slightly less "faithful" but understandable explanation is more valuable than a confusing one.
  • Rethinking Simulatability: The authors critique "human simulatability" (predicting model behavior) as an artificial metric, focusing instead on the purpose factor: helping users decide whether to act on an AI's prediction.

Key Results

GradPath significantly outperformed the baseline Gradient Rollback (GR) method across all human-centric metrics:

  • Higher Accuracy: On the Kinship dataset, users correctly identified predictions 83.33% of the time with GradPath, compared to 34.78% with GR. On CoDEx, GradPath maintained a lead (58.0% vs 44.7%).
  • Efficiency: Decision time for Kinship dropped from ~29 seconds to ~16 seconds per prediction.
  • Subjective Trust: Testers rated GradPath explanations as more helpful and reported higher confidence.

Limitations and Future Work

GradPath's use of approximations for path-scoring may result in some loss of mathematical faithfulness. Additionally, the authors noted a scarcity of human-centric KGC benchmarks, as many current datasets use ID numbers or obscure entities. Future work will focus on curating better datasets and exploring how to present longer reasoning chains without overwhelming users.

Summary updated

BibTeX
@inproceedings{mauro2024generating,
  author = {Antonio Di Mauro and Zhao Xu and Wiem Ben Rim and Timo Sztyler and Carolin Lawrence},
  title = {{Generating and Evaluating Plausible Explanations for Knowledge Graph Completion}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.654},
}
Figure