Skip to main content
QUICK REVIEW

[Paper Review] Federated Unsupervised Representation Learning

Fengda Zhang, Kun Kuang|arXiv (Cornell University)|Oct 18, 2020
Privacy-Preserving Technologies in DataComputer Science38 citations
TL;DR

FedCA learns a shared unsupervised representation across distributed clients by coordinating a dictionary of representations and an alignment mechanism, addressing non-IID data and representation misalignment in federated learning.

ABSTRACT

To leverage enormous unlabeled data on distributed edge devices, we formulate a new problem in federated learning called Federated Unsupervised Representation Learning (FURL) to learn a common representation model without supervision while preserving data privacy. FURL poses two new challenges: (1) data distribution shift (Non-IID distribution) among clients would make local models focus on different categories, leading to the inconsistency of representation spaces. (2) without the unified information among clients in FURL, the representations across clients would be misaligned. To address these challenges, we propose Federated Constrastive Averaging with dictionary and alignment (FedCA) algorithm. FedCA is composed of two key modules: (1) dictionary module to aggregate the representations of samples from each client and share with all clients for consistency of representation space and (2) alignment module to align the representation of each client on a base model trained on a public data. We adopt the contrastive loss for local model training. Through extensive experiments with three evaluation protocols in IID and Non-IID settings, we demonstrate that FedCA outperforms all baselines with significant margins.

Motivation & Objective

  • Motivate learning a common unsupervised representation model from decentralized unlabeled data while preserving client privacy.
  • Identify and address two key FURL challenges: non-IID data causing inconsistent representation spaces and misalignment across clients.
  • Propose a FedCA framework combining a dictionary module and an alignment module to stabilize and align representations.

Proposed method

  • Use a dictionary module maintained by the server to aggregate and share representations (negative samples) across clients for consistent contrastive learning.
  • Use an alignment module that trains a base model on a public dataset and regularizes local models to mimic the alignment model outputs.
  • Apply contrastive learning locally on each client with the augmented data, integrating dictionary-based negatives and alignment regularization.
  • Employ temporal ensembling to stabilize the dictionary by maintaining evolving ensemble projections for more robust negatives.
  • Combine the contrastive loss with an alignment loss, controlled by a weight beta, to train the local encoders and projection heads.
  • Iteratively perform client-local updates and server-aggregated global model updates following a FedAvg-like protocol.

Experimental results

Research questions

  • RQ1How can federated learning be extended to unsupervised representation learning with privacy guarantees?
  • RQ2Can a shared representation space be achieved across heterogeneous (non-IID) client data without labels?
  • RQ3Do dictionary-based representations and cross-client alignment improve federated unsupervised learning over naive federated approaches?
  • RQ4What is the impact of temporal ensembling and alignment regularization on representation consistency across clients?

Key findings

  • FedCA outperforms baselines that simply combine federated learning with unsupervised approaches across IID and Non-IID settings.
  • The dictionary module improves consistency of the representation space by providing shared negative samples.
  • The alignment module reduces representation misalignment across local models, keeping their outputs closer to a base model trained on public data.
  • Temporal ensembling enhances the effectiveness of the dictionary in Non-IID settings by stabilizing representations over rounds.
  • A combined FedCA with both dictionary and alignment modules yields the strongest performance, especially under challenging Non-IID conditions.

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.