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

基于基于模型的强化学习的深状态空间模型不确定性研究

On Uncertainty in Deep State Space Models for Model-Based Reinforcement Learning

Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院)

Philipp Becker, Gerhard Neumann

摘要:

改进的状态空间模型,如递归状态空间模型(RSSM),是基于模型的强化学习(RL)的最新进展背后的关键因素。然而,尽管它们在经验上取得了成功,但许多潜在的设计选择并没有得到很好的理解。我们表明,RSSM使用次优推理方案,使用这种推理训练的模型高估了地面真实系统的任意不确定性。我们发现这种高估隐含地正则化了RSSM,并允许它们在基于模型的RL中取得成功。我们假设这种隐式正则化实现了与显式建模认知不确定性相同的功能,这对于许多其他基于模型的RL方法至关重要。然而,高估任意不确定性也会在准确估计它的情况下损害性能,例如,当我们不得不处理遮挡、观测缺失或在不同频率下融合传感器模态时。此外,隐式正则化是推理方案的副作用,而不是严格的原则性公式的结果,这使得分析或改进RSSM变得困难。因此,我们提出了一种替代方法,建立在充分理解的组件建模任意和认知的不确定性,被称为变分递归卡尔曼网络(VRKN)。这种方法使用卡尔曼更新的精确平滑推理的潜在空间和蒙特卡洛辍学模型认知的不确定性。由于卡尔曼更新,VRKN可以自然地处理每个时间步长具有不同数量的观测值的缺失观测或传感器融合问题。我们的实验表明,使用VRKN,而不是RSSM提高性能的任务,适当捕捉任意的不确定性是至关重要的,同时匹配它在确定性的标准基准。

英文摘要:

Improved state space models, such as Recurrent State Space Models (RSSMs), are a key factor behind recent advances in model-based reinforcement learning (RL). Yet, despite their empirical success, many of the underlying design choices are not well understood. We show that RSSMs use a suboptimal inference scheme and that models trained using this inference overestimate the aleatoric uncertainty of the ground truth system. We find this overestimation implicitly regularizes RSSMs and allows them to succeed in model-based RL. We postulate that this implicit regularization fulfills the same functionality as explicitly modeling epistemic uncertainty, which is crucial for many other model-based RL approaches. Yet, overestimating aleatoric uncertainty can also impair performance in cases where accurately estimating it matters, e.g., when we have to deal with occlusions, missing observations, or fusing sensor modalities at different frequencies. Moreover, the implicit regularization is a side-effect of the inference scheme and not the result of a rigorous, principled formulation, which renders analyzing or improving RSSMs difficult. Thus, we propose an alternative approach building on well-understood components for modeling aleatoric and epistemic uncertainty, dubbed Variational Recurrent Kalman Network (VRKN). This approach uses Kalman updates for exact smoothing inference in a latent space and Monte Carlo Dropout to model epistemic uncertainty. Due to the Kalman updates, the VRKN can naturally handle missing observations or sensor fusion problems with varying numbers of observations per time step. Our experiments show that using the VRKN instead of the RSSM improves performance in tasks where appropriately capturing aleatoric uncertainty is crucial while matching it in the deterministic standard benchmarks.

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

↑