Privacy-preserving design of graph neural networks with applications to vertical federated learning

Ruofan Wu, Mingyang Zhang, Lingjuan Lyu, Xiaolong Xu, Xiuquan Hao, xinyi fu, Tengfei Liu, Tianyi Zhang, Weiqiang Wang

TL;DR

This paper introduces VESPER, a novel framework for training Graph Neural Networks (GNNs) in a Vertical Federated Learning (VFL) setting with strong privacy guarantees. VESPER utilizes a new "Perturbed Message Passing" (PMP) technique to protect sensitive graph data, enabling collaborative learning without compromising individual privacy, even on sparse and dense transaction networks.

What Problem Does This Paper Address?

Financial institutions often deal with highly sensitive transaction data, making it challenging to leverage powerful machine learning techniques like Graph Representation Learning (GRL) for tasks like fraud detection. While federated learning (FL) offers a way to train models collaboratively without sharing raw data, standard FL often lacks robust privacy guarantees, especially when dealing with complex graph-structured data in a Vertical Federated Learning (VFL) setup. VFL is particularly relevant when different parties hold complementary pieces of information (e.g., features vs. labels) for the same entities. The core problem is how to train effective GNNs on this sensitive, distributed graph data while ensuring formal privacy guarantees against potential data leakage.

Methods

The paper's core contribution is the Perturbed Message Passing (PMP) scheme. PMP is a general framework for making GNNs differentially private by adding carefully calibrated noise to the message-passing updates. This approach allows for the privatization of various popular GNN architectures.

Key aspects of the methodology include:

  • Perturbed Message Passing (PMP): A layer-wise perturbation mechanism that injects Gaussian noise into the message-passing updates. This is designed to satisfy edge-level differential privacy (Edge DP), a suitable privacy model for graph data where the concern is inferring edge existence.
  • Rényi Differential Privacy (RDP): The privacy guarantees are analyzed using the RDP framework, which offers tighter composition bounds and is converted to standard $(\epsilon, \delta)$-DP for reporting.
  • VESPER Framework: An end-to-end VFL architecture built upon the PMP scheme and the SplitNN framework. VESPER comprises an Encoder (party A), a Private Representation Extractor (PRE, party A), and a Decoder (party B).
  • Improvements for Sparse Graphs: The authors identify that standard aggregation schemes can struggle with sparse graphs. They propose modifications, particularly for GCNs, such as "truncated message passing," which selectively filters messages to improve performance on sparse data while maintaining privacy.

Datasets

The paper evaluates VESPER on three datasets:

  • ogbn-products: A public, large-scale, undirected, unweighted graph representing an Amazon product co-purchasing network.
  • Reddit: A public graph dataset where nodes are Reddit posts and edges connect posts with the same user comments.
  • Finance Dataset: An industrial dataset generated from transaction records of an online payment system, where users are nodes and edges represent transactions. This dataset is noted to be sparse.

Key Insights and Ideas

  • PMP's Generality: The PMP framework is flexible and can be applied to various GNN architectures, making it a versatile tool for privacy-preserving GRL.
  • Graph Structure Matters for Privacy: The performance and privacy-utility trade-off of GNNs are significantly influenced by the graph's degree distribution (dense vs. sparse). Standard aggregation methods that work well on dense graphs can degrade on sparse ones, especially under privacy constraints.
  • Truncated Message Passing for Sparsity: For sparse graphs, a modified approach like truncated message passing in GCNs can offer a better privacy-utility trade-off by allowing finer control over noise and focusing on more informative connections.
  • Edge DP is Sufficient for Practical Privacy: While node-level DP is a stronger notion, the paper's empirical results suggest that edge-level DP, combined with robust GNN privacy mechanisms, can effectively defend against sophisticated membership inference attacks, which are often more challenging than edge-level attacks.

Key Results

  • Competitive Privacy-Utility Trade-off: VESPER consistently achieves a better privacy-utility trade-off compared to existing private GNN baselines (VFGNN, GAP) across all datasets and privacy budgets.
  • Performance on Dense vs. Sparse Graphs:
    • On dense graphs (ogbn-products, Reddit), VESPER with GIN aggregator performs well, closely matching non-private baselines at lower privacy budgets.
  • On sparse graphs (Finance), VESPER with GCN aggregator and truncated message passing significantly outperforms GIN and even matches non-private MLP baselines, demonstrating its adaptability.
  • Effective Defense Against MIAs: The framework successfully defends against node membership inference attacks, reducing AUC to near random guess levels with appropriate privacy budgets.
  • Practical Efficiency: VESPER is shown to be computationally and communicatively efficient in the VFL setting.

Limitations and Future Work

  • Worst-Case Sensitivity: The analysis of sensitivity is often worst-case, which can lead to higher noise levels than necessary. The paper explores improvements but acknowledges that further work might be needed for more optimal noise calibration.
  • Extension to Multi-Party VFL: While the framework is designed for VFL, the paper primarily focuses on a two-party setting. Extending it to scenarios with more than two parties and exploring datasets with natural feature/graph splits across multiple parties is suggested.
  • Node-Level DP: The paper discusses node-level DP as a stronger privacy notion but finds it overly stringent in practice for stochastic training, leading to meaningless results under moderate privacy budgets. While edge-level DP is shown to be effective, exploring more efficient node-level DP mechanisms for GNNs could be a future direction.
  • Other Aggregators: The paper briefly touches upon max-pooling (SAGE) and attention-pooling (GAT) aggregators, suggesting that while they might be more complex to privatize effectively with current methods, future work could explore more elegant techniques for these.
  • Hyperparameter Tuning: The paper mentions that precise tracking of privacy budgets requires computing operator norms, which is computationally demanding. Using spectral normalization as a practical approximation is discussed, but further research into more efficient and accurate privacy accounting methods could be beneficial.

Summary updated

BibTeX
@inproceedings{wu2023privacy,
  author = {Ruofan Wu and Mingyang Zhang and Lingjuan Lyu and Xiaolong Xu and Xiuquan Hao and xinyi fu and Tengfei LIU and Tianyi Zhang and Weiqiang Wang},
  title = {{Privacy-preserving design of graph neural networks with applications to vertical federated learning}},
  booktitle = {GLFrontiers @ NeurIPS},
  year = {2023},
  url = {https://openreview.net/forum?id=cMz2pdzu8W},
}
Figure