A Survey on Explainability of Graph Neural Networks

Jaykumar Kakkad, Jaspal Jannu, Kartik Sharma, Charu C. Aggarwal, Sourav Medya · DOI

Introduction

As Graph Neural Networks (GNNs) increasingly migrate from academic research into high-stakes industrial applications—such as drug discovery, financial fraud detection, and social network analysis—their inherent "black box" nature has become a significant liability. While GNNs excel at capturing complex dependencies within relational data, understanding why a model predicts a specific molecular property or flags a transaction remains a challenge. This survey, authored by researchers from the University of Illinois Chicago, Georgia Tech, and IBM, provides a comprehensive roadmap for GNN interpretability by introducing a unified taxonomy that bridges the gap between factual and counterfactual reasoning.

The Unique Challenges of Graph Explainability

Explaining GNNs is fundamentally more complex than explaining traditional deep learning models like Convolutional Neural Networks (CNNs). In computer vision, an explanation might highlight a contiguous cluster of pixels. In contrast, GNNs process data where information is distributed across both node attributes and the combinatorial structure of edges (topology). An explanation must therefore account for non-linear relationships and the discrete nature of graph connectivity. The search space for identifying an "important subgraph" is combinatorial, making the task computationally expensive and conceptually difficult.

A Unified Taxonomy of GNN Explainability

The core contribution of this survey is a novel taxonomy that organizes the landscape of GNN explainers into two primary logical branches: Factual and Counterfactual explanations.

1. Factual Explanations

Factual methods seek to identify the specific input features—nodes, edges, or attributes—that exerted the most influence on a given prediction. These are further categorized by when the explanation is generated:

  • Self-interpretable (Ante-hoc): These models are designed with transparency as a core constraint. By utilizing information bottlenecks or structural constraints (e.g., GSAT, DIR), these models provide inherent explanations during the inference process.
  • Post-hoc Explanations: These methods are applied to existing, pre-trained "black box" models. They are subdivided into:
  • Decomposition/Gradient-based: These leverage the model’s internal weights or gradients to backpropagate importance scores (e.g., Grad-CAM, GNN-LRP).
  • Surrogate/Perturbation-based: These treat the GNN as a true black box, observing how the output changes in response to systematic input perturbations (e.g., GNNExplainer, GraphLime).

2. Counterfactual Explanations

Counterfactual reasoning provides a "what-if" scenario. Instead of identifying what is present, these methods identify the minimal possible change to the graph—such as adding or deleting a specific edge—that would result in a different classification. This approach (e.g., CF-GNNExplainer, RCExplainer) is often more intuitive for human decision-makers, as it highlights the boundary conditions of a model's logic.

Benchmarking and Evaluation

To move the field toward standardization, the authors review the datasets and metrics essential for evaluating explainer performance.

Datasets

  • Synthetic Datasets: Crucial for validation because they contain "ground truth" motifs. Examples include BA-Shapes (Barabasi-Albert graphs with house-shaped motifs) and Tree-Cycle.
  • Real-World Datasets: Primarily drawn from chemistry and biology, such as Mutag (mutagenic molecules) and Tox21 (environmental toxicity), where domain expertise provides the baseline for what constitutes a "correct" explanation.
  • Visual and Textual Graphs: Including MNIST-75sp (super-pixel graphs) and Sentiment Graphs derived from dependency parsing.

Evaluation Metrics

The survey standardizes evaluation through several key lenses:

  • Fidelity: The degree to which the prediction changes when the identified "important" components are removed. High fidelity indicates the explainer has accurately captured the model's internal logic.
  • Sparsity: A measure of conciseness; smaller, more focused subgraphs are generally more useful for human interpretation.
  • Robustness: The consistency of the explainer when the input graph is subjected to minor, non-essential perturbations.
  • Probability of Necessity/Sufficiency (PN/PS): Causal metrics that quantify whether a subgraph is truly required for a prediction or merely sufficient to trigger it.

Key Insights and Future Frontiers

The authors highlight that factual and counterfactual methods are complementary: factuals explain why a model said "Yes," while counterfactuals explain what was missing to make it say "No." However, several challenges remain:

  1. Combinatorial Optimization: The computational cost of searching for optimal subgraphs in large-scale networks remains a bottleneck.
  2. Global vs. Local Explanations: Most current tools explain individual instances (local). There is a pressing need for global explainers that can describe the model’s logic across an entire dataset.
  3. Human-Centric Design: Mathematical rigor does not always translate to human utility. Future work must involve Human-Computer Interaction (HCI) to ensure explanations are actionable for domain experts like chemists or clinicians.
  4. Temporal Complexity: Explaining dynamic graphs, where the topology evolves over time, is an emerging frontier with significant untapped potential.

Summary updated

BibTeX
@article{kakkad2023survey,
  author = {Jaykumar Kakkad and Jaspal Jannu and Kartik Sharma and Charu C. Aggarwal and Sourav Medya},
  title = {{A Survey on Explainability of Graph Neural Networks}},
  journal = {IEEE Data Eng. Bull.},
  year = {2023},
}
Figure