TL;DR
This paper introduces a novel "rewiring" attack method for Graph Neural Networks (GNNs) that subtly modifies graph structures by rerouting edges, making it less noticeable than traditional edge addition/deletion. They employ reinforcement learning to train an attacker, ReWatt, which effectively fools GCN classifiers on real-world graph datasets.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) have become powerful tools for analyzing graph-structured data, excelling in tasks like node and graph classification. However, like many deep learning models, GNNs are susceptible to adversarial attacks. Existing attacks often involve adding or deleting edges, which, even in small numbers, can lead to noticeable changes in graph properties and potentially be detected. This paper addresses the challenge of creating unnoticeable adversarial perturbations to graph structures that can effectively fool GNNs.
Methods
The core contribution is a new graph manipulation technique called rewiring. Unlike simply adding or deleting edges, a rewiring operation involves three nodes: an existing edge between two nodes is removed, and a new edge is added between one of the original nodes and a 2-hop neighbor. This operation preserves fundamental graph properties like the number of nodes, edges, and total degree, making it inherently less disruptive than edge modifications.
To learn how to best apply these rewiring operations, the authors frame the attack as a Markov Decision Process (MDP) and utilize reinforcement learning (RL). The RL agent, named ReWatt, learns a policy to select rewiring actions. The state in this MDP is the current graph structure, and the actions are valid rewiring operations. The reward function is designed to incentivize successful attacks (misclassification by the target GCN) while penalizing each action taken, encouraging efficiency. The attacker uses a GCN to learn node and edge embeddings, which then inform the policy network's decisions.
Datasets
The paper evaluates ReWatt on three widely used social network datasets for graph classification:
- REDDIT-MULTI-12K
- REDDIT-MULTI-5K
- IMDB-MULTI
These datasets were chosen to avoid issues with chemical molecule graphs where rewiring might create invalid structures.
Key Insights and Ideas
- Rewiring is Stealthier: The rewiring operation is shown to preserve more graph properties (node count, edge count, degree) and cause smaller changes to graph Laplacian eigenvalues compared to adding/deleting edges. This makes it a more subtle and potentially harder-to-detect attack.
- RL for Strategic Attacks: Using reinforcement learning allows the attacker to learn a sophisticated strategy for applying rewiring operations, rather than relying on simple greedy or random approaches. This learned policy can adapt to the graph structure and the target model's vulnerabilities.
- Impact on Embeddings: The analysis reveals that even when an attack fails (due to budget constraints), ReWatt's perturbations significantly alter the graph representations (embeddings) and logits produced by the GCN classifier, indicating that the attack is indeed perturbing the model in a meaningful way.
Key Results
- Superior Attack Performance: ReWatt consistently outperforms existing methods like RL-S2V (which uses edge addition/deletion) and random rewiring in terms of success rate across all tested datasets. For instance, on the IMDB-MULTI dataset, ReWatt shows a significant margin of improvement over RL-S2V.
- Efficiency: ReWatt often achieves successful attacks with fewer rewiring operations compared to random methods, suggesting its learned policy is more efficient.
- Flexibility: The proposed rewiring operation is more robust to graph size variations than fixed-budget attacks.
- Empirical Evidence for Subtlety: Experiments in Appendix C show that rewiring disconnects graphs less frequently and causes smaller changes to eigenvalues compared to edge addition/deletion, supporting the claim of "unnoticeable" perturbations.
Limitations and Future Work
- "Noticeable" Changes: While rewiring is presented as less noticeable, the paper acknowledges that the variant "ReWatt-a" (which allows rewiring to any node, not just 2-hop neighbors) performs better but might lead to more "noticeable" changes. The definition of "noticeable" is subjective and could be further explored.
- Domain Expertise: The authors suggest that for specific domains (e.g., chemical molecules), incorporating domain knowledge into the RL framework could further constrain the attack and improve its applicability.
- Black-Box Nature: The attacker is treated as a black-box, meaning it only has access to the classifier's output. Future work could explore white-box attacks with rewiring.
- Generalizability: While tested on social networks, extending the framework to other graph types and exploring its effectiveness against different GNN architectures remains an avenue for future research.
Summary updated