arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.26231cs.LGcs.PFmath.OCmath.PR
收藏

异步联邦学习中的优化权衡:一种随机网络方法

Optimization Trade-offs in Asynchronous Federated Learning: A Stochastic Networks Approach

EMINES, Mohammed VI Polytechnic University(穆罕默德六世理工大学 EMINES 学院);LAAS-CNRS, Université de Toulouse, CNRS(法国国家科学研究中心图卢兹分析系统实验室,图卢兹大学)

Abdelkrim Alahyane, Céline Comte, Matthieu Jonckheere

AI总结:

本文提出一种随机网络框架,分析异步联邦学习中梯度滞后与收敛速度的权衡,并通过实验展示改进的收敛速度和能耗效率。

摘要:

同步联邦学习因straggler效应表现不佳。异步算法通过即时处理更新提高吞吐量,但引入了两个根本性挑战:梯度滞后影响收敛,以及在异质数据分布下对快速客户端的偏倚。尽管AsyncSGD和Generalized AsyncSGD通过客户端任务队列缓解此偏倚,但现有分析忽视了底层队列动态并缺乏更新吞吐量和梯度滞后的闭式表达。为此,我们开发了一种随机网络框架,联合建模客户端和中央服务器的随机计算时间以及随机上行和下行通信延迟。利用产品形式网络理论,我们推导出更新吞吐量的闭式表达式,以及通信轮次复杂度和达到ε-静态点所需预期实时时钟时间的闭式上界。这些结果正式刻画了梯度滞后与实时时钟收敛速度的权衡。我们进一步扩展框架以量化随机时间下的能耗,揭示了收敛速度与能耗效率之间的额外权衡。基于这些分析结果,我们提出基于梯度的优化策略以联合优化路由和并发性。在EMNIST实验中,相比AsyncSGD,收敛时间和能耗分别减少了29%--46%和36%--49%。

英文摘要:

Synchronous federated learning scales poorly due to the straggler effect. Asynchronous algorithms increase the update throughput by processing updates upon arrival, but they introduce two fundamental challenges: gradient staleness, which degrades convergence, and bias toward faster clients under heterogeneous data distributions. Although algorithms such as AsyncSGD and Generalized AsyncSGD mitigate this bias via client-side task queues, most existing analyses neglect the underlying queueing dynamics and lack closed-form characterizations of the update throughput and gradient staleness. To close this gap, we develop a stochastic queueing-network framework for Generalized AsyncSGD that jointly models random computation times at the clients and the central server, as well as random uplink and downlink communication delays. Leveraging product-form network theory, we derive a closed-form expression for the update throughput, alongside closed-form upper bounds for both the communication round complexity and the expected wall-clock time required to reach an $ε$-stationary point. These results formally characterize the trade-off between gradient staleness and wall-clock convergence speed. We further extend the framework to quantify energy consumption under stochastic timing, revealing an additional trade-off between convergence speed and energy efficiency. Building on these analytical results, we propose gradient-based optimization strategies to jointly optimize routing and concurrency. Experiments on EMNIST demonstrate reductions of 29%--46% in convergence time and 36%--49% in energy consumption compared to AsyncSGD.

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

↑