Abstract
Federated Learning (FL) faces a fundamental tension between the need for Secure Aggregation (SECAGG) to protect user privacy and the necessity of aggressive compression to mitigate uplink communication bottlenecks. This paper introduces a framework that reconciles these requirements by enforcing a linearity constraint on decompression and proposing a new primitive, Secure Indexing (SECIND). Our approach achieves up to 40× communication compression with negligible impact on model accuracy across diverse benchmarks.
Introduction
Federated Learning enables training machine learning models on decentralized data from millions of edge devices. However, practical deployment is hindered by two conflicting challenges:
- Privacy and Security: To prevent servers from inspecting individual updates, Secure Aggregation (SECAGG) is used. It ensures the server only observes the aggregate sum of updates, typically through cryptographic masking.
- Uplink Bottleneck: Large model updates are costly to transmit over mobile networks. Standard compression techniques like quantization or pruning are used to reduce update sizes.
The conflict arises because SECAGG requires data to be in specific formats and relies on the additive property of updates. Most compression methods are non-linear or produce inconsistent update structures (e.g., varying sparsity patterns), which breaks the aggregation logic.
Methodology
The core contribution is a framework that ensures the decompression operator is linear, making it compatible with SECAGG.
Adapted Scalar Quantization & Pruning
To maintain linearity, the authors adapt standard techniques:
- Global Scalar Quantization: Instead of per-client quantization parameters, the server broadcasts a global scale and zero-point. This allows the server to sum quantized integers first and decompress the aggregate result.
- Shared Random Pruning: To ensure consistent update "shapes," a shared random seed is used to generate a common pruning mask for all clients in a given round.
Secure Indexing (SECIND)
For higher compression ratios, the authors utilize Product Quantization (PQ), which maps weight blocks to indices in a codebook. Since PQ is non-linear, they introduce SECIND. Clients send encrypted indices to a Trusted Execution Environment (TEE). The TEE decrypts these to build a histogram of codeword selections, which the server then uses to reconstruct the aggregate update.
Evaluation
The framework was evaluated using the LEAF benchmark on three datasets:
- CelebA: Image classification (114 KB model).
- Sent140: Sentiment analysis with an LSTM (12 MB model).
- FEMNIST: Digit classification with ResNet18 (43 MB model).
Key Results and Insights
The experiments demonstrate that Product Quantization (via SECIND) provides a superior trade-off between update size and accuracy compared to simple scalar quantization or pruning.
- High Compression Ratios: The authors achieved 40× compression on FEMNIST and 30× on CelebA at "iso-accuracy" relative to uncompressed baselines.
- The Linearity Constraint: The primary insight is that if the decompression function $d$ satisfies $d(x+y) = d(x) + d(y)$, compression can be performed before secure aggregation.
- TEE Versatility: The work shows that TEEs can efficiently perform complex logic like histogram aggregation while maintaining a small Trusted Computing Base (TCB).
Conclusion and Future Work
This work successfully bridges the gap between security and efficiency in FL. Future research directions include evaluating the privacy-utility-compression trade-off with Differential Privacy (DP) and optimizing downlink communication costs, as this study primarily focused on the uplink bottleneck.
Summary updated