Fake Node Attacks on Graph Convolutional Networks

Xiaoyun Wang, Minhao Cheng, Joe Eaton, Cho‐Jui Hsieh, S. Felix WuJournal of Computational and Cognitive Engineering 2022

Abstract

In this paper, we study the robustness of graph convolutional networks (GCNs). Previous works have shown that GCNs are vulnerable to adversarial perturbation on adjacency or feature matrices of existing nodes; however, such attacks are usually unrealistic in real applications. In this paper, we propose a new type of “fake node attacks” to attack GCNs by adding malicious fake nodes. This is much more realistic than previous attacks; in social network applications, the attacker only needs to register a set of fake accounts and link to existing ones. To conduct fake node attacks, a greedy algorithm is proposed to generate edges of malicious nodes and their corresponding features aiming to minimize the classification accuracy on the target nodes. In addition, we introduce a discriminator to classify malicious nodes from real nodes and propose a Greedy-generative adversarial network attack to simultaneously update the discriminator and the attacker, to make malicious nodes indistinguishable from the real ones. Our non-targeted attack decreases the accuracy of GCN down to 0.03, and our targeted attack reaches a success rate of 78% on a group of 100 nodes and 90% on average for attacking a single target node.

Introduction

Graph Convolutional Networks (GCNs) have become the standard for node classification tasks across diverse domains, including social media, biological networks, and citation databases. As these models are deployed in sensitive environments, understanding their robustness against adversarial manipulation is critical.

Existing research on GCN vulnerability typically assumes an attacker can modify the features or connections of existing nodes. However, in real-world scenarios like social networks, this would require compromising user accounts or central servers—a high barrier for most adversaries. This paper introduces a more practical threat model: the fake node attack. Instead of hacking existing entities, an attacker simply injects new, malicious nodes (e.g., bot accounts) into the graph and establishes links to legitimate users to manipulate the GCN's predictions.

Methodology

Generating effective fake nodes is challenging because graph data is discrete (edges and features are often binary) and malicious nodes must remain stealthy to avoid detection by anomaly filters. The authors propose two primary algorithmic solutions:

  1. Greedy Attack: This iterative algorithm addresses the discrete nature of graphs. Starting with empty fake nodes, it calculates the gradient of the GCN's loss function with respect to the fake node's adjacency and feature matrices. It then strategically flips binary values (adding an edge or feature) that maximize the disruption to target node classifications.
  2. Greedy-GAN Attack: To ensure fake nodes are statistically indistinguishable from real ones, the authors employ a Generative Adversarial Network (GAN) framework. A discriminator is trained to distinguish real from fake nodes, while the attacker's objective is modified to simultaneously minimize GCN accuracy and maximize discriminator error. This forces the generated nodes to blend into the natural distribution of the graph.

Experimental Results

Non-targeted Attacks

The effectiveness of the Greedy attack is profound. By injecting a small percentage of fake nodes, the overall accuracy of the GCN can be decimated. For instance, on the Cora and Citeseer datasets, adding just 2.5% fake nodes (with an average of 10 links each) plummeted accuracy from approximately 84% to between 3% and 8%.

The impact of increasing the percentage of fake nodes on GCN accuracy under different edge-addition strategies.

Targeted Attacks and Stealth

In targeted scenarios, where the goal is to force a specific node into a chosen incorrect category, the attack is highly efficient. Adding as few as three fake nodes can achieve an 80% success rate.

A key insight of this work is the trade-off between attack power and stealth. By adjusting a parameter ($C$) in the Greedy-GAN framework, attackers can prioritize either the destruction of model accuracy or the invisibility of the fake nodes. As shown in the experimental data, increasing the weight on the discriminator (higher $C$) makes the attack less effective at dropping accuracy but significantly harder to detect using standard F1-score-based anomaly classifiers.

The trade-off between GCN accuracy and the stealth parameter C; higher C values prioritize indistinguishable fake nodes at the cost of attack potency.

Discussion and Conclusion

The study reveals that GCN vulnerability is influenced by architectural choices. For example, symmetric normalization of the adjacency matrix is more susceptible to a small number of added edges than row-wise normalization. Furthermore, low-degree nodes are significantly easier to manipulate than highly connected "hub" nodes.

While the proposed attacks are devastating against standard GCNs, they are less effective against architectures like GraphSAGE, which utilizes neighborhood sampling. This sampling acts as a natural defense mechanism similar to random edge dropping. Future research should focus on developing specific algorithmic defenses against fake node injection and scaling these adversarial techniques to compromise even larger, more robust network architectures.

Summary updated

BibTeX
@article{wang2022fake,
  author = {Xiaoyun Wang and Minhao Cheng and Joe Eaton and Cho‐Jui Hsieh and S. Felix Wu},
  title = {{Fake Node Attacks on Graph Convolutional Networks}},
  journal = {Journal of Computational and Cognitive Engineering},
  year = {2022},
  doi = {10.47852/bonviewjcce2202321},
}
Figure