Abstract
MicroSecAgg is a novel framework for single-server secure aggregation (SecAgg) designed to minimize communication and computation overhead in Federated Learning. By introducing a reusable setup phase and reducing round complexity to just three rounds, MicroSecAgg achieves significant performance improvements over existing protocols, offering up to 100x faster computation and 1000x lower bandwidth usage compared to traditional methods.
Introduction
In Federated Learning (FL), a central server aggregates model updates from thousands of user devices without ever accessing raw data. This privacy-preserving mechanism, known as Secure Aggregation (SecAgg), is critical for large-scale decentralized learning. However, current single-server SecAgg protocols face significant hurdles: high round complexity (typically 5-6 rounds), inefficiency due to the generation of fresh cryptographic masks for every iteration, and the "dropout problem," where handling disconnected users requires expensive secret-sharing reconstruction.
MicroSecAgg addresses these challenges by making the most computationally expensive parts of the protocol a one-time cost, thereby streamlining the aggregation process for real-world mobile networks.
The MicroSecAgg Framework
The authors propose three protocol variants tailored for different scalability and input requirements: MicroSecAgg_DL (basic), MicroSecAgg_gDL (group-based for scalability), and MicroSecAgg_CL (utilizing Class Groups for large inputs).
Core Innovations
- Reusable Setup: Unlike prior works that re-generate masks every iteration, MicroSecAgg performs a one-time setup. These masks are recycled across multiple aggregation phases without compromising privacy.
- Round Reduction: The aggregation phase is condensed to just 3 rounds, improving robustness on unstable networks.
- Masking in the Exponent: To prevent the server from learning individual masks over time, the sum of masks is hidden in the exponent of a cyclic group. The server recovers the final sum using discrete log calculations.
- Class Groups of Unknown Order: For large input domains, the protocol employs Class Groups. This allows for efficient summation in an "easy" subgroup while maintaining security in the larger group.
- Logarithmic Scaling: By organizing users into small groups of size $O(\log n)$, the per-user communication cost scales logarithmically with the total number of users.
Experimental Results
The protocol was evaluated using the UCI Census Adult Dataset for logistic regression and synthetic benchmarks for scaling performance with up to 1,024 users.
Key Performance Gains
- Computation Speed:
MicroSecAgg_DLis approximately 100x faster than the landmark Bonawitz et al. (2017) protocol for 500 users. - Bandwidth Efficiency: User outbound message sizes are 1000x smaller than BIK+17 and 200x smaller than BBG+20 at the same scale.
- Comparison to Flamingo: Against Flamingo (the previous state-of-the-art for 3-round SecAgg), MicroSecAgg is 3x faster for users and uses 10x less bandwidth at a scale of 1024 users.
Discussion and Future Work
The primary "aha" moment of MicroSecAgg is the realization that heavy key exchange and secret sharing do not need to occur every iteration. By moving these to a one-time setup, the aggregation phase becomes incredibly lean. Privacy is maintained because the server only ever learns the aggregate sum of masks in the exponent, making it computationally impossible to brute-force individual secrets.
Limitations
While highly efficient, the protocol's performance is sensitive to model size (vector length) because it performs exponentiations proportional to the number of parameters. It is currently best suited for moderately sized models. Additionally, like most threshold-based schemes, it remains vulnerable to Sybil attacks if an adversary controls enough fake users.
Future research directions include adapting the framework for Vertical Federated Learning and integrating model compression techniques to further reduce the communication burden for massive neural networks.
Summary updated