Explaining the Explainers in Graph Neural Networks: a Comparative Study

Antonio Longa, Steve Azzolin, Gabriele Santin, Giulia Cencetti, Pietro Lio, Bruno Lepri, Andrea Passerini · DOI

Introduction

Graph Neural Networks (GNNs) have emerged as the state-of-the-art for learning on non-Euclidean data, with applications ranging from drug discovery to social network analysis. However, their complex message-passing mechanisms often render them "black boxes." To address this, a variety of "explainers" have been developed to interpret model predictions by identifying influential nodes or edges. Despite the proliferation of these methods, the literature remains fragmented, often benchmarking new explainers against limited architectures like standard Graph Convolutional Networks (GCNs).

This study provides a unified, systematic evaluation of 12 GNN explainers across 8 distinct architectures and 6 datasets. By analyzing the interaction between architectures, explainers, and task types, the authors expose critical blind spots in current interpretability research and provide a roadmap for selecting the right explainer for specific graph-based tasks.

Methodology and Notation

To establish a rigorous baseline, the researchers defined a consistent mathematical framework for the graphs and GNN components under study. This notation ensures that comparisons across spectral, spatial, and pooling-based architectures remain consistent.

Summary of mathematical symbols and graph notation used throughout the comparative analysis.

The experimental grid covers 8 GNN architectures (including GCN, GraphSAGE, GAT, GIN, and various pooling methods) and 12 explainers spanning five major categories: gradient-based, perturbation-based, surrogate, decomposition, and generation-based methods.

Overview of the 12 GNN explainers evaluated in the study, categorized by methodology and target task.

Evaluation Metrics

The study evaluates explanations along two primary axes:

  1. Plausibility: Measures how well the explanation aligns with human intuition or known ground-truth subgraphs (quantified via AUROC).
  2. Fidelity: Measures how faithfully the explanation reflects the model's internal logic by observing changes in prediction when the explanation subgraph is preserved versus removed.

Datasets and Experimental Setup

The authors utilized synthetic datasets where ground-truth motifs are known, allowing for objective plausibility testing:

  • Graph Classification: Tasks included identifying grid motifs (GRID), compositional motifs (GRID-HOUSE), counting star motifs (STARS), and feature-based classification (HOUSE-COLOR).
  • Node Classification: Classic benchmarks like SHAPES (structural roles) and INFECTION (path distance) were used to test localized explanations.

Key Insights and Findings

The "Lazy" Learner Phenomenon

A significant discovery is that GNNs often act as "lazy" learners in binary classification. For example, a model might learn to identify Class A's motif and predict Class B simply because that motif is absent. In such cases, generating an explanation for Class B is misleading, as the model's logic is based on the absence of evidence rather than the presence of specific features.

Architecture and Task Dependency

  • Architecture Impact: GCN is consistently the most explainable architecture, likely due to its linear aggregation. Conversely, GIN (Graph Isomorphism Network) proved the most difficult to explain, despite its simple MLP-based structure. GraphConv generally yielded the highest quality explanations overall.
  • Task-Specific Explainers: For graph-level tasks, edge-based perturbation methods like SubX were most robust. For node-level tasks, gradient-based methods like GradCAM performed best, as gradients naturally localize to a node's immediate neighborhood.
  • The Plausibility-Fidelity Gap: The study highlights that what looks "correct" to a human (high plausibility) often fails to capture what the model actually learned (low fidelity), revealing a disconnect between human expectations and neural logic.

Conclusion and Future Directions

The study concludes that there is no "one-size-fits-all" explainer. While GraphConv paired with GradExplEdge or IgEdge offers high-quality results, the choice must be dictated by the specific GNN architecture and task type.

Future work should expand beyond message-passing GNNs to include Graph Transformers and diffusion models. Furthermore, the field must move beyond the assumption that all explanations are subgraphs; in many real-world scenarios, global properties like node degree or centrality may be the true drivers of a prediction, requiring new classes of explainers to decode.

Summary updated

BibTeX
@article{longa2025explaining,
  author = {Antonio Longa and Steve Azzolin and Gabriele Santin and Giulia Cencetti and Pietro Lio and Bruno Lepri and Andrea Passerini},
  title = {{Explaining the Explainers in Graph Neural Networks: a Comparative Study}},
  journal = {ACM Computing Surveys},
  year = {2025},
  doi = {10.1145/3696444},
}
Figure