arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.03649cs.LGcs.AIcs.MAcs.RO
收藏

如何在近端策略优化中启用不确定性估计

How to Enable Uncertainty Estimation in Proximal Policy Optimization

ETH Zürich(苏黎世联邦理工学院);University of Konstanz(康斯坦茨大学);ETH AI Center(苏黎世联邦理工学院人工智能中心)

Eugene Bykovets, Yannick Metz, Mennatallah El-Assady, Daniel A. Keim, Joachim M. Buhmann

摘要:

虽然深度强化学习(RL)代理在许多领域都展示了强大的结果,但一个主要的问题是它们固有的不透明性和这些系统在现实世界用例中的安全性。为了克服这些问题,我们需要能够量化其不确定性并检测出分布(OOD)状态的代理。现有的不确定性估计技术,如Monte-Carlo Dropout或Deep Ensembles,尚未在策略深度RL中得到广泛采用。我们认为这是由于两个原因:与监督学习相比,不确定性和OOD状态等概念没有很好地定义,特别是对于策略RL方法。其次,RL中不确定性估计方法的实现和比较研究有限。为了克服第一个差距,我们提出了不确定性和OOD的演员-评论RL算法,即近端策略优化(PPO)的定义,并提出了可能适用的措施。特别是,我们讨论了价值和政策不确定性的概念。第二点是通过实现不同的不确定性估计方法并在许多环境中比较它们来解决的。OOD检测性能通过各种RL环境的分发(ID)和OOD状态的自定义评估基准进行评估。我们确定了奖励和OOD检测性能之间的权衡。为了克服这一点,我们制定了一个帕累托优化问题,我们同时优化奖励和OOD检测性能。我们的实验表明,最近提出的方法Masksembles罢工的调查方法之间的有利平衡,使高质量的不确定性估计和OOD检测,同时匹配原始RL代理的性能。

英文摘要:

While deep reinforcement learning (RL) agents have showcased strong results across many domains, a major concern is their inherent opaqueness and the safety of such systems in real-world use cases. To overcome these issues, we need agents that can quantify their uncertainty and detect out-of-distribution (OOD) states. Existing uncertainty estimation techniques, like Monte-Carlo Dropout or Deep Ensembles, have not seen widespread adoption in on-policy deep RL. We posit that this is due to two reasons: concepts like uncertainty and OOD states are not well defined compared to supervised learning, especially for on-policy RL methods. Secondly, available implementations and comparative studies for uncertainty estimation methods in RL have been limited. To overcome the first gap, we propose definitions of uncertainty and OOD for Actor-Critic RL algorithms, namely, proximal policy optimization (PPO), and present possible applicable measures. In particular, we discuss the concepts of value and policy uncertainty. The second point is addressed by implementing different uncertainty estimation methods and comparing them across a number of environments. The OOD detection performance is evaluated via a custom evaluation benchmark of in-distribution (ID) and OOD states for various RL environments. We identify a trade-off between reward and OOD detection performance. To overcome this, we formulate a Pareto optimization problem in which we simultaneously optimize for reward and OOD detection performance. We show experimentally that the recently proposed method of Masksembles strikes a favourable balance among the survey methods, enabling high-quality uncertainty estimation and OOD detection while matching the performance of original RL agents.

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

↑