Abstract
Graph Neural Networks (GNNs) have become the gold standard for node classification in domains like social media, e-commerce, and FinTech. However, their susceptibility to adversarial attacks poses significant security risks. While most research focuses on edge perturbations—adding or deleting links between existing nodes—this paper introduces NIPA (Node Injection Poisoning Attacks). Node injection is a more practical threat, involving the creation of fake accounts (sybils) to influence the graph. NIPA leverages Hierarchical Reinforcement Learning (HRL) to efficiently navigate the astronomical search space of potential connections and labels, significantly degrading GNN performance while remaining statistically stealthy.
Introduction
Adversarial attacks on graphs typically involve modifying existing relationships. However, in real-world systems, an attacker rarely has the authorization to rewire friendships between legitimate users. A more realistic scenario is node injection, where an attacker creates new nodes and chooses their connections and features.
The primary challenge with node injection is the combinatorial explosion: for a graph with thousands of members, the number of possible link combinations and label assignments for even a few injected nodes is massive. NIPA addresses this by modeling the attack as a Markov Decision Process (MDP) designed to find an optimal poisoning strategy that reduces overall GNN accuracy without being detected.
Methodology: The NIPA Framework
Hierarchical Action Decomposition
To manage the massive action space, NIPA breaks down a single "attack step" into three hierarchical sub-actions. This decomposition reduces the action space complexity from $O(|V_A| \cdot |V'| \cdot |L|)$ to a manageable $O(|V_A| + |V'| + |L|)$:
- Action 1: Select one of the injected (fake) nodes ($V_A$).
- Action 2: Select a target node (real or fake, $V'$) to link it to.
- Action 3: Assign a label ($L$) to the injected node.
State Representation and Reward
The "state" of the attack is the current poisoned graph. NIPA uses struct2vec to learn latent embeddings of nodes based on structural roles, which are then aggregated via a GNN-based encoder into a compact vector. The agent receives a reward based on the Attack Success Rate against a surrogate GNN model, guiding the RL agent toward actions that maximize misclassification.
Experimental Evaluation
The authors evaluated NIPA on three standard citation networks: CiteSeer, Cora-ML, and PubMed.
Key Results
- Accuracy Drop: On CiteSeer, NIPA reduced GNN accuracy from 77.3% to 62.0% with only a 10% injection rate.
- Baseline Superiority: NIPA consistently outperformed baselines like Random, Preferential, and modified Fast Gradient Attacks (FGA) by approximately 4-5%.
- Label Importance: Experiments showed that optimizing the labels of fake nodes is as critical as the connections; removing label optimization significantly weakened the attack.
Discussion and Insights
- Stealthiness: NIPA-poisoned graphs maintain statistical properties (such as Gini coefficients and power-law exponents) similar to the original graphs, making them difficult to detect through simple graph statistics.
- Structural Influence: The attack often strategically forms local clusters (triangles). These clusters allow fake nodes to exert more influence over the "message passing" process inherent to GNNs.
- Sparsity Vulnerability: NIPA is particularly effective on sparser graphs, where a single adversarial link carries more weight during the GNN's neighborhood aggregation step.
Conclusion and Future Work
NIPA demonstrates that node injection is a potent and practical threat to GNN-based systems. While this work focused on structural and label poisoning, future research could explore optimizing node features (e.g., the text of a fake profile) to further increase attack potency. Additionally, testing NIPA against more complex architectures like Graph Attention Networks (GAT) or on heterogeneous graphs remains an open challenge.
Summary updated