Explore and Control with Adversarial Surprise

Arnaud Fickinger, Natasha Jaques, Samyak Parajuli, Michael Chang, Nicholas Rhinehart, Glen Berseth, Stuart Russell, Sergey Levine

TL;DR

Adversarial Surprise (AS) is an unsupervised reinforcement learning framework where two policies—Explore and Control—take turns steering the same agent in a zero-sum game over observation entropy. By forcing the Explore policy to find novel states that maximize surprise while the Control policy works to stabilize and return to predictable states, the agent avoids both the "noisy TV" distraction trap and the passive "dark room" trap. The competition naturally yields an emergent curriculum of robust exploration and complex behaviors that transfer zero-shot to downstream tasks.

What Problem Does This Paper Address?

Unsupervised reinforcement learning seeks to learn useful skills without handcrafted extrinsic rewards, typically by maximizing intrinsic objectives:

  1. Surprise maximization / curiosity: Rewards prediction error or novelty. However, these methods fall victim to the "noisy TV" problem—agents become fixated on uncontrollable, inherently stochastic elements (e.g., screen static) because they constantly generate high entropy.
  2. Surprise minimization / active inference: Encourages agents to stabilize their environment. However, these methods suffer from the "dark room" problem—in low-entropy environments, agents simply stay put or face a wall to keep observations predictable.

The authors aim to balance novelty-seeking and environmental mastery, ensuring an agent covers the true latent state space of stochastic, high-dimensional environments without becoming trapped by aleatoric noise.

Methods

The authors frame the problem within Block MDPs (BMDPs), where observations are high-dimensional and potentially stochastic, but stem from discrete underlying states:

  • Two-Player Alternating Game: An Explore policy ($\pi^E$) and a Control policy ($\pi^C$) alternately control a single body for $k$ steps each.
  • Episodic Density Model ($p_\theta(o)$): Measures observation likelihood/surprise. The model is re-initialized every episode and fit via maximum likelihood estimation (MLE) over seen observations (using independent Categorical distributions for discrete grids or multivariate Gaussians for pixel inputs).
  • Adversarial Objective:
  • The Control agent minimizes surprise: $r^C_t = \log p_\theta(o_t)$.
  • The Explore agent is rewarded on the negative of the Control policy's return: $r^E = -R^C$, applied at the transition boundary.
  • The Control agent is evaluated primarily on the latter half of its turn, encouraging it to take initial risks that lead to long-term predictability.
  • Optimization: Both policies are trained using Proximal Policy Optimization (PPO).

Datasets

The authors evaluate AS across three primary benchmarks:

  1. Procedurally Generated MiniGrid BMDPs: A custom suite of 4-room gridworlds featuring dark rooms, stochastic elements (e.g., lights randomly changing color), interactable switches, and lockable doors.
  2. Arcade Learning Environment (ALE / Atari): Evaluated zero-shot on four standard games: Freeway, Berzerk, Assault, and Space Invaders.
  3. ViZDoom: The standard Take Cover scenario, testing 3D visual navigation and survival under partial observability.

Key Insights and Ideas

  • Theoretical Guarantees in Block MDPs: Standard curiosity methods like RND exponentially favor states with high emission entropy (noisy TVs). In contrast, the paper proves that if minimal-entropy states ("dark rooms") form a $T$-cover of the environment, AS asymptotically forces the Explore policy to maximize latent state marginal entropy $H(d^\pi(s))$, ensuring complete coverage.
  • Emergent Multi-Agent Curriculum: Because the policies play against each other, training exhibits distinct developmental phases:
  • Phase 1: Control learns the basic short-term strategy of fleeing noisy rooms into dark rooms.
  • Phase 2: Explore learns to navigate back into noisy rooms, picking locations furthest from the exit.
  • Phase 3: Control develops complex, long-term mastery—such as finding a key and locking the door behind it—to permanently prevent Explore from exposing it to noise.

Key Results

  • Latent State Coverage: In stochastic MiniGrid environments, AS explores significantly more rooms both cumulatively across training and within individual test episodes compared to baselines (RND, ASP, AGAC, and SMiRL). In ViZDoom, AS was the only method to achieve full horizontal coverage of the map within the first 1,000 training steps, whereas RND and SMiRL failed to reach the edges.
  • Zero-Shot Transfer: Without ever seeing extrinsic task rewards during pretraining:
  • AS outperformed RND, ASP, AGAC, and SMiRL in 3 out of 4 Atari games (Assault, Berzerk, Space Invaders), learning complex behaviors like dodging bullets and aiming at enemies.
  • On ViZDoom Take Cover, AS attained higher episodic returns (~300–350 reward) than all competing methods by learning active projectile-dodging.
  • Interacting with Control Affordances: When provided with a light switch that shuts off environment noise, AS and SMiRL learned to toggle the switch, whereas curiosity-driven baselines (RND and ASP) completely ignored it.

Limitations and Future Work

  • Horizon Sensitivity: The number of steps per agent turn ($k$) is a critical hyperparameter; ablation studies showed performance peaks within a specific range (between 8 and 16 steps in MiniGrid).
  • Computational Scope: Zero-shot transfer experiments were run across four representative Atari games rather than the complete 57-game benchmark due to compute limitations.
  • Future Directions: Incorporating a meta-policy via hierarchical reinforcement learning to dynamically modulate between exploration and control, as well as applying AS to robotic manipulation and unsupervised downstream pretraining.

Summary updated

BibTeX
@inproceedings{fickinger2022explore,
  author = {Arnaud Fickinger and Natasha Jaques and Samyak Parajuli and Michael Chang and Nicholas Rhinehart and Glen Berseth and Stuart Russell and Sergey Levine},
  title = {{Explore and Control with Adversarial Surprise}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=JHXjK94yH-y},
}
Figure