Skip to main content
QUICK REVIEW

[Paper Review] Backdoor Attacks to Graph Neural Networks

Zaixi Zhang, Jinyuan Jia|arXiv (Cornell University)|Jun 19, 2020
Adversarial Robustness in Machine LearningComputer Science55 references12 citations
TL;DR

This paper presents the first backdoor attack on graph neural networks (GNNs) for graph classification, using a subgraph as a trigger injected into training graphs to mislead the model into predicting a target label when the same subgraph appears in testing graphs. The attack achieves high success rates with minimal impact on clean accuracy, and the study evaluates a randomized subsampling defense, which proves ineffective in some cases, highlighting the need for stronger defenses.

ABSTRACT

In this work, we propose the first backdoor attack to graph neural networks (GNN). Specifically, we propose a \emph{subgraph based backdoor attack} to GNN for graph classification. In our backdoor attack, a GNN classifier predicts an attacker-chosen target label for a testing graph once a predefined subgraph is injected to the testing graph. Our empirical results on three real-world graph datasets show that our backdoor attacks are effective with a small impact on a GNN's prediction accuracy for clean testing graphs. Moreover, we generalize a randomized smoothing based certified defense to defend against our backdoor attacks. Our empirical results show that the defense is effective in some cases but ineffective in other cases, highlighting the needs of new defenses for our backdoor attacks.

Motivation & Objective

  • To investigate the vulnerability of graph neural networks (GNNs) to backdoor attacks in the context of graph classification.
  • To develop a subgraph-based backdoor attack that injects a consistent trigger into training graphs to manipulate GNN predictions.
  • To evaluate the effectiveness of a randomized subsampling-based certified defense against the proposed backdoor attack.
  • To demonstrate that existing certified defenses are insufficient against subgraph-based backdoor attacks on GNNs.
  • To motivate future research on backdoor detection and robust defense mechanisms for GNNs.

Proposed method

  • The attack uses a subgraph pattern as a trigger, defined by four parameters: trigger size, trigger density, trigger synthesis method, and poisoning intensity.
  • The trigger is synthesized as a random subgraph with specified size and density, then injected into a fraction of training graphs (poisoning intensity) by replacing node connections.
  • The poisoned training graphs are relabeled to an attacker-chosen target label, creating a backdoored training dataset.
  • A GNN is trained on the backdoored dataset, learning to associate the trigger with the target label.
  • During inference, the same trigger injected into a testing graph causes the backdoored GNN to predict the target label.
  • A randomized subsampling-based certified defense is adapted and evaluated to assess robustness against the attack.

Experimental results

Research questions

  • RQ1Can a subgraph-based backdoor attack successfully manipulate GNN predictions for graph classification without degrading performance on clean graphs?
  • RQ2How effective is a randomized subsampling-based certified defense in protecting GNNs against subgraph-based backdoor attacks?
  • RQ3Does the success of the backdoor attack depend on the size and density of the injected subgraph trigger?
  • RQ4How does poisoning intensity affect the attack success rate and clean accuracy of the backdoored GNN?
  • RQ5Under what conditions does the randomized subsampling defense fail to provide certified robustness against such backdoor attacks?

Key findings

  • The proposed subgraph-based backdoor attack achieves high attack success rates across three real-world datasets: Bitcoin, Twitter, and COLLAB.
  • The attack maintains high clean accuracy (e.g., >95% on Bitcoin and Twitter datasets) while achieving near 100% attack success rate on poisoned test graphs.
  • The randomized subsampling-based certified defense reduces attack success rates with small clean accuracy drops when the trigger size is small.
  • The defense becomes ineffective when the trigger size is large, with attack success rates remaining high despite certification.
  • The results demonstrate that current certified defenses are insufficient against subgraph-based backdoor attacks, indicating a critical need for new defense mechanisms.

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.