Skip to main content
QUICK REVIEW

[Paper Review] Reinforcement Learning with Action-Free Pre-Training from Videos

Younggyo Seo, Kimin Lee|arXiv (Cornell University)|Mar 25, 2022
Reinforcement Learning in RoboticsComputer Science14 citations
TL;DR

This paper proposes APV, a reinforcement learning framework that uses action-free video pre-training to improve sample efficiency and final performance in vision-based RL. By pre-training a latent video prediction model on diverse, action-agnostic videos and fine-tuning it with an action-conditional dynamics model, APV enables faster learning and better exploration via a video-based intrinsic bonus, achieving 95.4% success rate on Meta-World tasks compared to 67.9% for DreamerV2.

ABSTRACT

Recent unsupervised pre-training methods have shown to be effective on language and vision domains by learning useful representations for multiple downstream tasks. In this paper, we investigate if such unsupervised pre-training methods can also be effective for vision-based reinforcement learning (RL). To this end, we introduce a framework that learns representations useful for understanding the dynamics via generative pre-training on videos. Our framework consists of two phases: we pre-train an action-free latent video prediction model, and then utilize the pre-trained representations for efficiently learning action-conditional world models on unseen environments. To incorporate additional action inputs during fine-tuning, we introduce a new architecture that stacks an action-conditional latent prediction model on top of the pre-trained action-free prediction model. Moreover, for better exploration, we propose a video-based intrinsic bonus that leverages pre-trained representations. We demonstrate that our framework significantly improves both final performances and sample-efficiency of vision-based RL in a variety of manipulation and locomotion tasks. Code is available at https://github.com/younggyoseo/apv.

Motivation & Objective

  • To improve sample efficiency and final performance in vision-based reinforcement learning by leveraging unsupervised pre-training from diverse, action-free videos.
  • To enable transfer of pre-trained representations from source domains (e.g., RLBench) to unseen downstream domains (e.g., Meta-World and DeepMind Control Suite) with significant domain gaps.
  • To develop a method that integrates action inputs during fine-tuning without requiring action information during pre-training.
  • To enhance exploration in vision-based RL using a video-based intrinsic bonus derived from pre-trained representations.
  • To demonstrate that pre-trained dynamics representations can significantly accelerate learning and improve performance even in complex, visually distinct environments.

Proposed method

  • Pre-train an action-free latent video prediction model on a large collection of diverse, unstructured videos (e.g., from RLBench) to learn generalizable dynamics representations.
  • Introduce a stacked architecture that combines the pre-trained action-free model with a new action-conditional latent dynamics model for fine-tuning on downstream tasks.
  • Fine-tune the stacked model end-to-end on target environments using a world model-based RL algorithm (DreamerV2), with the pre-trained encoder providing inductive bias.
  • Design a video-based intrinsic bonus that leverages features from the pre-trained action-free model to encourage exploration by rewarding novel visual dynamics.
  • Apply gradient clipping and learning rate warm-up during fine-tuning to stabilize training, especially when integrating action inputs.
  • Use a contrastive pre-training objective during pre-training to encourage disentangled and semantically meaningful representations of visual dynamics.

Experimental results

Research questions

  • RQ1Can action-free unsupervised pre-training on diverse, unstructured videos improve sample efficiency and final performance in vision-based reinforcement learning?
  • RQ2Does pre-training on videos from a source domain with a different visual distribution and task structure than the target domain still yield transferable representations?
  • RQ3Can a stacked architecture effectively incorporate action inputs during fine-tuning while preserving the inductive bias from pre-trained action-free representations?
  • RQ4Does a video-based intrinsic bonus derived from pre-trained representations improve exploration in vision-based RL?
  • RQ5How does pre-training affect learning dynamics in challenging locomotion tasks with complex visual observations?

Key findings

  • APV achieves a 95.4% aggregate success rate on six Meta-World manipulation tasks, significantly outperforming DreamerV2, which reaches only 67.9%.
  • On DeepMind Control Suite's Quadruped tasks, APV with both pre-training and intrinsic bonus outperforms vanilla DreamerV2, even without pre-training being sufficient alone.
  • On Hopper Hop, APV with both pre-training and intrinsic bonus surpasses DreamerV2 from the beginning of training, indicating improved exploration and sample efficiency.
  • Pre-training on RLBench videos enables effective transfer to Meta-World despite a large domain gap in visual appearance and task structure.
  • The action-free video prediction model generates meaningful, dynamic predictions on RLBench and Meta-World videos, capturing robot motion and object interactions, unlike blurry predictions on Something-Something-V2.
  • Ablation studies show that pre-training provides a strong inductive bias that reduces the number of environment interactions needed to learn useful dynamics representations, especially in early training phases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.