PrivSGP-VR: Differentially Private Variance-Reduced Stochastic Gradient Push with Tight Utility Bounds

Zehan Zhu, Yan Huang, Xin Wang, Jinming Xu

Abstract

In this paper, we propose a differentially private decentralized learning method (termed PrivSGP-VR) which employs stochastic gradient push with variance reduction and guarantees (epsilon, delta)-differential privacy (DP) for each node. Our theoretical analysis shows that, under DP Gaussian noise with constant variance, PrivSGP-VR achieves a sub-linear convergence rate of O(1/sqrt(nK)), where n and K are the number of nodes and iterations, respectively, which is independent of stochastic gradient variance, and achieves a linear speedup with respect to n. Leveraging the moments accountant method, we further derive an optimal K to maximize the model utility under certain privacy budget in decentralized settings. With this optimized K, PrivSGP-VR achieves a tight utility bound of O(sqrt(dlog(1/delta))/(sqrt(n)J*epsilon)), where J and d are the number of local samples and the dimension of decision variable, respectively, which matches that of the server-client distributed counterparts, and exhibits an extra factor of 1/sqrt(n) improvement compared to that of the existing decentralized counterparts, such as A(DP)2SGD. Extensive experiments corroborate our theoretical findings, especially in terms of the maximized utility with optimized K, in fully decentralized settings.

Introduction

Decentralized learning allows a network of devices (nodes) to collaborate on a machine learning model without a central server, avoiding single points of failure and high communication bottlenecks. However, two major hurdles remain: privacy leakage and the "iteration dilemma." Exchanging model updates can reveal sensitive local data, and while Differential Privacy (DP) addresses this by adding noise, it often degrades model utility. Furthermore, in DP, every training round "spends" a portion of the privacy budget. Too few iterations lead to poor convergence, while too many require massive amounts of noise to stay within the privacy budget, destroying the model.

Methodology: The PrivSGP-VR Framework

The authors introduce PrivSGP-VR (Private Stochastic Gradient Push with Variance Reduction), which relies on three pillars:

  • Stochastic Gradient Push (SGP): Unlike standard gossip protocols, SGP works on directed, time-varying graphs using a "push-sum" mechanism to ensure node consensus.
  • Variance Reduction (VR): The algorithm maintains a table of local gradients to "correct" stochastic noise, allowing the model to converge to an exact stationary point more efficiently.
  • Optimized DP Schedule: Using the Moments Accountant method, the authors mathematically derive the optimal number of iterations ($K^*$) to ensure privacy noise doesn't overwhelm the learning process.

Theoretical Insights and Linear Speedup

A significant theoretical achievement of this work is closing the utility gap between decentralized and centralized (server-client) DP models. PrivSGP-VR improves the utility bound by a factor of $1/\sqrt{n}$ compared to previous state-of-the-art methods like A(DP)²SGD.

Crucially, the algorithm exhibits a linear speedup: doubling the number of nodes allows for reaching the same accuracy in roughly half the iterations, even with DP noise added.

Linear speedup of PrivSGP-VR on CIFAR-10 with ResNet-18 as the number of nodes increases.

Empirical Results

The researchers evaluated PrivSGP-VR on non-convex benchmarks including CIFAR-10 (ResNet-18) and MNIST (2-layer NN) in fully decentralized settings with 8 to 64 nodes.

Key Findings:

  • Tight Utility Bounds: The derived utility bound matches the performance of centralized DP-SGD, a first for decentralized methods.
  • Empirical Superiority: In ResNet-18 trials, PrivSGP-VR consistently outperformed existing decentralized methods like DP²-SGD and A(DP)²SGD in both convergence speed and final testing accuracy.
  • Validation of $K^*$: Experiments confirmed that the theoretically derived optimal $K$ leads to the highest testing accuracy in practice.
Testing accuracy comparison of PrivSGP-VR against state-of-the-art decentralized DP methods.

Conclusion and Future Work

PrivSGP-VR successfully bridges the utility gap in private decentralized learning. While the method achieves high utility and linear speedup, future work may address the communication overhead inherent in SGP-based methods on sparse graphs and explore performance under extreme data heterogeneity (non-IID settings).

Summary updated

BibTeX
@inproceedings{zhu2024privsgp,
  author = {Zehan Zhu and Yan Huang and Xin Wang and Jinming Xu},
  title = {{PrivSGP-VR: Differentially Private Variance-Reduced Stochastic Gradient Push with Tight Utility Bounds}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=LzJlulyfzS},
}
Figure