Privacy-Preserving Aggregation in Federated Learning: A Survey

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

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models on decentralized data. By keeping raw data on-device, FL offers a foundational layer of privacy. However, recent research into "Deep Leakage from Gradients" has shown that local model updates—the gradients—can inadvertently leak sensitive information, allowing attackers to reconstruct original training samples. To mitigate this, Privacy-Preserving Aggregation (PPAgg) protocols have become the essential "cryptographic glue" for secure FL. This survey provides a comprehensive roadmap of PPAgg techniques, categorizing them by their underlying cryptographic primitives and deployment scenarios.

The Deployment Landscape: Cross-Silo vs. Cross-Device

The requirements for a PPAgg protocol depend heavily on the scale and nature of the participants. The survey distinguishes between two primary settings: Cross-Silo and Cross-Device FL.

Comparison of Cross-Silo and Cross-Device Federated Learning environments.

In Cross-Silo FL, participants are typically a small number of reliable organizations (e.g., hospitals or banks) with stable connections. In contrast, Cross-Device FL involves millions or even billions of highly unreliable mobile or IoT devices that may drop out at any time. PPAgg protocols must be tailored to these specific constraints, balancing security, efficiency, and robustness.

Technical Families of PPAgg

The paper classifies PPAgg protocols into several primary technical families:

1. Masking-based Aggregation

Users add random "masks" to their updates such that the masks cancel out when summed at the server. This is often achieved through Pair-wise masking, where users coordinate seeds to generate complementary masks. While effective, traditional protocols like SecAgg suffer from high communication overhead ($O(n^2)$) when handling user dropouts.

Comparison between the SecAgg and CCESA algorithms, showing how sparse random graphs in CCESA reduce complexity.

As shown in the figure above, newer algorithms like CCESA utilize sparse random graphs to reduce this complexity to $O(n \log n)$, making them more suitable for large-scale deployments.

2. Homomorphic Encryption (HE)

HE allows mathematical operations, such as addition, to be performed directly on encrypted data. The survey categorizes HE-based PPAgg by key management: users holding the decryption key (M1), the server holding the key (M2), or threshold/split keys (M3) where a quorum of participants is required for decryption.

3. Differential Privacy (DP)

DP involves adding statistical noise to gradients. While it provides a formal mathematical guarantee of anonymity and is computationally lightweight, it inherently introduces a trade-off by degrading model accuracy.

4. Secure Multi-Party Computation (MPC) and TEEs

MPC involves splitting updates into "secret shares" across multiple non-colluding servers. Alternatively, hardware-based solutions like Trusted Execution Environments (TEEs) (e.g., Intel SGX) perform aggregation in isolated memory enclaves, though they introduce hardware-specific trust assumptions.

Key Insights and Challenges

The Dropout Dilemma and Robustness

In Cross-Device settings, the "dropout dilemma" is a major hurdle. If a user drops out after sending a masked update, the server cannot cancel out that user's mask, potentially stalling the entire aggregation process. Protocols must use techniques like Shamir’s Secret Sharing to recover missing masks, but this adds significant overhead.

The Privacy vs. Robustness Tension

There is a fundamental conflict between privacy and security. If model updates are perfectly encrypted or masked, the central server cannot inspect them to detect "poisoning" or backdoor attacks. Future research must bridge this gap, enabling "Byzantine-robust" aggregation that can filter out malicious updates without compromising individual privacy.

Multi-Round Leakage

Even with perfect single-round aggregation, attackers can observe changes in the global model over multiple rounds. If a specific user's participation status changes between rounds, their contribution might be isolated through differential analysis.

Conclusion and Future Frontiers

The "gold standard" for future FL systems will likely involve hybrid protocols—for example, combining the statistical guarantees of Differential Privacy with the cryptographic exactness of Secure Masking. As models grow to the scale of Large Language Models (LLMs), the throughput of these cryptographic methods remains a critical bottleneck. The next generation of PPAgg must achieve higher efficiency while maintaining robustness against both curious servers and malicious participants.

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