Abstract
Graph Neural Networks (GNNs) have become integral to high-stakes applications like fraud detection and recommendation systems, making them prime targets for adversarial attacks. While most research focuses on white-box structural perturbations, real-world attackers often lack the authority to modify existing graph structures. This paper presents GA2C (Graph Advantage Actor-Critic), a reinforcement learning framework designed for black-box node injection attacks. By injecting a small number of synthetic nodes with optimized features and connections, GA2C significantly degrades GNN performance without requiring access to model parameters or gradients. Experimental results on benchmark datasets demonstrate that GA2C consistently outperforms state-of-the-art white-box and black-box attack methods.
Introduction
Adversarial attacks on GNNs typically involve modifying existing edges (structural perturbations). However, in practical scenarios—such as social networks or financial systems—an attacker is more likely to create new, fake accounts (node injection) rather than delete existing relationships. Node injection is computationally challenging due to the massive search space for optimal features and connections. Furthermore, most existing methods operate in a "white-box" setting, assuming access to the victim model's internal gradients.
GA2C addresses these challenges by modeling the attack as a Markov Decision Process (MDP) within a black-box environment. The attacker only interacts with the victim model through queries, making it a more realistic threat model for real-world systems.
The GA2C Framework
The GA2C framework decouples the attack into two primary components: node generation and edge wiring. This separation makes the vast search space manageable for a reinforcement learning agent.
1. Node Generation ($g_n$)
To ensure injected nodes are stealthy and realistic, the framework must generate discrete features (e.g., binary profiles). GA2C utilizes a Gumbel-Softmax estimator, which allows for the generation of discrete features while maintaining differentiability for gradient-based updates within the reinforcement learning loop.
2. Edge Wiring ($g_e$)
Once a node is generated, the Edge Sampler determines its connections to existing nodes. It employs a GNN-based policy to select edges that maximize the classification loss of the victim model.
The entire system is trained using the Advantage Actor-Critic (A2C) algorithm. An "Actor" network proposes attack actions, while a "Critic" (Value Predictor) estimates the expected increase in the victim model's loss, guiding the Actor toward more effective strategies.
Experimental Evaluation
The authors evaluated GA2C on three standard citation network benchmarks: Cora, Citeseer, and Pubmed. These datasets are widely used to assess node classification performance in GNN research.
Key Results
GA2C consistently outperformed state-of-the-art (SOTA) methods, including white-box attacks like AFGSM and G-NIA.
- Performance Degradation: On the Pubmed dataset, injecting just three adversarial nodes per target caused the GCN's accuracy to plummet from 79.0% to 52.8%.
- Budget Sensitivity: The attack effectiveness increases with the number of injected nodes and edges. As shown in the budget analysis, edge wiring often has a more significant impact on accuracy than feature modification alone.
Discussion and Insights
A key finding of this work is that reinforcement learning-based search can be more robust than gradient-based optimization in complex graph spaces. Despite having no access to the victim model's internals, GA2C's RL agent successfully identified "weak points" in the graph structure that white-box methods missed. Additionally, the inclusion of a feature loss function ensures that injected nodes remain statistically similar to original nodes, enhancing the attack's stealth.
Limitations and Future Work
The sequential nature of the MDP makes GA2C computationally intensive and difficult to parallelize. Future research should focus on improving the efficiency of these models and developing "universal" node injectors capable of generalizing across different graph domains without extensive retraining.
Conclusion
GA2C demonstrates the significant threat posed by black-box node injection attacks. By leveraging reinforcement learning and the Gumbel-Softmax trick, attackers can effectively compromise GNNs with minimal knowledge and high stealth, highlighting the need for more robust defense mechanisms in graph-based machine learning.
Summary updated