Backdoor Attacks to Graph Neural Networks

Zaixi Zhang, Jinyuan Jia, Binghui Wang, Neil Zhenqiang Gong
6/19/2020
292 citations
cs.CRcs.LG
gnn

Official code: zaixizhang/graphbackdoor (45 stars, Python, PyTorch, last commit 2021-09-18).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

PyTorch

A PyTorch implementation of "Backdoor Attacks to Graph Neural Networks" (SACMAT'21)

454Python, ShellAug 9, 20215 years ago
adversarial-attacksgraph-neural-networkspytorch

Similar Papers

Cite this paper

@article{zhang2020backdoor,
  title  = {Backdoor Attacks to Graph Neural Networks},
  author = {Zaixi Zhang and Jinyuan Jia and Binghui Wang and Neil Zhenqiang Gong},
  year   = {2020},
  eprint = {2006.11165},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.11165}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.11165.svg)](https://codeofpaper.com/paper/2006.11165)

Discussion