在联邦学习中通过传输分布式模型更新来削减通信流量
Slashing Communication Traffic in Federated Learning by Transmitting Clustered Model Updates
摘要:
联邦学习(FL)是一种新兴的分散式学习框架,通过它多个客户可以协同训练一个学习模型。然而,阻碍FL广泛部署的主要障碍在于大规模的通信流量。为了训练高维机器学习模型(例如CNN模型),通过在客户端和参数服务器(PS)之间经由因特网交换模型更新可能导致繁重的通信业务,这意味着网络资源可能容易耗尽。压缩模型更新是减少通信量的有效方法。然而,一个灵活的无偏压缩算法适用于上行链路和下行链路的FL压缩仍然缺乏现有的作品。在这项工作中,我们设计的模型更新压缩软聚类(MUCSC)算法来压缩客户端和PS之间传输的模型更新。在MUCSC中,只需要发送每个模型更新的集群质心和集群ID。此外,我们证明:1)压缩模型更新是其原始值的无偏估计,使得通过传输压缩模型更新的收敛速率不变; 2)MUCSC可以保证压缩误差对模型精度的影响最小化。然后,我们进一步提出了增强MUCSC(B-MUCSC)算法,有偏压缩算法,可以通过将无关紧要的模型更新分组到一个超级集群中来实现极高的压缩率。B-MUCSC适用于网络资源非常稀缺的场景。最后,我们用CIFAR-10和FEMNIST数据集进行了大量的实验,证明我们的算法不仅可以大大减少FL中的通信流量,而且可以提高实际网络的训练效率。
英文摘要:
Federated Learning (FL) is an emerging decentralized learning framework through which multiple clients can collaboratively train a learning model. However, a major obstacle that impedes the wide deployment of FL lies in massive communication traffic. To train high dimensional machine learning models (such as CNN models), heavy communication traffic can be incurred by exchanging model updates via the Internet between clients and the parameter server (PS), implying that the network resource can be easily exhausted. Compressing model updates is an effective way to reduce the traffic amount. However, a flexible unbiased compression algorithm applicable for both uplink and downlink compression in FL is still absent from existing works. In this work, we devise the Model Update Compression by Soft Clustering (MUCSC) algorithm to compress model updates transmitted between clients and the PS. In MUCSC, it is only necessary to transmit cluster centroids and the cluster ID of each model update. Moreover, we prove that: 1) The compressed model updates are unbiased estimation of their original values so that the convergence rate by transmitting compressed model updates is unchanged; 2) MUCSC can guarantee that the influence of the compression error on the model accuracy is minimized. Then, we further propose the boosted MUCSC (B-MUCSC) algorithm, a biased compression algorithm that can achieve an extremely high compression rate by grouping insignificant model updates into a super cluster. B-MUCSC is suitable for scenarios with very scarce network resource. Ultimately, we conduct extensive experiments with the CIFAR-10 and FEMNIST datasets to demonstrate that our algorithms can not only substantially reduce the volume of communication traffic in FL, but also improve the training efficiency in practical networks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。