Inference Attacks Against Graph Neural Networks

Zhikun Zhang, Min Chen, Michael Backes, Yun Shen, Yang Zhang
10/6/2021
cs.CRcs.LGstat.ML
gnn

Official code: Zhangzhk0819/GNN-Embedding-Leaks (29 stars, Python, last commit 2023-05-08).

Abstract

Graph is an important data representation ubiquitously existing in the real world. However, analyzing the graph data is computationally difficult due to its non-Euclidean nature.

Show full abstract

Graph embedding is a powerful tool to solve the graph analytics problem by transforming the graph data into low-dimensional vectors. These vectors could also be shared with third parties to gain additional insights of what is behind the data. While sharing graph embedding is intriguing, the associated privacy risks are unexplored. In this paper, we systematically investigate the information leakage of the graph embedding by mounting three inference attacks. First, we can successfully infer basic graph properties, such as the number of nodes, the number of edges, and graph density, of the target graph with up to 0.89 accuracy. Second, given a subgraph of interest and the graph embedding, we can determine with high confidence that whether the subgraph is contained in the target graph. For instance, we achieve 0.98 attack AUC on the DD dataset. Third, we propose a novel graph reconstruction attack that can reconstruct a graph that has similar graph structural statistics to the target graph. We further propose an effective defense mechanism based on graph embedding perturbation to mitigate the inference attacks without noticeable performance degradation for graph classification tasks. Our code is available at https://github.com/Zhangzhk0819/GNN-Embedding-Leaks.

View on arXivView PDF

Code Implementations(1)

299Python, ShellSep 28, 20213 years ago

Similar Papers

Cite this paper

@article{zhang2021inference,
  title  = {Inference Attacks Against Graph Neural Networks},
  author = {Zhikun Zhang and Min Chen and Michael Backes and Yun Shen and Yang Zhang},
  year   = {2021},
  eprint = {2110.02631},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.02631}
}

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

Discussion