FedLAP-DP¶
Implements FedLAP-DP, federated learning in which clients share differentially private synthetic samples that approximate their local loss landscapes.
Instead of transmitting raw gradients, each client \(k\) synthesizes a small set \(\mathcal{S}_k\) of samples by gradient matching: along a short local trajectory it forces the gradient produced by \(\mathcal{S}_k\) to track the gradient produced by the real data \(\mathcal{D}_k\), but only within a trust region of radius \(r\) around the starting weights, where the local quadratic approximation of the loss stays accurate. Differential privacy is obtained by clipping each per-sample real gradient to norm \(C\) and adding Gaussian noise before it drives the synthetic optimization. The server then collects every \(\mathcal{S}_k\) and descends the reconstructed global loss landscape by ordinary gradient steps weighted by client data sizes, staying inside the smallest client trust region.
where \(w_g\) are the global parameters, \(w_k\) the client parameters, \(\eta\) the learning rate, \(g^{\mathcal{D}}(x_k^i)\) the gradient on real sample \(x_k^i\), \(\tilde{g}^{\mathcal{D}}\) its clipped version, \(C\) the clipping bound, \(\sigma\) the noise multiplier, \(B\) the batch size, \(\mathcal{S}_k\) the learned synthetic set, \(\mathcal{L}_{\mathrm{dis}}\) the layer-wise cosine-distance gradient-matching loss, \(r\) (and per-client \(r_k\)) the trust-region radius, \(N_k\) the number of samples at client \(k\) with \(N=\sum_k N_k\), \(m\) the communication round, and \(t\) the local step index.
Reference: Hui-Po Wang, Dingfan Chen, Raouf Kerkouche, Mario Fritz, "FedLAP-DP: Federated Learning by Sharing Differentially Private Loss Approximations", PoPETs 2024. https://arxiv.org/abs/2302.01068