PPSGCN: A Privacy-Preserving Subgraph Sampling Based Distributed GCN Training Method

Binchi Zhang, Minnan Luo, Shangbin Feng, Ziqi Liu, Jun Zhou, Qinghua Zheng

Abstract

Graph convolutional networks (GCNs) have been widely adopted for graph representation learning and achieved impressive performance. For larger graphs stored separately on different clients, distributed GCN training algorithms were proposed to improve efficiency and scalability. However, existing methods directly exchange node features between different clients, which results in data privacy leakage. Federated learning was incorporated in graph learning to tackle data privacy, while they suffer from severe performance drop due to non-iid data distribution. Besides, these approaches generally involve heavy communication and memory overhead during the training process. In light of these problems, we propose a Privacy-Preserving Subgraph sampling based distributed GCN training method (PPSGCN), which preserves data privacy and significantly cuts back on communication and memory overhead. Specifically, PPSGCN employs a star-topology client-server system. We firstly sample a local node subset in each client to form a global subgraph, which greatly reduces communication and memory costs. We then conduct local computation on each client with features or gradients of the sampled nodes. Finally, all clients securely communicate with the central server with homomorphic encryption to combine local results while preserving data privacy. Compared with federated graph learning methods, our PPSGCN model is trained on a global graph to avoid the negative impact of local data distribution. We prove that our PPSGCN algorithm would converge to a local optimum with probability 1. Experiment results on three prevalent benchmarks demonstrate that our algorithm significantly reduces communication and memory overhead while maintaining desirable performance.

Introduction: Addressing Local Bias in Federated Graph Learning

Federated Learning (FL) typically involves training models on data distributed across many clients without sharing raw data. When applied to graphs (Federated Graph Learning), a major challenge arises: subgraph-level distribution. In this scenario, a massive global graph is partitioned into subgraphs, with each client holding a piece. Existing FGL methods often suffer from local bias, leading to a performance gap compared to centralized training.

Two critical issues contribute to this bias:

  1. Structural Loss: Most FGL methods ignore or poorly approximate "cross-client edges"—the connections linking nodes across different clients. This fragmentation corrupts the global graph structure.
  2. Distribution Divergence: Real-world graph data is often non-i.i.d. (independent and identically distributed). Skewed local distributions cause local models to diverge significantly from the optimal global model.
Comparison of cross-client edge handling in different FGL paradigms.

Methodology: The PPSGCN Framework

PPSGCN bridges the gap between federated and centralized learning through a two-pronged approach that utilizes the global graph structure while maintaining privacy.

Distributed Model Backbone

Instead of simple weight averaging (e.g., FedAvg), PPSGCN reformulates GCN operations to run in a distributed manner. Clients compute local embeddings and communicate with a central server that aggregates them. This allows the model to "see" across client boundaries, effectively leveraging cross-client edges during both inference and backpropagation. To ensure privacy, communication is secured via homomorphic encryption, preventing the server from accessing raw features or gradients.

Label-Guided Sampling

To mitigate non-i.i.d. data issues and reduce overhead, PPSGCN employs a label-guided sampling strategy. It independently samples a subset of nodes on each client based on a label-guided probability distribution. This ensures the resulting global subgraph is balanced and representative of the global distribution, even if individual clients are skewed. Mathematically, this sampling method acts as an unbiased estimator of the full graph's representation.

Experimental Evaluation

The framework was evaluated on three benchmarks: PubMed (citation network), Reddit (social network), and Ogbn-products (Amazon product co-purchasing network with >2.4M nodes).

Key Results

  • Superior Accuracy: PPSGCN outperformed all distributed baselines, including FedAvg, CAGNET, and BNS-GCN. Notably, on the large-scale Ogbn-products dataset, it achieved a Micro F1-score of 79.15%.
  • Efficiency and Scalability: In the Ogbn-products setting, PPSGCN reduced training time by over 80% compared to CAGNET and 50% compared to FedAvg.
  • Memory Footprint: Label-guided sampling reduced memory costs by approximately two-thirds compared to FedAvg, facilitating training on hardware-constrained clients.
  • Robustness to Skew: Unlike other methods that struggle with non-i.i.d. data, PPSGCN remained stable, showing minimal performance degradation in imbalanced settings.
Accuracy comparison across different datasets and methods.

Conclusion and Future Work

PPSGCN effectively addresses the local bias in federated graph learning by preserving structural integrity and balancing node distributions through sampling. While the method is computationally efficient, it introduces communication overhead due to per-layer embedding aggregation. Future work includes integrating Differential Privacy (DP) for stronger formal privacy guarantees and extending the framework to more complex architectures like Graph Attention Networks (GATs).

Summary updated

Abstract

Graph convolutional networks (GCNs) have been widely adopted for graph representation learning and achieved impressive performance. For larger graphs stored separately on different clients, distributed GCN training algorithms were proposed to improve efficiency and scalability. However, existing methods directly exchange node features between different clients, which results in data privacy leakage. Federated learning was incorporated in graph learning to tackle data privacy, while they suffer from severe performance drop due to non-iid data distribution. Besides, these approaches generally involve heavy communication and memory overhead during the training process. In light of these problems, we propose a Privacy-Preserving Subgraph sampling based distributed GCN training method (PPSGCN), which preserves data privacy and significantly cuts back on communication and memory overhead. Specifically, PPSGCN employs a star-topology client-server system. We firstly sample a local node subset in each client to form a global subgraph, which greatly reduces communication and memory costs. We then conduct local computation on each client with features or gradients of the sampled nodes. Finally, all clients securely communicate with the central server with homomorphic encryption to combine local results while preserving data privacy. Compared with federated graph learning methods, our PPSGCN model is trained on a global graph to avoid the negative impact of local data distribution. We prove that our PPSGCN algorithm would converge to a local optimum with probability 1. Experiment results on three prevalent benchmarks demonstrate that our algorithm significantly reduces communication and memory overhead while maintaining desirable performance. Further studies not only demonstrate the fast convergence of PPSGCN, but discuss the trade-off between communication and local computation cost as well.
BibTeX
@misc{zhang2021ppsgcn,
  author = {Binchi Zhang and Minnan Luo and Shangbin Feng and Ziqi Liu and Jun Zhou and Qinghua Zheng},
  title = {{PPSGCN: A Privacy-Preserving Subgraph Sampling Based Distributed GCN Training Method}},
  year = {2021},
  eprint = {2110.12906},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.12906},
}
Figure