FedProc: Prototypical Contrastive Federated Learning on Non-IID data

Xutong Mu, Yulong Shen, Ke Cheng, Xueli Geng, Jiaxuan Fu +2 more
9/25/2021
cs.LGcs.DC
federated

Official code: MuXutong/FedProc (13 stars, Python, last commit 2024-01-12).

Abstract

Federated learning allows multiple clients to collaborate to train high-performance deep learning models while keeping the training data locally. However, when the local data of all clients are not independent and identically distributed (i.e., non-IID), it is challenging to implement this form of efficient collaborative learning.

Show full abstract

Although significant efforts have been dedicated to addressing this challenge, the effect on the image classification task is still not satisfactory. In this paper, we propose FedProc: prototypical contrastive federated learning, which is a simple and effective federated learning framework. The key idea is to utilize the prototypes as global knowledge to correct the local training of each client. We design a local network architecture and a global prototypical contrastive loss to regulate the training of local models, which makes local objectives consistent with the global optima. Eventually, the converged global model obtains a good performance on non-IID data. Experimental results show that, compared to state-of-the-art federated learning methods, FedProc improves the accuracy by $1.6\%\sim7.9\%$ with acceptable computation cost.

View on arXivView PDF

Code Implementations(1)

MuXutong/FedProcOfficial100%
130PythonJan 12, 20242 years ago

Similar Papers

Cite this paper

@article{mu2021fedproc,
  title  = {FedProc: Prototypical Contrastive Federated Learning on Non-IID data},
  author = {Xutong Mu and Yulong Shen and Ke Cheng and Xueli Geng and Jiaxuan Fu and Tao Zhang and Zhiwei Zhang},
  year   = {2021},
  eprint = {2109.12273},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.12273}
}

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

Discussion