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

高方差在RL中是非均匀的吗?连续控制案例研究

Is High Variance Unavoidable in RL? A Case Study in Continuous Control

Cornell University(康奈尔大学)

Johan Bjorck, Carla P. Gomes, Kilian Q. Weinberger

摘要:

众所周知,强化学习(RL)实验具有很高的方差,微小的细节可能会对测量结果产生不成比例的巨大影响。这对于创建可重复的研究是有问题的,也是现实世界应用的障碍,在现实世界中,安全性和可预测性是至关重要的。在本文中,我们调查这种感知不稳定的原因。为了进行深入的分析,我们专注于一个特别流行的高方差设置-连续控制像素与演员评论家代理。在这种情况下,我们证明了方差主要是在训练的早期出现的,这是由于糟糕的“离群值”运行,但权重初始化和初始探索并不是罪魁祸首。我们发现,早期方差的原因之一是数值不稳定,导致饱和非线性。我们调查了这个问题的几个修复方法,发现一个特定的方法是令人惊讶的有效和简单-规范化倒数第二个功能。解决学习不稳定性允许更大的学习率,并显着降低结果的方差。这表明RL中感知到的差异不一定是问题定义所固有的,可以通过简单的架构修改来解决。

英文摘要:

Reinforcement learning (RL) experiments have notoriously high variance, and minor details can have disproportionately large effects on measured outcomes. This is problematic for creating reproducible research and also serves as an obstacle for real-world applications, where safety and predictability are paramount. In this paper, we investigate causes for this perceived instability. To allow for an in-depth analysis, we focus on a specifically popular setup with high variance -- continuous control from pixels with an actor-critic agent. In this setting, we demonstrate that variance mostly arises early in training as a result of poor "outlier" runs, but that weight initialization and initial exploration are not to blame. We show that one cause for early variance is numerical instability which leads to saturating nonlinearities. We investigate several fixes to this issue and find that one particular method is surprisingly effective and simple -- normalizing penultimate features. Addressing the learning instability allows for larger learning rates, and significantly decreases the variance of outcomes. This demonstrates that the perceived variance in RL is not necessarily inherent to the problem definition and may be addressed through simple architectural modifications.

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

↑