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

面向基于视觉的深度强化学习的自监督方法预训练视觉Transformer

Pretraining the Vision Transformer using self-supervised methods for vision based Deep Reinforcement Learning

Instituto Superior Técnico(高等技术学院);INESC-ID(里斯本系统与计算机工程研究所);NeuralShift

Manuel Goulão, Arlindo L. Oliveira

AI总结:

本研究针对视觉强化学习中CNN仍占主导的问题,用多种自监督方法预训练ViT,提出带时间顺序验证的VICReg扩展,在ALE上提升了RL数据效率并取得最优表现。

摘要:

视觉Transformer架构已在计算机视觉(CV)领域展现出竞争力,在多个基准测试中取代了基于卷积的网络。然而,卷积神经网络(CNN)仍然是强化学习中表征模块的首选架构。在本研究中,我们采用多种最先进的自监督方法对视觉Transformer进行预训练,并评估所学习表征的质量。为了展示该语境下时间维度的重要性,我们提出了VICReg的扩展版本,通过新增时间顺序验证任务来更好地捕捉观测之间的时间关联。我们的结果表明,所有方法都能有效学习有用的表征,并避免Atari学习环境(ALE)观测的表征崩溃,这在我们的强化学习(RL)评估中提升了数据效率。此外,经时间顺序验证任务预训练的编码器在所有实验中表现最佳,其表征更丰富、注意力图更聚焦,且编码器各层的表征向量更稀疏,这证明了探索此类相似性维度的重要性。通过本研究,我们希望为ViT在RL环境观测下的自监督预训练所学习的表征,以及能带来最优智能体性能的表征特性提供一些见解。源代码将发布于:https://github.com/mgoulao/TOV-VICReg

英文摘要:

The Vision Transformer architecture has shown to be competitive in the computer vision (CV) space where it has dethroned convolution-based networks in several benchmarks. Nevertheless, convolutional neural networks (CNN) remain the preferential architecture for the representation module in reinforcement learning. In this work, we study pretraining a Vision Transformer using several state-of-the-art self-supervised methods and assess the quality of the learned representations. To show the importance of the temporal dimension in this context we propose an extension of VICReg to better capture temporal relations between observations by adding a temporal order verification task. Our results show that all methods are effective in learning useful representations and avoiding representational collapse for observations from Atari Learning Environment (ALE) which leads to improvements in data efficiency when we evaluated in reinforcement learning (RL). Moreover, the encoder pretrained with the temporal order verification task shows the best results across all experiments, with richer representations, more focused attention maps and sparser representation vectors throughout the layers of the encoder, which shows the importance of exploring such similarity dimension. With this work, we hope to provide some insights into the representations learned by ViT during a self-supervised pretraining with observations from RL environments and which properties arise in the representations that lead to the best-performing agents. The source code will be available at: https://github.com/mgoulao/TOV-VICReg

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

↑