[Paper Review] Robust Counterfactual Explanations on Graph Neural Networks
Introduces RCExplainer to generate robust counterfactual explanations for GNNs by modeling common decision regions via linear decision boundaries and training an edge-based explainer network for robust, concise edge subsets.
Massive deployment of Graph Neural Networks (GNNs) in high-stake applications generates a strong demand for explanations that are robust to noise and align well with human intuition. Most existing methods generate explanations by identifying a subgraph of an input graph that has a strong correlation with the prediction. These explanations are not robust to noise because independently optimizing the correlation for a single input can easily overfit noise. Moreover, they do not align well with human intuition because removing an identified subgraph from an input graph does not necessarily change the prediction result. In this paper, we propose a novel method to generate robust counterfactual explanations on GNNs by explicitly modelling the common decision logic of GNNs on similar input graphs. Our explanations are naturally robust to noise because they are produced from the common decision boundaries of a GNN that govern the predictions of many similar input graphs. The explanations also align well with human intuition because removing the set of edges identified by an explanation from the input graph changes the prediction significantly. Exhaustive experiments on many public datasets demonstrate the superior performance of our method.
Motivation & Objective
- Motivate the need for explanations that are both counterfactual and robust in high-stakes GNN applications.
- Model the GNN's common decision logic across many similar graphs using linear decision boundaries (LDBs) to form decision regions.
- Develop a training objective that yields robust, minimal edge subsets whose removal changes predictions while remaining stable to noise.
- Enable fast, end-to-end generation of explanations that do not require retraining for new graphs.
- Provide comprehensive empirical evidence comparing fidelity, robustness, accuracy, and efficiency against state-of-the-art baselines.
Proposed method
- Model the GNN decision logic as convex polytopes (decision regions) induced by a subset of linear decision boundaries from the last-layer nonlinearity.
- Extract decision regions by sampling LDBs and solving a Submodular Cost Submodular Cover problem to maximize covered graphs with zero misclassification outside the region.
- Use a greedy boundary selection to construct decision regions and peel off regions to cover multiple classes.
- Train an edge-explanation network f_theta that outputs edge-priorities M_ij based on node embeddings from the GNN’s last convolution layer, producing S as edges with M_ij > 0.5.
- Define a end-to-end loss with terms L_same (consistency of G_theta with the same decision region as G), L_opp (counterfactual contrast with G_prime_theta), plus sparsity and discreteness regularizers to obtain a sparse, near-binary explanation matrix.
- Discuss time complexity O(|E|) for explanations and note inference efficiency since the explainer network can be reused without retraining.
Experimental results
Research questions
- RQ1Can robust counterfactual explanations be derived for GNNs by exploiting common decision regions across similar graphs?
- RQ2Do linear decision boundaries sampled from GNNs yield stable, transferable explanations that are resistant to input noise?
- RQ3How does an edge-based explanation framework perform in fidelity, robustness, and efficiency compared to existing GNN explanation methods?
- RQ4Can an end-to-end trained explainer produce sparse, reliably counterfactual edge sets that generalize to unseen graphs?
Key findings
- RCExplainer achieves superior fidelity (counterfactual strength) across datasets at varying sparsity levels.
- Explanations produced by RCExplainer are more robust to input noise than several baselines, as shown by higher AUC in robustness evaluations.
- Using decision-region based explanations (LDBs) improves faithfulness over methods that do not rely on common decision logic.
- The edge-based explanations allow efficient, end-to-end training and fast inference with time complexity O(|E|) per graph.
- Compared to baselines, RCExplainer and RCExp-NoLDB demonstrate the benefit of incorporating linear decision boundaries into explanation generation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.