arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.03174cs.LGcs.AIcs.DC
收藏

FedCos:一种场景自适应的联邦优化增强算法

FedCos: A Scene-adaptive Federated Optimization Enhancement for Performance Improvement

Harbin Institute of Technology(哈尔滨工业大学);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))

Hao Zhang, Tingting Wu, Siyao Cheng, Jie Liu

摘要:

联邦学习(FL)作为一种新兴技术,涉及在分布式边缘设备上训练机器学习模型,引起了人们的持续关注和广泛研究。然而,与集中训练相比,客户数据的异构性严重降低了FL的性能。它导致本地训练的客户端模型向不同的方向移动。一方面,它会减慢甚至停止全局更新,导致通信效率低下。另一方面,它扩大了局部模型之间的距离,导致聚合的全局模型的性能较差。幸运的是,这些缺点可以通过减小局部模型移动方向之间的角度来减轻。基于这一事实,我们提出了FedCos,它通过引入余弦相似性惩罚来减少局部模型的方向不一致性。它促进了局部模型的迭代朝着一个辅助的全局方向。此外,我们的方法可以自动适应各种非IID设置,而无需精心选择超参数。实验结果表明,FedCos优于众所周知的基线,并可以在各种FL场景下增强它们,包括不同程度的数据异构性,不同数量的参与者,以及跨筒仓和跨设备设置。此外,FedCos将通信效率提高了2到5倍。在FedCos的帮助下,多FL方法需要比以前少得多的通信回合,以获得具有可比性能的模型。

英文摘要:

As an emerging technology, federated learning (FL) involves training machine learning models over distributed edge devices, which attracts sustained attention and has been extensively studied. However, the heterogeneity of client data severely degrades the performance of FL compared with that in centralized training. It causes the locally trained models of clients to move in different directions. On the one hand, it slows down or even stalls the global updates, leading to inefficient communication. On the other hand, it enlarges the distances between local models, resulting in an aggregated global model with poor performance. Fortunately, these shortcomings can be mitigated by reducing the angle between the directions that local models move in. Based on this fact, we propose FedCos, which reduces the directional inconsistency of local models by introducing a cosine-similarity penalty. It promotes the local model iterations towards an auxiliary global direction. Moreover, our approach is auto-adapt to various non-IID settings without an elaborate selection of hyperparameters. The experimental results show that FedCos outperforms the well-known baselines and can enhance them under a variety of FL scenes, including varying degrees of data heterogeneity, different number of participants, and cross-silo and cross-device settings. Besides, FedCos improves communication efficiency by 2 to 5 times. With the help of FedCos, multiple FL methods require significantly fewer communication rounds than before to obtain a model with comparable performance.

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

↑