arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.00189cs.LGcs.AI
收藏

基于Logits校正的标签分布偏斜的联邦学习

Federated Learning with Label Distribution Skew via Logits Calibration

Zhejiang University(浙江大学);Youtu Lab, Tencent(腾讯优图实验室)

Jie Zhang, Zhiqi Li, Bo Li, Jianghe Xu, Shuang Wu, Shouhong Ding, Chao Wu

摘要:

传统的联邦优化方法在异构数据上表现不佳(即精度降低),特别是对于高度偏斜的数据。在本文中,我们调查的标签分布偏斜FL,标签的分布在不同的客户端。首先,我们从统计的角度研究标签分布偏斜。我们从理论上和经验上证明,以前基于softmax交叉熵的方法是不合适的,这可能导致局部模型严重过拟合少数类和缺失类。此外,我们在理论上引入了一个偏差界来衡量局部更新后的梯度偏差。最后,本文提出了FedLC(\textbf {Fed} erated learning via \textbf {L} ogits \textbf {C} alibration),它根据每个类出现的概率,在softmax交叉熵之前对logits进行校准。FedLC通过添加成对标签余量来将细粒度校准的交叉熵损失应用于局部更新。在联邦数据集和真实数据集上的大量实验表明,FedLC导致更准确的全局模型和更高的性能。此外,将其他FL方法集成到我们的方法中可以进一步提高全局模型的性能。

英文摘要:

Traditional federated optimization methods perform poorly with heterogeneous data (ie, accuracy reduction), especially for highly skewed data. In this paper, we investigate the label distribution skew in FL, where the distribution of labels varies across clients. First, we investigate the label distribution skew from a statistical view. We demonstrate both theoretically and empirically that previous methods based on softmax cross-entropy are not suitable, which can result in local models heavily overfitting to minority classes and missing classes. Additionally, we theoretically introduce a deviation bound to measure the deviation of the gradient after local update. At last, we propose FedLC (\textbf {Fed} erated learning via\textbf {L} ogits\textbf {C} alibration), which calibrates the logits before softmax cross-entropy according to the probability of occurrence of each class. FedLC applies a fine-grained calibrated cross-entropy loss to local update by adding a pairwise label margin. Extensive experiments on federated datasets and real-world datasets demonstrate that FedLC leads to a more accurate global model and much improved performance. Furthermore, integrating other FL methods into our approach can further enhance the performance of the global model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑