Paper commentary
Federated Learning with Differential Privacy: Algorithms and Performance Analysis
NbAFL adds calibrated noise to federated learning updates for differential privacy
- Problem Uploaded client parameters can still leak private information in federated learning. Earlier differential privacy designs did not protect the upload step or analyse convergence theoretically.
- Method NbAFL clips each client's trained parameters and adds Gaussian noise before upload. The server adds more noise before broadcasting the aggregated parameters.
- Results With 50 clients, the training loss of NbAFL falls as the privacy parameter ǫ increases.
Why uploaded parameters leak data
Federated learning keeps raw data on the clients, yet the parameters each client uploads can still reveal information about its training data. Adversaries can exploit the differences between the uploaded parameters, and in the downlink the broadcast global parameters can also be analysed. Earlier DP-based FL designs did not protect the parameter upload stage, and their results were simulation-based without a theoretical convergence analysis.
NbAFL therefore perturbs each client's trained parameters before upload and the aggregated parameters before broadcast, and then studies how this noise affects convergence.
Noise at the clients and at the server
Each client first updates its local parameters with a proximal term that keeps them close to the previous global parameters, which is the step given by the local update rule below. \[ w_i^{(t)} = \arg\min_{w_i}\left(F_i(w_i) + \frac{\mu}{2}\lVert w_i - w^{(t-1)}\rVert^2\right) \] The client then clips the parameters so that their norm is at most the threshold C, which bounds the sensitivity used later.
Gaussian noise with standard deviation σ_U = cL Δs_U / ǫ is added before upload, where Δs_U = 2C/m and L counts the uplink exposures. The server forms the weighted sum of the noised uploads with weights p_i equal to the data share of each client, and then adds server noise n_D before broadcasting. The constant c must satisfy c ≥ √(2 ln(1.25/δ)) for ǫ in (0, 1), which fixes the Gaussian mechanism used for both noise layers.
Calibrating the server-side noise
The sensitivity of the aggregation step is 2C/(mN) when every client has weight 1/N, so choosing equal weights keeps the downlink sensitivity small. Theorem 1 states the server noise deviation needed for (ǫ, δ)-DP over T downlink broadcasts. \[ \sigma_D = \frac{2cC\sqrt{T^2 - L^2N}}{mN\epsilon} \quad \text{for } T > L\sqrt{N}, \qquad \sigma_D = 0 \text{ for } T \le L\sqrt{N} \] Appendix B obtains this as the square root of σ_A² minus N times σ_U², so the server adds only the part of the noise the clients' uplink noise does not already supply.
The dependence on T and N has a clear reading: more rounds raise the leakage risk, while more clients help hide each one's contribution.
Convergence bound under the noise
The analysis assumes each local loss is convex, satisfies the Polyak-Lojasiewicz condition with parameter l, and is β-Lipschitz and ρ-smooth, and that gradient divergence between clients is bounded by ε_i. The B-dissimilarity lemma bounds the expected squared local gradient norm by the squared global gradient norm times B², which captures heterogeneity across clients.
Lemma 3 bounds the expected increase of the loss between consecutive aggregations by a term in the squared gradient norm, a term in the noise norm times the gradient norm, and a term in the squared noise norm. Theorem 2 combines this recursion with the Polyak-Lojasiewicz inequality and gives the bound below, with P = 1 + 2lλ_2 depending on the proximal weight μ through λ_2.
\[ \mathbb{E}\{F(\tilde w^{(T)}) - F(w^*)\} \le P^T\Theta + \left(\frac{\kappa_1 T}{\epsilon} + \frac{\kappa_0 T^2}{\epsilon^2}\right)(1 - P^T) \] The first term is the initial gap Θ decayed by P^T, while the second term grows with T and carries the noise contribution, so the bound trades off the number of rounds against the noise. A better convergence performance corresponds to a lower protection level, and the bound decreases as ǫ increases.
Treating T as continuous, the bound is convex in T only when N and ǫ are large enough that κ_1 and κ_0 are small.
K-random client selection
With K-random scheduling, each of the K selected clients adds the same uplink noise as in the all-client case, because each client protects only its own uplink data. The downlink noise changes, since the sampling probability K/N alters how often a client's contribution appears across rounds. Lemma 4 gives the server noise deviation for K-random scheduling through two quantities b and γ that depend on T, ǫ, K and N.
Theorem 3 gives the convergence upper bound for K-random scheduling after T aggregations, with its own contraction factor Q and noise constants α_0 and α_1. From Theorem 3 the authors conclude that some K strictly between 0 and N gives better convergence than full participation with a suitable K.
Simulation setup on MNIST
The experiments use the MNIST handwritten digit dataset, with 60000 training examples and 10000 testing examples of 28 × 28 gray-level images. The baseline is a multi-layer perceptron with a single hidden layer of 256 hidden units, ReLU activations, a softmax over 10 classes and cross-entropy loss. The optimizer uses a learning rate of 0.002, and the constants ρ, β, l and B are estimated values taken from the loss function in use.
Effect of the protection level
The loss values of NbAFL fall as ǫ increases, which the authors read as a consequence of smaller noise variance. The text describes testing accuracy as rising when the privacy parameter falls, which points the opposite way from the loss trend just described, so the figures should be checked directly for this comparison.
Effect of the number of clients
The authors attribute the observed differences to Remark 3: more clients give larger global datasets and reduce the standard deviation of the aggregated noise.
Effect of the number of aggregation rounds
The theoretical upper bound is plotted against the maximum number of aggregation times at ǫ = 50, 60 and 100 for 50 clients, and dotted and solid curves are compared at ǫ = 60 and 100. Under lower privacy, meaning larger ǫ, the convergence improves more, because the noise standard deviation falls, and the optimum T increases almost with ǫ.
The simulated loss is a convex function of T for a fixed protection level, which the authors take as support for the existence of an optimal T.
Effect of the number of chosen clients
With N = 50 clients and K chosen at random per iteration, the loss is plotted across K at several protection levels, together with the non-private approach. The authors report an optimal K for each protection level, reflecting a trade-off between stronger privacy protection and larger global training datasets per round. The text for this experiment lists ǫ = 80 among the levels, while the figure caption lists ǫ = 100, so the protection levels for this plot are not consistent between the text and the caption.
Limitations
The simulations use one MLP on MNIST, and no other dataset or model is reported. The convergence analysis assumes convex, Polyak-Lojasiewicz and smooth local losses, and the constants ρ, β, l and B are estimated values rather than measured quantities. The convexity in T is shown only when N and ǫ are large enough, so the existence of an optimal T is not established for all settings.
The threat model assumes an honest server and that uplink channels are more secure than downlink broadcasts. The simulation descriptions give no repeated-run counts or confidence intervals, so the reported curves are single results.
Paper info
- Authors
- Kang Wei, Jun Li, Ming Ding, Chuan Ma, Howard H. Yang, Farokhi Farhad, Shi Jin, Tony Q. S. Quek, H. Vincent Poor
- Venue
- arXiv · Preprint
- First published
- 2019-11-1
- Added
- 2026-11-12
- Updated
- 2019-11-8
- Version
- v2
- arXiv
- 1911.00222
- Category
- cs.LG · cs.NI
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Kang Wei, Jun Li, Ming Ding, Chuan Ma, Howard H. Yang, Farokhi Farhad, Shi Jin, Tony Q. S. Quek, H. Vincent Poor (2019). Federated Learning with Differential Privacy: Algorithms and Performance Analysis. arXiv:1911.00222v2. https://arxiv.org/abs/1911.00222v2
BibTeX
@misc{wei2019federated,
title = {{Federated Learning with Differential Privacy: Algorithms and Performance Analysis}},
author = {Kang Wei and Jun Li and Ming Ding and Chuan Ma and Howard H. Yang and Farokhi Farhad and Shi Jin and Tony Q. S. Quek and H. Vincent Poor},
year = {2019},
eprint = {1911.00222},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1911.00222v2}
}