Skip to main content
QUICK REVIEW

[Paper Review] Salvaging Federated Learning by Local Adaptation

Changyuan Yu, Eugene Bagdasaryan|arXiv (Cornell University)|Feb 12, 2020
Privacy-Preserving Technologies in DataComputer Science43 references68 citations
TL;DR

The paper shows that differential privacy and robust aggregation can reduce per-user accuracy in federated learning, but local adaptation techniques (fine-tuning, multi-task learning, and knowledge distillation) can restore and even improve individual participant accuracy without changing the global FL framework.

ABSTRACT

Federated learning (FL) is a heavily promoted approach for training ML models on sensitive data, e.g., text typed by users on their smartphones. FL is expressly designed for training on data that are unbalanced and non-iid across the participants. To ensure privacy and integrity of the fedeated model, latest FL approaches use differential privacy or robust aggregation. We look at FL from the \emph{local} viewpoint of an individual participant and ask: (1) do participants have an incentive to participate in FL? (2) how can participants \emph{individually} improve the quality of their local models, without re-designing the FL framework and/or involving other participants? First, we show that on standard tasks such as next-word prediction, many participants gain no benefit from FL because the federated model is less accurate on their data than the models they can train locally on their own. Second, we show that differential privacy and robust aggregation make this problem worse by further destroying the accuracy of the federated model for many participants. Then, we evaluate three techniques for local adaptation of federated models: fine-tuning, multi-task learning, and knowledge distillation. We analyze where each is applicable and demonstrate that all participants benefit from local adaptation. Participants whose local models are poor obtain big accuracy improvements over conventional FL. Participants whose local models are better than the federated model extemdash and who have no incentive to participate in FL today extemdash improve less, but sufficiently to make the adapted federated model better than their local models.

Motivation & Objective

  • Assess whether individual participants benefit from standard federated learning under non-iid data, privacy, and robustness protections.
  • Evaluate the extent to which local adaptation techniques can improve a participant’s model without altering the FL aggregation framework.
  • Identify which adaptation methods work best for different participant data characteristics and privacy regimes.

Proposed method

  • Evaluate BASIC-FED, DP-FED, and ROBUST-FED on next-word prediction (Reddit) and CIFAR-10 image classification (non-iid Dirichlet distribution).
  • Test three local adaptation methods: fine-tuning (FT) across all parameters; freeze-base (FB) variants; multi-task learning (MTL) with elastic weight consolidation; and knowledge distillation (KD) from the federated teacher to a student.
  • Compare adapted models against each participant’s locally trained model and the unadapted federated model on each participant’s data.
  • Use standard NLP and vision tasks with neural architectures (2-layer LSTM, 200 hidden units for word prediction; ResNet-18 for CIFAR-10).
  • Report per-participant accuracy and aggregate trends to understand incentive shifts for participation.

Experimental results

Research questions

  • RQ1Do federated models with privacy or robustness protections outperform participants’ local models on their own data?
  • RQ2Can participants locally adapt federated models to improve accuracy without changing FL aggregation?
  • RQ3Which local adaptation techniques best recover or improve accuracy across different participant data distributions and privacy settings?
  • RQ4How do data characteristics (vocabulary size, total words) influence the effectiveness of local adaptation?

Key findings

  • Privacy and robustness protections degrade individual participant accuracy in FL for many users.
  • Adaptation techniques generally restore and often improve the accuracy of federated models for individuals compared to their local models.
  • On word prediction, mean accuracy improvements from adaptation are 2.32% (BASIC-FED), 2.12% (DP-FED), and 2.12% (ROBUST-FED).
  • On image classification, mean accuracy improvements from adaptation are 2.98% (BASIC-FED), 6.83% (DP-FED), and 6.34% (ROBUST-FED).
  • Adapted models outperform local models for the majority of participants, with the largest gains for those with initially poor local models.
  • Adaptation also improves federated models for participants with good local models, making the adapted federated model competitive with or better than their local models in many cases.

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.