TL;DR
This paper tackles the challenge of balancing privacy, communication efficiency, and accuracy in federated learning (FL) when using secure aggregation (SecAgg) and differential privacy (DP). The authors establish a fundamental communication cost of $\tilde{O}(\min(n^2\varepsilon^2, d))$ bits per client, significantly improving upon existing methods, and demonstrate this through theoretical analysis and empirical validation on real-world FL tasks.
What Problem Does This Paper Address?
Federated learning (FL) allows multiple clients to collaboratively train a machine learning model without sharing their raw data. To enhance privacy, differential privacy (DP) is often employed. When combined with secure aggregation (SecAgg), which allows a server to see only the sum of client updates, this setup faces a significant challenge: SecAgg introduces substantial communication and computation overheads, especially for large models and stringent privacy requirements. Existing DP-SecAgg schemes often require transmitting $\tilde{O}(d\log(d/\varepsilon^2))$ bits per client, which can be prohibitively high. This paper aims to determine the fundamental communication cost required for this setup and propose a more efficient scheme. They specifically focus on the distributed DP setting where clients locally perturb their updates, and the server only sees the aggregated noisy updates, ensuring privacy against an honest-but-curious server.
Methods
The core of the paper lies in developing a new scheme that combines sparse random projections with the Distributed Discrete Gaussian (DDG) mechanism.
- Sparse Random Projections: Instead of compressing the full $d$-dimensional model updates, the authors use sparse random projection matrices to reduce the dimensionality to $m = \tilde{O}(n^2\varepsilon^2)$. This is a linear compression technique compatible with SecAgg.
- Distributed Discrete Gaussian (DDG) Mechanism: This mechanism, previously proposed, is used to add noise for differential privacy.
- Theoretical Analysis: The authors provide a rigorous analysis of their proposed scheme, decomposing the error into clipping, compression, and privatization components. They derive upper bounds on the Mean Squared Error (MSE) and communication cost.
- Lower Bounds: Crucially, they also establish matching lower bounds for the communication cost, proving that their scheme is asymptotically optimal. This involves analyzing the fundamental limits of compressing a vector under DP and SecAgg constraints.
- Algorithm Design: They present Algorithm 2, which integrates sparse random projection with DDG for private mean estimation under SecAgg. They also propose Algorithm 3, which further leverages sparsity assumptions on the data for even greater efficiency.
Datasets
The authors evaluate their proposed scheme on two common federated learning benchmarks:
- Federated EMNIST (F-EMNIST): A dataset for image classification with 62 classes.
- Stack Overflow (SO): A large-scale text dataset for next word prediction.
Key Insights and Ideas
- The Fundamental Price of SecAgg: The paper establishes that the communication cost for DP-SecAgg is not inherently tied to the full dimensionality $d$ of the model, but rather to a term that depends on the number of clients $n$ and the privacy budget $\varepsilon$, specifically $\tilde{O}(n^2\varepsilon^2)$, when $n^2\varepsilon^2 \ll d$. This is a significant departure from previous assumptions.
- Linear Compression is Key: The constraint of SecAgg (requiring the server to only see sums) necessitates linear compression methods. This rules out many popular non-linear compression techniques.
- Sparse Random Projections as a Solution: Sparse random projections provide an effective linear compression strategy that can reduce dimensionality without sacrificing accuracy, making them ideal for DP-SecAgg.
- Trade-off Dynamics: The paper demonstrates that higher privacy requirements (larger noise, smaller $\varepsilon$) actually reduce the communication cost, contrary to what might be intuitively expected if one only considered the noise addition. This is because the $\varepsilon^2$ term in $n^2\varepsilon^2$ becomes dominant.
Key Results
- Theoretical Achievability: The proposed scheme achieves a communication cost of $\tilde{O}(\min(n^2\varepsilon^2, d))$ bits per client, which is shown to be both sufficient and necessary. This is a significant improvement over prior work's $\tilde{O}(d\log(d/\varepsilon^2))$ bits.
- Empirical Compression: Experiments show compression rates of 10x or more compared to existing distributed DP schemes, with minimal impact on test-time performance. For instance, they achieve communication costs of under 1.2 bits per parameter in realistic privacy settings.
- Sparsity Benefits: When assuming data sparsity, the communication cost and MSE can be further reduced, becoming logarithmic in $d$.
- Model Size vs. Compression: The paper shows that larger models, when compressed, can achieve better performance than smaller models at the same latent update size, suggesting that compression enables the use of larger, more powerful models within communication constraints.
Limitations and Future Work
- Unbiased Estimators: The theoretical analysis primarily focuses on unbiased estimators. While this is standard for many optimization algorithms, the paper acknowledges that in high-dimensional or high-privacy regimes, estimators with bias might achieve smaller MSE but provide less meaningful information.
- Hyperparameter Tuning: The sparse DME algorithm (Algorithm 3) requires tuning additional hyperparameters related to sparsity, which can add complexity.
- Future Work: The authors suggest exploring fundamental characterizations of privacy-accuracy-communication trade-offs under other distributed DP models (e.g., trusted third-party or secure enclaves) and investigating other compression techniques. They also note that their results for sparse DME are presented for the regime where $s \log d \ll n^2\varepsilon^2$, and further analysis is needed for the opposite regime.
Summary updated