연방 학습에서의 불균형 데이터 분류를 위한 Fed-Focal 손실
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.
초록
연방 학습 설정에서는 중앙 서버가 네트워크 상의 장치들에서 모델의 학습을 조정한다. 데이터셋이 클래스 불균형을 가질 때 학습 성능의 변동성은 주요 도전 과제 중 하나이다. 본 논문에서는 클래스 불균형을 해결하기 위해 Fed-Focal Loss라는 새로운 손실 함수를 제안한다. 우리는 클래스 불균형을 해결하기 위해 포칼 손실의 원리를 따르며 잘 분류된 예시에게 할당된 손실을 가중치를 낮추도록 크로스 엔트로피 손실의 형태를 재구성한다. 또한, 조정 가능한 샘플링 프레임워크를 활용하여 중앙 서버에서 선택적 클라이언트 모델 기여도를 고려함으로써 학습 중 검출기를 더욱 집중시키고 이에 따라 그 견고성을 향상시킨다. VIRTUAL(변분 연방 다중 작업 학습) 접근법을 활용한 상세한 실험 분석을 통해 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.