Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Quantifying Explanation Quality in Graph Neural Networks using Out-of-Distribution Generalization

About

Evaluating the quality of post-hoc explanations for Graph Neural Networks (GNNs) remains a significant challenge. While recent years have seen an increasing development of explainability methods, current evaluation metrics (e.g., fidelity, sparsity) often fail to assess whether an explanation identifies the true underlying causal variables. To address this, we propose the Explanation-Generalization Score (EGS), a metric that quantifies the causal relevance of GNN explanations. EGS is founded on the principle of feature invariance and posits that if an explanation captures true causal drivers, it should lead to stable predictions across distribution shifts. To quantify this, we introduce a framework that trains GNNs using explanatory subgraphs and evaluates their performance in Out-of-Distribution (OOD) settings (here, OOD generalization serves as a rigorous proxy for the explanation's causal validity). Through large-scale validation involving 11,200 model combinations across synthetic and real-world datasets, our results demonstrate that EGS provides a principled benchmark for ranking explainers based on their ability to capture causal substructures, offering a robust alternative to traditional fidelity-based metrics.

Ding Zhang, Siddharth Betala, Chirag Agarwal• 2026

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution GeneralizationSynthetic TRIANGLE Property: NumSubgraph (26to50)
EGS3.55
2
Out-of-Distribution GeneralizationReal-world FC Property: MolWt (0to25)
EGS49
2
Out-of-Distribution GeneralizationReal-world FC Property: MolWt (51to75)
EGS3.27
2
Out-of-Distribution GeneralizationSynthetic TRIANGLE Property: NumSubgraph (0to25)
EGS3.59
1
Out-of-Distribution GeneralizationSynthetic TRIANGLE Property: NumSubgraph (51to75)
EGS3.06
1
Out-of-Distribution GeneralizationSynthetic TRIANGLE Property: NumSubgraph (76to100)
EGS10.58
1
Out-of-Distribution GeneralizationSynthetic PENTAGON Property: NumSubgraph (0to25)
EGS1.42
1
Out-of-Distribution GeneralizationSynthetic PENTAGON Property: NumSubgraph (26to50)
EGS3.35
1
Out-of-Distribution GeneralizationSynthetic PENTAGON Property: NumSubgraph (51to75)
EGS4.55
1
Out-of-Distribution GeneralizationSynthetic PENTAGON Property: NumSubgraph (76to100)
EGS7.76
1
Showing 10 of 29 rows

Other info

Follow for update