TL;DR
The paper introduces ROVER (Reward-free pretraining via Occupancy coVERage maximization), a method to pretrain reinforcement learning agents in a completely reward-free environment. By framing exploration as a target-free entropy maximization problem over a learned world model, ROVER builds a stable, stationary policy that broadly covers the state space. Crucially, it introduces a virtual "sink state" to handle unexplored regions, preventing the common issue where agents forget previously discovered areas during training.
What Problem Does This Paper Address?
In reinforcement learning (RL), sparse rewards are a notorious bottleneck: if an agent only receives a signal upon reaching a distant goal, it can spend millions of steps wandering aimlessly. "Reward-free pretraining" attempts to solve this by letting the agent explore the environment before the specific downstream task or reward function is known.
Existing intrinsic-reward methods (based on curiosity, novelty, or prediction errors) help agents discover new states, but they suffer from a major flaw: non-stationarity. Because the exploration signal changes as the agent learns, the final policy often "collapses" and concentrates its focus on a small region, effectively forgetting the states it discovered early in training. Furthermore, many methods assume that downstream rewards can be evaluated offline via data relabeling, which is impractical for multi-task or continual learning settings where feedback is only available online.
The authors address this by designing an algorithm that explicitly optimizes for a final, stationary policy whose discounted state occupancy is uniformly distributed across all reachable space, without relying on moving targets or offline relabeling.
Methods
ROVER achieves stable occupancy coverage through three main components:
- Target-Free Occupancy Embedding: Instead of matching a hard-to-define uniform target distribution, ROVER embeds the state occupancy measure into a Reproducing Kernel Hilbert Space (RKHS) and minimizes its squared norm. Mathematically, this is equivalent to maximizing the metric Rényi entropy of order 2, penalizing the policy for assigning mass to pairs of states that are geometrically similar.
- Operatorial World Model: ROVER leverages linear transition operators (similar to Koopman operator formulations) to model how state distributions evolve. This allows the agent to estimate and differentiate the discounted occupancy of candidate policies in closed form, optimizing the policy via Policy Mirror Descent (PMD).
- Sink-State Augmentation: This is the key algorithmic safeguard. Standard transition models often predict a zero vector for unknown state-action pairs, which the policy optimizer mistakenly treats as a low-cost, desirable path. ROVER augments the state space with a virtual, absorbing "sink state" ($s_{\text{sink}}$). Any unexplained transition mass is routed here, creating an explicit penalty for wandering into unmodeled territory and stabilizing the exploration-exploitation trade-off.
To keep the computational footprint manageable, ROVER uses a Nyström approximation, reducing the dominant matrix inversion cost from $O(n^3)$ to $O(m^3)$, where $m \ll n$ represents a small set of anchor points from the replay buffer.
Datasets
The authors evaluated ROVER on a suite of custom-engineered, fully observable MiniGrid-style navigation environments. These environments were specifically designed with topological bottlenecks to expose the failures of standard exploration methods:
- Middle-Room: A central room connected via narrow single-cell corridors to surrounding rooms.
- Multiple Rooms: A series of 5 rooms connected sequentially by a corridor.
- Maze: A complex gridworld maze layout.
- Two Rooms: A simple two-room setup used for basic diagnostic testing.
The environments support both tabular (one-hot encoded) and pixel-based (84x84 RGB images) observations, with the location information explicitly hidden from the agent.
Key Insights and Ideas
- Discovery $\neq$ Retention: An agent can visit every state during pretraining (populating a diverse replay buffer) but still end up with a final policy that only knows how to navigate to a tiny corner of the map. ROVER focuses on retaining coverage in the final policy.
- The Danger of Optimistic Ignorance: Without a sink state, a learned world model treats data-starved regions as blank slates with zero cost. This causes cyclic "expansion-collapse" behavior where the agent repeatedly discovers and forgets the same rooms.
- Geometry Over Raw Pixels: By learning a latent representation via a contrastive InfoNCE loss, ROVER maximizes uniformity over a learned feature geometry rather than raw pixel space, making it highly effective for visual inputs.
Key Results
ROVER was compared against prominent reward-free baselines, including Random Network Distillation (RND), State Marginal Matching (SMM), Unsupervised Active Pre-Training (APT), MAXENT, and Contrastive Intrinsic Control (CIC).
- Coverage Efficiency: ROVER achieved full state-space coverage significantly faster than all baselines in both tabular and pixel-based settings.
- Order-of-Magnitude Resampling Boost: Once pretrained, resampling trajectories from the final ROVER policy reduced the number of samples needed to cover the environment by an order of magnitude compared to exploring from scratch.
- Downstream Fine-Tuning: When downstream model-free RL algorithms (DDPG and SAC) were initialized with ROVER, they adapted to sparse rewards much faster. In visual domains, transferring ROVER’s pretrained encoder effectively bypassed the difficulty of learning visual representations from scratch.
- Offline RL Performance: Replay buffers collected by ROVER provided highly effective transition chains for offline RL algorithms like Conservative Q-Learning (CQL), outperforming baselines on the hardest Multi-Room tasks.
Limitations and Future Work
While theoretically sound and empirically robust in gridworlds, the authors note several limitations:
- Action Spaces: The current implementation is strictly limited to discrete action spaces.
- Environment Complexity: The evaluation was confined to controlled, simulated gridworld environments to allow for direct visualization of the RKHS occupancy measure.
- Scalability: Future work is required to scale the resolvent world model approximation to continuous actions, partial observability, and massive, high-dimensional benchmarks.
Summary updated