Skip to main content
QUICK REVIEW

[Paper Review] Divergence-aware Federated Self-Supervised Learning

Weiming Zhuang, Yonggang Wen|arXiv (Cornell University)|Apr 9, 2022
Privacy-Preserving Technologies in DataComputer Science35 citations
TL;DR

This paper presents a generalized FedSSL framework for learning unlabeled representations from decentralized data, reveals key building-block insights, and introduces FedEMA, a divergence-aware EMA-based update to improve performance on non-IID data.

ABSTRACT

Self-supervised learning (SSL) is capable of learning remarkable representations from centrally available data. Recent works further implement federated learning with SSL to learn from rapidly growing decentralized unlabeled images (e.g., from cameras and phones), often resulted from privacy constraints. Extensive attention has been paid to SSL approaches based on Siamese networks. However, such an effort has not yet revealed deep insights into various fundamental building blocks for the federated self-supervised learning (FedSSL) architecture. We aim to fill in this gap via in-depth empirical study and propose a new method to tackle the non-independently and identically distributed (non-IID) data problem of decentralized data. Firstly, we introduce a generalized FedSSL framework that embraces existing SSL methods based on Siamese networks and presents flexibility catering to future methods. In this framework, a server coordinates multiple clients to conduct SSL training and periodically updates local models of clients with the aggregated global model. Using the framework, our study uncovers unique insights of FedSSL: 1) stop-gradient operation, previously reported to be essential, is not always necessary in FedSSL; 2) retaining local knowledge of clients in FedSSL is particularly beneficial for non-IID data. Inspired by the insights, we then propose a new approach for model update, Federated Divergence-aware Exponential Moving Average update (FedEMA). FedEMA updates local models of clients adaptively using EMA of the global model, where the decay rate is dynamically measured by model divergence. Extensive experiments demonstrate that FedEMA outperforms existing methods by 3-4% on linear evaluation. We hope that this work will provide useful insights for future research.

Motivation & Objective

  • Investigate fundamental components of federated self-supervised learning (FedSSL) using a generalized framework.
  • Assess how Siamese-network building blocks function in FedSSL under non-IID data.
  • Identify which components (stop-gradient, target networks, local knowledge) are beneficial in FedSSL.
  • Propose and evaluate a new update strategy (FedEMA) that adapts EMA decay based on model divergence to mitigate non-IID challenges.

Proposed method

  • Define a generalized FedSSL framework with a server aggregating client online networks and updating clients with a global model.
  • Implement and compare four SSL methods (SimCLR, MoCo, SimSiam, BYOL) within the FedSSL framework.
  • Analyze the role of Siamese-network components (online/target networks, predictors, stop-gradient) across non-IID data.
  • Propose FedEMA, an EMA-based update with a divergence-driven decay rate to blend local and global knowledge.
  • Show autoscaler for client-specific lambda to adaptively set EMA decay based on encoder divergence.

Experimental results

Research questions

  • RQ1How do the fundamental components of Siamese-network based SSL (stop-gradient, predictor, target encoder) behave in FedSSL under non-IID data?
  • RQ2What are the effects of retaining local knowledge and using a divergence-aware EMA update on Federated SSL performance?
  • RQ3Can a dynamic EMA update (FedEMA) outperform existing FedSSL methods across CIFAR-10/100 under non-IID settings?

Key findings

  • FedBYOL generally yields the best performance among non-contrastive FedSSL methods in non-IID settings.
  • Stop-gradient is not always necessary in FedSSL, unlike in standard SSL settings.
  • Maintaining local knowledge in encoders helps performance on non-IID data; updating only the global model can hurt performance.
  • FedEMA outperforms existing FedSSL methods by 3-4% on linear evaluation across evaluated settings.
  • An autoscaler for the EMA decay parameter (lambda) achieves comparable results to manually tuned values.
  • Target encoders are essential to transfer knowledge from online encoders; divergence-aware EMA effectively balances local and global information.

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.