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

离线基于模型的强化学习中的可达边界问题

The Edge-of-Reach Problem in Offline Model-Based Reinforcement Learning

University of Oxford(牛津大学);FLAIR, University of Oxford(牛津大学FLAIR)

Anya Sims, Cong Lu, Jakob Foerster, Yee Whye Teh

AI总结:

本文揭示离线基于模型强化学习因短程 rollout 截断导致的可达边界问题,修正理论解释,并提出直接应对该问题的 RAVL 方法。

摘要:

离线强化学习旨在从预先收集的数据集中训练智能体。然而,这带来了额外的挑战,即估计数据集中未覆盖行为的价值。基于模型的方法通过训练一个近似动力学模型提供了一种潜在解决方案,该模型随后允许通过在其中进行 rollout 来收集额外的合成数据。主流理论将这种方法视为在近似动力学模型中的在线 RL,因此任何剩余的性能差距都被理解为源于动力学模型误差。本文分析了这一假设,并研究随着所学动力学模型得到改进,流行算法的表现如何。与直觉和理论均相反,如果将所学动力学模型替换为真实、无误差的动力学,现有基于模型的方法会完全失效。这揭示了一个关键疏漏:理论基础假设在所学动力学模型中采样完整时域 rollout;但在实践中,模型 rollout 步数被大幅削减,以防止误差累积。我们表明,这种 rollout 截断会产生一组可达边界状态,在这些状态上,我们实际上是在“从虚无中自举”。这会引发病态的价值高估和完全的性能崩溃。我们将其称为可达边界问题。基于这一新洞见,我们填补了现有理论中的重要空白,并揭示先前的基于模型方法主要是在解决可达边界问题,而不是其所声称的模型不精确问题。最后,我们提出了 Reach-Aware Value Learning(RAVL,可达感知价值学习),这是一种简单且稳健的方法,直接解决可达边界问题,因此与现有方法不同,它不会随着动力学模型的改进而失效。代码已在 github.com/anyasims/edge-of-reach 开源。

英文摘要:

Offline reinforcement learning aims to train agents from pre-collected datasets. However, this comes with the added challenge of estimating the value of behaviors not covered in the dataset. Model-based methods offer a potential solution by training an approximate dynamics model, which then allows collection of additional synthetic data via rollouts in this model. The prevailing theory treats this approach as online RL in an approximate dynamics model, and any remaining performance gap is therefore understood as being due to dynamics model errors. In this paper, we analyze this assumption and investigate how popular algorithms perform as the learned dynamics model is improved. In contrast to both intuition and theory, if the learned dynamics model is replaced by the true error-free dynamics, existing model-based methods completely fail. This reveals a key oversight: The theoretical foundations assume sampling of full horizon rollouts in the learned dynamics model; however, in practice, the number of model-rollout steps is aggressively reduced to prevent accumulating errors. We show that this truncation of rollouts results in a set of edge-of-reach states at which we are effectively ``bootstrapping from the void.'' This triggers pathological value overestimation and complete performance collapse. We term this the edge-of-reach problem. Based on this new insight, we fill important gaps in existing theory, and reveal how prior model-based methods are primarily addressing the edge-of-reach problem, rather than model-inaccuracy as claimed. Finally, we propose Reach-Aware Value Learning (RAVL), a simple and robust method that directly addresses the edge-of-reach problem and hence - unlike existing methods - does not fail as the dynamics model is improved. Code open-sourced at: github.com/anyasims/edge-of-reach.

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

↑