Motif-Backdoor: Rethinking the Backdoor Attack on Graph Neural Networks via Motifs

Haibin Zheng, Haiyang Xiong, Jinyin Chen, Haonan Ma, Guohan Huang
10/25/2022
cs.LGcs.AIcs.CR
gnn

Official code: Seaocn/Motif-Backdoor (4 stars, Python, last commit 2023-04-25).

Abstract

Graph neural network (GNN) with a powerful representation capability has been widely applied to various areas, such as biological gene prediction, social recommendation, etc. Recent works have exposed that GNN is vulnerable to the backdoor attack, i.e., models trained with maliciously crafted training samples are easily fooled by patched samples.

Show full abstract

Most of the proposed studies launch the backdoor attack using a trigger that either is the randomly generated subgraph (e.g., erdős-rényi backdoor) for less computational burden, or the gradient-based generative subgraph (e.g., graph trojaning attack) to enable a more effective attack. However, the interpretation of how is the trigger structure and the effect of the backdoor attack related has been overlooked in the current literature. Motifs, recurrent and statistically significant sub-graphs in graphs, contain rich structure information. In this paper, we are rethinking the trigger from the perspective of motifs, and propose a motif-based backdoor attack, denoted as Motif-Backdoor. It contributes from three aspects. (i) Interpretation: it provides an in-depth explanation for backdoor effectiveness by the validity of the trigger structure from motifs, leading to some novel insights, e.g., using subgraphs that appear less frequently in the graph as the trigger can achieve better attack performance. (ii) Effectiveness: Motif-Backdoor reaches the state-of-the-art (SOTA) attack performance in both black-box and defensive scenarios. (iii) Efficiency: based on the graph motif distribution, Motif-Backdoor can quickly obtain an effective trigger structure without target model feedback or subgraph model generation. Extensive experimental results show that Motif-Backdoor realizes the SOTA performance on three popular models and four public datasets compared with five baselines.

View on arXivView PDF

Code Implementations(1)

41PythonSep 10, 20223 years ago

Similar Papers

Cite this paper

@article{zheng2022motifbackdoor,
  title  = {Motif-Backdoor: Rethinking the Backdoor Attack on Graph Neural Networks via Motifs},
  author = {Haibin Zheng and Haiyang Xiong and Jinyin Chen and Haonan Ma and Guohan Huang},
  year   = {2022},
  eprint = {2210.13710},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.13710}
}

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/2210.13710.svg)](https://codeofpaper.com/paper/2210.13710)

Discussion