連合学習における不均衡データ分類のための Fed-Focal Loss
Fed-Focal Loss for imbalanced data classification in Federated Learning
Fed-Focal Loss for imbalanced data classification in Federated Learning
@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}
}
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
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.
要旨
連合学習の環境では、中央サーバーがネットワーク上のデバイスにおけるモデルのトレーニングを調整する。課題の一つは、データセットのクラス不平衡により生じるトレーニング性能の変動である。本稿では、Focal Loss の考え方を踏襲し、正しく分類された例に割り当てられる損失を重み付けを下げるようにクロスエントロピー損失を再構成することで、クラス不平衡に対処する新しい損失関数 Fed-Focal Loss を提案する。さらに、調整可能なサンプリングフレームワークを活用し、中央サーバーにおける選択的なクライアントモデルの貢献を考慮することで、トレーニング中の検出器の焦点をさらに絞り、その頑健性を向上させる。VIRTUAL(Variational Federated Multi-Task Learning)アプローチを用いた詳細な実験分析により、MNIST、FEMNIST、VSN、HAR のベンチマークにおいて、バランスのとれたシナリオも不平衡なシナリオもともに一貫して優れていることを示した。不平衡な MNIST ベンチマークでは、9% 以上の絶対的な性能向上を達成した。また、我々の手法が複数の連合学習アルゴリズムに適用可能であり、改善効果を得られることをさらに示した。
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.