Temporal Representations for Exploration: Learning Complex Exploratory Behavior without Extrinsic Rewards
Organizations: Mila-Quebec AI Institute · Université de Montréal · Princeton University
Abstract
Effective exploration in reinforcement learning requires not only tracking where an agent has been, but also understanding how the agent perceives and represents the world. To learn powerful representations, an agent should actively explore states that contribute to its knowledge of the environment. Temporal representations can capture the information necessary to solve a wide range of potential tasks while avoiding the computational cost associated with full state reconstruction. In this paper, we propose an exploration method that leverages temporal contrastive representations to guide exploration, prioritizing states with unpredictable future outcomes. We demonstrate that such representations can enable the learning of complex exploratory x in locomotion, manipulation, and embodied-AI tasks, revealing capabilities and behaviors that traditionally require extrinsic rewards. Unlike approaches that rely on explicit distance learning or episodic memory mechanisms (e.g., quasimetric-based methods), our method builds directly on temporal similarities, yielding a simpler yet effective strategy for exploration.
Figures & tables
Appendix figures & tables30 assets
Supplementary material from the paper’s appendix.
Appendix
| Environment | 500M steps | 50M steps | 30M steps |
|---|---|---|---|
| Ant-hardest-maze | |||
| Humanoid-u-maze | |||
| Arm-binpick-hard |
| Hyperparameter | Value |
|---|---|
| num_timesteps | 500,000,000 |
| max_replay_size | 10,000 |
| min_replay_size | 1,000 |
| episode_length | 1,000 |
| discounting | 0.99 |
| num_envs | 1024 (256 for humanoid_u_maze ) |
| Hyperparameter | Value |
|---|---|
| contrastive_lr | 3e-4 |
| contrastive_loss_function | InfoNCE |
| similarity_function | L1 |
| logsumexp_penalty | 0.1 |
| hidden layers (for both encoders) | [1024,1024] |
| representation dimension | 64 |
| Hyperparameter | Value |
|---|---|
| rnd encoder lr | 3e-4 |
| rnd embedding dim | 512 |
| rnd encoder hidden layers | [256, 256] |
| icm encoder lr (forward and inverse models) | 3e-4 |
| icm embeddings_dim | 512 |
| icm encoders hidden layers | [1024, 1024] |
| Hyperparameter | Value |
|---|---|
| num_timesteps | 1,000,000,000 |
| num_steps | 64 |
| learning_rate | 2e-4 |
| anneal_learning_rate | True |
| update_epochs | 4 |
| discounting | 0.99 |
| Hyperparameter | Value |
|---|---|
| contrastive_lr | 3e-4 |
| contrastive_loss_function | InfoNCE |
| similarity_function | L2 |
| Discounting | 0.3 |
| logsumexp_penalty | 0.0 |
| hidden layers (for both encoders) | [1024,1024,1024] |
| Hyperparameter | Value |
|---|---|
| rnd encoder lr | 3e-4 |
| rnd embedding dim | 512 |
| rnd encoder hidden layers | [256, 256] |
| icm encoder lr (forward and inverse models) | 3e-4 |
| icm embeddings_dim | 512 |
| icm encoders hidden layers | [256, 256] |
| Environment | C-TeC | MBRL ( Stadie et al., 2015 ) |
|---|---|---|
| Ant-hardest-maze | ||
| Humanoid-u-maze | ||
| Arm-binpick-hard |
RL Exploration
Reinforcement learning exploration studies how agents choose informative actions and states to learn effective policies under uncertainty.
See all 220 papers