Asynchronous Federated Learning with Differential Privacy for Edge Intelligence

Yanan Li, Shusen Yang, Xuebin Ren, Cong ZhaoarXiv 2019

TL;DR

This paper introduces MAPA (Multi-stage Adjustable Private Algorithm), the first framework to provide a rigorous convergence analysis for Asynchronous Federated Learning (AFL) under Differential Privacy (DP). By dynamically adjusting noise scales and learning rates across multiple training stages, MAPA overcomes the "utility-privacy gap," achieving model accuracy nearly identical to non-private centralized training while protecting against sophisticated inference attacks.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple edge devices to collaboratively train a model without sharing raw data. However, two major hurdles remain for practical "Edge Intelligence":

  1. The Straggler Effect: In real-world edge systems, devices have heterogeneous computing power and network speeds. Synchronous FL forces the entire system to wait for the slowest device, leading to massive inefficiencies. Asynchronous FL (AFL) solves this by letting the server update the global model whenever it receives a gradient, but this introduces "stale" gradients that complicate convergence.
  2. Privacy Leakage: Even without raw data, malicious participants or a curious cloud server can use membership inference or model inversion attacks to "reverse engineer" private training data from shared gradients.

While Differential Privacy (DP)—adding calibrated noise to gradients—is a standard defense, applying it to the asynchronous setting is difficult. Standard DP-AFL approaches often suffer from poor model utility because they use fixed noise levels that don't account for the model's progress, leading to either excessive noise or biased updates.

Fig. 1. Application scenarios of asynchronous federated learning.

Methods

The authors first establish a baseline algorithm, AUDP (Asynchronous Update with Differential Privacy), and provide the first formal convergence analysis for AFL under DP. They prove that the model converges to a "ball" around the optimum, the radius of which is determined by the noise variance and sampling randomness.

Building on this, they propose MAPA, which introduces three key innovations:

  • Multi-Stage Training: Instead of a single continuous run, MAPA divides training into stages.
  • Adaptive Gradient Clipping: In early stages, the gradient norm is large, so a loose clipping bound is used. As the model converges and gradients naturally shrink, MAPA tightens the clipping bound. This reduces the amount of DP noise required to maintain the same privacy level, significantly improving utility.
  • Dynamic Learning Rate: To ensure convergence despite the injected noise, MAPA automatically adjusts the learning rate based on the current stage's noise scale and the maximum expected delay ($\tau_{max}$).
Fig. 2. An secure asynchronous federated learning framework.

Datasets

The researchers evaluated MAPA using two widely recognized image classification benchmarks:

  • MNIST: 70,000 handwritten digit images (10 classes).
  • USPS: 9,298 gray-scale digit images (10 classes).

These were used to train three types of models: Logistic Regression (LR), Support Vector Machines (SVM), and Convolutional Neural Networks (CNN).

Key Insights and Ideas

  • The Clipping Bound Trap: A fixed clipping bound is a "lose-lose" scenario. If it's too high, you inject too much noise; if it's too low, you introduce too much bias. MAPA's stage-wise adjustment finds the "Goldilocks" zone dynamically.
  • Staleness as Momentum: Interestingly, the analysis suggests that stale gradients aren't always a negative; if the delay isn't too extreme, they can act as a form of momentum that might even speed up initial training phases.
  • Convergence to a Ball: Unlike standard SGD which can converge to a point, DP-based algorithms converge to a region (a ball). MAPA's goal is essentially to shrink this ball stage-by-stage.
Fig. 3. Illustration of multi stage adjustable DP mechanism.

Key Results

  • Accuracy Gains: MAPA significantly outperformed the AUDP baseline, showing accuracy improvements of 20% to 100% in high-privacy regimes (small $\epsilon$).
  • Near-Optimal Utility: For CNN training on a real-world edge-cloud testbed, MAPA achieved nearly the same accuracy as centralized training without any privacy protections.
  • Convergence Speed: MAPA reached sufficient convergence 1-2 orders of magnitude faster than the baseline AUDP, effectively mitigating the delays caused by both asynchrony and noise.
  • Robustness: The algorithm proved robust to various hyperparameters, including the estimated sample variance ($\sigma$) and the DP failure probability ($\delta$).

Limitations and Future Work

  • Privacy Budget Accumulation: The paper primarily focuses on the privacy-utility trade-off per iteration. While they mention advanced composition theorems, the total privacy "cost" over very long training runs (thousands of iterations) remains a challenge for all DP-based methods.
  • Bounded Delay Assumption: The theoretical proofs rely on the assumption that the maximum delay ($\tau_{max}$) is bounded. While common in literature, extreme network volatility in edge environments might occasionally violate this.
  • Non-Convex Theory: While empirical results on CNNs (non-convex) were excellent, the formal convergence proofs are currently rooted in convex optimization theory. Extending the rigorous theory to non-convex deep learning is a logical next step.

Summary updated

Abstract

Federated learning has been showing as a promising approach in paving the last mile of artificial intelligence, due to its great potential of solving the data isolation problem in large scale machine learning. Particularly, with consideration of the heterogeneity in practical edge computing systems, asynchronous edge-cloud collaboration based federated learning can further improve the learning efficiency by significantly reducing the straggler effect. Despite no raw data sharing, the open architecture and extensive collaborations of asynchronous federated learning (AFL) still give some malicious participants great opportunities to infer other parties' training data, thus leading to serious concerns of privacy. To achieve a rigorous privacy guarantee with high utility, we investigate to secure asynchronous edge-cloud collaborative federated learning with differential privacy, focusing on the impacts of differential privacy on model convergence of AFL. Formally, we give the first analysis on the model convergence of AFL under DP and propose a multi-stage adjustable private algorithm (MAPA) to improve the trade-off between model utility and privacy by dynamically adjusting both the noise scale and the learning rate. Through extensive simulations and real-world experiments with an edge-could testbed, we demonstrate that MAPA significantly improves both the model accuracy and convergence speed with sufficient privacy guarantee.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
MNIST · CNNMAPAprediction accuracy improvement20%split: test · model=CNN · iterations=25000 · edge-servers=5 · privacy-epsilon=0.1–0.5
Source quote
L579: Secondly, MAPA can effectively improve the prediction accuracy of AUDP in all sub-figures for different \varepsilon and the improvement is more significant for small privacy regimes. Especially, the maximal improvement can reach 20% in Fig. \ref{figure:nl_mnist_cnn} and even 100% in Fig. \ref{figure:nl_usps_cnn}. This shows that MAPA can achieve a better trade-off by effectively reducing the noise needed for privacy guarantee.
USPS · CNNMAPAprediction accuracy improvement100%split: test · model=CNN · iterations=25000 · edge-servers=5 · privacy-epsilon=0.1–0.5
Source quote
L579: Secondly, MAPA can effectively improve the prediction accuracy of AUDP in all sub-figures for different \varepsilon and the improvement is more significant for small privacy regimes. Especially, the maximal improvement can reach 20% in Fig. \ref{figure:nl_mnist_cnn} and even 100% in Fig. \ref{figure:nl_usps_cnn}. This shows that MAPA can achieve a better trade-off by effectively reducing the noise needed for privacy guarantee.
BibTeX
@misc{li2019asynchronous,
  author = {Yanan Li and Shusen Yang and Xuebin Ren and Cong Zhao},
  title = {{Asynchronous Federated Learning with Differential Privacy for Edge Intelligence}},
  year = {2019},
  eprint = {1912.07902},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.07902},
}
Figure