解决联邦学习中长尾数据导致模型偏爱头部类的问题
FedLF: Adaptive Logit Adjustment and Feature Optimization in Federated Long-Tailed Learning
- 本地训练时自适应调整输出逻辑,平衡类别预测
- 在CIFAR-10-LT和CIFAR-100-LT上显著提升尾部类准确率
- 适合处理数据分布不均的隐私保护场景
联邦学习为分布式机器学习中的隐私保护提供了新范式。然而,现实世界中各客户端的数据不可避免地存在异构性,若全局聚合,数据往往呈现长尾分布,严重影响模型性能。传统联邦学习主要关注客户端间的数据异构性,却忽视了全局长尾数据中的类别偏差问题,导致模型过度关注头部类别而忽略同样重要的尾部类别。为此,我们提出新方法FedLF,在本地训练阶段引入三项改进:自适应对数调整、连续类别中心优化与特征去相关。我们在基准数据集CIFAR-10-LT和CIFAR-100-LT上对比了七种先进方法,涵盖不同数据异构性和长尾程度。实验表明,该方法能有效缓解数据异构与长尾分布导致的模型性能下降。代码已开源。
原文摘要 · Abstract (English)
Federated learning offers a paradigm to the challenge of preserving privacy in distributed machine learning. However, datasets distributed across each client in the real world are inevitably heterogeneous, and if the datasets can be globally aggregated, they tend to be long-tailed distributed, which greatly affects the performance of the model. The traditional approach to federated learning primarily addresses the heterogeneity of data among clients, yet it fails to address the phenomenon of class-wise bias in global long-tailed data. This results in the trained model focusing on the head classes while neglecting the equally important tail classes. Consequently, it is essential to develop a methodology that considers classes holistically. To address the above problems, we propose a new method FedLF, which introduces three modifications in the local training phase: adaptive logit adjustment, continuous class centred optimization, and feature decorrelation. We compare seven state-of-the-art methods with varying degrees of data heterogeneity and long-tailed distribution. Extensive experiments on benchmark datasets CIFAR-10-LT and CIFAR-100-LT demonstrate that our approach effectively mitigates the problem of model performance degradation due to data heterogeneity and long-tailed distribution. our code is available at https://github.com/18sym/FedLF.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。