TL;DR
This paper introduces a unified, ground-truth-free evaluation framework for Graph Neural Network (GNN) explainability that independently assesses node features and topological structure. By benchmarking eight popular explainers across ten diverse tasks, the authors reveal that simple gradient-based methods consistently outperform complex graph-specific explainers in both faithfulness and efficiency. The findings are distilled into actionable, production-ready deployment guidelines and a framework for translating technical attributions into regulatory-compliant natural language.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) are incredibly powerful for modeling relational data, but their recursive message-passing mechanisms make them notorious "black boxes." As regulations like the EU AI Act begin to mandate transparency for high-risk AI systems, the field of Graph eXplainable AI (G-XAI) has exploded with post-hoc explainers.
However, practitioners face a major hurdle: there is no consensus on what makes a graph explanation "good." Existing evaluation frameworks heavily rely on synthetic datasets with artificially injected ground-truth motifs. This assumes the model perfectly learns human-defined patterns, which is rarely true in production. Furthermore, most benchmarks focus strictly on node or graph classification, leaving regression and link-level tasks largely unaddressed. This paper bridges the gap by providing a quantitative, ground-truth-free framework tailored for real-world deployment constraints.
Methods
The authors adapt and extend three core metrics from tabular XAI to the dual nature (features and topology) of graph data, ensuring they evaluate model behavior rather than an external oracle:
- Stability: Measures how deterministic an explainer is by evaluating the consistency of explanations generated for the exact same input and model.
- Effective Compactness (EC): A counterfactual metric that counts the minimum number of iterative modifications (edge removals or feature substitutions) required to flip the model's prediction. Lower values mean a more human-comprehensible explanation.
- Pertinence: Measures faithfulness by evaluating whether the explainer's ranked features degrade the model's output strictly faster than a random permutation baseline.
- Time: The wall-clock runtime required to generate an explanation.
To make this computationally feasible at scale (~2 million explanations were generated), the authors implemented a statistical early stopping strategy using a z-test to terminate evaluation once metric estimates stabilize, reducing computation time by 60–80%. They also introduce a Natural Language eXplanation (NLX) module that maps technical importance scores into human-readable text templates for regulatory compliance.
Datasets
The framework was evaluated using five distinct graph datasets across 10 tasks spanning node classification, node regression, link classification, and link regression:
- Cora: A standard citation network dataset used for node classification and link prediction.
- GitHub: A large, dense developer collaboration network.
- BA-Shapes: A synthetic graph featuring distinct "house-shaped" structural motifs.
- MovieLens: A dense movie-genre graph modified specifically to introduce a robust regression benchmark.
- Synthetic: A fully synthetic Erdős-Rényi graph designed with custom regression tasks to evaluate complex feature aggregations.
Key Insights and Ideas
- The Power of Simplicity: Simple gradient-based methods (like
Input×Gradient) consistently match or outperform complex, graph-native perturbation explainers (likeGNNExplainerorGraphMask). - The Perturbation Problem: Graph-specific explainers often rely on random perturbations because they lack direct access to internal weights. This introduces noise, leading to severely lacking pertinence (faithfulness) scores—sometimes even performing worse than a random baseline.
- No Universal Superiority: While certain explainers dominate the Pareto front, no single method wins across every single metric and task, reinforcing the need for task-specific validation.
- Stochasticity is a Liability: Explainers like
GNNExplainerandGraphMaskare non-deterministic. A stability score below 1.0 means practitioners must run them multiple times to get a reliable explanation, which is highly problematic for strict regulatory audits.
Key Results
- Top Performer:
Input×Gradientemerged as the recommended default choice. It consistently achieved high pertinence (>0.78), excellent compactness, perfect stability (1.0), and an execution time under 0.03 seconds. - The Latency Trade-off:
Integrated Gradientsoccasionally offered marginally higher pertinence but took 0.3 to 1.3 seconds to run—two orders of magnitude slower thanInput×Gradient. - Method to Avoid:
GraphMaskconsistently underperformed, frequently yielding pertinence scores below the 0.5 random baseline, high effective compactness (low human comprehensibility), and poor stability. - Optimization Efficiency: The proposed early stopping scheme successfully reduced the required evaluation iterations from a fixed $N=100$ down to an average of 35–40 trials without sacrificing estimation accuracy.
Limitations and Future Work
The primary limitation acknowledged by the authors is selection bias. To ensure a uniform comparison across all 10 tasks, they strictly filtered for explainers capable of handling both node and edge tasks under both classification and regression settings simultaneously (dual-attribution). This forced the exclusion of several prominent graph-native explainers (e.g., SubgraphX, GNN-LRP) that do not support this full spectrum.
Additionally, the metrics measure consistency with the model's internal logic (faithfulness) rather than alignment with human domain knowledge (plausibility). The authors plan to expand the framework in future work to include emerging explainability paradigms, such as graph counterfactual explainers.
Summary updated