arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.13526cs.LG
收藏

一种联邦边学习的优化框架

An Optimization Framework for Federated Edge Learning

Shanghai Jiao Tong University(上海交通大学);HKUST(香港科技大学)

Yangchen Li, Ying Cui, Vincent Lau

摘要:

联邦学习(FL)算法的优化设计是一个悬而未决的问题,该算法可用于解决实际边缘计算系统中的一般机器学习(ML)问题。本文考虑了一个边缘计算系统,其中服务器和工作者可能具有不同的计算和通信能力,并在传输消息之前使用量化。为了探索FL在这种边缘计算系统中的全部潜力,我们首先提出了一种通用FL算法,即GenQSGD,由全局和局部迭代次数,小批量大小和步长序列参数化。然后,我们分析其收敛性的任意步长序列,并指定三个常用的步长规则,即常数,指数,和递减步长规则下的收敛结果。接下来,我们优化的算法参数,以最大限度地减少能源成本下的时间约束和收敛误差约束,重点对FL的整体实施过程。具体来说,对于任何给定的步长序列下每个考虑的步长规则,我们优化的数量的全局和局部迭代和小批量大小,以最佳地实现FL的应用程序与预设的步长序列。我们还优化了步长序列以及这些算法参数,以探索FL的全部潜力。由此产生的优化问题是具有不可微约束函数的具有挑战性的非凸问题。我们提出了迭代算法,以获得KKT点使用一般内部近似(GIA)和技巧求解互补几何规划(CGP)。最后,我们数值证明了显着的增益GenQSGD与优化的算法参数比现有的FL算法,并揭示了优化设计一般FL算法的意义。

英文摘要:

The optimal design of federated learning (FL) algorithms for solving general machine learning (ML) problems in practical edge computing systems with quantized message passing remains an open problem. This paper considers an edge computing system where the server and workers have possibly different computing and communication capabilities and employ quantization before transmitting messages. To explore the full potential of FL in such an edge computing system, we first present a general FL algorithm, namely GenQSGD, parameterized by the numbers of global and local iterations, mini-batch size, and step size sequence. Then, we analyze its convergence for an arbitrary step size sequence and specify the convergence results under three commonly adopted step size rules, namely the constant, exponential, and diminishing step size rules. Next, we optimize the algorithm parameters to minimize the energy cost under the time constraint and convergence error constraint, with the focus on the overall implementing process of FL. Specifically, for any given step size sequence under each considered step size rule, we optimize the numbers of global and local iterations and mini-batch size to optimally implement FL for applications with preset step size sequences. We also optimize the step size sequence along with these algorithm parameters to explore the full potential of FL. The resulting optimization problems are challenging non-convex problems with non-differentiable constraint functions. We propose iterative algorithms to obtain KKT points using general inner approximation (GIA) and tricks for solving complementary geometric programming (CGP). Finally, we numerically demonstrate the remarkable gains of GenQSGD with optimized algorithm parameters over existing FL algorithms and reveal the significance of optimally designing general FL algorithms.

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

↑