Federated Learning With Differential Privacy: Algorithms and Performance Analysis

Kang Wei, Jun Li, Ming Ding, Chuan Ma, Howard H. Yang, Farhad Farokhi, Shi Jin, Tony Q. S. Quek, H. Vincent Poor

Introduction

Federated Learning (FL) is a decentralized machine learning paradigm designed to preserve user privacy by keeping data on local devices. However, model updates shared with a central server can still leak sensitive information through gradient inversion or membership inference attacks. Differential Privacy (DP) offers a mathematical framework to mitigate this, but its application in FL introduces complex tradeoffs between privacy, accuracy, and convergence.

The NbAFL Framework

The authors propose NbAFL (Noising before Model Aggregation Federated Learning), a framework that adds Gaussian noise to local model parameters before they are uploaded to the server. This ensures that even if an adversary intercepts the transmission, they cannot pinpoint individual user contributions.

System architecture of the NbAFL framework showing the interaction between the server, clients, and potential adversaries.

The algorithm involves several key steps:

  1. Local Training & Clipping: Clients train locally and clip parameters to a threshold $C$ to bound sensitivity (the maximum impact a single data point can have).
  2. Noising before Aggregation: Gaussian noise is added to parameters prior to transmission.
  3. Server Aggregation: The server averages the noisy updates. To protect the downlink, the server may add additional noise before broadcasting the global model.
  4. K-Random Scheduling: The analysis includes realistic scenarios where only a subset $K$ of $N$ total clients participates in each round.

Key Insights: The Privacy-Utility Tradeoff

The core contribution of this work is a theoretical convergence bound that quantifies how privacy parameters ($\epsilon, \delta$), client count ($N$), and communication rounds ($T$) interact.

The "Optimal T" Phenomenon

A critical finding is that DP-FL does not benefit from infinite training. Because noise is injected at every round, there is an "Optimal $T$" beyond which accumulated noise outweighs the benefits of further training, causing the model's performance to degrade.

Loss function values over aggregation time, illustrating the 'Optimal T' phenomenon where loss begins to rise for lower privacy budgets (e.g., ε=50).

The Power of Crowds

The research also highlights that increasing the number of participating clients ($N$) improves convergence. In a DP context, a larger population helps "dilute" the individual noise contributions, allowing the global model to extract a cleaner signal from the aggregate updates.

Experimental Validation

Using the MNIST dataset and a Multi-Layer Perceptron (MLP), the authors validated their theoretical bounds. The results confirmed that lower privacy protection (higher $\epsilon$) leads to faster and better convergence. For a fixed privacy level, the loss function initially drops but eventually plateaus or rises as $T$ increases, confirming the theoretical prediction of an optimal communication limit.

Conclusion and Future Work

NbAFL provides a rigorous foundation for understanding DP in federated systems. While the current analysis assumes convex loss functions and uses standard benchmarks, it sets the stage for future research into non-convex optimization (common in deep learning) and more complex, heterogeneous data distributions in large-scale mobile networks.

Summary updated

BibTeX
@article{wei2020federated,
  author = {Kang Wei and Jun Li and Ming Ding and Chuan Ma and Howard H. Yang and Farhad Farokhi and Shi Jin and Tony Q. S. Quek and H. Vincent Poor},
  title = {{Federated Learning With Differential Privacy: Algorithms and Performance Analysis}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2020},
  doi = {10.1109/tifs.2020.2988575},
}
Figure