The Fundamental Price of Secure Aggregation in Differentially Private Federated Learning

Wei-Ning Chen, Christopher A. Choquette-Choo, Peter Kairouz, Ananda Theertha Suresh

This paper investigates the intersection of two critical privacy technologies in Federated Learning (FL): Differential Privacy (DP) and Secure Aggregation (SecAgg). While both are essential for protecting user data, combining them often leads to a massive "communication tax." The authors ask a fundamental question: How many bits do we actually need to send to achieve the best possible privacy-accuracy trade-off?

The Communication Bottleneck in Private FL

In Federated Learning, a server trains a model using updates from thousands of user devices. To protect privacy, two main tools are deployed:

  1. Differential Privacy (DP): Adds mathematical noise to updates so no single user's data can be identified.
  2. Secure Aggregation (SecAgg): A cryptographic protocol ensuring the server only sees the sum of all client updates, never individual ones.

The "distributed DP" setting—where clients add noise locally before SecAgg—is highly secure but notoriously expensive. Because SecAgg requires working with integers in a finite group, standard compression techniques (like sparsification or entropy coding) often fail because they are non-linear and don't "sum up" correctly. Consequently, previous state-of-the-art methods required sending many bits per parameter, creating a massive bottleneck for large models.

A Linear Solution: Project-and-Perturb

To overcome this, the authors propose a new framework combining dimensionality reduction with the Distributed Discrete Gaussian (DDG) mechanism.

Instead of sending a $d$-dimensional gradient, clients project their update into a much smaller $m$-dimensional space using a sparse matrix. Because this projection is linear, it is perfectly compatible with SecAgg.

Encoding and decoding pipeline with Secure Aggregation

In this "Project-and-Perturb" scheme, clients project their data, clip it to a fixed norm, add discrete Gaussian noise, and send it via SecAgg. The server then "un-projects" the noisy aggregate to estimate the true mean. Furthermore, if the underlying model updates are sparse, the server can use Lasso-style optimization to reconstruct the update with even higher accuracy and lower communication.

Key Insights: Privacy Masks Compression Error

The most counter-intuitive insight from this work is that in high-privacy regimes (where the privacy budget $\epsilon$ is small), you can compress more aggressively. The noise required for DP is already so large that it "drowns out" the errors introduced by heavy dimensionality reduction.

F-EMNIST test accuracy vs. compression rate across different noise multipliers

Traditional methods scale communication linearly with the model size ($d$). This paper proves that the communication cost only needs to scale with the number of clients ($n$) and the privacy budget ($\epsilon$). For massive models, breaking the dependency on $d$ is a game-changer.

Empirical Results

The researchers evaluated their approach on standard federated learning benchmarks, including F-EMNIST, Stack Overflow (SO), and Shakespeare, yielding impressive results:

  • Theoretical Optimality: The authors provide a matching lower bound, proving that their $\tilde{O}(\min(n^2\epsilon^2, d))$ communication cost is fundamentally the best possible for unbiased estimators under SecAgg.
  • Massive Compression: On the Stack Overflow next-word prediction task, they achieved 10x compression (reducing communication to ~1.2 bits per parameter) with no significant drop in test accuracy.
  • Extreme Efficiency on Images: On F-EMNIST, they pushed compression to 50x, reaching a staggering 0.24 bits per parameter in high-privacy settings.
  • Superiority over Quantization: The proposed dimensionality reduction significantly outperformed simple quantization (reducing bit-width), which has been the industry standard for SecAgg.

Limitations and Future Work

While highly effective, the approach has some practical considerations:

  • Hyperparameter Tuning: The sparse version of the algorithm requires tuning the sparsity parameter and the regularization weight, which can be tricky in production environments.
  • Computational Complexity: The server must perform random projections and potentially solve Lasso problems, increasing the computational load compared to simple summation.
  • Alternative Trust Models: The work focuses on the "honest-but-curious" server model. Exploring how these limits change under different trust assumptions (e.g., malicious servers or trusted execution environments) remains an open question.

Summary updated

BibTeX
@inproceedings{chen2022fundamental,
  author = {Wei-Ning Chen and Christopher A. Choquette-Choo and Peter Kairouz and Ananda Theertha Suresh},
  title = {{The Fundamental Price of Secure Aggregation in Differentially Private Federated Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=F8yZgsmHWZy},
}
Figure