Releasing Graph Neural Networks with Differential Privacy Guarantees

Iyiola E. Olatunji, Thorben Funke, Megha KhoslaarXiv 2021

Introduction

Graph Neural Networks (GNNs) have become the standard for learning on relational data, from social networks to medical databases. However, their ability to encode complex relationships makes them highly vulnerable to Membership Inference Attacks (MIA), where an adversary can determine if a specific individual's data was used to train the model.

Standard privacy techniques like DP-SGD often underperform on graphs because they assume data points are independent and identically distributed (i.i.d.), which is untrue for connected data. Other methods, such as PATE, typically require splitting the graph into disjoint sets, which destroys the structural information GNNs need to learn. To solve this, the authors introduce PrivGNN, a framework designed to provide node-level differential privacy without sacrificing structural integrity.

The PrivGNN Framework

PrivGNN utilizes a centralized "Teacher-Student" paradigm (knowledge distillation) to transfer insights from private data to a public model through a three-phase workflow.

The PrivGNN workflow: Public data queries are answered by personalized private teachers trained on subsampled private data, then used to train a public student model.
  1. Private Data Selection: For a query node from a public unlabeled graph, the system performs Poisson sampling on the private dataset. This random subsampling provides "privacy amplification," making the privacy budget more efficient.
  2. Retrieval of Noisy Pseudo-labels: Instead of a single ensemble, PrivGNN finds the $K$-nearest neighbors of the query node and trains a personalized teacher GNN on that specific local neighborhood. Laplacian noise is added to the teacher's prediction to ensure privacy.
  3. Student Model Training: These noisy "pseudo-labels" are used to train a student GNN on the public unlabeled graph, which is the model eventually released.

Privacy loss is analyzed using the Rényi Differential Privacy (RDP) framework, which allows for tighter and more practical privacy bounds than traditional methods.

Experimental Evaluation

The framework was evaluated on six diverse datasets, including Amazon/Amazon2M (product networks), Reddit and Facebook (social networks), ArXiv (citations), and Credit (financial). In each case, data was split into "private" (labeled) and "public" (unlabeled) portions to simulate real-world constraints.

Key Results and Insights

PrivGNN demonstrates a significantly better privacy-utility trade-off than existing baselines. By building custom teachers for every query rather than partitioning the graph, the model ensures that the most relevant structural information is preserved during knowledge transfer.

Privacy budget (ε) vs. noise injected (1/λ). PrivGNN maintains significantly lower ε values across all datasets compared to PATEM and PATEG baselines.
  • Superior Privacy Efficiency: PrivGNN achieves high accuracy with a much lower privacy budget ($\epsilon$). For example, on the Amazon dataset, PrivGNN reached high accuracy with $\epsilon \approx 8.5$, whereas PATE variants required $\epsilon > 150$ for similar performance.
  • Robustness to Attacks: Empirical tests showed that PrivGNN reduced the success of Membership Inference Attacks to near-random chance (AUROC $\approx 0.5$), while non-private models remained highly vulnerable (AUROC $> 0.75$).
  • Inductive vs. Transductive Learning: Teachers operate inductively (predicting on unseen nodes), while the student operates transductively on the public graph, a division of labor that maximizes data utility.

Conclusion and Future Work

PrivGNN successfully bridges the gap between GNN utility and node-level privacy. Future research directions include using active learning to select more informative query nodes to further save the privacy budget and integrating unsupervised pre-training on public graphs, which has shown potential to boost student performance by up to 35%.

Summary updated

BibTeX
@misc{olatunji2021releasing,
  author = {Iyiola E. Olatunji and Thorben Funke and Megha Khosla},
  title = {{Releasing Graph Neural Networks with Differential Privacy Guarantees}},
  year = {2021},
  eprint = {2109.08907},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.08907},
}
Figure