Private Distributed Mean Estimation

Lun Wang, Ruoxi Jia

Abstract

In this paper, we propose the discrete Gaussian based differentially private federated learning (D2P-Fed), a unified scheme to achieve both differential privacy (DP) and communication efficiency in federated learning (FL). In particular, compared with the only prior work taking care of both aspects, D2P-Fed provides stronger privacy guarantee, better composability and smaller communication cost. The key idea is to apply the discrete Gaussian noise to the private data transmission. We provide complete analysis of the privacy guarantee, communication cost and convergence rate of D2P-Fed. We evaluated D2P-Fed on INFIMNIST and CIFAR10. The results show that D2P-Fed outperforms the-state-of-the-art by 4.7% to 13.0% in terms of model accuracy while saving one third of the communication cost.

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models on decentralized data. However, deploying FL at scale requires overcoming two fundamental hurdles: privacy and communication efficiency.

While FL keeps raw data on local devices, the model updates (gradients) sent to a central server can still leak sensitive information through inference attacks. Standard Differential Privacy (DP) mitigates this by adding noise, but this often degrades model utility. Simultaneously, the high dimensionality of modern models makes transmitting these updates from thousands of edge devices—such as mobile phones—prohibitively expensive in terms of bandwidth.

Existing research often treats these problems in isolation. Compression techniques used for efficiency frequently break privacy guarantees, while privacy-preserving methods often introduce significant communication overhead. This paper introduces $D^2P$-FED (Discrete Gaussian based Differentially Private Federated Learning), a framework designed to reconcile these conflicting goals.

The $D^2P$-FED Framework

$D^2P$-FED leverages several key technical innovations to provide a robust, efficient, and private learning environment.

1. The Discrete Gaussian Mechanism

Unlike traditional DP applications that rely on continuous Gaussian noise, $D^2P$-FED utilizes noise drawn from a discrete Gaussian distribution. This choice is critical because it is inherently compatible with the discrete nature of quantized (compressed) data. By using discrete noise, the framework avoids the information loss and mathematical inconsistencies that occur when continuous noise is applied to discretized values.

2. Rényi Differential Privacy (RDP)

The authors prove that the discrete Gaussian mechanism satisfies Rényi Differential Privacy. RDP provides a much "tighter" privacy accounting method than standard $(\epsilon, \delta)$-DP. This allows the privacy budget to grow more slowly over multiple training rounds, enabling the model to train for longer and achieve higher accuracy without exhausting its privacy guarantees.

3. Secure Aggregation and Cyclic Group Mapping

To maximize privacy, $D^2P$-FED integrates Secure Multi-party Computation (SMC). This ensures the server only observes the aggregate sum of client updates, rather than individual contributions. A key technical contribution is the use of Cyclic Group Mapping, which allows the noised, quantized vectors to be mapped into a finite cyclic group. This mapping ensures that the discrete Gaussian noise works seamlessly with cryptographic secure aggregation protocols.

4. Efficient Communication via Quantization and Rotation

To reduce bandwidth, updates are processed through stochastic quantization, "squishing" high-precision values into fewer bits. Before quantization, the framework applies a random rotation to the data. This step is vital because it ensures the error introduced by quantization remains low and uniform, regardless of the original data distribution. Crucially, the $\ell_2$-sensitivity of the updates—which determines the amount of noise required for privacy—remains invariant under rotation.

Experimental Evaluation

The framework was evaluated using two primary benchmarks:

  • INFIMNIST: A large-scale dataset featuring 10 million handwritten digits distributed across 100,000 simulated clients.
  • CIFAR10: A standard image classification dataset consisting of 60,000 images across 10 classes.

Key Results

The experiments compared $D^2P$-FED against the previous state-of-the-art method, cpSGD (which utilizes Binomial noise). The results demonstrated significant improvements across all metrics:

  • Superior Accuracy: Under the same privacy budget, $D^2P$-FED outperformed cpSGD by 4.7% on INFIMNIST and 13.0% on CIFAR10.
  • Reduced Communication Overhead: $D^2P$-FED achieved these accuracy gains while reducing communication costs by one-third compared to existing methods.
  • Scalability: Thanks to the tighter privacy accounting of RDP, $D^2P$-FED scales more effectively over many training iterations, maintaining a lower total privacy "expenditure" than its predecessors.

Limitations and Future Directions

While $D^2P$-FED represents a significant step forward, the authors note a challenge regarding data heterogeneity (Non-IID data). In scenarios where data is unevenly distributed (e.g., one client only possesses images of a single class), model accuracy can drop by more than 10%. Future work will focus on integrating $D^2P$-FED with specialized techniques designed to handle non-IID distributions in federated environments.

Conclusion

$D^2P$-FED demonstrates that privacy and communication efficiency do not have to be a zero-sum game. By utilizing discrete Gaussian noise and advanced privacy accounting, the framework provides a practical path for deploying high-performance, privacy-preserving machine learning on resource-constrained edge devices.

Summary updated

BibTeX
@misc{wang2020private,
  author = {Lun Wang and Ruoxi Jia},
  title = {{Private Distributed Mean Estimation}},
  year = {2020},
  eprint = {2006.13039},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.13039},
}
Figure