Skip to main content
QUICK REVIEW

[Paper Review] Adversarial training in communication constrained federated learning

Devansh Shah, Parijat Dube|arXiv (Cornell University)|Mar 1, 2021
Privacy-Preserving Technologies in DataComputer Science30 references16 citations
TL;DR

This paper proposes FedDynAT, a novel federated adversarial training algorithm that uses a dynamic local training schedule to reduce model drift and improve convergence in communication-constrained, non-iid federated learning. It achieves significantly higher natural and adversarial accuracy compared to baseline methods like FedAvgAT, while reducing convergence time by minimizing divergence between local models.

ABSTRACT

Federated learning enables model training over a distributed corpus of agent data. However, the trained model is vulnerable to adversarial examples, designed to elicit misclassification. We study the feasibility of using adversarial training (AT) in the federated learning setting. Furthermore, we do so assuming a fixed communication budget and non-iid data distribution between participating agents. We observe a significant drop in both natural and adversarial accuracies when AT is used in the federated setting as opposed to centralized training. We attribute this to the number of epochs of AT performed locally at the agents, which in turn effects (i) drift between local models; and (ii) convergence time (measured in number of communication rounds). Towards this end, we propose FedDynAT, a novel algorithm for performing AT in federated setting. Through extensive experimentation we show that FedDynAT significantly improves both natural and adversarial accuracy, as well as model convergence time by reducing the model drift.

Motivation & Objective

  • To investigate the challenges of applying adversarial training (AT) in federated learning under communication constraints and non-iid data distributions.
  • To identify that excessive local training epochs (E) in federated AT lead to increased model drift and slower convergence.
  • To design a new algorithm that mitigates model drift and accelerates convergence in federated adversarial training.
  • To evaluate FedDynAT against state-of-the-art federated learning methods in terms of natural and adversarial accuracy, convergence speed, and model similarity across clients.

Proposed method

  • FedDynAT introduces a dynamic local training schedule (E-schedule) that reduces the number of local epochs (E) over time, starting from E₀ = 50 and decreasing with a decay factor γ = 0.5.
  • The algorithm uses a dynamic E-schedule defined by E(t) = max(E₀ * γ^t, F_E), where F_E is a minimum threshold (e.g., F_E = 5), to reduce local training as communication rounds progress.
  • It builds on FedDyn, a method that regularizes local models to stay close to the global model, and integrates it with adversarial training to reduce drift during AT.
  • The method performs adversarial training locally at clients using PGD-based adversarial example generation and SGD-based model updates, followed by model aggregation via weighted averaging.
  • Model drift is quantified using SVCCA (Feature-wise Similarity via Channel-wise Correlation Analysis), which measures layer-wise similarity between client models.
  • The algorithm is evaluated on CIFAR-10 and other datasets using models like NIN, with comparisons to FedAvgAT, FedCurvAT, and FedAvg.

Experimental results

Research questions

  • RQ1How does adversarial training in federated learning perform under communication constraints and non-iid data compared to centralized training?
  • RQ2What causes the drop in both natural and adversarial accuracy in federated adversarial training?
  • RQ3How does the number of local training epochs (E) affect model drift and convergence time in federated AT?
  • RQ4Can a dynamic local training schedule reduce model drift and improve convergence speed in federated adversarial training?
  • RQ5How does FedDynAT compare to FedAvgAT and FedCurvAT in terms of model similarity, accuracy, and convergence time?

Key findings

  • FedDynAT reduces model drift significantly compared to FedAvgAT and FedCurvAT, as shown by higher SVCCA scores across client models.
  • With E=50, FedAvgAT shows higher model drift than FedAvg (natural training), especially in deeper layers (5–8), indicating that adversarial training exacerbates drift.
  • FedDynAT achieves higher natural and adversarial accuracy than FedAvgAT and FedCurvAT on CIFAR-10 with non-iid data, demonstrating improved robustness.
  • The dynamic E-schedule in FedDynAT reduces convergence time by decreasing local training epochs over rounds, leading to faster model alignment.
  • SVCCA analysis confirms that layers closer to the output (higher layers) exhibit more pronounced drift, which is effectively mitigated by FedDynAT.
  • FedDynAT outperforms FedCurvAT and FedAvgAT in both accuracy and convergence speed, even when FedCurvAT uses a fixed E=50.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.