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

计算和统计异构环境下联邦移动设备的高效调度

Towards Efficient Scheduling of Federated Mobile Devices under Computational and Statistical Heterogeneity

Old Dominion University(欧道明大学);Stony Brook University(纽约州立大学石溪分校)

Cong Wang, Yuanyuan Yang, Pengzhan Zhou

摘要:

起源于分布式学习,联邦学习通过仅共享模型参数在新的抽象级别上实现隐私保护的协作。虽然目前的研究主要集中在优化学习算法和最小化分布式学习留下的通信开销,但当涉及到移动设备上的真正实现时,仍然存在相当大的差距。在本文中,我们从一个实证实验,以证明计算异构性是一个更明显的瓶颈比当前一代的电池供电的移动设备上的通信,和现有的方法是由移动掉队者困扰。此外,跨移动用户的非相同分布的数据使得参与者的选择对于准确性和收敛性至关重要。为了解决计算和统计异质性,我们利用数据作为调谐旋钮,并提出了两个有效的多项式时间算法调度不同的工作负载在各种移动设备上,当数据是相同或不相同的分布。对于相同分布的数据,我们结合分区和线性瓶颈分配,以实现接近最佳的训练时间,而不会损失精度。对于非同分布的数据,我们将其转换为平均成本最小化问题,并提出了一个贪心算法,以找到一个合理的计算时间和精度之间的平衡。我们还建立了一个离线分析器来量化不同设备的运行时行为,作为调度算法的输入。我们在一个移动测试平台上进行了大量的实验,该平台包含两个数据集和多达20个设备。与常见的基准测试相比,所提出的算法实现了2- 100倍的加速逐时,2-7%的精度增益和提高收敛速度超过100% CIFAR 10。

英文摘要:

Originated from distributed learning, federated learning enables privacy-preserved collaboration on a new abstracted level by sharing the model parameters only. While the current research mainly focuses on optimizing learning algorithms and minimizing communication overhead left by distributed learning, there is still a considerable gap when it comes to the real implementation on mobile devices. In this paper, we start with an empirical experiment to demonstrate computation heterogeneity is a more pronounced bottleneck than communication on the current generation of battery-powered mobile devices, and the existing methods are haunted by mobile stragglers. Further, non-identically distributed data across the mobile users makes the selection of participants critical to the accuracy and convergence. To tackle the computational and statistical heterogeneity, we utilize data as a tuning knob and propose two efficient polynomial-time algorithms to schedule different workloads on various mobile devices, when data is identically or non-identically distributed. For identically distributed data, we combine partitioning and linear bottleneck assignment to achieve near-optimal training time without accuracy loss. For non-identically distributed data, we convert it into an average cost minimization problem and propose a greedy algorithm to find a reasonable balance between computation time and accuracy. We also establish an offline profiler to quantify the runtime behavior of different devices, which serves as the input to the scheduling algorithms. We conduct extensive experiments on a mobile testbed with two datasets and up to 20 devices. Compared with the common benchmarks, the proposed algorithms achieve 2-100x speedup epoch-wise, 2-7% accuracy gain and boost the convergence rate by more than 100% on CIFAR10.

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

↑