D-Cliques:分布式联邦学习中的拓扑异构补偿
D-Cliques: Compensating for Data Heterogeneity with Topology in Decentralized Federated Learning
摘要:
使用联邦学习训练的机器学习模型的收敛速度受到异构数据分区的显著影响,在没有中央服务器的完全分散设置中更是如此。在本文中,我们表明,标签分布偏斜的影响,一个重要的类型的数据异构性,可以显着减少精心设计的底层通信拓扑结构。我们提出了D-集团,一种新的拓扑结构,减少梯度偏差分组节点稀疏互连集团,使标签分布在一个集团是代表全球标签分布。我们还展示了如何适应分散SGD的更新,以获得无偏梯度,并使用D-Cliques实现有效的动量。我们对MNIST和CIFAR 10的广泛实证评估表明,我们的方法提供了与全连接拓扑相似的收敛速度,这在数据异构环境中提供了最佳收敛,并显着减少了边缘和消息的数量。在1000个节点的拓扑中,D-Cliques需要的边数减少98%,消息总数减少96%,并且使用跨团的小世界拓扑可以进一步获得收益。
英文摘要:
The convergence speed of machine learning models trained with Federated Learning is significantly affected by heterogeneous data partitions, even more so in a fully decentralized setting without a central server. In this paper, we show that the impact of label distribution skew, an important type of data heterogeneity, can be significantly reduced by carefully designing the underlying communication topology. We present D-Cliques, a novel topology that reduces gradient bias by grouping nodes in sparsely interconnected cliques such that the label distribution in a clique is representative of the global label distribution. We also show how to adapt the updates of decentralized SGD to obtain unbiased gradients and implement an effective momentum with D-Cliques. Our extensive empirical evaluation on MNIST and CIFAR10 demonstrates that our approach provides similar convergence speed as a fully-connected topology, which provides the best convergence in a data heterogeneous setting, with a significant reduction in the number of edges and messages. In a 1000-node topology, D-Cliques require 98% less edges and 96% less total messages, with further possible gains using a small-world topology across cliques.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。