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

简化深度时序差分学习

Simplifying Deep Temporal Difference Learning

Universitat Politècnica de Catalunya(加泰罗尼亚理工大学);University of Oxford(牛津大学);Barcelona Supercomputing Center(巴塞罗那超级计算中心);Institut de Ciències del Mar(海洋科学研究所)

Matteo Gallici, Mattie Fellows, Benjamin Ellis, Bartomeu Pou, Ivan Masmitja, Jakob Nicolaus Foerster, Mario Martin

AI总结:

本文提出PQN,一种无需目标网络和大型回放缓冲区的简化深度Q学习算法,利用LayerNorm正则化和向量化环境并行采样,在保持稳定性的同时,性能媲美复杂方法且速度提升高达50倍。

摘要:

Q学习在强化学习(RL)领域发挥了基础性作用。然而,使用离策略数据的TD算法(如Q学习)或非线性函数逼近(如深度神经网络)需要若干额外技巧来稳定训练,主要是大型回放缓冲区和目标网络。不幸的是,目标网络中冻结网络参数的延迟更新损害了样本效率,同样,大型回放缓冲区引入了内存和实现开销。在本文中,我们研究是否有可能在保持稳定性的同时加速并简化离策略TD训练。我们的关键理论结果首次证明,诸如LayerNorm之类的正则化技术可以产生可证明收敛的TD算法,而无需目标网络或回放缓冲区,即使使用离策略数据也是如此。实证上,我们发现由向量化环境实现的在线并行采样可以在无需大型回放缓冲区的情况下稳定训练。受这些发现的启发,我们提出了PQN,即我们简化的深度在线Q学习算法。令人惊讶的是,这个简单算法与更复杂的方法(如Atari中的Rainbow、Craftax中的PPO-RNN、Smax中的QMix)具有竞争力,并且在不牺牲样本效率的情况下,比传统DQN快可达50倍。在PPO已成为首选RL算法的时代,PQN重新确立了离策略Q学习作为可行替代方案的地位。

英文摘要:

Q-learning played a foundational role in the field reinforcement learning (RL). However, TD algorithms with off-policy data, such as Q-learning, or nonlinear function approximation like deep neural networks require several additional tricks to stabilise training, primarily a large replay buffer and target networks. Unfortunately, the delayed updating of frozen network parameters in the target network harms the sample efficiency and, similarly, the large replay buffer introduces memory and implementation overheads. In this paper, we investigate whether it is possible to accelerate and simplify off-policy TD training while maintaining its stability. Our key theoretical result demonstrates for the first time that regularisation techniques such as LayerNorm can yield provably convergent TD algorithms without the need for a target network or replay buffer, even with off-policy data. Empirically, we find that online, parallelised sampling enabled by vectorised environments stabilises training without the need for a large replay buffer. Motivated by these findings, we propose PQN, our simplified deep online Q-Learning algorithm. Surprisingly, this simple algorithm is competitive with more complex methods like: Rainbow in Atari, PPO-RNN in Craftax, QMix in Smax, and can be up to 50x faster than traditional DQN without sacrificing sample efficiency. In an era where PPO has become the go-to RL algorithm, PQN reestablishes off-policy Q-learning as a viable alternative.

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

↑