Demystifying the Mechanisms Behind Emergent Exploration in Goal-conditioned RL
Mahsa Bastankhah, Grace Liu, Dilip Arumugam, Thomas L. Griffiths, Benjamin Eysenbach
TL;DR
The paper analyzes why emergent exploration occurs in Single-Goal Contrastive RL (SGCRL) by showing that the actor optimizes an implicit, representation-based reward driven by $\psi$-similarity to the goal, while the critic shapes this implicit landscape through contrastive updates. It demonstrates that exploration and subsequent exploitation emerge from learning low-rank representations, not merely neural network capacity, and that the dynamics produce a curriculum of subgoals by pruning low-similarity regions before goal discovery and reinforcing high-similarity traces after discovery. The authors support their theory with tabular and continuous experiments across maze and Tower of Hanoi tasks, plus safety-oriented interventions that manipulate representations to guide behavior. The work provides a cognitive-science-inspired framework for understanding AI exploration and suggests practical pathways to safer deployment by controlling representation geometry rather than hand-crafted rewards. Overall, the findings offer a principled explanation for SGCRL’s robustness to distractors and their potential applicability to broader long-horizon, goal-directed RL settings.
Abstract
In this work, we take a first step toward elucidating the mechanisms behind emergent exploration in unsupervised reinforcement learning. We study Single-Goal Contrastive Reinforcement Learning (SGCRL), a self-supervised algorithm capable of solving challenging long-horizon goal-reaching tasks without external rewards or curricula. We combine theoretical analysis of the algorithm's objective function with controlled experiments to understand what drives its exploration. We show that SGCRL maximizes implicit rewards shaped by its learned representations. These representations automatically modify the reward landscape to promote exploration before reaching the goal and exploitation thereafter. Our experiments also demonstrate that these exploration dynamics arise from learning low-rank representations of the state space rather than from neural network function approximation. Our improved understanding enables us to adapt SGCRL to perform safety-aware exploration.
