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

作为目标条件强化学习的对比学习

Contrastive Learning as Goal-Conditioned Reinforcement Learning

CMU(卡内基梅隆大学);Google Research(谷歌研究院);UC Berkeley(加州大学伯克利分校)

Benjamin Eysenbach, Tianjun Zhang, Ruslan Salakhutdinov, Sergey Levine

摘要:

在强化学习(RL)中,如果给出一个好的表示,解决一个任务会更容易。虽然深度RL应该自动获取这样的良好表示,但先前的工作经常发现,以端到端的方式学习表示是不稳定的,而是为RL算法配备额外的表示学习部分(例如,辅助损失、数据增强)。我们如何设计RL算法,直接获得良好的表示?在本文中,而不是添加表示学习部分现有的RL算法,我们显示(对比)表示学习方法可以作为RL算法在自己的权利。为了做到这一点,我们建立在以前的工作和应用对比表示学习的动作标记的轨迹,在这样一种方式,学习表示(内积)完全对应于一个目标条件价值函数。我们使用这个想法来重新解释先前的RL方法执行对比学习,然后使用这个想法来提出一个更简单的方法,实现类似的性能。在一系列目标条件强化学习任务中,我们证明了对比强化学习方法比以前的非对比方法实现了更高的成功率,包括在离线强化学习设置中。我们还表明,对比RL优于以前的方法对基于图像的任务,而不使用数据增强或辅助目标。

英文摘要:

In reinforcement learning (RL), it is easier to solve a task if given a good representation. While deep RL should automatically acquire such good representations, prior work often finds that learning representations in an end-to-end fashion is unstable and instead equip RL algorithms with additional representation learning parts (e.g., auxiliary losses, data augmentation). How can we design RL algorithms that directly acquire good representations? In this paper, instead of adding representation learning parts to an existing RL algorithm, we show (contrastive) representation learning methods can be cast as RL algorithms in their own right. To do this, we build upon prior work and apply contrastive representation learning to action-labeled trajectories, in such a way that the (inner product of) learned representations exactly corresponds to a goal-conditioned value function. We use this idea to reinterpret a prior RL method as performing contrastive learning, and then use the idea to propose a much simpler method that achieves similar performance. Across a range of goal-conditioned RL tasks, we demonstrate that contrastive RL methods achieve higher success rates than prior non-contrastive methods, including in the offline RL setting. We also show that contrastive RL outperforms prior methods on image-based tasks, without using data augmentation or auxiliary objectives.

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

↑