Skip to main content
QUICK REVIEW

[Paper Review] DT+GNN: A Fully Explainable Graph Neural Network using Decision Trees

Peter Müller, Lukas Faber|arXiv (Cornell University)|May 26, 2022
Explainable Artificial Intelligence (XAI)Computer Science5 citations
TL;DR

DT+GNN is a fully explainable graph neural network that replaces traditional GNN layers with decision trees derived from trained MLPs, enabling end-to-end interpretability of message passing and prediction logic. It achieves competitive accuracy on real-world and benchmark datasets while providing intuitive, human-readable decision rules and interactive explanations via a web interface.

ABSTRACT

We propose the fully explainable Decision Tree Graph Neural Network (DT+GNN) architecture. In contrast to existing black-box GNNs and post-hoc explanation methods, the reasoning of DT+GNN can be inspected at every step. To achieve this, we first construct a differentiable GNN layer, which uses a categorical state space for nodes and messages. This allows us to convert the trained MLPs in the GNN into decision trees. These trees are pruned using our newly proposed method to ensure they are small and easy to interpret. We can also use the decision trees to compute traditional explanations. We demonstrate on both real-world datasets and synthetic GNN explainability benchmarks that this architecture works as well as traditional GNNs. Furthermore, we leverage the explainability of DT+GNNs to find interesting insights into many of these datasets, with some surprising results. We also provide an interactive web tool to inspect DT+GNN's decision making.

Motivation & Objective

  • To address the lack of intrinsic interpretability in black-box GNNs by designing a model where every decision step is inspectable.
  • To enable full traceability of how input features and graph structures contribute to predictions through structured decision rules.
  • To develop a method that converts trained GNNs into compact, human-readable decision trees without sacrificing predictive performance.
  • To provide both global model explanations (via decision trees) and local explanations (via node importance heatmaps) for GNN predictions.
  • To identify and diagnose flaws in existing GNN explanation benchmarks through model transparency.

Proposed method

  • Introduce a differentiable GNN layer (Diff-DT+GNN) based on the 'stone age model' with categorical state and message spaces, enabling discrete, interpretable message passing.
  • Train the GNN using gradient descent with MLPs in the message-passing layers, then convert each MLP into a decision tree via a novel tree conversion method.
  • Apply collective pruning to reduce tree size while preserving accuracy, enhancing interpretability and model compactness.
  • Extract traditional GNN explanations (e.g., node importance heatmaps) from the decision trees to support both global and local interpretability.
  • Use the decision tree structure to reconstruct the reasoning path, allowing users to trace how each prediction is made layer by layer.
  • Deploy an interactive web tool to visualize and explore the decision-making process of DT+GNN on real and synthetic datasets.

Experimental results

Research questions

  • RQ1Can a GNN architecture be made fully interpretable by replacing its learned components with decision trees while maintaining competitive performance?
  • RQ2How effective is the proposed tree conversion and pruning method in reducing model complexity without accuracy loss?
  • RQ3Can DT+GNN uncover hidden biases or flaws in existing GNN explanation benchmarks, such as incorrect explanations for negative classes?
  • RQ4To what extent can decision trees derived from GNNs reveal meaningful structural insights into real-world graph datasets?
  • RQ5How do decision rules in DT+GNN compare to those in traditional GNNs in terms of interpretability and predictive fidelity?

Key findings

  • DT+GNN achieves classification accuracy competitive with standard GNNs on real-world datasets such as PROTEINS, MUTAG, and BA-2Motifs.
  • The model's final layer decision rules are highly interpretable—e.g., on PROTEINS, the model classifies enzymes based solely on counting specific chemical structures, confirming prior findings that counting can outperform message passing.
  • On the BA-2Motifs dataset, DT+GNN correctly identifies nodes in a house structure but produces incorrect explanations for cycle graphs due to reliance on bias terms, exposing a flaw in existing explanation benchmarks.
  • In the Tree-Cycle dataset, DT+GNN learns to identify cycle nodes via degree-2 neighbors, but explanations incorrectly highlight distant nodes, revealing surplus ground truth issues in explanation methods.
  • For MUTAG, the paper identifies that $NO_2$ subgraphs are not valid explanations (as they appear in all graphs), and proposes a simple degree-counting rule achieving 89% accuracy as a correct alternative.
  • The proposed pruning method significantly reduces decision tree size without performance degradation, enhancing model interpretability and efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.