Skip to main content
QUICK REVIEW

[论文解读] Mask-based Latent Reconstruction for Reinforcement Learning

Changyuan Yu, Zhizheng Zhang|arXiv (Cornell University)|Jan 28, 2022
Reinforcement Learning in RoboticsComputer Science被引用 21
一句话总结

MLR 增加了一种基于掩码的自监督目标,该目标从被掩蔽的视频观测中重建潜在状态表示,在连续和离散 RL 基准测试中提高样本效率。

ABSTRACT

For deep reinforcement learning (RL) from pixels, learning effective state representations is crucial for achieving high performance. However, in practice, limited experience and high-dimensional inputs prevent effective representation learning. To address this, motivated by the success of mask-based modeling in other research fields, we introduce mask-based reconstruction to promote state representation learning in RL. Specifically, we propose a simple yet effective self-supervised method, Mask-based Latent Reconstruction (MLR), to predict complete state representations in the latent space from the observations with spatially and temporally masked pixels. MLR enables better use of context information when learning state representations to make them more informative, which facilitates the training of RL agents. Extensive experiments show that our MLR significantly improves the sample efficiency in RL and outperforms the state-of-the-art sample-efficient RL methods on multiple continuous and discrete control benchmarks. Our code is available at https://github.com/microsoft/Mask-based-Latent-Reconstruction.

研究动机与目标

  • 促进面向视觉的 RL 的更具信息量的状态表示。
  • 在不进行额外数据收集的情况下实现表示学习与策略学习的联合优化。
  • 通过重建潜在特征而非像素,利用针对 RL 的基于掩码的建模。
  • 研究实际可行的掩码策略和目标空间,以理解在 RL 中的真实收益。

提出的方法

  • 在输入观测序列中随机遮蔽时空立方体(立方 masking)。
  • 使用在线编码器对被遮蔽的观测进行编码,使用动量编码器对原始观测进行编码。
  • 使用基于变换器的潜在解码器来预测以动作和时间位置信息为条件的潜在表示。
  • 使用基于预测潜在特征与目标潜在特征之间余弦相似度的潜在空间重构损失进行训练。
  • 在训练中通过加权和将 MLR 损失与基础 RL 目标结合起来(L_total = L_rl + lambda L_mlr)。
  • 对目标潜在表示使用 stop-gradient 以避免崩溃。

实验结果

研究问题

  • RQ1基于掩码的潜在重构是否能提升来自像素输入的 RL 表示学习?
  • RQ2哪些遮蔽策略(空间、时间、时空)在 RL 中能带来最佳性能?
  • RQ3潜在空间重构是否比像素空间重构在 RL 中更有效?
  • RQ4应如何选择重构目标(潜在空间与像素空间),以及对策略学习的影响?

主要发现

  • MLR 显著提高样本效率,在多项基准测试中超越最先进的样本效率 RL 方法。
  • 在 DMControl-100k 上,MLR 在平均分上较 Baseline 提升 25.3%,中位数提升 34.7%,并在平均分和中位数上分别超过 PlayVirtual 43.5%(均值)和 35.5%(中位数)。
  • 在 DMControl-500k 上,MLR 获得最佳中位分数,均值分数与最强的 SOTA 方法相近。
  • 在 Atari-100k 上,MLR 的 IQM 为 0.432,较 SPR 高 28.2%,较 PlayVirtual 高 15.5%,且 OG 为 0.522,优于 SPR 和 PlayVirtual。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。