Collaborative Unsupervised Visual Representation Learning from Decentralized Data

Weiming Zhuang, Xin Gan, Yonggang Wen, Shuai Zhang, Shuai Yi
8/14/2021
cs.DCcs.AIcs.CV

Official code: EasyFL-AI/EasyFL (26 stars, Python, Apache-2.0, last commit 2023-08-23).

Abstract

Unsupervised representation learning has achieved outstanding performances using centralized data available on the Internet. However, the increasing awareness of privacy protection limits sharing of decentralized unlabeled image data that grows explosively in multiple parties (e.g., mobile phones and cameras).

Show full abstract

As such, a natural problem is how to leverage these data to learn visual representations for downstream tasks while preserving data privacy. To address this problem, we propose a novel federated unsupervised learning framework, FedU. In this framework, each party trains models from unlabeled data independently using contrastive learning with an online network and a target network. Then, a central server aggregates trained models and updates clients' models with the aggregated model. It preserves data privacy as each party only has access to its raw data. Decentralized data among multiple parties are normally non-independent and identically distributed (non-IID), leading to performance degradation. To tackle this challenge, we propose two simple but effective methods: 1) We design the communication protocol to upload only the encoders of online networks for server aggregation and update them with the aggregated encoder; 2) We introduce a new module to dynamically decide how to update predictors based on the divergence caused by non-IID. The predictor is the other component of the online network. Extensive experiments and ablations demonstrate the effectiveness and significance of FedU. It outperforms training with only one party by over 5% and other methods by over 14% in linear and semi-supervised evaluation on non-IID data.

View on arXivView PDF

Code Implementations(1)

EasyFL-AI/EasyFLOfficial100%
Apache-2.0

An easy-to-use federated learning platform

261Python, ShellAug 14, 20243 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhuang2021collaborative,
  title  = {Collaborative Unsupervised Visual Representation Learning from Decentralized Data},
  author = {Weiming Zhuang and Xin Gan and Yonggang Wen and Shuai Zhang and Shuai Yi},
  year   = {2021},
  eprint = {2108.06492},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.06492}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.06492.svg)](https://codeofpaper.com/paper/2108.06492)

Discussion