Skip to main content
QUICK REVIEW

[Paper Review] Jointly Learning from Decentralized (Federated) and Centralized Data to Mitigate Distribution Shift

Sean Augenstein, Andrew Hard|arXiv (Cornell University)|Nov 23, 2021
Privacy-Preserving Technologies in DataComputer Science19 references5 citations
TL;DR

This paper proposes a hybrid federated learning framework that combines decentralized (on-device) data with selective centralized data to reduce distribution shift between training and inference. By using strategies like example transfer, gradient transfer, and model averaging, the method improves model generalization while preserving user privacy, achieving better performance on downstream tasks like face attribute prediction.

ABSTRACT

With privacy as a motivation, Federated Learning (FL) is an increasingly used paradigm where learning takes place collectively on edge devices, each with a cache of user-generated training examples that remain resident on the local device. These on-device training examples are gathered in situ during the course of users' interactions with their devices, and thus are highly reflective of at least part of the inference data distribution. Yet a distribution shift may still exist; the on-device training examples may lack for some data inputs expected to be encountered at inference time. This paper proposes a way to mitigate this shift: selective usage of datacenter data, mixed in with FL. By mixing decentralized (federated) and centralized (datacenter) data, we can form an effective training data distribution that better matches the inference data distribution, resulting in more useful models while still meeting the private training data access constraints imposed by FL.

Motivation & Objective

  • Address residual distribution shift in federated learning where on-device data may lack critical examples (e.g., negative or rare cases) found in inference data.
  • Maintain strong privacy guarantees by avoiding direct access to raw user data while still leveraging high-quality centralized data.
  • Improve model utility and robustness by strategically mixing decentralized and centralized data in a way compatible with federated learning constraints.
  • Explore practical mixing strategies—example transfer, gradient transfer, and model averaging—that enable effective fusion without violating data minimization principles.

Proposed method

  • Proposes three strategies—example transfer, gradient transfer, and model averaging—to integrate centralized data into federated learning while respecting privacy constraints.
  • Uses FedAvg as the base FL algorithm and modifies it to alternate between on-device model updates and centralized data training in a synchronized manner.
  • Employs example transfer by sampling centralized data examples and injecting them into local client updates, ensuring no raw data leaves the server.
  • Applies gradient transfer by sharing only model gradients from centralized training, minimizing exposure of raw data while enabling knowledge transfer.
  • Uses model averaging to merge the global model from federated learning with a centrally trained model, creating a composite model with improved generalization.
  • Introduces privacy-preserving techniques such as differential privacy and federated private generative models to further protect sensitive centralized data.

Experimental results

Research questions

  • RQ1How can centralized data be effectively and privately integrated into federated learning to reduce distribution shift without compromising user privacy?
  • RQ2Which mixing strategy—example transfer, gradient transfer, or model averaging—yields the best performance in terms of model accuracy and robustness on downstream inference tasks?
  • RQ3To what extent can centralized data compensate for missing or imbalanced data (e.g., negative examples) in decentralized training data?
  • RQ4Can selective filtering or targeted collection of centralized data improve model performance when combined with federated data in a privacy-preserving manner?
  • RQ5How can the mixing process be adapted in dynamic, continual learning scenarios where the distribution of on-device data evolves over time?

Key findings

  • The hybrid approach significantly reduces distribution shift between training and inference data, particularly improving performance on rare or underrepresented classes.
  • Example transfer and model averaging strategies outperform gradient transfer in terms of final model accuracy on the CelebA dataset, especially for attribute prediction tasks.
  • Model averaging achieved the best trade-off between privacy and performance, as it avoids direct exposure of centralized data and gradients.
  • The method effectively mitigates label-biased retention skew, such as missing negative examples (e.g., unsmiling faces), by supplementing federated data with targeted centralized examples.
  • Experiments show that combining federated data (representing real-world user behavior) with curated centralized data (representing expert or rare cases) leads to models with higher inference accuracy and robustness.
  • The framework enables practical deployment in safety-critical applications by ensuring that rare but critical scenarios (e.g., adverse weather driving conditions) are better represented in training.

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.