Skip to main content
QUICK REVIEW

[Paper Review] Contingency-Aware Exploration in Reinforcement Learning

Jongwook Choi, Yijie Guo|arXiv (Cornell University)|Nov 5, 2018
Reinforcement Learning in RoboticsComputer Science42 references28 citations
TL;DR

This paper proposes Contingency-Aware Exploration (CoEX), a self-supervised method using an attentive dynamics model (ADM) to learn controllable elements in Atari games, enabling improved exploration in sparse-reward environments. By leveraging action prediction to infer agent location and integrating this with count-based exploration, CoEX achieves a new state-of-the-art score of 11,618 on Montezuma’s Revenge without expert data or supervision.

ABSTRACT

This paper investigates whether learning contingency-awareness and controllable aspects of an environment can lead to better exploration in reinforcement learning. To investigate this question, we consider an instantiation of this hypothesis evaluated on the Arcade Learning Element (ALE). In this study, we develop an attentive dynamics model (ADM) that discovers controllable elements of the observations, which are often associated with the location of the character in Atari games. The ADM is trained in a self-supervised fashion to predict the actions taken by the agent. The learned contingency information is used as a part of the state representation for exploration purposes. We demonstrate that combining actor-critic algorithm with count-based exploration using our representation achieves impressive results on a set of notoriously challenging Atari games due to sparse rewards. For example, we report a state-of-the-art score of >11,000 points on Montezuma's Revenge without using expert demonstrations, explicit high-level information (e.g., RAM states), or supervisory data. Our experiments confirm that contingency-awareness is indeed an extremely powerful concept for tackling exploration problems in reinforcement learning and opens up interesting research questions for further investigations.

Motivation & Objective

  • To investigate whether learning contingency-awareness—understanding controllable environmental dynamics—can improve exploration in reinforcement learning.
  • To develop a self-supervised method that discovers controllable elements (e.g., agent position) without supervision or hand-crafted features.
  • To improve exploration in sparse-reward environments by using learned contingency-aware representations as part of the state representation.
  • To achieve strong performance on challenging Atari games like Montezuma’s Revenge without relying on expert demonstrations, RAM states, or external supervision.
  • To explore whether contingency-awareness can serve as a general, interpretable, and effective abstraction for exploration in RL.

Proposed method

  • An attentive dynamics model (ADM) is trained in a self-supervised manner to predict the agent's action from consecutive observations.
  • The ADM uses spatial attention to identify regions of the observation that are contingent on the agent's actions, effectively learning a segmentation of controllable elements.
  • The model is trained online during RL training using only raw observations and the agent's policy actions, without environment simulators or labels.
  • The learned contingency-aware representation is used as a state abstraction to compute pseudo-counts for count-based exploration.
  • The method integrates with actor-critic algorithms (specifically PPO) by augmenting the state representation with the ADM’s output to guide exploration.
  • The ADM learns a compact, disentangled representation of controllable dynamics, enabling efficient and interpretable state abstraction.

Experimental results

Research questions

  • RQ1Can self-supervised learning of controllable dynamics improve exploration in reinforcement learning?
  • RQ2Is contingency-awareness—understanding which parts of the environment are under agent control—beneficial for solving sparse-reward Atari games?
  • RQ3Can an attention-based dynamics model learn meaningful controllable regions without supervision or prior knowledge?
  • RQ4Does incorporating learned contingency information into count-based exploration lead to better sample efficiency and performance?
  • RQ5Can this approach achieve state-of-the-art results on Montezuma’s Revenge without expert demonstrations or high-level state information?

Key findings

  • The proposed CoEX method achieved a new state-of-the-art score of 11,618 on Montezuma’s Revenge at 500 million environment steps, significantly outperforming vanilla PPO and prior methods.
  • On Montezuma’s Revenge, CoEX achieved over 11,000 points without using expert demonstrations, RAM states, or supervisory data.
  • The method achieved strong performance across multiple Atari games, including 11,000 points on PrivateEye and 11,794 on Seaquest, demonstrating broad applicability.
  • The learning curve shows stable and rapid learning, with PPO+CoEX reaching high performance within 500M steps, unlike vanilla PPO which stagnated near 0 or 1,797 points.
  • The ADM-based representation successfully captured agent location and controllable elements, enabling effective exploration even in highly sparse-reward environments.
  • The method remains effective despite imperfect accuracy in the inverse dynamics model, suggesting robustness to small errors in contingency estimation.

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.