FastSecAgg: Scalable Secure Aggregation for Privacy-Preserving Federated Learning

Swanand Kadhe, Nived Rajaraman, Onur Ozan Koyluoglu, Kannan RamchandranarXiv 2020

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models on decentralized data. By allowing a central server to aggregate model updates (gradients) from thousands of client devices without accessing raw data, FL enhances privacy. However, individual updates can still leak sensitive information through inversion attacks.

To mitigate this, Secure Aggregation (SecAgg) protocols are employed, ensuring the server only learns the final aggregate sum. While Shamir’s Secret Sharing is the industry standard for SecAgg, its quadratic computational complexity ($O(LN^2)$ for $N$ clients and $L$ parameters) creates a massive bottleneck as networks scale. FastSecAgg addresses this by introducing a novel, FFT-based multi-secret sharing scheme that reduces server-side computation to near-linear complexity.

The FastShare Mechanism

The core innovation of FastSecAgg is FastShare, a multi-secret sharing scheme that replaces traditional polynomials with the Fast Fourier Transform (FFT) over finite fields and the Chinese Remainder Theorem (CRT).

High-level overview of the FastShare secret sharing and reconstruction process using DFT and a peeling decoder.

As shown in the figure above, FastShare treats secrets as a "signal" within a 2D grid. By strategically applying zero-padding and random masks, the protocol induces parity-check constraints. This allows the server to utilize an iterative "peeling decoder"—a technique borrowed from high-speed error-correcting codes—to efficiently reconstruct the aggregate even when clients drop out.

The 2D grid structure used in FastShare, incorporating zero-padding (Z), random masks (T), and secrets (S).

This grid-based approach (illustrated above) enables the server to handle random dropouts, which are common in real-world mobile networks, far more efficiently than protocols optimized for worst-case adversarial dropouts.

Protocol Execution

FastSecAgg operates in three distinct rounds to ensure secure and robust aggregation:

  1. Round 0 (Setup): Clients exchange public keys to establish secure communication channels.
  2. Round 1 (Sharing): Clients partition their high-dimensional model updates into smaller chunks. They generate shares using the FastShare scheme, encrypt them, and transmit them to the server.
  3. Round 2 (Reconstruction): Surviving clients decrypt the shares they received from others, compute local sums, and return these "sum-shares" to the server. The server then executes the FastRecon algorithm to recover the final global aggregate.

Key Results and Security

FastSecAgg provides significant theoretical and practical improvements over existing state-of-the-art protocols like SecAgg and SecAgg+:

  • Computational Efficiency: Server computation is reduced to $O(L \log N)$, a dramatic leap from the $O(LN^2)$ required by traditional Shamir-based methods. This allows the protocol to scale to over 10,000 users and models with millions of parameters.
  • Communication Overhead: Client communication costs remain at $O(L + N)$, which is considered order-wise optimal for secure aggregation.
  • Adaptive Security: Unlike some high-speed competitors, FastSecAgg is proven secure against adaptive adversaries who can dynamically choose which clients to corrupt during protocol execution.

Conclusion and Future Work

By leveraging the power of the FFT and graph-based decoding, FastSecAgg makes privacy-preserving federated learning viable at a massive scale. While the current protocol assumes an "honest-but-curious" environment and relies on random dropout patterns for maximum efficiency, it sets a new benchmark for scalable security. Future research aims to extend this framework to handle Byzantine (malicious) clients who may attempt to poison the global model with garbage updates.

Summary updated

BibTeX
@misc{kadhe2020fastsecagg,
  author = {Swanand Kadhe and Nived Rajaraman and Onur Ozan Koyluoglu and Kannan Ramchandran},
  title = {{FastSecAgg: Scalable Secure Aggregation for Privacy-Preserving Federated Learning}},
  year = {2020},
  eprint = {2009.11248},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.11248},
}
Figure