Cluster Attack: Query-based Adversarial Attacks on Graph with Graph-Dependent Priors

Zhengyi Wang, Zhongkai Hao, Ziqiao Wang, Hang Su, Jun Zhu

Introduction

Deep learning on graphs, particularly through Graph Neural Networks (GNNs), has achieved remarkable success in various domains. However, these models remain susceptible to adversarial perturbations. While most research focuses on Graph Modification Attacks (GMA)—altering existing edges or features—real-world scenarios often favor Graph Injection Attacks (GIA). In a GIA, an attacker introduces new, fraudulent accounts to manipulate the model's output for specific victim nodes, a strategy that is often more practical in social networks or financial systems.

Conceptual overview of a Graph Injection Attack (GIA) where a fake node is registered to misclassify victim nodes.

The Challenge of Graph Injection

GIAs present unique challenges. The graph's adjacency matrix is discrete and non-differentiable, precluding standard gradient-based optimization. Furthermore, in practical black-box settings, attackers lack full knowledge of the graph structure and must rely on limited queries to the target model. Existing methods often require an impractical number of queries or assume white-box access. The authors of "Cluster Attack" aim to bridge this gap by creating a query-efficient, black-box GIA.

The Cluster Attack Framework

The core innovation of this work is reformulating the GIA problem as a graph clustering task. Instead of optimizing a discrete matrix directly, the framework operates in three primary stages:

  1. Adversarial Vulnerability (AV) Estimation: For each victim node, the attacker identifies the "most vulnerable angle"—the specific fake node features likely to cause misclassification. This is achieved via zeroth-order optimization, which requires only the model's output scores rather than internal gradients.
  2. Clustering: Victim nodes with similar AVs are grouped using K-Means. This insight allows a single injected fake node to influence multiple victims simultaneously, significantly improving query efficiency.
  3. Injection and Optimization: A fake node is injected for each cluster. Its features are then fine-tuned using techniques like Projected Gradient Descent (PGD) or Natural Evolutionary Strategies (NES) based on limited query feedback.
The Cluster Attack pipeline: estimating Adversarial Vulnerability, clustering victim nodes, and optimizing injected fake nodes.

Additionally, the authors incorporate a specialized loss function to target specific nodes while minimizing "collateral damage" to neighboring nodes that should remain correctly classified.

Key Insights

  • Clustering Equivalence: The authors mathematically demonstrate that the discrete problem of connecting victim nodes to fake nodes can be solved efficiently using well-understood clustering algorithms.
  • Graph-Dependent Priors: Utilizing the graph's structure to calculate AV provides a "prior" that guides the search for adversarial features, preventing wasted queries in ineffective areas of the feature space.
  • Locality: Since Adversarial Vulnerability is largely determined by a node's local neighborhood, the attack remains effective even when the attacker has only partial information about the overall graph.

Experimental Results

Evaluated on benchmarks like Cora, Citeseer, Reddit, and ogbn-arxiv, Cluster Attack consistently outperforms baselines, including white-box attacks and state-of-the-art black-box methods. On the Cora dataset, it achieved a 99% success rate with only 3 victim nodes, far exceeding the 68% reached by the next best method. Furthermore, the method allows for targeted protection of non-victim nodes; by adjusting the trade-off parameter $\lambda$, the percentage of protected nodes remaining unchanged can be increased toward 100% while maintaining high attack efficacy on targets.

Conclusion

Cluster Attack represents a significant advancement in query-based GIAs. By leveraging clustering and graph-dependent priors, it achieves high success rates in restrictive black-box settings with minimal queries. This work underscores the need for more robust GNN architectures capable of detecting and resisting such structured injection patterns.

Summary updated

BibTeX
@inproceedings{wang2022cluster,
  author = {Zhengyi Wang and Zhongkai Hao and Ziqiao Wang and Hang Su and Jun Zhu},
  title = {{Cluster Attack: Query-based Adversarial Attacks on Graph with Graph-Dependent Priors}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/108},
}
Figure