TL;DR
This paper introduces GraphAttacker, a novel, general framework for generating adversarial attacks on graph neural networks (GNNs) across multiple tasks like node classification, graph classification, and link prediction. By employing a multi-component generative adversarial network (GAN) approach and a new stealthiness metric, GraphAttacker achieves state-of-the-art attack performance while maintaining imperceptible perturbations.
What Problem Does This Paper Address?
Graph neural networks (GNNs) have become powerful tools for analyzing complex graph-structured data in various applications. As GNNs become more prevalent, understanding their vulnerabilities to adversarial attacks is crucial for developing robust defenses. While many attack methods exist, they are often specialized for a single task (e.g., node classification) and struggle to generate diverse adversarial examples needed for effective adversarial training. This limits the ability to thoroughly test and improve GNN robustness across different applications. The paper addresses this by proposing a unified, flexible framework that can generate diverse adversarial attacks for multiple GNN tasks, thereby pushing the boundaries of GNN security research.
Methods
GraphAttacker is built upon a Generative Adversarial Network (GAN) framework, featuring three key components trained in an alternating, non-cooperative game:
- Multi-Strategy Attack Generator (MAG): This component is responsible for generating adversarial examples. It incorporates multiple modification strategies (structure attack, attribute attack, hybrid attack) and attack scales (direct, indirect, unlimited) to create diverse perturbations. To improve efficiency, it operates on K-hop subgraphs rather than the entire graph.
- Similarity Discriminator (SD): The SD aims to ensure that the generated adversarial examples are similar to the original graph, thus maintaining stealthiness. It learns to distinguish between original and perturbed subgraphs.
- Attack Discriminator (AD): The AD is designed to guide the MAG towards generating examples that effectively mislead the target GNN model. It is tailored to the specific graph analysis task (node classification, graph classification, or link prediction).
A novel contribution is the Similarity Modification Rate (SMR), which measures changes in node similarity distribution. This metric is used to ensure stealthier attacks by limiting perturbations that significantly alter the similarity between node pairs, especially those that are likely to be linked.
Datasets
The paper evaluates GraphAttacker on a wide range of real-world datasets across different graph analysis tasks:
- Node Classification: Cora, Citeseer, Pubmed, Pol.Blogs
- Graph Classification: PROTEINS-full, PROTEINS, D&D, ENZYMES, IMDB-BINARY, NCI1
- Link Prediction: NS, Yeast, Facebook
The datasets vary in size and attribute richness, allowing for a comprehensive evaluation of the framework's generality.
Key Insights and Ideas
- Generality is Key: Most existing attack methods are task-specific. GraphAttacker's strength lies in its ability to generalize across node classification, graph classification, and link prediction tasks with a single framework.
- Diversity Drives Robustness: The need for diverse adversarial examples is highlighted, particularly for effective adversarial training. GraphAttacker's multi-strategy generator addresses this by offering various attack types and scales.
- Stealthiness Matters: Beyond just causing misclassification, attacks need to be imperceptible. The introduction of SMR and its integration into the attack process significantly enhances stealthiness by preserving node similarity distributions.
- Task-Specific Vulnerabilities: The paper provides insights into how different graph analysis tasks respond to attacks, suggesting that models might be more sensitive to certain types of perturbations or data characteristics (e.g., dense graph structures vs. sparse node attributes).
Key Results
- State-of-the-Art Performance: GraphAttacker consistently achieves state-of-the-art attack performance (measured by Attack Success Rate - ASR) across node classification, graph classification, and link prediction tasks on various benchmark datasets.
- Effective Stealthiness: The SMR metric and the SD component contribute to generating stealthier attacks, often with lower Average Modified Links (AML) and Average Modified Attributes (AMA) compared to baselines, especially under stricter constraints.
- Robustness Against Defenses: GraphAttacker demonstrates strong performance even when faced with adversarial training, GNNGuard, and robust training defenses, highlighting the effectiveness of its diversified attack strategies and stealthiness mechanisms. For instance, under adversarial training, GraphAttacker's ASR remained significantly higher than many baselines.
- Efficiency: By using K-hop subgraphs, GraphAttacker reduces computational costs, making it efficient even for large-scale datasets.
Limitations and Future Work
- Computational Cost: While more efficient than some GAN-based methods, generating adversarial examples still requires significant computational resources, especially for large graphs.
- Target Model Knowledge: While the framework can operate in a black-box setting, its AD component is designed based on the target model's structure for node classification. For unknown target models, it relies on the trained target model itself.
- Future Work: The authors suggest applying their GAN-based framework to defense mechanisms, aiming for more targeted defenses based on the unique characteristics of different graph analysis tasks. They also aim to develop more sophisticated stealthiness constraints.
Summary updated