Skip to main content
QUICK REVIEW

[Paper Review] Playing hard exploration games by watching YouTube

Yusuf Aytar, Tobias Pfaff|arXiv (Cornell University)|May 29, 2018
Reinforcement Learning in RoboticsComputer Science6 citations
TL;DR

This paper proposes a self-supervised method that enables deep reinforcement learning agents to master hard exploration Atari games—Montezuma’s Revenge, Pitfall!, and Private Eye—by watching unaligned, noisy YouTube videos without access to action or reward trajectories. By learning a domain-invariant video representation through temporal and cross-modal contrastive learning, the agent uses a single embedded YouTube clip to generate an imitation reward, achieving human-level performance even without environment rewards for the first time.

ABSTRACT

Deep reinforcement learning methods traditionally struggle with tasks where environment rewards are particularly sparse. One successful method of guiding exploration in these domains is to imitate trajectories provided by a human demonstrator. However, these demonstrations are typically collected under artificial conditions, i.e. with access to the agent's exact environment setup and the demonstrator's action and reward trajectories. Here we propose a two-stage method that overcomes these limitations by relying on noisy, unaligned footage without access to such data. First, we learn to map unaligned videos from multiple sources to a common representation using self-supervised objectives constructed over both time and modality (i.e. vision and sound). Second, we embed a single YouTube video in this representation to construct a reward function that encourages an agent to imitate human gameplay. This method of one-shot imitation allows our agent to convincingly exceed human-level performance on the infamously hard exploration games Montezuma's Revenge, Pitfall! and Private Eye for the first time, even if the agent is not presented with any environment rewards.

Motivation & Objective

  • To enable reinforcement learning agents to solve hard exploration Atari games with sparse rewards, where traditional methods fail due to exponential action space and lack of reward signals.
  • To overcome domain gaps between agent observations and unaligned, noisy YouTube gameplay videos, which typically hinder imitation learning.
  • To develop a self-supervised representation learning method that aligns diverse video demonstrations without frame-level alignment or action/reward annotations.
  • To enable one-shot imitation from a single YouTube video by constructing a reward function that encourages imitation of human gameplay trajectories.
  • To achieve human-level or superhuman performance on notoriously difficult Atari games without relying on environment rewards or expert action sequences.

Proposed method

  • The method uses a self-supervised contrastive learning framework to learn a shared video representation across multiple unaligned YouTube videos using two objectives: temporal contrastive learning (TDC) and cross-modal contrastive learning (CMC).
  • TDC aligns clips from the same video that are temporally close, while CMC aligns visual and audio clips from different videos that correspond to the same moment in gameplay.
  • The resulting shared embedding space enables cycle-consistency evaluation to assess alignment quality without ground-truth annotations.
  • A single YouTube video is embedded into this space to generate a sequence of exploration checkpoints, which are used to define an auxiliary imitation reward for the agent.
  • The agent uses this imitation reward in combination with standard reinforcement learning (IMPALA) to guide exploration, even when no environment rewards are available.
  • The approach does not require access to demonstrator action sequences or reward trajectories, making it applicable to real-world, uncurated video data.

Experimental results

Research questions

  • RQ1Can self-supervised representation learning align unaligned, noisy YouTube videos into a shared space that captures meaningful temporal and cross-modal structure?
  • RQ2Can a single embedded YouTube video generate a reliable imitation reward that enables agents to solve hard exploration games without environment rewards?
  • RQ3Does the method generalize across significant domain gaps, such as differences in resolution, color, aspect ratio, and visual artifacts between the agent's environment and YouTube footage?
  • RQ4Can the agent achieve human-level or superhuman performance on Montezuma’s Revenge, Pitfall!, and Private Eye using only YouTube videos and no expert action or reward data?
  • RQ5Is the performance robust to variations in the expert video, including high domain shift and lack of alignment?

Key findings

  • The proposed method achieved 37,232.7 points on Montezuma’s Revenge, surpassing the average human score of 4,743.0 and the previous SOTA of 4,659.7 from DQfD.
  • On Pitfall!, the agent scored 54,912.4 points, exceeding the average human score of 6,464.0 and the prior SOTA of 57.3 from DQfD.
  • On Private Eye, the agent reached 98,212.5 points, surpassing the average human score of 69,571.0 and the prior SOTA of 42,457.2 from DQfD.
  • The agent achieved superhuman performance on all three games even when trained solely on the imitation reward, without any environment reward signal.
  • Performance was robust across different expert videos, including those with high domain shift, indicating the method's generalization capability.
  • The combination of TDC and CMC self-supervised objectives enabled effective alignment of unaligned YouTube videos, forming a foundation for one-shot imitation learning in complex environments.

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.