Abstract
Exploration is essential for solving complex Reinforcement Learning (RL) tasks. Maximum State-Visitation Entropy (MSVE) formulates the exploration problem as a well-defined policy optimization problem whose solution aims at visiting all states as uniformly as possible. This is in contrast to standard uncertainty-based approaches where exploration is transient and eventually vanishes. However, existing approaches to MSVE are theoretically justified only for discrete state-spaces as they are oblivious to the geometry of continuous domains. We address this challenge by introducing Geometric Entropy Maximisation (GEM), a new algorithm that maximises the geometry-aware Shannon entropy of state-visits in both discrete and continuous domains. Our key theoretical contribution is casting geometry-aware MSVE exploration as a tractable problem of optimising a simple and novel noise-contrastive objective function. In our experiments, we show the efficiency of GEM in solving several RL problems with sparse rewards, compared against other deep RL exploration approaches.
Introduction
Exploration remains a fundamental challenge in Reinforcement Learning (RL), particularly in environments with sparse rewards. Most current approaches rely on intrinsic rewards or "bonuses" (such as curiosity) that reward an agent for visiting novel states. However, these signals are often transient—once a state is visited a few times, the bonus vanishes, and the agent may cease exploring before discovering the optimal policy.
Maximum State-Visitation Entropy (MSVE) offers a theoretically sound alternative by encouraging the agent to visit all states as uniformly as possible. Despite its promise, MSVE has historically struggled with two major issues: "geometry blindness" in continuous worlds and the computational intractability of calculating entropy gradients. Standard Shannon entropy treats all states as independent discrete points, failing to recognize that nearby coordinates in a continuous space represent similar locations.
Geometric Entropy Maximisation (GEM)
We introduce Geometric Entropy Maximisation (GEM) to bridge this gap. GEM defines a geometry-aware Shannon entropy using a similarity function $k(x, x')$, which allows the entropy calculation to account for the underlying structure of the environment. This ensures that the agent clusters similar states together and spreads its visits across distinct regions.
To make this objective tractable, GEM reformulates MSVE as a Noise-Contrastive Estimation (NCE) task. The agent learns a function to differentiate between "positive" pairs (the same state) and "negative" pairs (states sampled independently from the visitation distribution). Maximizing this contrastive objective is mathematically equivalent to maximizing the geometry-aware entropy. Furthermore, we employ Adjacency Regularisation (AR) to learn meaningful embeddings. By leveraging temporal continuity, AR pulls together the representations of states that occur close in time, allowing the agent to build a geometric map of the environment without explicit coordinate information.
Experimental Results
GEM was evaluated on several challenging exploration benchmarks, including discrete gridworlds (2-Rooms, 16-Leaves, 2-Keys) and continuous control tasks (MountainCar, Cartpole). In the 16-Leaves environment, which requires exhaustive exploration of many branches, GEM significantly outperformed state-of-the-art baselines like Never Give Up (NGU) and Random Network Distillation (RND).
Key results indicate that GEM is not only more sample-efficient but also more robust to environmental noise. In "noisy TV" scenarios—where unpredictable but irrelevant visual stimuli can trap standard curiosity-based agents—GEM's structured embeddings allow it to maintain focus on meaningful exploration. Additionally, GEM achieved performance comparable to an "Empirical Oracle" in continuous tasks, proving its effectiveness in non-discrete domains.
Conclusion
GEM provides a principled and efficient framework for geometry-aware exploration in RL. By unifying entropy maximization with noise-contrastive estimation and temporal regularisation, it addresses the long-standing limitations of MSVE in continuous spaces. Future work will explore scaling GEM to high-dimensional visual environments and extending the framework to partially observable Markov decision processes (POMDPs).
Summary updated