ResFed:通过传输深度压缩的残差实现通信高效的联邦学习
ResFed: Communication Efficient Federated Learning by Transmitting Deep Compressed Residuals
摘要:
联邦学习通过共享学习到的局部模型参数,实现了大规模分布式客户端之间的协作训练。然而,随着模型规模的增加,部署联邦学习需要很大的通信带宽,这限制了其在无线网络中的部署。为了解决这个瓶颈,我们引入了一个基于残差的联邦学习框架(ResFed),其中残差而不是模型参数在通信网络中传输进行训练。特别是,我们集成了两对共享的预测模型预测在服务器到客户端和客户端到服务器的通信。通过采用公共预测规则,本地和全局更新的模型总是在客户端和服务器中完全可恢复。我们强调,残差仅指示模型在单个轮间的准更新,因此与模型权重和梯度相比,残差包含更密集的信息,并且具有比模型更低的熵。基于此性质,我们进一步进行有损压缩的残差稀疏化和量化和编码,有效的通信。实验评估表明,与标准联邦学习相比,我们的ResFed需要显着更少的通信成本,并通过利用不太敏感的残差来实现更好的准确性。例如,在非独立同分布(Non-IID)设置下,在CIFAR-10上训练4.08 MB CNN模型,其中有10个客户端,我们的方法在每个通信回合中实现了超过700 X的压缩比,对准确性的影响最小。为了达到70%的准确性,它为所有客户端平均节省了约99%的总通信量,从587.61 Mb到6.79 Mb的上行流量和4.61 Mb的下行流量。
英文摘要:
Federated learning enables cooperative training among massively distributed clients by sharing their learned local model parameters. However, with increasing model size, deploying federated learning requires a large communication bandwidth, which limits its deployment in wireless networks. To address this bottleneck, we introduce a residual-based federated learning framework (ResFed), where residuals rather than model parameters are transmitted in communication networks for training. In particular, we integrate two pairs of shared predictors for the model prediction in both server-to-client and client-to-server communication. By employing a common prediction rule, both locally and globally updated models are always fully recoverable in clients and the server. We highlight that the residuals only indicate the quasi-update of a model in a single inter-round, and hence contain more dense information and have a lower entropy than the model, comparing to model weights and gradients. Based on this property, we further conduct lossy compression of the residuals by sparsification and quantization and encode them for efficient communication. The experimental evaluation shows that our ResFed needs remarkably less communication costs and achieves better accuracy by leveraging less sensitive residuals, compared to standard federated learning. For instance, to train a 4.08 MB CNN model on CIFAR-10 with 10 clients under non-independent and identically distributed (Non-IID) setting, our approach achieves a compression ratio over 700X in each communication round with minimum impact on the accuracy. To reach an accuracy of 70%, it saves around 99% of the total communication volume from 587.61 Mb to 6.79 Mb in up-streaming and to 4.61 Mb in down-streaming on average for all clients.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。