Contingency-Aware Exploration in Reinforcement Learning
Jongwook Choi, Yijie Guo, Marcin Moczulski, Junhyuk Oh, Neal Wu, Mohammad Norouzi, Honglak Lee
TL;DR
This work introduces contingency-awareness through an attentive dynamics model (ADM) to identify controllable regions in observations, enabling approximate self-localization in 2D Atari environments. By forming a compact state representation that includes location, high-level context, and cumulative reward, and integrating it with count-based exploration, the approach significantly improves exploration in sparse-reward reinforcement learning. Empirical results across eight Atari games demonstrate robust gains over baselines, with a notable state-of-the-art performance on Montezuma's Revenge without supervision, and extending to PPO in sticky-action settings. This framework offers interpretable, contingency-driven representations that enhance exploration and suggests broad potential for extending to more complex, higher-dimensional environments.
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.
