TL;DR
This paper introduces DP-FedEXP, a novel algorithm that accelerates differentially private federated learning (DP-FL) by adaptively adjusting the global step size based on client data diversity. Unlike previous methods, DP-FedEXP achieves this acceleration without requiring additional hyperparameters or increasing computational costs for clients, making it more practical for real-world FL scenarios.
What Problem Does This Paper Address?
Federated Learning (FL) allows multiple clients to collaboratively train machine learning models without sharing their raw data. However, FL is susceptible to privacy attacks. Differential Privacy (DP) is a strong privacy guarantee, and DP-FedAvg is a popular algorithm for DP-FL. The main challenge with DP-FedAvg is its slow convergence, especially when client data is heterogeneous. Existing methods to speed up DP-FL often introduce new hyperparameters that are difficult to tune and can even leak privacy, or they increase the computational burden on clients, which are often resource-constrained. This paper aims to bridge this gap by developing a DP-FL acceleration method that is parameter-free and computationally efficient for clients.
Methods
The core innovation of DP-FedEXP is its adaptive global step size mechanism, inspired by the FedEXP algorithm. Instead of using a fixed or manually tuned step size, DP-FedEXP dynamically adjusts it based on the diversity of local client updates. This is achieved by estimating the ratio of the average squared norm of local updates to the squared norm of the aggregated update.
The paper extends FedEXP to both Local Differential Privacy (LDP) and Central Differential Privacy (CDP) settings. For LDP, a novel bias-corrected step size formula is proposed to handle the noise introduced by local randomizers (like Gaussian mechanism or PrivUnit). For CDP, a similar adaptive step size is derived, incorporating a small amount of noise to maintain privacy. Crucially, these adaptive step size calculations do not require clients to perform any extra computations or store additional state.
Datasets
The paper evaluates DP-FedEXP on:
- Synthetic datasets: Used to demonstrate the theoretical convergence properties and the effectiveness of the adaptive step size.
- MNIST dataset: A standard benchmark for image classification, used to evaluate the practical performance of DP-FedEXP against baseline methods in a realistic setting.
Key Insights and Ideas
- Adaptive step size as a privacy-preserving accelerator: The key insight is that the diversity of local client updates, a known challenge for convergence, can be leveraged to accelerate DP-FL. By adaptively adjusting the step size, DP-FedEXP can navigate through heterogeneous data more effectively than fixed-step methods.
- Parameter-free acceleration is achievable: The paper demonstrates that it's possible to accelerate DP-FL without introducing new hyperparameters. This is a significant practical advantage, as hyperparameter tuning in DP settings is notoriously difficult and privacy-sensitive.
- LDP and CDP adaptations are non-trivial: Directly applying the FedEXP step size formula to noisy DP updates (especially in LDP) leads to instability. The paper's careful derivation of bias-corrected formulas for both LDP and CDP is crucial for making the approach work in practice.
- Client-side efficiency is maintained: A major win is that the adaptive step size calculation is done on the server side, and clients only need to send their (noisy) local updates, preserving their limited computational resources.
Key Results
- Provable acceleration: Theoretical analysis shows that DP-FedEXP provably accelerates the convergence of DP-FedAvg in both LDP and CDP settings, particularly in the presence of data heterogeneity.
- Empirical outperformance: On both synthetic and MNIST datasets, DP-FedEXP consistently achieved better test accuracy and faster convergence compared to baseline methods like DP-FedAvg and DP-SCAFFOLD. For instance, on the MNIST dataset, DP-FedEXP achieved test accuracies of up to 80.24% (LDP Gaussian) and 94.57% (CDP), outperforming DP-FedAvg by several percentage points.
- Negligible privacy overhead: The paper shows that DP-FedEXP maintains the same privacy guarantee as DP-FedAvg in LDP, and the additional privacy budget required in CDP is negligible, especially for common deep learning settings.
- Adaptive step size behavior: Experiments show that the global step size in DP-FedEXP naturally decreases as training progresses, which helps stabilize training and mitigate the impact of DP noise.
Limitations and Future Work
- Client-level DP: The current work focuses on client-level DP, which is stronger than sample-level DP. While suitable for many scenarios, extending to sample-level DP might offer different trade-offs.
- Specific DP mechanisms: The theoretical analysis and experimental validation primarily use Gaussian mechanism and PrivUnit for LDP. Further exploration with other DP mechanisms could be beneficial.
- Generalization to other FL settings: While effective for standard FL, exploring DP-FedEXP's applicability in more complex FL settings (e.g., hierarchical FL, personalized FL) could be a future direction.
- Theoretical analysis complexity: The proofs for convergence and privacy guarantees are complex, especially due to the correlation between the adaptive step size and the noisy updates. Further simplification or alternative proof techniques might be valuable.
Summary updated