Fed-Focal Loss for imbalanced data classification in Federated Learning

arXiv:2011.06283 First posted 2020-11-12 v1 Accepted for the Workshop on Federated Learning for Data Privacy and Confidentiality in Conjunction with IJCAI 2020 (FL-IJCAI'20)
Cite this paper ×
BibTeX
@misc{sarkar2020fedfocal,
  title = {Fed-Focal Loss for imbalanced data classification in Federated Learning},
  author = {Dipankar Sarkar and Ankur Narang and Sumit Rai},
  year = {2020},
  eprint = {2011.06283},
  archivePrefix = {arXiv},
  primaryClass = {cs.LG},
  url = {https://arxiv.org/abs/2011.06283}
}
APA
Sarkar, D., Narang, A., & Rai, S. (2020). Fed-Focal Loss for imbalanced data classification in Federated Learning [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.06283
GB/T 7714
SARKAR D, NARANG A, RAI S. Fed-Focal Loss for imbalanced data classification in Federated Learning[EB/OL]. (2020-11-12)[2026-11-29]. https://arxiv.org/abs/2011.06283.

Abstract

The Federated Learning setting has a central server coordinating the training of a model on a network of devices. One of the challenges is variable training performance when the dataset has a class imbalance. In this paper, we address this by introducing a new loss function called Fed-Focal Loss. We propose to address the class imbalance by reshaping cross-entropy loss such that it down-weights the loss assigned to well-classified examples along the lines of focal loss. Additionally, by leveraging a tunable sampling framework, we take into account selective client model contributions on the central server to further focus the detector during training and hence improve its robustness. Using a detailed experimental analysis with the VIRTUAL (Variational Federated Multi-Task Learning) approach, we demonstrate consistently superior performance in both the balanced and unbalanced scenarios for MNIST, FEMNIST, VSN and HAR benchmarks. We obtain a more than 9% (absolute percentage) improvement in the unbalanced MNIST benchmark. We further show that our technique can be adopted across multiple Federated Learning algorithms to get improvements.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!