A Mutual Information Perspective on Federated Contrastive Learning

Christos Louizos, Matthias Reisser, Denis Korzhenkov
5/3/2024
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We investigate contrastive learning in the federated setting through the lens of SimCLR and multi-view mutual information maximization. In doing so, we uncover a connection between contrastive representation learning and user verification; by adding a user verification loss to each client's local SimCLR loss we recover a lower bound to the global multi-view mutual information. To accommodate for the case of when some labelled data are available at the clients, we extend our SimCLR variant to the federated semi-supervised setting. We see that a supervised SimCLR objective can be obtained with two changes: a) the contrastive loss is computed between datapoints that share the same label and b) we require an additional auxiliary head that predicts the correct labels from either of the two views. Along with the proposed SimCLR extensions, we also study how different sources of non-i.i.d.-ness can impact the performance of federated unsupervised learning through global mutual information maximization; we find that a global objective is beneficial for some sources of non-i.i.d.-ness but can be detrimental for others. We empirically evaluate our proposed extensions in various tasks to validate our claims and furthermore demonstrate that our proposed modifications generalize to other pretraining methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{louizos2024mutual,
  title  = {A Mutual Information Perspective on Federated Contrastive Learning},
  author = {Christos Louizos and Matthias Reisser and Denis Korzhenkov},
  year   = {2024},
  eprint = {2405.02081},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.02081v1},
  journal = {ICLR 2024 2024}
}

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/2405.02081.svg)](https://codeofpaper.com/paper/2405.02081)

Discussion