Skip to main content
QUICK REVIEW

[Paper Review] Unsupervised State Representation Learning in Atari

Ankesh Anand, Evan Racah|arXiv (Cornell University)|Jun 19, 2019
Reinforcement Learning in RoboticsComputer Science78 references27 citations
TL;DR

This paper proposes Spatiotemporal DeepInfomax (ST-DIM), a self-supervised representation learning method that maximizes mutual information across spatial and temporal features in Atari 2600 observations. It outperforms prior contrastive and generative methods in capturing disentangled, high-level state factors—especially small objects and low-entropy features—on a new benchmark with ground-truth state variables extracted from ALE source code.

ABSTRACT

State representation learning, or the ability to capture latent generative factors of an environment, is crucial for building intelligent agents that can perform a wide variety of tasks. Learning such representations without supervision from rewards is a challenging open problem. We introduce a method that learns state representations by maximizing mutual information across spatially and temporally distinct features of a neural encoder of the observations. We also introduce a new benchmark based on Atari 2600 games where we evaluate representations based on how well they capture the ground truth state variables. We believe this new framework for evaluating representation learning models will be crucial for future representation learning research. Finally, we compare our technique with other state-of-the-art generative and contrastive representation learning methods. The code associated with this work is available at https://github.com/mila-iqia/atari-representation-learning

Motivation & Objective

  • To develop a self-supervised method that learns meaningful, disentangled state representations without reward supervision in reinforcement learning environments.
  • To address the limitation of existing methods that focus on pixel-level reconstruction or fail to capture small or low-entropy state factors.
  • To propose a new benchmark for evaluating state representation learning using ground-truth state variables extracted from Atari 2600 games via source code analysis.
  • To evaluate how well different representation learning techniques capture diverse generative factors such as object positions, scores, and enemy locations.
  • To demonstrate that maximizing mutual information across spatial and temporal dimensions leads to more robust and semantically meaningful representations.

Proposed method

  • The method uses a convolutional neural network encoder to extract features from Atari observations, with representations computed at multiple spatial and temporal scales.
  • It maximizes mutual information between global representations of current frames and local patch representations from future frames using a contrastive objective based on the InfoNCE loss.
  • The approach combines two objectives: local-local mutual information between spatial patches and global-local mutual information between full frames and patches.
  • The model is trained end-to-end using a contrastive learning objective that encourages positive pairs (spatiotemporal features from the same observation) to be closer in representation space than negative pairs.
  • A key innovation is the use of multiple negative samples to improve the stability and accuracy of mutual information estimation in the contrastive objective.
  • The method is evaluated via linear probing, where linear classifiers are trained to predict ground-truth state variables from the learned representations.

Experimental results

Research questions

  • RQ1Can maximizing mutual information across both spatial and temporal dimensions lead to better disentangled state representations than existing contrastive or generative methods?
  • RQ2How well do different representation learning methods capture small, low-contrast objects such as keys or enemies in Atari games?
  • RQ3To what extent do contrastive methods fail when high-entropy, easily predictable features (e.g., a clock) dominate the learning objective?
  • RQ4How does the proposed benchmark with ground-truth state variables enable more reliable and interpretable evaluation of representation learning models?
  • RQ5What qualitative differences exist between contrastive methods (which favor high-entropy features) and generative models (which favor large, low-entropy objects) in representation quality?

Key findings

  • ST-DIM achieves the highest average F1 score across all state variables in the Atari benchmark, outperforming both contrastive baselines and generative models like VAE and pixel prediction.
  • ST-DIM significantly outperforms other methods in capturing small objects, such as keys and enemies, with F1 scores 20-30% higher than competing contrastive methods on games like Montezuma’s Revenge.
  • In the Boxing game, ST-DIM achieves an F1 score of 0.92 for the clock variable and 0.88 for the player score, while CPC and Global-T-DIM fail to capture player and enemy positions effectively despite high performance on the clock.
  • The ablation study shows that removing the spatial contrastive component (Global-T-DIM) reduces performance on all state variables, confirming the importance of spatial inductive bias in the objective.
  • Contrastive methods like ST-DIM are more robust to easy-to-exploit features (e.g., the clock in Boxing), whereas CPC and Global-T-DIM saturate on such features and underperform on more complex, low-entropy state factors.
  • Generative models like PIXEL-PRED perform poorly on high-entropy features (e.g., clock and score), but excel on large, low-entropy features such as player and enemy positions, highlighting a complementary strength to contrastive methods.

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.