Abstract
GraphAttacker is a novel, GAN-based framework designed for unified adversarial attacks on Graph Neural Networks (GNNs). Unlike traditional task-specific methods, GraphAttacker employs a three-player generative adversarial game to produce diverse and stealthy perturbations across node classification, graph classification, and link prediction tasks. Experimental results on 13 benchmark datasets demonstrate that GraphAttacker consistently outperforms existing state-of-the-art attack methods and effectively bypasses robust defense mechanisms, even those specifically designed to detect structural anomalies.
Introduction
As Graph Neural Networks (GNNs) become central to critical applications like financial fraud detection and social network analysis, their security vulnerabilities have come under intense scrutiny. While many adversarial attack methods have been developed, they generally suffer from two major limitations: task specificity and a lack of diversity/stealth. Most existing attacks are "one-trick ponies," designed for a single task (e.g., node classification) and cannot be easily adapted to others. Furthermore, they often rely on fixed optimization strategies that produce predictable perturbations, making them vulnerable to adversarial training and modern detection filters.
The GraphAttacker Framework
To address these challenges, the authors propose GraphAttacker, a framework built on the principles of Generative Adversarial Networks (GANs). It conceptualizes the attack process as a "three-player non-cooperative game" consisting of three primary modules:
- Multi-strategy Attack Generator (MAG): The core engine that learns to generate perturbations (adding/deleting edges or modifying node attributes). It utilizes a GCN-based feature extractor and a graph reconstructor. To maintain computational efficiency on large-scale graphs, it operates on local K-hop subgraphs.
- Similarity Discriminator (SD): A critic that ensures the generated adversarial graph remains structurally and semantically similar to the original, maintaining the "naturalness" of the data.
- Attack Discriminator (AD): Representing the target GNN model, this module provides feedback to the MAG on whether the generated attack successfully misled the model's predictions.
A key innovation within this framework is the Similarity Modification Rate (SMR). Unlike traditional constraints that focus solely on node degrees, SMR ensures that the cosine similarity distribution between nodes remains stable. This makes the attack significantly harder to detect via neighbor-importance filters like GNNGuard.
Comparative Analysis and Generality
GraphAttacker's primary strength lies in its generality. By modularizing the Attack Discriminator (AD), the same architecture can be deployed against diverse GNN applications. As shown in the comparison below, GraphAttacker is the only framework that provides a unified solution for structure, attribute, and hybrid attacks across node classification, graph classification, and link prediction.
Experimental Results
The framework was evaluated on 13 real-world benchmark datasets (including Cora, PROTEINS, and Facebook). Key findings include:
- State-of-the-Art Performance: GraphAttacker achieved higher Attack Success Rates (ASR) than established baselines like NETTACK and IG-JSMA across nearly all scenarios.
- Resilience to Defenses: In tests against adversarial training and robust models, GraphAttacker maintained high effectiveness while baseline attacks saw success rates drop by over 50%.
- Efficiency and Stealth: The use of K-hop subgraphs allowed for rapid generation (under 100 seconds per iteration on large datasets like Pubmed), while the SMR constraint achieved successful attacks with fewer, more surgical modifications (lower Average Modified Links).
Conclusion
GraphAttacker represents a significant step toward a "Swiss Army Knife" for GNN security analysis. By leveraging the generative power of GANs, it produces diverse attacks that are difficult for current defenses to anticipate. Future work will explore using this framework to generate adversarial examples for "hardening" GNNs, turning a powerful attack tool into a robust defense mechanism.
Summary updated