arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.15421cs.LGcs.AI
收藏

在基于群体的强化学习中同时训练一阶与二阶优化器

Simultaneous Training of First- and Second-Order Optimizers in Population-Based Reinforcement Learning

Festo SE & Co. KG(费斯托两合公司)

Felix Pfeiffer, Shahram Eivazi

AI总结:

本文提出在基于群体的训练(PBT)中同时使用一阶和二阶优化器,通过TD3算法在MuJoCo环境中的实验证明K-FAC与Adam混合种群可提升最高10%性能并增强训练稳定性。

摘要:

强化学习(RL)中超参数的调节至关重要,因为这些参数会显著影响智能体的性能和学习效率。在训练过程中动态调整超参数可以显著提升学习的性能和稳定性。基于群体的训练(PBT)通过在训练过程中持续调节超参数,为实现这一目标提供了一种方法。这种持续调整使模型能够适应不同的学习阶段,从而实现更快的收敛和整体性能的提升。本文提出了一种对PBT的增强方法,在单一种群中同时使用一阶和二阶优化器。我们使用TD3算法在多个MuJoCo环境中进行了一系列实验。我们的结果首次从经验上证明了在基于PBT的强化学习中引入二阶优化器的潜力。具体而言,与仅使用Adam的PBT相比,K-FAC优化器与Adam的组合使整体性能提升了最高10%。此外,在Adam偶尔失效的环境中(例如Swimmer环境),包含K-FAC的混合种群表现出更可靠的学习结果,在训练稳定性方面具有显著优势,同时计算时间没有显著增加。

英文摘要:

The tuning of hyperparameters in reinforcement learning (RL) is critical, as these parameters significantly impact an agent's performance and learning efficiency. Dynamic adjustment of hyperparameters during the training process can significantly enhance both the performance and stability of learning. Population-based training (PBT) provides a method to achieve this by continuously tuning hyperparameters throughout the training. This ongoing adjustment enables models to adapt to different learning stages, resulting in faster convergence and overall improved performance. In this paper, we propose an enhancement to PBT by simultaneously utilizing both first- and second-order optimizers within a single population. We conducted a series of experiments using the TD3 algorithm across various MuJoCo environments. Our results, for the first time, empirically demonstrate the potential of incorporating second-order optimizers within PBT-based RL. Specifically, the combination of the K-FAC optimizer with Adam led to up to a 10% improvement in overall performance compared to PBT using only Adam. Additionally, in environments where Adam occasionally fails, such as the Swimmer environment, the mixed population with K-FAC exhibited more reliable learning outcomes, offering a significant advantage in training stability without a substantial increase in computational time.

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

↑