Releasing Graph Neural Networks with Differential Privacy Guarantees

Iyiola Emmanuel Olatunji, Thorben Funke, Megha KhoslaTMLR 2023

Abstract

With the increasing popularity of graph neural networks (GNNs) in several sensitive applications like healthcare and medicine, concerns have been raised over the privacy aspects of trained GNNs. More notably, GNNs are vulnerable to privacy attacks, such as membership inference attacks, even if only black-box access to the trained model is granted. We propose PRIVGNN, a privacy-preserving framework for releasing GNN models in a centralized setting. Assuming an access to a public unlabeled graph, PRIVGNN provides a framework to release GNN models trained explicitly on public data along with knowledge obtained from the private data in a privacy preserving manner. PRIVGNN combines the knowledge-distillation framework with the two noise mechanisms, random subsampling, and noisy labeling, to ensure rigorous privacy guarantees. We theoretically analyze our approach in the Rènyi differential privacy framework. Besides, we show the solid experimental performance of our method compared to several baselines adapted for graph-structured data. Our code is available at https://github.com/iyempissy/privGnn.

Introduction

Graph Neural Networks (GNNs) are increasingly utilized in sensitive domains such as healthcare and social network analysis. However, these models are particularly susceptible to Membership Inference Attacks (MIA), where an adversary determines if a specific individual's data was part of the training set. This vulnerability stems from the way GNNs explicitly encode structural relationships between data points.

Traditional privacy-preserving techniques like DP-SGD often fall short because they assume data independence, a premise violated by graph structures. Similarly, methods like PATE (Private Aggregation of Teacher Ensembles) typically require partitioning data into disjoint sets, which destroys the critical connectivity information GNNs rely on. To address these challenges, we introduce PrivGNN, a framework designed to release GNNs with rigorous differential privacy guarantees without sacrificing structural integrity.

Methodology: The PrivGNN Framework

PrivGNN operates in a centralized setting, utilizing a private labeled graph and a public unlabeled graph. The framework leverages a Knowledge Distillation paradigm with a novel query-specific teacher approach.

The PrivGNN architecture overview, showing the transition from private data to a released public model via subsampling, KNN, and noisy pseudo-labeling.

The process involves five key steps:

  1. Poisson Subsampling: For each query node from the public graph, a random subsample of the private data is taken to provide privacy amplification.
  2. K-Nearest Neighbors (K-NN): The system identifies the $K$ nodes in the private subsample most similar to the public query node.
  3. Local Teacher Training: A "Teacher" GNN is trained on the induced subgraph of these $K$ neighbors.
  4. Noisy Labeling: The teacher predicts a label for the public node, and Laplacian noise is added to ensure Differential Privacy (DP).
  5. Student Training: These noisy "pseudo-labels" train a "Student" GNN on the public graph, which is the final model released.

Privacy loss is analyzed using the Rènyi Differential Privacy (RDP) framework, allowing for tighter accounting of the privacy budget during composition.

Experimental Evaluation

We evaluated PrivGNN on six real-world datasets: Amazon (Computers), Amazon2M, Reddit, Facebook, ArXiv, and Credit. These datasets represent a wide range of graph types, from social networks to citation and co-purchase graphs.

Key Results and Performance

PrivGNN consistently demonstrates a superior privacy-utility trade-off compared to PATE-based baselines. On the large-scale Amazon2M dataset, PrivGNN achieved high accuracy with a significantly lower privacy budget ($\epsilon$) compared to PATE variants.

Accuracy vs. $\lambda$ on the Amazon2M dataset, comparing PrivGNN against PATE-based baselines (PATEM, PATEG) and non-private baselines (B1, B2).

Furthermore, PrivGNN effectively mitigates Membership Inference Attacks. Empirical tests showed that the attack success rate was reduced to approximately a random guess (AUROC $\approx 0.50$), compared to non-private models which exhibited high vulnerability (AUROC $> 0.75$).

Discussion and Future Work

A significant advantage of PrivGNN is its focus on local structure rather than arbitrary partitioning. By using K-NN, the framework maintains the high "signal" necessary for GNN performance. Additionally, the use of inductive models like GraphSAGE for teachers allows for effective labeling of unseen public nodes.

However, the total privacy cost still scales with the number of queries made to the private data. Future research could explore Active Learning or unsupervised query reduction strategies to minimize the number of required labels. Preliminary results also suggest that pre-training the student model on public data using unsupervised objectives can significantly boost accuracy, an area warranting further formal exploration.

Summary updated

BibTeX
@article{olatunji2023releasing,
  author = {Iyiola Emmanuel Olatunji and Thorben Funke and Megha Khosla},
  title = {{Releasing Graph Neural Networks with Differential Privacy Guarantees}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=wk8oXR0kFA},
}
Figure