Beyond Trained Models: Compiling GNNs for a Sound Explainer Benchmark
Steve Azzolin, Francesco Paolo Nerini, Stefano Teso, Francesco Bonchi, Bruno Lepri, André Panisson, Andrea Passerini
Key points
From the paper's conclusion- These results position $\mathsf{Gracr}\mathsf{Bench}$ as a novel, rigorous evaluation setting for graph post-hoc explainability.
Abstract
Explainers for Graph Neural Networks (GNNs) are commonly evaluated by their plausibility, i.e., how well their explanations recover a predefined ground truth, such as a motif planted in the data. This protocol implicitly assumes that a GNN trained on such data relies on the intended motif. Although prior work has questioned this assumption, plausibility remains widespread. First, we show that the assumption is violated on several widely used benchmarks, where, e.g., degree statistics alone suffice to solve the task. Then, we remove this confounder by replacing training with compilation. We achieve this by introducing $\mathsf{Gracr}$, the first compiler translating graded modal logic formulas into GNN weights, yielding models that replicate the behaviour of the corresponding formulas. Since the behaviour of the model is now known by construction, we can define its ground truth explanation formally and compute it exactly. Building on this, we introduce $\mathsf{Gracr}\mathsf{Bench}$, a benchmark of compiled GNNs for the evaluation of explainers against this exact ground truth. Experiments on eleven explainers across six tasks show its effectiveness for fine-grained diagnostic evaluation: notably, we discover that most explainers are not robust to indirect influences or alternative implementations of the same formula. These results position $\mathsf{Gracr}\mathsf{Bench}$ as a novel, rigorous evaluation setting for graph post-hoc explainability.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Declarative Explanations for Graph Neural Networks: A DemonstrationarXiv · 2026
- GNN-EGG: Graph neural network explanations via graph generation.Neurocomputing · 2026
- S-GAP: Stealthy Graph Attack Primitives for Graph Large Language ModelsarXiv · 2026
- Enforcing Graph‐Relative Structural Compliance in LLM ‐Based Industrial Anomaly Explanation via Causal Graph GroundingExpert Systems · 2026
- Benchmarks' Last ExamarXiv · 2026
- Controllable GNN Explanations via Multi-Metric Preference SelectionarXiv · 2026