SoteriaFL: A Unified Framework for Private Federated Learning with Communication Compression

Zhize Li, Haoyu Zhao, Boyue Li, Yuejie Chi · DOI

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models across distributed edge devices while keeping raw data localized. However, deploying FL in real-world scenarios faces two primary obstacles: the communication bottleneck caused by transmitting high-dimensional model updates over bandwidth-constrained networks, and privacy risks where gradient updates can inadvertently leak sensitive user information.

While communication compression and Differential Privacy (DP) have been studied independently to address these issues, combining them is non-trivial. Naive integration often leads to "noise on top of noise," significantly degrading model accuracy or slowing convergence. This paper introduces SoteriaFL, a unified framework designed to harmonize Local Differential Privacy (LDP) with advanced communication compression techniques.

The SoteriaFL Framework

SoteriaFL is a "meta-algorithm" that integrates LDP with a technique known as shifted compression. The framework is designed to be flexible, allowing it to be paired with various local solvers such as Gradient Descent (GD), Stochastic Gradient Descent (SGD), and variance-reduced methods like SVRG and SAGA.

1. The "Perturb then Compress" Strategy

To maintain rigorous privacy guarantees, SoteriaFL employs a "perturb then compress" workflow. The algorithm first adds Gaussian noise to the local gradients to satisfy LDP requirements. Because of the post-processing property of Differential Privacy, any subsequent operations—such as lossy compression—do not degrade the privacy guarantee. This ensures that the communication efficiency gains do not come at the cost of user anonymity.

2. Shifted Compression

Standard compression techniques often struggle with the high variance of noisy gradients. SoteriaFL addresses this by maintaining a local "reference point" and compressing only the difference (the shift) between the current update and that reference. This mechanism significantly reduces the error introduced by the compression process, allowing for more aggressive bit-reduction without losing the signal necessary for model convergence.

Theoretical Contributions

A key contribution of this work is the theoretical analysis of the communication-privacy trade-off. The authors identify that previous private compressed algorithms often required $O(m^2)$ communication rounds (where $m$ is the local data size) to reach a target accuracy. SoteriaFL reduces this complexity to $O(m)$, matching the convergence rates of uncompressed algorithms.

Furthermore, the paper provides the first proof that the "shift" mechanism—originally intended for non-private optimization—remains stable and effective even when gradients are intentionally corrupted with DP noise. This theoretical alignment suggests that communication savings can be achieved almost "for free" without sacrificing the utility (accuracy) found in standard private algorithms.

Empirical Evaluation

The framework was evaluated on two standard benchmarks: the a9a dataset (logistic regression with nonconvex regularization) and the MNIST dataset (a shallow neural network with one hidden layer of 64 neurons).

Key Findings:

  • Superior Efficiency: On the MNIST dataset, SoteriaFL-style algorithms achieved high test accuracy using orders of magnitude fewer communication bits compared to standard uncompressed LDP-SGD.
  • Shifted vs. Direct Compression: In logistic regression tasks, the shifted compression in SoteriaFL consistently outperformed direct compression (CDP-SGD), achieving lower training loss across various privacy budgets ($\epsilon = 1, 5, 10$).
  • The Power of Variance Reduction: Implementations of SoteriaFL using variance-reduction techniques (SVRG/SAGA) provided the best trade-off between gradient complexity and final model utility.

Limitations and Future Work

While SoteriaFL represents a significant step forward, certain practical challenges remain. The current theoretical framework assumes "bounded gradients," which in practice requires careful tuning of gradient clipping. Additionally, while the framework is proven for nonconvex problems, empirical testing has focused on shallow architectures; further study is needed to evaluate its performance on massive models like Transformers. Finally, future iterations of the framework could address "client dropout," ensuring robustness when devices go offline during the training process.

Conclusion

SoteriaFL provides a robust, unified solution to the dual challenges of privacy and communication in Federated Learning. By successfully combining LDP with shifted compression, it enables the training of accurate models with significantly reduced bandwidth requirements, paving the way for more efficient and private distributed AI.

Summary updated

BibTeX
@inproceedings{li2022soteriafl,
  author = {Zhize Li and Haoyu Zhao and Boyue Li and Yuejie Chi},
  title = {{SoteriaFL: A Unified Framework for Private Federated Learning with Communication Compression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=tz1PRT6lfLe},
}
Figure