TL;DR
Post-hoc Graph Neural Network (GNN) explainers often rely on masking graph elements to measure their importance, but this introduces severe distribution shifts due to "Scale Drift"—a systematic shrinking of message scales across layers. This paper introduces Noise Corruption (NC), a scale-stable alternative that perturbs message information without collapsing its magnitude, and wraps it into a novel explanation framework called NICE. NICE significantly improves explanation accuracy and model faithfulness across multiple benchmarks by keeping the perturbed graphs within the GNN's normal operating regime.
What Problem Does This Paper Address?
To understand why a GNN made a specific prediction, popular post-hoc explainers use a Perturb-Query paradigm: they mask out certain edges or nodes, query the GNN with this modified graph, and see how much the prediction changes. If the prediction drops significantly, those masked elements are deemed important.
The core issue tackled here is that standard Element-wise Masking (EM) inherently pushes message vectors toward zero. In a deep GNN, this local reduction in scale compounds across successive message-passing layers. The authors term this cumulative scale collapse Scale Drift.
Because of Scale Drift, the GNN is forced to evaluate inputs that are completely outside its normal training distribution. Consequently, a drop in prediction confidence might not mean the explainer found a crucial feature; it might simply mean the GNN is confused by an unnaturally "quiet" input signal. Strikingly, the authors show that this distribution shift persists even when using ground-truth ("oracle") explanations to mask the graph, proving the flaw lies in the perturbation mechanism itself rather than the quality of the explanation scores.
Methods
To decouple information removal from scale collapse, the authors propose NICE (Noise Corruption-based Explanation), which introduces two key components:
- Noise Corruption (NC): Instead of multiplying a message vector by a fractional mask (which shrinks it), NC perturbs the message by blending it with a randomly sampled vector from a sphere of the exact same norm. This scrambles the directional information of the message while preserving its expected squared norm, keeping the GNN within its expected scale regime.
- Stochastic Restoration Boundary Learning (SRB): Since NC introduces stochasticity, NICE frames explanation generation as a restoration process. It starts from a completely corrupted graph and learns a compact set of "restoration gates" ($\rho$). These gates determine how much of the original, clean message direction needs to be restored to recover the GNN's target prediction while keeping the explanation subgraph as small (compact) as possible.
- Boundary-Integrated Gradient (BIG): To turn these learned restoration gates into final edge importance scores, BIG integrates the gradients of the restoration risk along a continuous path from full corruption to the learned boundary. This cleanly attributes importance based on how much an edge helps reduce prediction risk.
Datasets
The authors evaluated NICE across eight graph-classification benchmarks containing ground-truth explanatory substructures:
- Molecular Benchmarks: Mutagenicity (Mg), Benzene (Bz), Alkane-Carbonyl (AC), and Fluoride-Carbonyl (FC).
- B-XAIC Tasks: Indole, PAINS, Rings-Count, and Rings-Max (more challenging, drug-like molecule datasets derived from ChEMBL 35).
Key Insights and Ideas
- The Masking Flaw is Fundamental: The "aha moment" of the paper is the oracle experiment. Visualized via t-SNE, graphs perturbed using perfect ground-truth masks still exhibit a massive representation shift. This confirms that traditional masking is fundamentally mathematically flawed for GNN explanation.
- Decoupling Scale and Information: NC proves that you can remove semantic information from a graph neural network without changing the numerical magnitude of the activations.
- Depth-Amplified Drift: The authors mathematically formalize that Scale Drift compounds at least linearly with the number of GNN layers, meaning that as GNN architectures become deeper, traditional explainers become progressively less reliable.
Key Results
NICE consistently outperformed state-of-the-art explainers (such as PGExplainer, GNNExplainer, and ConfExplainer) across all evaluated metrics:
- Accuracy Metrics: NICE ranked first in F1, Recall, and AUC-ROC across the benchmarks, outperforming the strongest baselines by an average of 8.67% in Recall and 7.57% in AUC-ROC.
- Model Faithfulness (Fidelity): NICE achieved significantly higher fidelity, particularly under strict sparsity constraints (e.g., evaluating only the top 10% or 30% most important edges), proving that its highest-ranked edges are genuinely the most critical for the GNN's decisions.
Limitations and Future Work
- Computational Overhead: Because Noise Corruption is stochastic, evaluating the restoration risk requires sampling multiple noise realizations (16 samples by default) per optimization step. This makes NICE computationally heavier than simple deterministic masking methods.
- Local Decision Boundary Sensitivity: While NC successfully stabilizes the scale of internal representations, the final prediction change is still subject to the local geometry of the GNN's decision boundary and how sensitive it is to directional noise.
- Future Directions: The authors suggest that exploring more efficient sampling strategies or extending scale-stable perturbations to node features or heterogeneous graphs would be valuable next steps.
Summary updated