Federated Learning on Heterogeneous and Long-Tailed Data via Classifier Re-Training with Federated Features

Xinyi Shang, Yang Lu, Gang Huang, Hanzi Wang
4/28/2022
152 citations
cs.LG
federated

Official code: shangxinyi/CReFF-FL (53 stars, Python, last commit 2022-05-19).

Abstract

Federated learning (FL) provides a privacy-preserving solution for distributed machine learning tasks. One challenging problem that severely damages the performance of FL models is the co-occurrence of data heterogeneity and long-tail distribution, which frequently appears in real FL applications.

Show full abstract

In this paper, we reveal an intriguing fact that the biased classifier is the primary factor leading to the poor performance of the global model. Motivated by the above finding, we propose a novel and privacy-preserving FL method for heterogeneous and long-tailed data via Classifier Re-training with Federated Features (CReFF). The classifier re-trained on federated features can produce comparable performance as the one re-trained on real data in a privacy-preserving manner without information leakage of local data or class distribution. Experiments on several benchmark datasets show that the proposed CReFF is an effective solution to obtain a promising FL model under heterogeneous and long-tailed data. Comparative results with the state-of-the-art FL methods also validate the superiority of CReFF. Our code is available at https://github.com/shangxinyi/CReFF-FL.

View on arXivView PDF

Code Implementations(1)

535PythonJan 14, 20224 years ago

Similar Papers

Cite this paper

@article{shang2022federated,
  title  = {Federated Learning on Heterogeneous and Long-Tailed Data via Classifier Re-Training with Federated Features},
  author = {Xinyi Shang and Yang Lu and Gang Huang and Hanzi Wang},
  year   = {2022},
  eprint = {2204.13399},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.13399}
}

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

Discussion