Skip to main content
QUICK REVIEW

[Paper Review] On the Importance and Applicability of Pre-Training for Federated Learning

Hong-You Chen, Cheng-Hao Tu|arXiv (Cornell University)|Jun 23, 2022
Privacy-Preserving Technologies in DataComputer Science10 citations
TL;DR

This paper investigates the impact of pre-training in federated learning (FL), demonstrating that initializing global models with pre-trained weights—especially from ImageNet or synthetic data—significantly improves FL performance, particularly under non-IID data conditions. It shows pre-training reduces the accuracy gap between FL and centralized learning, stabilizes global aggregation, and remains effective even without real data, using novel synthetic data generation like Fractal Pair Similarity (FPS).

ABSTRACT

Pre-training is prevalent in nowadays deep learning to improve the learned model's performance. However, in the literature on federated learning (FL), neural networks are mostly initialized with random weights. These attract our interest in conducting a systematic study to explore pre-training for FL. Across multiple visual recognition benchmarks, we found that pre-training can not only improve FL, but also close its accuracy gap to the counterpart centralized learning, especially in the challenging cases of non-IID clients' data. To make our findings applicable to situations where pre-trained models are not directly available, we explore pre-training with synthetic data or even with clients' data in a decentralized manner, and found that they can already improve FL notably. Interestingly, many of the techniques we explore are complementary to each other to further boost the performance, and we view this as a critical result toward scaling up deep FL for real-world applications. We conclude our paper with an attempt to understand the effect of pre-training on FL. We found that pre-training enables the learned global models under different clients' data conditions to converge to the same loss basin, and makes global aggregation in FL more stable. Nevertheless, pre-training seems to not alleviate local model drifting, a fundamental problem in FL under non-IID data.

Motivation & Objective

  • To investigate whether pre-training, widely used in centralized deep learning, improves federated learning (FL) performance.
  • To evaluate the effectiveness of pre-training under challenging non-IID data settings common in real-world FL.
  • To explore alternatives to real-data pre-training, such as synthetic data or decentralized pre-training using clients’ data.
  • To understand the underlying mechanisms by which pre-training improves FL, particularly in terms of training dynamics and aggregation stability.
  • To assess the complementarity of pre-training with existing FL techniques, including advanced local and global optimization methods.

Proposed method

  • Systematically compare FedAvg with random vs. pre-trained (e.g., ImageNet) model initialization across multiple vision benchmarks: CIFAR-10/100, Tiny-ImageNet, iNaturalist, and Cityscapes.
  • Propose Fractal Pair Similarity (FPS), a synthetic data generation method inspired by fractal geometry, to pre-train models without real data.
  • Implement a two-stage federated training pipeline: self-supervised pre-training on synthetic data, followed by supervised fine-tuning in FL.
  • Use optimal convex combination of local models to analyze aggregation stability, comparing pre-trained and randomly initialized setups.
  • Conduct ablation studies on local model drift and loss landscape convergence to understand pre-training’s impact on training dynamics.
  • Integrate pre-trained weights with state-of-the-art federated self-supervised learning (e.g., FedSSL) to evaluate performance gains.

Experimental results

Research questions

  • RQ1Does pre-training improve FedAvg performance, especially under non-IID data distribution across clients?
  • RQ2How does pre-training affect the accuracy gap between federated and centralized learning?
  • RQ3Can synthetic data generation (e.g., FPS) effectively replace real-data pre-training in FL without compromising performance?
  • RQ4Does pre-training alleviate local model drifting—a known challenge in non-IID FL?
  • RQ5How does pre-training influence the stability of global model aggregation in FL?

Key findings

  • Pre-training consistently improves FedAvg accuracy across all evaluated benchmarks, with larger relative gains in more challenging non-IID settings.
  • Pre-training significantly closes the accuracy gap between federated and centralized learning, with the largest improvement observed in CIFAR-10 and Tiny-ImageNet under Dirichlet non-IID settings.
  • The proposed Fractal Pair Similarity (FPS) method generates synthetic data that enables effective pre-training, improving FedAvg performance even without access to real data.
  • Pre-training does not alleviate local model drifting but stabilizes global aggregation, as evidenced by smaller gains from optimal convex combination and lower loss variance.
  • Pre-training enables global models trained under different client data distributions to converge to the same loss basin, enhancing generalization and stability.
  • Pre-training is complementary to advanced FL methods: it improves their performance but reduces their relative gain over FedAvg, indicating FedAvg remains strong when pre-trained weights are used.

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.