Skip to main content
QUICK REVIEW

[Paper Review] Behavior From the Void: Unsupervised Active Pre-Training

Hao Liu, Pieter Abbeel|arXiv (Cornell University)|Mar 8, 2021
Reinforcement Learning in RoboticsComputer Science78 references12 citations
TL;DR

This paper proposes APT (Unsupervised Active Pre-Training), a novel reinforcement learning pre-training method that uses particle-based entropy maximization in a contrastive representation space to actively explore and learn diverse behaviors without extrinsic rewards. It achieves human-level performance on 12 Atari games and outperforms supervised baselines in data efficiency and asymptotic performance on DMControl, even on tasks extremely hard to train from scratch.

ABSTRACT

We introduce a new unsupervised pre-training method for reinforcement learning called APT, which stands for Active Pre-Training. APT learns behaviors and representations by actively searching for novel states in reward-free environments. The key novel idea is to explore the environment by maximizing a non-parametric entropy computed in an abstract representation space, which avoids challenging density modeling and consequently allows our approach to scale much better in environments that have high-dimensional observations (e.g., image observations). We empirically evaluate APT by exposing task-specific reward after a long unsupervised pre-training phase. In Atari games, APT achieves human-level performance on 12 games and obtains highly competitive performance compared to canonical fully supervised RL algorithms. On DMControl suite, APT beats all baselines in terms of asymptotic performance and data efficiency and dramatically improves performance on tasks that are extremely difficult to train from scratch.

Motivation & Objective

  • To address the challenge of data inefficiency in training RL agents from scratch by enabling task-agnostic pre-training without access to extrinsic rewards.
  • To overcome limitations of existing unsupervised pre-training methods in visual RL, such as poor exploration due to pixel-level density modeling or distributional mismatch in pre-training data.
  • To develop a scalable, representation-based exploration strategy that actively discovers novel states in high-dimensional observation spaces.
  • To improve downstream RL performance through pre-trained representations that generalize across diverse tasks.
  • To demonstrate that intrinsic reward based on nonparametric entropy in abstract space enables more effective pre-training than sparse rewards or ImageNet pre-training.

Proposed method

  • APT uses a nonparametric particle-based entropy estimator to compute intrinsic reward in a contrastive representation space, avoiding intractable density modeling in high-dimensional state space.
  • The method learns a representation space via contrastive learning, which encourages uniformity on the hypersphere and makes distances meaningful for entropy estimation.
  • Exploration is driven by maximizing entropy in the representation space, encouraging the agent to visit novel states across the environment.
  • The pre-training phase runs without access to environment rewards, followed by fine-tuning on downstream tasks with sparse or dense extrinsic rewards.
  • The approach is compatible with existing RL algorithms, and in this work it is applied to DrQ, a state-of-the-art visual RL algorithm.
  • A variant of APT uses a positive-only intrinsic signal (e.g., 'do not die'), which is shown to be insufficient for effective exploration compared to entropy-based intrinsic reward.

Experimental results

Research questions

  • RQ1Can entropy maximization in a learned representation space enable more effective unsupervised pre-training than pixel-level density modeling or ImageNet pre-training?
  • RQ2Does active exploration guided by representation-space entropy improve data efficiency and asymptotic performance on downstream RL tasks?
  • RQ3How does APT compare to supervised RL baselines in terms of sample efficiency and performance on hard-to-train tasks?
  • RQ4Is the intrinsic reward based on particle-based entropy essential for effective exploration, or can simpler signals suffice?
  • RQ5Can pre-trained models from APT generalize across diverse tasks, including those with sparse or complex rewards?

Key findings

  • APT achieves human-level performance on 12 out of 57 Atari games, significantly outperforming prior unsupervised RL methods and DQN.
  • On the full Atari 57 suite, APT achieves a median human-normalized score 3× higher than the best prior unsupervised method.
  • In the DMControl suite, APT outperforms both DrQ and unsupervised RL baselines in asymptotic performance and data efficiency, solving tasks that are intractable when trained from scratch.
  • APT visits nearly 27 times more unique ram states than a variant using only a 'do not die' intrinsic signal, demonstrating the necessity of entropy-based intrinsic reward for effective exploration.
  • Fine-tuning from a pretrained actor-critic head leads to faster learning than random initialization, with 4 out of 5 games showing superior performance on average across 3 seeds.
  • The method achieves performance comparable to fully supervised RL algorithms using only a small fraction of the total training samples, highlighting its data efficiency.

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.