Exploring Vacant Classes in Label-Skewed Federated Learning

Kuangpu Guo, Yuhe Ding, Jian Liang, Ran He, Zilei Wang +1 more
1/4/2024
cs.LGcs.CV

Official code: krumpguo/FedVLS (7 stars, GPL-2.0, last commit 2024-12-13).

Abstract

Label skews, characterized by disparities in local label distribution across clients, pose a significant challenge in federated learning. As minority classes suffer from worse accuracy due to overfitting on local imbalanced data, prior methods often incorporate class-balanced learning techniques during local training. Although these methods improve the mean accuracy across all classes, we observe that vacant classes-referring to categories absent from a client's data distribution-remain poorly recognized. Besides, there is still a gap in the accuracy of local models on minority classes compared to the global model. This paper introduces FedVLS, a novel approach to label-skewed federated learning that integrates both vacant-class distillation and logit suppression simultaneously. Specifically, vacant-class distillation leverages knowledge distillation during local training on each client to retain essential information related to vacant classes from the global model. Moreover, logit suppression directly penalizes network logits for non-label classes, effectively addressing misclassifications in minority classes that may be biased toward majority classes. Extensive experiments validate the efficacy of FedVLS, demonstrating superior performance compared to previous state-of-the-art (SOTA) methods across diverse datasets with varying degrees of label skews. Our code is available at https://github.com/krumpguo/FedVLS.

View on arXivView PDF

Code Implementations(1)

krumpguo/FedVLSOfficial100%
GPL-2.0

the code of paper "Empty Classes Matter in Federated Learning under Label Distribution Skews"

71PythonMay 18, 20241 years agoGPL-2.0

Similar Papers

Cite this paper

@article{guo2024exploring,
  title  = {Exploring Vacant Classes in Label-Skewed Federated Learning},
  author = {Kuangpu Guo and Yuhe Ding and Jian Liang and Ran He and Zilei Wang and Tieniu Tan},
  year   = {2024},
  eprint = {2401.02329},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.02329v3}
}

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

Discussion