TL;DR
Releasing feature explanations for Graph Neural Networks (GNNs) to improve model transparency can inadvertently leak the private graph structure used for training. This paper demonstrates that an adversary can reconstruct sensitive connections between nodes with high accuracy using only these explanations, but also proposes a randomized defense mechanism to mitigate this risk.
What Problem Does This Paper Address?
As Graph Neural Networks (GNNs) are increasingly deployed in sensitive areas like healthcare and finance, there is a growing demand for interpretability. Post-hoc explanation methods aim to build trust by identifying which input features were most important for a GNN's prediction.
However, GNNs are unique because they encode both node features and the graph's structural relationships. This paper investigates a critical privacy-interpretability trade-off: Does providing feature-based explanations help an attacker reconstruct the private graph structure? For example, if a company releases a GNN-based recommendation API along with explanations, could a competitor use those explanations to map out the company's private user social network?
Methods
The authors propose two main types of graph reconstruction attacks:
- ExplainSim (Unsupervised): A simple but effective attack based on the intuition that connected nodes likely receive similar explanations. The attacker computes the pairwise cosine similarity between node explanation vectors to infer edges. ExplainSim attack overview
- GSEF (Graph Stealing with Explanations and Features): A more sophisticated framework based on graph structure learning. It uses a generator to learn an adjacency matrix that minimizes a multi-task loss: reconstructing the original features and explanations (via denoising autoencoders) and matching predicted node labels. GSEF framework architecture
The study evaluates these attacks against six different explanation methods, categorized into gradient-based (e.g., Grad), perturbation-based (e.g., Zorro, GNNExp), and surrogate-based (e.g., GLime).
To counter these attacks, the authors introduce a defense based on a randomized response mechanism. By flipping bits in the explanation mask with a certain probability, they achieve $d\epsilon$-local differential privacy, significantly hampering reconstruction efforts.
Datasets
The researchers evaluated their attacks on six datasets with varying properties:
- Main Benchmarks: Cora (citation network, sparse binary features), CoraML (citation network, dense features), and Bitcoin (trust network, very small feature dimension).
- Additional Benchmarks: CiteSeer, PubMed, and Credit (a financial network).
Key Insights and Ideas
- Explanations are Information-Rich: Even without access to the original node features, explanations alone can reveal significant structural information.
- The Gradient-Based Paradox: Gradient-based explanations (like Grad and Grad-I) are the most vulnerable to privacy leakage, yet they often have the lowest "utility" (faithfulness to the model's actual decision process). This is a worst-case scenario: high privacy risk for little interpretability gain.
- Utility-Privacy Trade-off: For perturbation-based methods like Zorro, there is a clear correlation: as the explanation becomes more useful (higher fidelity and sparsity), the privacy leakage increases.
- Feature Dimension Matters: Datasets with very few features (like Bitcoin, with only 8) are significantly harder to attack than those with high-dimensional feature spaces (like CiteSeer).
- Effective Defense: The proposed randomized response defense can reduce attack success to near-random levels (AUC ~0.55) while retaining about 75% of the original explanation's important features.
Key Results
- Attack Success: On the Cora dataset, the
ExplainSimattack achieved an AUC of over 0.98 for gradient-based explanations, vastly outperforming baseline attacks that didn't use explanations. - GSEF Dominance: The
GSEFattack proved robust across different settings, often outperforming vanilla graph structure learning (SLAPS) by leveraging the extra information in explanations. - Baseline Comparison: In many cases, similarity-based attacks using explanations (
ExplainSim) outperformed similarity-based attacks using the actual raw features (FeatureSim), proving that explanations distill structural dependencies. Performance comparison of ExplainSim across datasets
Limitations and Future Work
- Partial Knowledge: While the paper explores attacks with explanations for only 30% of nodes, real-world scenarios might involve even sparser availability.
- Explanation Types: The focus was strictly on feature-based explanations. The authors note that node or edge-level explanations would likely make reconstruction even more trivial, but these were not explicitly modeled in the GSEF framework.
- Defense Refinement: While the randomized response defense is effective, it does reduce explanation utility. Future work could explore more sophisticated privacy-preserving explanation methods that optimize the utility-privacy frontier.
- Sampling Bias: The authors acknowledge that their partial-node experiments used a single random sample, which might introduce sampling bias. Multi-sample evaluations would strengthen these specific findings.
Summary updated