arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.08003cs.LGcs.DCcs.NI
收藏

异步联邦强化学习策略梯度更新:算法设计与收敛性分析

Asynchronous Federated Reinforcement Learning with Policy Gradient Updates: Algorithm Design and Convergence Analysis

Purdue University(普渡大学);Yonsei University(延世大学)

Guangchen Lan, Dong-Jun Han, Abolfazl Hashemi, Vaneet Aggarwal, Christopher G. Brinton

AI总结:

提出异步联邦强化学习框架AFedPG,利用策略梯度更新和延迟自适应前瞻技术解决异步滞后问题,实现线性加速并降低时间复杂度,在MuJoCo环境中验证了有效性。

摘要:

为了提高强化学习(RL)的效率,我们提出了一种新颖的异步联邦强化学习(FedRL)框架,称为AFedPG,该框架通过使用策略梯度(PG)更新在$N$个智能体之间协作构建全局模型。为了解决异步设置中策略滞后带来的挑战,我们设计了一种专门针对FedRL的延迟自适应前瞻技术,该技术可以有效处理策略梯度的异构到达时间。我们分析了AFedPG的理论全局收敛界,并刻画了所提算法在样本复杂度和时间复杂度方面的优势。具体而言,我们的AFedPG方法在全局收敛方面,每个智能体平均实现了$O(\frac{ε^{-2.5}}{N})$的样本复杂度。与单智能体设置中$O(ε^{-2.5})$的样本复杂度相比,它在智能体数量上享有线性加速。此外,与同步FedPG相比,AFedPG将时间复杂度从$O(\frac{t_{\max}}{N})$改进为$O({\sum_{i=1}^{N} \frac{1}{t_{i}}})^{-1}$,其中$t_{i}$表示智能体$i$每次迭代的时间消耗,$t_{\max}$是其中最大的时间消耗。后者的复杂度$O({\sum_{i=1}^{N} \frac{1}{t_{i}}})^{-1}$总是小于前者,并且这种改进在具有异构计算能力($t_{\max}\gg t_{\min}$)的大规模联邦设置中变得显著。最后,我们在四个广泛使用的MuJoCo环境中,通过不同数量的智能体实证验证了AFedPG的性能提升。我们还展示了AFedPG在各种计算异构场景中的优势。

英文摘要:

To improve the efficiency of reinforcement learning (RL), we propose a novel asynchronous federated reinforcement learning (FedRL) framework termed AFedPG, which constructs a global model through collaboration among $N$ agents using policy gradient (PG) updates. To address the challenge of lagged policies in asynchronous settings, we design a delay-adaptive lookahead technique \textit{specifically for FedRL} that can effectively handle heterogeneous arrival times of policy gradients. We analyze the theoretical global convergence bound of AFedPG, and characterize the advantage of the proposed algorithm in terms of both the sample complexity and time complexity. Specifically, our AFedPG method achieves $O(\frac{ε^{-2.5}}{N})$ sample complexity for global convergence at each agent on average. Compared to the single agent setting with $O(ε^{-2.5})$ sample complexity, it enjoys a linear speedup with respect to the number of agents. Moreover, compared to synchronous FedPG, AFedPG improves the time complexity from $O(\frac{t_{\max}}{N})$ to $O({\sum_{i=1}^{N} \frac{1}{t_{i}}})^{-1}$, where $t_{i}$ denotes the time consumption in each iteration at agent $i$, and $t_{\max}$ is the largest one. The latter complexity $O({\sum_{i=1}^{N} \frac{1}{t_{i}}})^{-1}$ is always smaller than the former one, and this improvement becomes significant in large-scale federated settings with heterogeneous computing powers ($t_{\max}\gg t_{\min}$). Finally, we empirically verify the improved performance of AFedPG in four widely used MuJoCo environments with varying numbers of agents. We also demonstrate the advantages of AFedPG in various computing heterogeneity scenarios.

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

↑