arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.09824cs.LGcs.AIstat.ML
收藏

Federated Dynamic Sparse Training:计算更少,沟通更少,学习更好

Federated Dynamic Sparse Training: Computing Less, Communicating Less, Yet Learning Better

Department of Electrical and Computer Engineering, The University of Texas at Austin(德克萨斯大学奥斯汀分校电气与计算机工程系)

Sameer Bibikar, Haris Vikalo, Zhangyang Wang, Xiaohan Chen

摘要:

联邦学习(FL)支持将机器学习工作负载从云端分发到资源有限的边缘设备。不幸的是,目前的深度网络不仅对于边缘设备上的推理和训练来说计算量太大,而且对于在带宽受限的网络上进行更新通信来说也太大了。在本文中,我们开发,实现,并通过实验验证了一种新的FL框架,称为联邦动态稀疏训练(FedDST),复杂的神经网络可以部署和训练,大大提高了设备上的计算和网络通信的效率。FedDST的核心是一个动态过程,从目标全网络中提取和训练稀疏子网络。有了这个方案,“一石二鸟”:每个客户端都对自己的稀疏网络进行有效的训练,而不是完整的模型,并且只有稀疏网络在设备和云端之间传输。此外,我们的研究结果表明,FL训练过程中的动态稀疏性比固定的共享稀疏掩码更灵活地适应FL代理中的局部异质性。此外,动态稀疏性自然地将“及时自集成效应”引入训练动态中,并且即使在密集训练中也能提高FL性能。在一个现实的和具有挑战性的非i.i.d. FL设置,FedDST在我们的实验中始终优于竞争算法:例如,在非iid CIFAR-10上的任何固定上传数据上限下,当给定相同的上传数据上限时,它比FedAvgM获得了10%的令人印象深刻的准确性优势;即使FedAvgM被赋予2倍的上传数据上限,准确性差距仍然是3%,进一步证明了FedDST的功效。代码可从以下网址获得:https://github.com/bibikar/feddst。

英文摘要:

Federated learning (FL) enables distribution of machine learning workloads from the cloud to resource-limited edge devices. Unfortunately, current deep networks remain not only too compute-heavy for inference and training on edge devices, but also too large for communicating updates over bandwidth-constrained networks. In this paper, we develop, implement, and experimentally validate a novel FL framework termed Federated Dynamic Sparse Training (FedDST) by which complex neural networks can be deployed and trained with substantially improved efficiency in both on-device computation and in-network communication. At the core of FedDST is a dynamic process that extracts and trains sparse sub-networks from the target full network. With this scheme, "two birds are killed with one stone:" instead of full models, each client performs efficient training of its own sparse networks, and only sparse networks are transmitted between devices and the cloud. Furthermore, our results reveal that the dynamic sparsity during FL training more flexibly accommodates local heterogeneity in FL agents than the fixed, shared sparse masks. Moreover, dynamic sparsity naturally introduces an "in-time self-ensembling effect" into the training dynamics and improves the FL performance even over dense training. In a realistic and challenging non i.i.d. FL setting, FedDST consistently outperforms competing algorithms in our experiments: for instance, at any fixed upload data cap on non-iid CIFAR-10, it gains an impressive accuracy advantage of 10% over FedAvgM when given the same upload data cap; the accuracy gap remains 3% even when FedAvgM is given 2x the upload data cap, further demonstrating efficacy of FedDST. Code is available at: https://github.com/bibikar/feddst.

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

↑