TL;DR
This paper introduces G$^2$-SNIA, a novel reinforcement learning-based attack that injects a single malicious node into a graph to manipulate the classification of a specific target node. Unlike previous methods, G$^2$-SNIA operates in a black-box setting without needing to know the victim GNN's architecture and can achieve diverse attack goals with minimal perturbations and attack budgets.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) are powerful tools for analyzing graph-structured data, but they are vulnerable to adversarial attacks. Existing attacks often fall into two categories: Graph Modification Attacks (GMA), which require impractical access to alter the original graph, and Graph Injection Attacks (GIA). GIA is more realistic, but many GIA methods struggle in black-box settings (where the attacker doesn't know the victim model's architecture) because they rely on surrogate models that diverge from the true victim. This leads to performance degradation. Furthermore, many attacks focus on a single goal and lack generalizability. This paper addresses the challenge of performing effective, generalizable GIA in a black-box setting with minimal perturbations, specifically focusing on manipulating the predicted label of a single target node.
Methods
The core of G$^2$-SNIA is a reinforcement learning (RL) framework that models the single node injection label specificity attack as a Markov Decision Process (MDP). The attacker (an RL agent) iteratively adds features to a newly injected node.
- State Representation: The state includes the current adversarial graph, the target node, and the desired target label. To capture relevant information about the target node, the method uses a 2-hop subgraph and its associated features, along with a representation of the targeted label derived from the aggregated features of nodes predicted to have that label.
- Action Space: The agent's actions involve adding specific features to the injected node. To manage the complexity of this discrete action space, an invalid action masking technique is employed to prevent redundant actions within an attack episode.
- Policy Optimization: The paper utilizes Proximal Policy Optimization (PPO), an on-policy RL algorithm, to train the agent. PPO is chosen for its efficiency and ability to learn optimal policies without needing to explicitly model the environment's transition dynamics.
- Reward Function: A carefully designed reward function is crucial. G$^2$-SNIA uses a reward that encourages the agent to maximize the discrepancy in the predicted probability of the target label between consecutive time steps, effectively guiding the agent to increase the confidence of the desired label.
- Gradient-Free Approach: A key innovation is that G$^2$-SNIA is gradient-free. This means it doesn't require access to the victim model's gradients, making it robust in black-box scenarios and avoiding the error propagation issues common in methods that approximate gradients.
Datasets
The paper evaluates G$^2$-SNIA on three widely used citation network datasets:
- Cora
- Citeseer
- DBLP
These datasets are standard benchmarks for graph-based machine learning tasks. The authors use the largest connected component of each dataset and randomly partition them into training, validation, and testing sets. A subset of testing nodes is selected as the target node set for attack evaluation.
Key Insights and Ideas
- Black-Box Attack Effectiveness: The most significant insight is that a gradient-free RL approach can achieve highly effective label specificity attacks in a black-box setting, rivaling or even surpassing some white-box methods. This challenges the notion that gradient information is essential for potent GNN attacks.
- Single Node Power: The paper demonstrates that injecting just one carefully crafted malicious node can significantly alter the predictions of sophisticated GNNs, highlighting a critical vulnerability.
- Generalizability: G$^2$-SNIA's ability to adapt to different target nodes and labels without retraining is a major step towards creating more versatile adversarial agents.
- Efficiency with Limited Budget: The method achieves strong results with extremely limited attack budgets, meaning it can manipulate GNNs with minimal changes to the graph structure and node features, making attacks harder to detect.
- RL for Adversarial Graph Generation: Framing adversarial attacks as an MDP and solving it with RL is a powerful paradigm that allows for iterative refinement and exploration of attack strategies.
Key Results
- Superior Performance: G$^2$-SNIA consistently outperforms existing state-of-the-art black-box GIA baselines across all tested datasets and victim GNN models, achieving an average improvement of approximately 5% in attack success rate.
- Comparable to White-Box: In black-box settings, G$^2$-SNIA's performance is comparable to that of white-box evasion baselines, demonstrating its robustness and effectiveness even without full knowledge of the victim model.
- Efficient Exploration: The RL agent requires minimal exploration (i.e., few steps to learn effective attack strategies) to surpass the best baselines, indicating efficient learning.
- Budget Sensitivity: The attack success rate generally increases with the attack budget, but the rate of increase slows down, suggesting that the most impactful features are identified early.
Limitations and Future Work
- Single Node Limitation: While powerful, the current G$^2$-SNIA focuses on injecting only one node. The authors suggest exploring multi-agent RL to coordinate multiple injection nodes for more sophisticated attacks on larger scales.
- Robustness of GNNs: The paper acknowledges the need to investigate G$^2$-SNIA's effectiveness against more robust GNN architectures and to identify GNN components that are particularly vulnerable or resilient to such attacks.
- Defensive Strategies: Future work could focus on developing defensive mechanisms against this type of attack, potentially by identifying the architectural features that make GNNs susceptible.
- Understanding Label Sensitivity: The paper notes that different target labels exhibit varying attack success rates, suggesting that label distribution and GNN architecture play a role. Further investigation into these differences is planned.
Summary updated