NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Unlocking the Power of Representations in Long-term Novelty-based Exploration

Alaa Saade, Steven Kapturowski, Daniele Calandriello, Charles Blundell, Pablo Sprechmann, Leopoldo Sarra, Oliver Groth, Michal Valko, Bilal Piot

Abstract

We introduce Robust Exploration via Clustering-based Online Density Estimation (RECODE), a non-parametric method for novelty-based exploration that estimates visitation counts for clusters of states based on their similarity in a chosen embedding space. By adapting classical clustering to the nonstationary setting of Deep RL, RECODE can efficiently track state visitation counts over thousands of episodes. We further propose a novel generalization of the inverse dynamics loss, which leverages masked transformer architectures for multi-step prediction; which in conjunction with RECODE achieves a new state-of-the-art in a suite of challenging 3D-exploration tasks in DM-Hard-8. RECODE also sets new state-of-the-art in hard exploration Atari games, and is the first agent to reach the end screen in "Pitfall!".

Introduction

In Reinforcement Learning (RL), exploration remains a fundamental challenge, particularly in sparse-reward environments where meaningful feedback is rare. A common strategy is to provide agents with a "novelty bonus"—an intrinsic reward for visiting unfamiliar states. However, existing non-parametric methods often struggle with memory constraints and representation drift, typically resetting their memory every episode. This prevents the agent from developing long-term curiosity across multiple episodes. Furthermore, agents are often susceptible to the "Noisy TV" problem, where irrelevant pixel-level changes are perceived as novel, distracting the agent from the actual task.

Methods

RECODE: Clustering-based Online Density Estimation

To enable long-term exploration without the overhead of storing every state, we propose RECODE. This method utilizes online clustering to maintain a fixed-size set of "atoms" or centroids in an embedding space.

  • Stochastic Aggregation: New states are either used to update the nearest existing cluster or, if sufficiently unique, replace an old cluster with low visitation counts.
  • Handling Non-stationarity: By incorporating a decay factor, RECODE can "forget" old counts, allowing it to adapt to representation drift while maintaining a memory horizon spanning thousands of episodes.

CASM: Coupled Action-State Masking

To address the "Noisy TV" problem, we introduce CASM, a representation learning technique inspired by masked language modeling. CASM forces the agent to learn high-level structural features of the environment by predicting masked actions and state embeddings within a sequence.

The CASM architecture uses a transformer stack to predict masked actions and states, forcing the model to learn high-level structural features.

By using a transformer stack for multi-step prediction, CASM provides a temporal context that standard one-step models lack, making the agent robust to random noise that cannot be predicted from global structure.

Evaluation and Results

The proposed methods were evaluated on two of the most challenging RL benchmarks: the Atari "Hard Exploration" subset and DM-HARD-8, a suite of 3D first-person tasks involving complex physics and procedural generation.

Performance on DM-HARD-8

On the DM-HARD-8 suite, the combination of RECODE and CASM achieved a new state-of-the-art. It successfully solved tasks like Push Blocks where previous human-level baselines struggled.

Performance comparison on DM-HARD-8, showing RECODE-CASM significantly outperforming the VMPO-BYOL-Explore baseline.

Breakthrough in Atari Pitfall!

RECODE is the first RL agent to reach the end screen of the classic game Pitfall! within the game's time limit. This milestone highlights the effectiveness of maintaining a global memory across parallel actors, allowing the agent to efficiently identify truly novel states across a vast search space.

Key Insights

  • Persistent Memory: Resetting memory every episode is a significant handicap. RECODE's ability to remember "boring" areas across hundreds of episodes allows for much deeper exploration.
  • Robustness to Noise: In experiments with added visual noise, RECODE-CASM maintained performance while standard methods like Random Network Distillation (RND) failed, proving the value of structural representation learning.

Limitations and Future Work

Despite its success, RECODE involves managing a large slot-based memory (up to 200,000 atoms), which introduces computational overhead. Future work could explore tighter integration between the exploration requirements and the representation learning process. Additionally, while highly effective in discrete action spaces, extending the full RECODE-CASM stack to continuous control tasks like robotics remains an open research direction.

Summary updated

BibTeX
@inproceedings{saade2024unlocking,
  author = {Alaa Saade and Steven Kapturowski and Daniele Calandriello and Charles Blundell and Pablo Sprechmann and Leopoldo Sarra and Oliver Groth and Michal Valko and Bilal Piot},
  title = {{Unlocking the Power of Representations in Long-term Novelty-based Exploration}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=OwtMhMSybu},
}
Figure