Skip to main content
QUICK REVIEW

[Paper Review] Black-box Node Injection Attack for Graph Neural Networks

Mingxuan Ju, Yujie Fan|arXiv (Cornell University)|Feb 18, 2022
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper proposes GA2C, a black-box node injection attack framework for Graph Neural Networks that formulates the attack as a Markov Decision Process and uses graph reinforcement learning with an advantage actor-critic approach to generate realistic adversarial nodes and optimal edges. It achieves state-of-the-art attack success rates on benchmark datasets with minimal model access, outperforming prior white-box and grey-box methods under strict black-box constraints.

ABSTRACT

Graph Neural Networks (GNNs) have drawn significant attentions over the years and been broadly applied to vital fields that require high security standard such as product recommendation and traffic forecasting. Under such scenarios, exploiting GNN's vulnerabilities and further downgrade its classification performance become highly incentive for adversaries. Previous attackers mainly focus on structural perturbations of existing graphs. Although they deliver promising results, the actual implementation needs capability of manipulating the graph connectivity, which is impractical in some circumstances. In this work, we study the possibility of injecting nodes to evade the victim GNN model, and unlike previous related works with white-box setting, we significantly restrict the amount of accessible knowledge and explore the black-box setting. Specifically, we model the node injection attack as a Markov decision process and propose GA2C, a graph reinforcement learning framework in the fashion of advantage actor critic, to generate realistic features for injected nodes and seamlessly merge them into the original graph following the same topology characteristics. Through our extensive experiments on multiple acknowledged benchmark datasets, we demonstrate the superior performance of our proposed GA2C over existing state-of-the-art methods. The data and source code are publicly accessible at: https://github.com/jumxglhf/GA2C.

Motivation & Objective

  • To address the practical limitation of existing graph adversarial attacks that require manipulation of existing graph structures, which is often infeasible in real-world scenarios.
  • To investigate node injection attacks under a more realistic black-box setting, where only adjacency and feature matrices are accessible, not model gradients or labels.
  • To develop a reinforcement learning-based framework that can generate imperceptible, realistic node features and optimal edge connections to evade GNNs effectively.
  • To evaluate the attack efficiency and robustness under varying attack budgets, including number of injected nodes, edges per node, and features per node.

Proposed method

  • Formulate the node injection attack as a Markov Decision Process (MDP), decoupling it into node generation and edge wiring phases.
  • Use a Gumbel-Softmax-based node generator to produce discrete, realistic features for injected adversarial nodes in a differentiable manner.
  • Employ a learnable conditional probability distribution to sample edges between the injected node and existing nodes in the graph.
  • Design a custom reward function that guides the reinforcement learning agent toward maximizing attack success, such as flipping the target node’s prediction.
  • Train the GA2C framework using an advantage actor-critic (A2C) reinforcement learning algorithm with only query access to the victim GNN model.
  • Integrate the generated adversarial node seamlessly into the original graph while preserving its topological characteristics.

Experimental results

Research questions

  • RQ1Can a black-box node injection attack be effective when only adjacency and feature matrices are accessible, without model gradients or labels?
  • RQ2How does the proposed GA2C framework compare to existing white-box and grey-box node injection attacks in terms of attack success rate and practicality?
  • RQ3What is the impact of different attack budgets—number of injected nodes, edges per node, and features per node—on the attack performance?
  • RQ4How does the reinforcement learning-based approach in GA2C generate realistic adversarial nodes and optimal edge connections under limited knowledge?

Key findings

  • GA2C achieves a 51.8% attack success rate on Citeseer, 57.1% on Cora, and 52.8% on PubMed under a budget of 3 injected nodes, outperforming state-of-the-art baselines.
  • The ablation study shows that removing the Gumbel-Softmax component reduces attack performance to 55.1%, 69.5%, and 58.3% on the three datasets, indicating its critical role in feature generation.
  • The variant without immediate reward shaping (GA2C_acc) achieves 56.4%, 71.3%, and 59.8% success rates, confirming the importance of reward design in guiding the attack.
  • The budget analysis reveals that the number of injected nodes (βₙ) has the strongest impact, with 3 nodes reducing GCN accuracy to below 50% on all datasets.
  • The edge budget (βₑ) has the second strongest effect, with 2.5× edge budget on Cora and 2× on Citeseer dropping performance below 50%.
  • The feature budget (β_f) has the weakest impact, with performance saturating at 1.5× budget across all datasets, indicating limited utility for increasing feature diversity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.