Abstract
Conventional gradient-sharing approaches for federated learning (FL), such as FedAvg, rely on aggregation of local models and often face performance degradation under differential privacy (DP) mechanisms or data heterogeneity, which can be attributed to the inconsistency between the local and global objectives. To address this issue, we propose FedLAP-DP, a novel privacy-preserving approach for FL. Our formulation involves clients synthesizing a small set of samples that approximate local loss landscapes by simulating the gradients of real images within a local region. Acting as loss surrogates, these synthetic samples are aggregated on the server side to uncover the global loss landscape and enable global optimization. Building upon these insights, we offer a new perspective to enforce record-level differential privacy in FL. A formal privacy analysis demonstrates that FedLAP-DP incurs the same privacy costs as typical gradient-sharing schemes while achieving an improved trade-off between privacy and utility. Extensive experiments validate the superiority of our approach across various datasets with highly skewed distributions in both DP and non-DP settings. Beyond the promising performance, our approach presents a faster convergence speed compared to typical gradient-sharing methods and opens up the possibility of trading communication costs for better performance by sending a larger set of synthetic images.
Introduction
Standard Federated Learning (FL) often breaks down when client data is highly diverse (non-IID) or when strict Differential Privacy (DP) is required. Two major challenges hinder performance in these settings:
- Data Heterogeneity (Non-IID): When clients possess highly divergent data distributions, their local model updates drift toward local optima. Averaging these biased updates often results in a global model with poor performance.
- Differential Privacy (DP) Noise: Mathematical privacy guarantees often require adding noise to gradients. In FL, this noise compounds with data heterogeneity, leading to unstable updates, failure to converge, or significant accuracy loss.
The root cause is objective inconsistency: standard methods like FedAvg only observe a single gradient direction from each client. FedLAP-DP addresses this by having clients share "loss surrogates"—small sets of synthetic images that mimic the local loss landscape—allowing the server to reconstruct a more accurate global objective.
Methodology: Federated Learning by Sharing Loss Approximations
The core innovation, FedLAP, replaces model weight sharing with the exchange of synthetic data that approximates local loss landscapes.
Local Approximation and Dataset Distillation
Clients create a small set of synthetic images (e.g., 10–50 images per class) optimized via Gradient Matching. Synthetic images are adjusted until the gradients they produce on a model match those produced by the client's actual private data.
Trust Regions
To ensure accuracy, clients also transmit a "calibrated radius" ($r_k$). This parameter defines the region within which the synthetic approximation remains a faithful surrogate for the real loss landscape. This allows the server to understand exactly how far it can trust the synthetic approximation before it becomes inaccurate.
Global Optimization and DP Integration
The server aggregates these synthetic sets to simulate global training. In the FedLAP-DP variant, record-level DP (Gaussian Mechanism) is applied to gradients before synthetic image optimization. Due to the DP Post-Processing Theorem, once these images are generated, the server can perform unlimited optimization steps without further depleting the privacy budget.
Experimental Evaluation
The framework was evaluated on MNIST, FashionMNIST, and CIFAR-10, modified for extreme non-IID conditions (each client holding only 2 of 10 classes).
Key Results
- Superior Accuracy under DP: In high-privacy regimes ($\epsilon = 2.79$), FedLAP-DP significantly outperformed DP-FedAvg. On CIFAR-10, it achieved 21.42% accuracy versus DP-FedAvg’s 17.11%.
- Faster Convergence: FedLAP-DP reached target accuracy in fewer communication rounds than FedAvg or FedProx in non-DP settings.
- Robustness to Skew: FedLAP-DP remained stable under high data heterogeneity, effectively mitigating the "biasing" effect seen in standard methods.
- Privacy Auditing: Membership Inference Attacks (MIA) showed that FedLAP-DP is empirically more robust than gradient-sharing schemes even without DP, as the approximation process naturally filters record-level details.
Discussion and Limitations
While FedLAP-DP offers significant advantages in privacy and heterogeneity, it introduces higher client-side computational costs. Synthesizing images is more intensive than standard SGD, increasing round time from approximately 0.5 to 2.5 minutes on a Titan X GPU. Additionally, in perfectly balanced (IID) scenarios, FedLAP-DP may slightly underperform FedAvg due to the inherent information loss in the approximation process. Future work includes scaling dataset distillation to larger architectures like Transformers and utilizing foundation models to improve surrogate data synthesis.
The source code is available at https://github.com/hui-po-wang/FedLAP-DP.
Summary updated