Understanding and Improving Graph Injection Attack by Promoting Unnoticeability

Yongqiang Chen, Han Yang, Yonggang Zhang, Ma Kaili, Tongliang Liu, Bo Han, James Cheng

Introduction

Graph Neural Networks (GNNs) are notoriously vulnerable to adversarial attacks. Historically, most research has focused on Graph Modification Attacks (GMA), where an attacker deletes or adds edges between existing nodes. However, in real-world scenarios—like established social networks or financial systems—modifying existing infrastructure is difficult. Graph Injection Attacks (GIA) present a more practical threat model: the adversary simply creates a few new malicious accounts (nodes) and links them to target nodes.

While GIA is theoretically more flexible and harmful than GMA, it harbors a significant practical pitfall. Current GIA methods rely on optimization techniques that inadvertently make injected nodes look nothing like their neighbors. This destroys the graph's homophily—the "birds of a feather flock together" property common in real-world networks. Consequently, these injected nodes exhibit an "out-of-distribution" signature, making them easy to spot and prune using simple homophily-based defenses.

The Pitfall of Standard Graph Injection

Flexibility in GIA is a double-edged sword. Because the attacker has high degrees of freedom, standard optimization trajectories take "shortcuts" that create highly unnatural graph structures to maximize raw damage.

Illustration of standard GIA being pruned by defenses due to low homophily, while HAO blends in.

As illustrated above, standard GIA nodes (pink) are easily detected and neutralized by "homophily defenders" (filters that prune low-similarity edges). To be truly effective, an attack must be unnoticeable. In image attacks, unnoticeability is defined by a small pixel change. In graphs, unnoticeability must include structural statistics like homophily. An attack that is "small" in terms of node count can still be "loud" if it breaks local connectivity patterns.

Methodology: Harmonious Adversarial Objective (HAO)

To resolve this vulnerability, the authors introduce a novel framework enforcing "homophily unnoticeability," allowing injected malicious nodes to blend into the graph. They propose the Harmonious Adversarial Objective (HAO):

$$\min Latk(f_\theta(G')) - \lambda C(G, G')$$

This objective balances two goals:

  1. Adversarial Loss ($Latk$): The standard objective to fool the GNN model.
  2. Homophily Regularization ($C$): A penalty term that encourages injected nodes to share features and labels similar to their neighbors.

To deploy HAO effectively across different scenarios, the authors propose three adaptive strategies:

  • AGIA/MetaGIA: Gradient-based methods tailored for small to medium graphs.
  • ATDGIA: A heuristic-driven version optimized for computational efficiency.
  • SeqGIA: A "divide-and-conquer" sequential strategy designed to scale the attack to massive graphs like OGB-Arxiv or Reddit.

Key Results

The authors evaluated their methods across 6 primary benchmarks (including Citation, Product, and Social networks) against 38 different defense models.

Performance of various attacks against a defended model. HAO successfully reduces test robustness where standard GIA fails.

There is a fundamental trade-off in adversarial optimization: by forcing the attack to be "unnoticeable" (preserving homophily), the raw damage potential against an undefended model slightly decreases. However, the success rate against defended models skyrockets.

As shown in the results above, standard GIA is easily neutralized when defenses are active. Conversely, GIA equipped with HAO consistently breaks these defenses, outperforming previous state-of-the-art attacks by up to 30% in non-targeted scenarios. Furthermore, using the SeqGIA strategy, the authors successfully attacked large-scale graphs where previous gradient-based injection methods struggled with computational overhead.

Limitations and Future Directions

While HAO significantly advances the state of GIA, it requires careful tuning. Choosing the regularization weight $\lambda$ is crucial: if it is too high, the attack is too "polite" to cause damage; if it is too low, it remains easily detectable.

Additionally, while homophily is the dominant property in the tested datasets, some graphs are "heterophilous" (dissimilar nodes connect). Initial results suggest HAO still provides benefits here, but tailored structural constraints for heterophilous graphs remain an open challenge. Finally, the authors suggest a fascinating future direction: using node injection defensively—adding "guardian" nodes to a graph to improve the overall robustness of the GNN.

Summary updated

BibTeX
@inproceedings{chen2022understanding,
  author = {Yongqiang Chen and Han Yang and Yonggang Zhang and MA KAILI and Tongliang Liu and Bo Han and James Cheng},
  title = {{Understanding and Improving Graph Injection Attack by Promoting Unnoticeability}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=wkMG8cdvh7-},
}
Figure