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

VESPER is a new end-to-end framework for training Graph Neural Networks (GNNs) in vertical federated learning environments while providing formal differential privacy guarantees. By introducing a "perturbed message passing" scheme and a novel truncation method for sparse graphs, it achieves a superior balance between data privacy and model accuracy compared to existing state-of-the-art methods.

What Problem Does This Paper Address?

Financial institutions frequently use transaction networks to detect fraud and manage risk. However, this data is highly sensitive, and often, the necessary information is split between different organizations—for example, one bank might have transaction records (the graph structure) while another has user behavior data (features).

Vertical Federated Learning (VFL) allows these parties to collaborate without sharing raw data. However, standard VFL lacks formal privacy guarantees, leaving it vulnerable to attacks that can leak sensitive information about the graph's edges. While Differential Privacy (DP) is the gold standard for protection, applying it to GNNs is notoriously difficult because the "noise" required to protect privacy often destroys the model's utility, especially in sparse networks where the signal-to-noise ratio is low.

Methods

The authors propose VESPER (VErtically private Split GNN with PERturbed message passing), which is built on three key pillars:

  1. SplitNN Architecture: The model is split between two parties. Party A (holding the graph and features) runs an Encoder and a Private Representation Extractor (PRE). Party B (holding the labels) runs a Decoder. Only privatized embeddings and gradients are exchanged.
  2. Perturbed Message Passing (PMP): This is a general scheme to privatize GNN layers. It adds Gaussian noise to the messages passed between nodes. Crucially, PMP applies noise at every layer, which the authors prove leads to a better privacy-utility trade-off than methods that only perturb the final output.
  3. Truncated Message Passing: To handle sparse graphs (like financial transaction networks), the authors developed a truncated version of the Graph Convolutional Network (GCN) aggregator. By setting a minimum degree threshold ($D_{min}$), they block messages to very low-degree nodes, replacing them with a simple MLP output. This significantly lowers the sensitivity of the operation, allowing for much less noise to be added while maintaining the same privacy level.
Figure 1: A concise pictorial description of the VESPER framework. We use solid arrows to depict the dataflow of forward computations and use dashed arrows to depict the dataflow of backward computations.

Datasets

The framework was evaluated on three large-scale datasets:

  • ogbn-products: A dense Amazon product co-purchasing network.
  • Reddit: A dense social media network where nodes are posts and edges represent shared commenters.
  • Finance Dataset: A real-world, highly sparse industrial dataset from a leading online payment system, used for identifying risky users.

Key Insights and Ideas

  • The SNR Problem: In dense graphs, the "signal" from many neighbors drowns out the DP noise. In sparse graphs, the noise dominates. The authors' "truncated message passing" is a clever way to artificially improve the signal-to-noise ratio by focusing on nodes where the graph structure is most informative.
  • Layer-wise Perturbation is Key: Unlike previous work (like VFGNN) that perturbs the final output, VESPER perturbs each layer. This prevents the privacy cost from exploding as the graph's maximum degree increases.
  • Privacy vs. Utility: The authors show that with a moderate privacy budget ($\epsilon = 8$), VESPER can achieve performance remarkably close to non-private models, even on sensitive industrial data.

Key Results

VESPER consistently outperformed existing private baselines like GAP and VFGNN across all datasets.

  • Dense Graphs (Reddit): At a moderate privacy budget of $\epsilon=8$, VESPER (GIN) achieved 91.52% accuracy, significantly higher than VFGNN (31.20%) and GAP (86.59%).
  • Sparse Graphs (Finance): The truncated GCN approach proved vital here. VESPER (GCN) reached a 73.96% AUC at $\epsilon=8$, whereas the GIN-based version (which lacks truncation) only managed 67.87%.
  • Security: Empirical tests showed that VESPER effectively defends against Membership Inference Attacks (MIA). As the privacy budget $\epsilon$ decreases, the attacker's success rate drops to near-random guessing (AUC ~0.5).
Quantitative comparison of VESPER against baselines across different privacy budgets.

Limitations and Future Work

  • Node-level DP: The current work focuses on Edge DP (protecting the existence of a transaction). Node DP (protecting the existence of a user) is a much stronger and more difficult guarantee to achieve without massive utility loss. The authors provide a theoretical analysis for Node DP but note it remains "overly stringent" for practical use today.
  • Complex Aggregators: The PMP framework currently works best for GIN and GCN. Extending it to more complex architectures like Graph Attention Networks (GAT) or GraphSAGE with max-pooling is challenging due to their high sensitivity, which the authors suggest as a direction for future research.
  • Threat Model: The study assumes a "semi-honest" adversary. Future work could explore more aggressive "malicious" threat models.

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