Privacy-Preserving Aggregation in Federated Learning: A Survey

Ziyao Liu, Jiale Guo, Wenzhuo Yang, Jiani Fan, Kwok-Yan Lam, Jun Zhao

This survey paper, published in 2022, provides a comprehensive roadmap of Privacy-Preserving Aggregation (PPAgg)—the critical "cryptographic glue" that makes Federated Learning (FL) actually private. While FL is often marketed as privacy-preserving because raw data never leaves the user's device, the authors highlight that the model updates themselves can leak sensitive information. This paper categorizes the protocols designed to hide those updates while still allowing a central server to calculate their sum.

TL;DR

While Federated Learning keeps raw data on-device, model gradients can still leak private information through "deep leakage" attacks. This survey systematically reviews Privacy-Preserving Aggregation (PPAgg) protocols—ranging from secure masking and homomorphic encryption to differential privacy—that allow servers to compute global model updates without ever seeing individual user contributions in the clear.

What Problem Does This Paper Address?

The core promise of Federated Learning is privacy through decentralization. However, researchers have demonstrated that an honest-but-curious server (or an external attacker) can reconstruct original training images or text snippets just by analyzing the gradients sent by a user. This is known as Deep Leakage from Gradients.

To solve this, we need PPAgg. The challenge is that PPAgg must be:

  1. Secure: Resistant to collusion between the server and other users.
  2. Efficient: Capable of handling high-dimensional model vectors (millions of parameters).
  3. Robust: Able to handle "dropouts"—mobile or IoT devices that go offline mid-training.

This paper addresses the lack of a unified survey that compares these protocols across different threat models and deployment scales (Cross-Silo vs. Cross-Device).

Methods

The authors classify PPAgg into several primary technical "families":

  • Masking-based Aggregation: Users add random "masks" to their updates. If designed correctly (like in the famous SecAgg protocol), these masks cancel out when summed at the server. The paper distinguishes between Pair-wise masking (users coordinate seeds) and Non-pair-wise masking (using trusted third parties or chain structures).
  • Homomorphic Encryption (HE): Using math that allows addition to be performed directly on encrypted data. The authors break this down by key management: M1 (users hold the key), M2 (server holds the key), and M3 (threshold/split keys).
  • Secure Multi-Party Computation (MPC): Splitting model updates into "secret shares" distributed across multiple non-colluding servers.
  • Differential Privacy (DP): Adding statistical noise to gradients. Unlike the other methods, this provides a mathematical guarantee of anonymity but usually degrades model accuracy.
  • Hardware-based (TEE): Using "Secure Enclaves" (like Intel SGX) to perform aggregation in a protected area of the CPU memory that even the OS cannot see.

Datasets

As this is a survey paper, it does not introduce new datasets or perform original training experiments. Instead, it references a vast array of existing literature that utilizes standard benchmarks (like MNIST, CIFAR-10, and various medical/IoT datasets) to validate specific PPAgg protocols. It also lists open-source frameworks (TFF, FATE, PySyft, etc.) where these protocols are implemented.

Key Insights and Ideas

  • The Dropout Dilemma: In mobile "Cross-Device" FL, users frequently drop out. Masking-based protocols like SecAgg handle this using Shamir’s Secret Sharing, but this creates a massive communication overhead ($O(n^2)$). Newer protocols like CCESA use sparse random graphs to reduce this to $O(n \log n)$.
  • The Threat of Multi-Round Leakage: Even if a single round of aggregation is perfectly secure, an attacker can observe how the global model changes over many rounds to isolate a specific user’s contribution—especially if that user is the only one whose participation status changes between rounds.
  • Key Management is the Real Bottleneck: For Homomorphic Encryption, the "M3" setting (Threshold HE) is the most secure but requires expensive, complex key generation phases that are often impractical for large-scale deployments.
  • The "Privacy vs. Robustness" Tension: There is a fundamental conflict between privacy and security. If an update is perfectly encrypted/masked, the server cannot check if that update is "poisoned" (a backdoor attack).

Key Results

The paper provides a high-level qualitative comparison of PPAgg constructions (summarized in Table 3):

  • DP is the most lightweight but hurts model utility.
  • HE is mathematically elegant but struggles with deep neural networks due to computation overhead.
  • Masking is currently the most promising for large-scale "Cross-Device" settings due to its balance of efficiency and dropout resilience.
  • TEEs offer high performance but introduce a "single point of failure" in hardware trust and have limited memory for large models.

Limitations and Future Work

The authors identify several "open frontiers":

  • Throughput: Most cryptographic PPAgg methods are still too slow for production-scale Transformers or Large Language Models.
  • Poisoning Attacks: Future research must find ways to perform "Byzantine-robust" aggregation (detecting malicious updates) without decrypting the individual updates.
  • Hybrid Schemes: The authors suggest that the "gold standard" will likely be hybrid protocols—for example, combining Differential Privacy with Secure Masking to get the benefits of both statistical anonymity and cryptographic exactness.

Summary updated

BibTeX
@article{liu2022privacy,
  author = {Ziyao Liu and Jiale Guo and Wenzhuo Yang and Jiani Fan and Kwok-Yan Lam and Jun Zhao},
  title = {{Privacy-Preserving Aggregation in Federated Learning: A Survey}},
  journal = {IEEE Transactions on Big Data},
  year = {2022},
  url = {https://openreview.net/forum?id=6VbMoW5ei6},
}
Figure