Federated learning (FL) over mobile devices has fostered numerous intriguing applications/services, many of which are delay-sensitive. In this paper, we propose a service delay efficient FL (SDEFL) scheme over mobile devices. Unlike traditional communication efficient FL, which regards wireless communications as the bottleneck, we find that under many situations, the local computing delay is comparable to the communication delay during the FL training process, given the development of high-speed wireless transmission techniques. Thus, the service delay in FL should be computing delay + communication delay over training rounds. To minimize the service delay of FL, simply reducing local computing/communication delay independently is not enough. The delay trade-off between local computing and wireless communications must be considered. Besides, we empirically study the impacts of local computing control and compression strategies (i.e., the number of local updates, weight quantization, and gradient quantization) on computing, communication and service delays. Based on those trade-off observation and empirical studies, we develop an optimization scheme to minimize the service delay of FL over heterogeneous devices. We establish testbeds and conduct extensive emulations/experiments to verify our theoretical analysis. The results show that SDEFL reduces notable service delay with a small accuracy drop compared to peer designs.
翻译:在移动设备方面,联邦学习(FL)已经促进了许多令人感兴趣的应用/服务,其中许多是延迟敏感的。在本文中,我们提议对移动设备实行服务延迟高效FL(SDEFL)计划。与传统通信高效FL(将无线通信视为瓶颈)不同,我们认为,在许多情况下,由于开发高速无线传输技术,当地计算机延迟与FL培训过程中的通信延迟相当。因此,FL的服务延迟应当计算在培训回合中的延迟+通信延迟。为了最大限度地减少FL服务延迟,仅仅独立减少本地计算/通信延迟是不够的。必须考虑本地计算与无线通信之间的延迟交易。此外,我们从经验上研究本地计算控制和压缩战略(即本地更新的数量、重量的四分化和梯度的四分化)对计算、通信和服务延误的影响。根据这些交易观察和经验研究,我们制定了一个优化计划,以尽量减少FL服务在多式设备方面的延迟。我们建立了测试床,并进行了广泛的理论化分析,以对比性延迟性结果。