Adapting Membership Inference Attacks to GNN for Graph Classification: Approaches and Implications

Bang Wu, Xiangwen Yang, Shirui Pan, Xingliang Yuan
10/17/2021
cs.LGcs.CR
gnn

Official code: TrustworthyGNN/MIA-GNN (12 stars, Python, last commit 2022-11-09).

Abstract

Graph Neural Networks (GNNs) are widely adopted to analyse non-Euclidean data, such as chemical networks, brain networks, and social networks, modelling complex relationships and interdependency between objects. Recently, Membership Inference Attack (MIA) against GNNs raises severe privacy concerns, where training data can be leaked from trained GNN models.

Show full abstract

However, prior studies focus on inferring the membership of only the components in a graph, e.g., an individual node or edge. How to infer the membership of an entire graph record is yet to be explored. In this paper, we take the first step in MIA against GNNs for graph-level classification. Our objective is to infer whether a graph sample has been used for training a GNN model. We present and implement two types of attacks, i.e., training-based attacks and threshold-based attacks from different adversarial capabilities. We perform comprehensive experiments to evaluate our attacks in seven real-world datasets using five representative GNN models. Both our attacks are shown effective and can achieve high performance, i.e., reaching over 0.7 attack F1 scores in most cases. Furthermore, we analyse the implications behind the MIA against GNNs. Our findings confirm that GNNs can be even more vulnerable to MIA than the models with non-graph structures. And unlike the node-level classifier, MIAs on graph-level classification tasks are more co-related with the overfitting level of GNNs rather than the statistic property of their training graphs.

View on arXivView PDF

Code Implementations(1)

Membership Inference Attack against Graph Neural Networks

1211Python, Jupyter NotebookOct 9, 20214 years ago

Similar Papers

Cite this paper

@article{wu2021adapting,
  title  = {Adapting Membership Inference Attacks to GNN for Graph Classification: Approaches and Implications},
  author = {Bang Wu and Xiangwen Yang and Shirui Pan and Xingliang Yuan},
  year   = {2021},
  eprint = {2110.08760},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.08760}
}

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

Discussion