GAP: Differentially Private Graph Neural Networks with Aggregation Perturbation

Sina Sajadmanesh, Ali Shahin Shamsabadi, Aurélien Bellet, Daniel Gatica-Perez
3/2/2022
cs.LGcs.CR
gnn

Official code: sisaman/GAP (50 stars, Jupyter Notebook, CC0-1.0, PyTorch, last commit 2026-10-20).

Abstract

In this paper, we study the problem of learning Graph Neural Networks (GNNs) with Differential Privacy (DP). We propose a novel differentially private GNN based on Aggregation Perturbation (GAP), which adds stochastic noise to the GNN's aggregation function to statistically obfuscate the presence of a single edge (edge-level privacy) or a single node and all its adjacent edges (node-level privacy).

Show full abstract

Tailored to the specifics of private learning, GAP's new architecture is composed of three separate modules: (i) the encoder module, where we learn private node embeddings without relying on the edge information; (ii) the aggregation module, where we compute noisy aggregated node embeddings based on the graph structure; and (iii) the classification module, where we train a neural network on the private aggregations for node classification without further querying the graph edges. GAP's major advantage over previous approaches is that it can benefit from multi-hop neighborhood aggregations, and guarantees both edge-level and node-level DP not only for training, but also at inference with no additional costs beyond the training's privacy budget. We analyze GAP's formal privacy guarantees using Rényi DP and conduct empirical experiments over three real-world graph datasets. We demonstrate that GAP offers significantly better accuracy-privacy trade-offs than state-of-the-art DP-GNN approaches and naive MLP-based baselines. Our code is publicly available at https://github.com/sisaman/GAP.

View on arXivView PDF

Code Implementations(1)

sisaman/GAPOfficial100%
PyTorchCC0-1.0

GAP: Differentially Private Graph Neural Networks with Aggregation Perturbation (USENIX Security '23)

5017Jupyter Notebook, PythonAug 19, 20211 months agoCC0-1.0
deep-learningdifferential-privacygraph-deep-learninggraph-neural-networksprivacy-preserving-machine-learning+2 more

Similar Papers

Cite this paper

@article{sajadmanesh2022gap,
  title  = {GAP: Differentially Private Graph Neural Networks with Aggregation Perturbation},
  author = {Sina Sajadmanesh and Ali Shahin Shamsabadi and Aurélien Bellet and Daniel Gatica-Perez},
  year   = {2022},
  eprint = {2203.00949},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.00949}
}

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

Discussion