GNNX-BENCH: Unravelling the Utility of Perturbation-based GNN Explainers through In-depth Benchmarking

Mert Kosan, Samidha Verma, Burouj Armgaan, Khushbu Pahwa, Ambuj K. Singh, Sourav Medya, Sayan Ranu · DOI

Introduction

As Graph Neural Networks (GNNs) are increasingly deployed in high-stakes domains such as drug discovery and financial fraud detection, their inherent "black box" nature poses significant risks. To address this, researchers have developed various "explainers"—tools designed to identify the nodes or edges most responsible for a model's prediction. However, the evaluation of these explainers has historically been fragmented, often limited to narrow metrics on a few datasets. GNNX-Bench addresses this gap by providing the first comprehensive benchmarking study to systematically evaluate 11 perturbation-based explainers across 13 diverse datasets.

Benchmarking Framework

The study categorizes explainers based on their reasoning type (factual vs. counterfactual) and their learning nature (inductive vs. transductive). Factual reasoning seeks the minimal subgraph that causes a prediction, while counterfactual reasoning identifies the minimal change needed to flip it. Inductive methods, such as RCExplainer, learn a general mapping for explanations, whereas transductive methods like GNNExplainer optimize for each specific instance.

Taxonomy of GNN explanation methods categorized by level, approach, and reasoning type.

To evaluate these tools, the benchmark introduces a rigorous set of metrics:

  • Sufficiency: Measures if the explanation subgraph alone is enough for the model to maintain its original prediction.
  • Stability: Evaluates the consistency of explanations when the input graph is subjected to minor topological noise.
  • Feasibility: Assesses whether the suggested changes in counterfactual scenarios are physically or topologically valid within the specific domain (e.g., chemical valency).

Datasets and Experimental Setup

To ensure broad coverage, the authors utilized 13 diverse datasets spanning multiple domains, including synthetic benchmarks (Tree-Cycles, BA-Shapes), bio/chemical datasets (Mutag, Proteins, AIDS), and social/text graphs (IMDB-B, Reddit-B, Graph-SST2). These datasets were tested against various GNN architectures, including GCN, GAT, and GIN, to observe how architectural differences impact explanation quality.

Key Insights: The Stability Crisis and Feasibility Gap

One of the most significant findings of GNNX-Bench is the "stability crisis." Most current explainers are shockingly fragile; even minor topological noise—such as adding or removing a few random edges—causes them to produce wildly different results. This suggests that many explainers may be overfitting to specific input geometries rather than capturing robust underlying logic.

Stability analysis across different datasets showing the decline in Jaccard Similarity as noise (X) increases.

Furthermore, the study highlights a critical "feasibility gap." In molecular domains, counterfactual explainers often suggest modifications that violate basic chemical laws. For instance, a counterfactual might suggest a carbon atom should have six bonds, rendering the explanation useless for practical applications like drug discovery.

Quantitative Results and Observations

  • Inductive Superiority: Inductive methods generally exhibit better stability than transductive ones. By training on a distribution of data, they avoid being "distracted" by minor variations in individual graph instances.
  • RCExplainer Performance: RCExplainer emerged as a particularly balanced choice, demonstrating high sufficiency and superior stability across both factual and counterfactual tasks.
  • Architecture Sensitivity: Explanations are highly dependent on the underlying GNN backbone. An explanation generated for a GCN model often has low overlap (Jaccard similarity) with one generated for a GAT model on the same data, highlighting how differently these architectures "see" the graph.

Future Directions

The authors identify several open challenges for the GNN explanation community. First, there is a need for domain-constrained optimization to ensure that explanations are feasible. Second, the field should move toward ante-hoc explanations, where interpretability is built into the model during training rather than added post-hoc. Finally, improving robustness to stochasticity in the optimization process is essential for consistent and reliable explanations.

The entire GNNX-Bench suite is available as an open-source codebase to support further research in this critical area.

Summary updated

BibTeX
@inproceedings{kosan2024gnnx,
  author = {Mert Kosan and Samidha Verma and Burouj Armgaan and Khushbu Pahwa and Ambuj K. Singh and Sourav Medya and Sayan Ranu},
  title = {{GNNX-BENCH: Unravelling the Utility of Perturbation-based GNN Explainers through In-depth Benchmarking}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=VJvbOSXRUq},
}
Figure