NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Node-Level Differentially Private Graph Neural Networks

Ameya Daigavane, Gagan Madan, Aditya Sinha, Abhradeep Guha Thakurta, Gaurav Aggarwal, Prateek Jain

TL;DR

Standard Differentially Private SGD (DP-SGD) assumes each sample affects only a single loss term, an assumption that fails in Graph Neural Networks (GNNs) where a single node influences multiple multi-hop neighbors. This paper introduces an algorithm for learning GNNs under rigorous node-level differential privacy by restricting node in-degrees and deriving a novel privacy-amplification-by-sampling theorem. The resulting models significantly outperform privacy-preserving non-graph baselines (like MLPs) across transductive and inductive benchmarks.

What Problem Does This Paper Address?

Graph Neural Networks aggregate features across connected nodes, making them vulnerable to leaking sensitive user information, including node features, labels, and the underlying graph structure.

Existing private learning methods fall short in this setting:

  • Edge-level DP only protects individual connections, leaving entire node profiles unprotected.
  • Local DP approaches typically require restrictive linear aggregations.
  • Standard DP-SGD relies on the assumption that modifying one user’s data changes only one gradient term. In a GNN, perturbing a single node $\hat{v}$ propagates changes to all its $r$-hop neighbors, causing sensitivity to explode and breaking conventional privacy-by-sampling guarantees.

The authors tackle the challenge of training multi-layer GNNs with formal node-level Rényi Differential Privacy (RDP), ensuring that adding or removing a node (along with its features, labels, and incident edges) has a provably bounded impact on model parameters.

Methods

The proposed framework, DP-GNN (implemented with SGD and Adam), adapts DP-SGD to graphs through two core techniques:

  1. Neighborhood Occurrence Bounding: Standard graph sampling restricts the out-degree, which bounds how many neighbors a node reads from, but does not limit how many subgraphs a node participates in. The authors introduce a neighborhood sampling algorithm (SAMPLE-SUBGRAPHS) that caps the maximum in-degree to $K$. For an $r$-layer GNN, this guarantees that any single node appears in at most: $$N(K, r) = \sum_{i=0}^r K^i = \frac{K^{r+1}-1}{K-1}$$ training subgraphs.

  2. Generalized Privacy Amplification by Sampling: When sampling a mini-batch of $m$ subgraphs uniformly from the set of all $N$ subgraphs, the number of sampled subgraphs containing a perturbed node follows a hypergeometric distribution. The authors prove a new privacy amplification theorem for GNNs by adapting weak convexity bounds of Rényi divergence and applying stochastic dominance over hypergeometric random variables.

  3. Clipping and Noise Addition: Per-subgraph gradients are clipped to threshold $C$, aggregated across the mini-batch, and perturbed with calibrated Gaussian noise $\mathcal{N}(0, \sigma^2 I)$.

Datasets

The authors evaluate both transductive and inductive setups using standard benchmarks:

  • Transductive: ogbn-arxiv, ogbn-products, and ogbn-mag from the Open Graph Benchmark (OGB), alongside reddit.
  • Inductive: Split into disjoint training, validation, and test subgraphs:
  • ogbn-arxiv-disjoint and reddit-disjoint (inter-split edges removed).
  • ogbn-arxiv-clustered (partitioned via agglomerative clustering).

Key Insights and Ideas

  • In-Degree vs. Out-Degree Sensitivity: Controlling the influence of a node requires bounding how many other nodes sample it as a neighbor (in-degree), not just how many neighbors it aggregates from (out-degree).
  • Graph Structure Beats Non-Graph Baselines Despite Noise: One might worry that adding enough noise to protect entire node neighborhoods would erase the benefits of graph connectivity. However, DP-GNN consistently beats non-private MLPs that discard the graph entirely, demonstrating that structural inductive bias remains valuable even under differential privacy.
  • Architectural Flexibility: While analyzed on Graph Convolutional Networks (GCN), the occurrence constraints and amplification proofs generalize directly to architectures like Graph Isomorphism Networks (GIN) and Graph Attention Networks (GAT).

Key Results

Evaluated with a privacy budget of $\varepsilon \le 20$ (and outperforming baselines at $\varepsilon \le 10$):

  • Transductive Performance:
  • ogbn-arxiv: DP-GCN achieves 63.02% accuracy (vs. 55.24% for MLP and 52.94% for DP-MLP; non-private GCN reaches 67.76%).
  • ogbn-products: DP-GCN reaches 68.37% (vs. 61.36% for MLP and 60.57% for DP-MLP).
  • reddit: DP-GCN scores 92.81% Micro-F1, outperforming MLP (72.36%) and DP-MLP (70.27%) by over 20 percentage points.
  • Inductive Multi-Layer Performance:
  • On ogbn-arxiv-disjoint, 2-layer DP-GCN attains 57.30% (outperforming 1-layer DP-GCN at 56.71% and DP-MLP at 52.82%).
  • On reddit-disjoint, 2-layer DP-GCN attains 91.54% (compared to 70.30% for DP-MLP).
  • Alternate Architectures: In transductive ogbn-arxiv, DP-GIN achieves 63.78% accuracy and DP-GAT achieves 59.04%, both substantially outperforming the DP-MLP baseline (52.94%).

Limitations and Future Work

  • Non-DP Preprocessing: The initial degree-capping step (SAMPLE-EDGELISTS) was implemented non-privately in experiments, though the authors note it could theoretically be privatized via the Propose-Test-Release mechanism.
  • Local GNN Restriction: The sensitivity analysis assumes local $r$-hop aggregation and does not extend to non-local GNNs (e.g., fully connected attention or global graph-pooling layers).
  • Theoretical Utility Bounds: The paper establishes privacy guarantees, but formal theoretical bounds on excess empirical risk or generalization under node-level DP remain open for future work.

Summary updated

BibTeX
@inproceedings{daigavane2022node,
  author = {Ameya Daigavane and Gagan Madan and Aditya Sinha and Abhradeep Guha Thakurta and Gaurav Aggarwal and Prateek Jain},
  title = {{Node-Level Differentially Private Graph Neural Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=tCx6AefvuPf},
}
Figure