Beyond Trained Models: Compiling GNNs for a Sound Explainer Benchmark
cs.LG, cs.AI
Submitted: 2026-10-02
Updated: 2026-10-02
Comments: Preprint
Code: https://github.com/tulip-control/dd
License: http://creativecommons.org/licenses/by-nc-sa/4.0/
The gist: 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.
Terminology
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, 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, 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 as a novel, rigorous evaluation setting for graph post-hoc explainability.
Sources
- Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gauges
- Prime Implicant Explanations for Reaction Feasibility Prediction
- Efficient Explanations for Knowledge Compilation Languages
- Striving for Simplicity: The All Convolutional Net
- Explainability Techniques for Graph Convolutional Networks
- Utilizing Description Logics for Global Explanations of Heterogeneous Graph Neural Networks
- How Powerful are Graph Neural Networks?
- Semi-Supervised Classification with Graph Convolutional Networks
- PyG 2.0: Scalable Learning on Real World Graphs
- Captum: A unified and generic model interpretability library for PyTorch
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks