Energy is an essential, but often forgotten aspect in large-scale federated systems. As most of the research focuses on tackling computational and statistical heterogeneity from the machine learning algorithms, the impact on the mobile system still remains unclear. In this paper, we design and implement an online optimization framework by connecting asynchronous execution of federated training with application co-running to minimize energy consumption on battery-powered mobile devices. From a series of experiments, we find that co-running the training process in the background with foreground applications gives the system a deep energy discount with negligible performance slowdown. Based on these results, we first study an offline problem assuming all the future occurrences of applications are available, and propose a dynamic programming-based algorithm. Then we propose an online algorithm using the Lyapunov framework to explore the solution space via the energy-staleness trade-off. The extensive experiments demonstrate that the online optimization framework can save over 60% energy with 3 times faster convergence speed compared to the previous schemes.
翻译:能源是大规模联邦化系统中一个必要但往往被遗忘的方面。 由于大多数研究的重点是解决机器学习算法的计算和统计差异,对移动系统的影响仍然不清楚。 在本文中,我们设计和实施在线优化框架,将无同步地执行联邦化培训与应用联合运行连接起来,以尽量减少电池动力移动设备能源消耗。 从一系列实验中,我们发现在背景中与前台应用一起运行培训进程,给系统带来深度的能源折扣,而性能减速微乎其微。 基于这些结果,我们首先研究一个离线问题,假设今后所有应用都存在,并提出动态的基于程序的程序算法。然后我们提出一个在线算法,利用Lyapunov框架,通过能源稳定交易探索解决方案空间。广泛的实验表明,在线优化框架可以节省60%以上的能源,比前台速度快3倍。