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

强化学习中稳定性边缘现象的研究

Investigating the Edge of Stability Phenomenon in Reinforcement Learning

University College London(伦敦大学学院);Google Deepmind(谷歌DeepMind)

Rares Iordan, Marc Peter Deisenroth, Mihaela Rosca

AI总结:

本文研究了异策略深度强化学习中的稳定性边缘现象,发现该现象在 DQN(Huber 损失)中明显存在而在 C51(交叉熵损失)中未出现,揭示了深度 RL 优化与监督学习的差异。

摘要:

近期,随着监督学习中稳定性边缘现象的揭示,人们在理解使用全批量梯度下降与动量的神经网络优化动力学方面取得了进展。稳定性边缘现象发生在 Hessian 矩阵的主导特征值达到底层优化算法对二次损失的散度阈值时,此后该特征值开始在阈值附近振荡,损失开始表现出局部不稳定性,但在较长时间范围内仍会下降。在本工作中,我们探索了强化学习(RL)中的稳定性边缘现象,具体研究了从离线到在线 RL 的各种数据机制下的异策略 Q-learning 算法。我们的实验表明,尽管强化学习与监督学习存在显著差异,例如数据分布的非平稳性和自举(bootstrapping)的使用,但稳定性边缘现象仍可能出现在异策略深度 RL 中。然而,与监督学习不同的是,我们观察到该现象的表现强烈依赖于底层损失函数:使用 Huber 损失的 DQN 表现出明显的稳定性边缘效应,而使用交叉熵损失的 C51 则未观察到该效应。我们的结果表明,虽然神经网络结构可以导致优化动力学在不同问题领域之间迁移,但深度 RL 优化的某些方面可能使其区别于监督学习等领域。

英文摘要:

Recent progress has been made in understanding optimisation dynamics in neural networks trained with full-batch gradient descent with momentum with the uncovering of the edge of stability phenomenon in supervised learning. The edge of stability phenomenon occurs as the leading eigenvalue of the Hessian reaches the divergence threshold of the underlying optimisation algorithm for a quadratic loss, after which it starts oscillating around the threshold, and the loss starts to exhibit local instability but decreases over long time frames. In this work, we explore the edge of stability phenomenon in reinforcement learning (RL), specifically off-policy Q-learning algorithms across a variety of data regimes, from offline to online RL. Our experiments reveal that, despite significant differences to supervised learning, such as non-stationarity of the data distribution and the use of bootstrapping, the edge of stability phenomenon can be present in off-policy deep RL. Unlike supervised learning, however, we observe strong differences depending on the underlying loss, with DQN -- using a Huber loss -- showing a strong edge of stability effect that we do not observe with C51 -- using a cross entropy loss. Our results suggest that, while neural network structure can lead to optimisation dynamics that transfer between problem domains, certain aspects of deep RL optimisation can differentiate it from domains such as supervised learning.

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

↑