Scalable and Differentially Private Distributed Aggregation in the Shuffled Model

Badih Ghazi, Rasmus Pagh, Ameya VelingkerarXiv 2019

TL;DR

This paper introduces a novel "invisibility cloak" protocol for secure aggregation in the shuffled model. It achieves differential privacy with significantly improved scalability, reducing communication and error to polylogarithmic factors in the number of users, a substantial improvement over prior polynomial-time dependencies. This advancement is crucial for making privacy-preserving federated learning more practical and efficient.

What Problem Does This Paper Address?

Federated learning aims to train machine learning models on decentralized, private data without directly accessing user data. A key component is "secure aggregation," which allows computing a global model update by summing individual user contributions without revealing them. While existing methods offer privacy, they often suffer from poor scalability, with communication or error growing polynomially with the number of users ($n$). This severely limits their applicability to large-scale systems. The "shuffled model," which uses a trusted shuffler to anonymize data origins, offers a more robust privacy framework, but existing protocols within this model still face similar scalability issues. This paper tackles the challenge of achieving differential privacy in the shuffled model with significantly better scalability, aiming for polylogarithmic growth in communication and error.

Methods

The core innovation is an "invisibility cloak" technique. This method involves each user encoding their data into a multiset of messages. Crucially, these messages are designed such that their sum, after some scaling and rounding, equals the original data, but individually, they appear almost indistinguishable from random noise. This is achieved by generating $m$ random numbers that sum up to the user's input (modulo $N$), effectively creating zero-sum noise that cancels out during aggregation. The protocol then relies on a shuffler to mix these messages and an analyzer to compute the sum. The privacy guarantees are derived from the properties of this noise and the shuffled model itself. The paper presents two main results: one for standard single-user privacy changes and another for sum-preserving changes, both achieving polylogarithmic dependencies.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • "Invisibility Cloak" for Privacy: The central idea is to mask individual contributions with "zero-sum noise" that cancels out during aggregation. This allows for privacy without distorting the final sum, unlike traditional noise addition.
  • Shuffled Model Advantage: The shuffled model, by hiding the origin of data, provides a stronger foundation for privacy than purely local models, enabling more efficient privacy-preserving aggregation.
  • Polylogarithmic Scalability: The most significant insight is that polynomial ($n^{\Omega(1)}$) dependencies in error and communication are not inherent to the shuffled model. The proposed protocol demonstrates that polylogarithmic ($O(\log^c n)$) dependencies are achievable.
  • Two Notions of Privacy: The paper distinguishes between privacy under single-user changes and privacy under sum-preserving changes, offering tailored protocols and analyses for each.

Key Results

The paper presents two main theorems:

  • Theorem 1 (Single-User Privacy): A protocol is proposed that is $(\epsilon, \delta)$-differentially private under single-user changes. It achieves an expected error of $O(\log n)$ and requires each encoder to send $O(\log n)$ messages, each of $O(\log n)$ bits. This is a significant improvement over prior work where error or communication scaled polynomially with $n$.
  • Theorem 2 (Sum-Preserving Privacy): For sum-preserving changes, a protocol achieves $(\epsilon, \delta)$-differential privacy with a worst-case error of $2^{-m}$ (where $m$ is a parameter) and requires $m$ messages of $O(m)$ bits per user. This also exhibits polylogarithmic scaling.

The paper also provides a detailed comparison table (Figure 1) showing how their results outperform previous protocols in terms of message count, message size, expected error, and privacy protection type.

Limitations and Future Work

  • Error Probability: The paper acknowledges that their current protocol might fail with a small probability (e.g., if all random numbers chosen by the encoder happen to be zero). Eliminating this error probability to achieve pure differential privacy is identified as an open problem.
  • Message Count: While the protocol achieves polylogarithmic communication and error, the exact number of messages ($m$) required for differential privacy without $n^{\Omega(1)}$ cost remains an open question. The authors suggest that $m = O(\log n)$ might suffice for sum-preserving changes.
  • Practical Implementation: While the theoretical gains are substantial, the practical performance and overhead of the proposed "invisibility cloak" technique in real-world systems would require further investigation.

Summary updated

BibTeX
@misc{ghazi2019scalable,
  author = {Badih Ghazi and Rasmus Pagh and Ameya Velingker},
  title = {{Scalable and Differentially Private Distributed Aggregation in the Shuffled Model}},
  year = {2019},
  eprint = {1906.08320},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.08320},
}
Figure