Rollouts of pretrained policies in the PointMaze U-Maze, replayed from the evaluated trajectories of Figure 13 of the paper. Every rollout leaves a persistent trace; the percentage is the free-space coverage reached so far. Details ↓
TL;DR. ROVER pre-trains a stationary exploration policy whose discounted state occupancy is spread over the whole reachable space. It needs no reward, no density estimator and no relabeling: occupancy is estimated in closed form from a learned operator, and a virtual sink state keeps coverage from collapsing.
Overview
The problem
With sparse rewards an agent learns nothing until it happens to reach the goal, so behavior at the start of training matters. In multi-task, meta and continual RL, interaction is often reward-free and the reward can only be observed online, so stored data cannot be relabeled later. What transfers is the behavior of the pretrained policy.
Why it is hard
Novelty, prediction-error and skill-diversity objectives are optimized through moving targets. A method can discover many states during pretraining and still end with a policy whose own occupancy is concentrated in one region, as the U-Maze animation below shows for several baselines.
What ROVER does
It treats pretraining as occupancy coverage: find a stationary policy whose discounted occupancy has small RKHS norm, i.e. is spread out under a learned similarity. The objective is equivalent to maximizing Rényi-2 entropy, and in tabular MDPs to matching the uniform distribution in MMD.
Why it works
The occupancy is written through a learned resolvent, so the objective and its gradient are available in closed form and optimized by policy mirror descent. A sink state routes mass the model cannot support to an absorbing state, which stops the expansion–collapse cycles of purely data-supported models.
Method
Coverage is measured by the self-similarity of the discounted occupancy \(d^\pi\) in a feature space \(\mathcal H\) with kernel \(k(x,y)=\langle\phi(x),\phi(y)\rangle\):
A target-free objective. With the Dirac kernel, \(\mathcal J\) is the collision probability and \(\log(1/\mathcal J)\) the Rényi-2 entropy; minimizing \(\mathcal J\) is equivalent to matching the uniform measure in MMD (Proposition 1). ROVER alternates data collection with three steps (Algorithm 1 in the paper).
Representation
Learn \(\phi_\theta(x)=f_\theta(x)/\|f_\theta(x)\|_1\) and \(\psi_\theta(x,a)=\phi_\theta(x)\otimes e_a\) so that a linear predictor \(W\) maps current state-action features to next-state features, with the InfoNCE loss below. \(\phi_\theta\) defines the kernel in which coverage is measured.
Transition operator
Estimate the lifted transition operator by kernel ridge regression (Nyström approximation for scale):
For a transition \((x_i,a_i,x_i')\), the positive is its own next state and the negatives \(x_j'\) come from the same batch. The paper notes the contrastive loss is an implementation choice, not a structural requirement of the method.
Sink-state augmentation
A transition estimate is only reliable near the data. Far from it the kernel vector vanishes and the model predicts zero, which looks like a cheap continuation. ROVER adds an absorbing state \(s_e\) whose feature has norm \(\varepsilon\), \(\bar\phi(s_e)=(0_{\mathcal H},\varepsilon)\), and fits the operator as a ridge problem shifted towards it:
so \(\varepsilon\) sets the price of unsupported occupancy (Theorem 5). The sink is used only during pretraining; the learned representation and policy are what transfer.
Paper Fig. 1. Zero-buffer stress test in the multi-room environment. Without the sink state (top) the policy oscillates over the first rooms; with it (bottom) it expands while retaining earlier coverage.
Results
The experiments are controlled diagnostics of exploration and transfer, not a benchmark of raw capability. The paper restricts itself to discrete actions and simple environments.
Environments
Except for PointMaze, the environments are custom-built for the paper in the style of MiniGrid [1]: fully observable sparse-reward navigation tasks designed to isolate bottlenecks and coverage behavior. They are not standard benchmarks, so results are not comparable with published numbers on other tasks. Observations are either a one-hot state encoding or an 84×84 RGB image, location is hidden in both, and the four actions are up, down, left, right. The downstream reward is −1 per step until the goal.
Environment
Description
States
Horizon
Middle Room
Central room joined by single-cell corridors to surrounding rooms; main diagnostic domain
129
15
Maze
Sparse-reward maze
108
128
Two Rooms
Two 7×7 rooms connected by a single-state corridor
99
80
Multi-Rooms
Five rooms in a row connected by a corridor
109
300
PointMaze U-Maze
PointMaze_UMaze-v3 from D4RL [2], with four discrete unit-force actions; state = (x, y, vx, vy) or a 4-frame grayscale stack
continuous
300
Policies that keep covering, not only discovering
Middle Room, state observations. Each method is shown at a representative checkpoint, chosen near full coverage or at the end of the pretraining window.
Paper Fig. 2. Top: visitation of 50 trajectories sampled from the policy of each method. Bottom: the whole dataset collected during pretraining. Several baselines produce a diverse replay buffer but a final policy concentrated on one region; ROVER's final policy covers all rooms.
How many samples does full coverage take?
Environments: Maze (108 states, horizon 128) and Multi-Rooms (five rooms in a row, 109 states, horizon 300), each with pixel and with state observations: four panels per row. Coverage is the percentage of environment states visited, versus the number of environment observations. The x-axis counts observations differently in the two rows:
Top (replay): observations gathered while pretraining from scratch, up to 105. The red dotted line marks when full coverage is reached by sampling from ROVER's learned policy.
Bottom (resampling): observations drawn by running the final pretrained policy of each method, up to 104.
Compared methods: ROVER, CIC, SMM, ICM-APT, RND. The paper reports that resampling from the final ROVER policy needs about an order of magnitude fewer samples than exploring from scratch.
Paper Fig. 3. State-space coverage sample efficiency in Maze and Multi-Rooms, for pixel and state observations.
Beyond gridworlds: position coverage in PointMaze
In the PointMaze U-Maze the observation includes velocity, but only where the ball goes should count as coverage. ROVER therefore uses a projected occupancy (Appendix E): with the projection \(g(s)=(x,y)\), it minimizes the squared norm of the pushforward \(q^\pi=g_{\#}d^\pi\) under a separate coverage kernel \(k_c\),
Velocity still drives the policy and dynamics model, which use the full state (a four-frame stack for pixels), while coverage is measured on position (state setting) or on a single frame (pixel setting). Policies are trained for 250,000 steps and the final checkpoint is evaluated. Coverage is the percentage of visited cells of the walkable region, from 50 trajectories of the stochastic policy and three start positions (top-left, top-right, center of the vertical corridor).
U-Maze cell coverage (%), mean ± std over training runs; each run averages three evaluation seeds (paper Table 1). ROVER is highest in both modalities.
Method
Pixel observations
State observations
Random policy
75.89 ± 12.18
75.89 ± 12.18
CIC
20.46 ± 10.58
81.99 ± 7.18
SMM
25.24 ± 14.38
60.11 ± 18.87
ICM-APT
65.00 ± 27.77
65.29 ± 11.80
MAXENT
17.46 ± 11.68
19.90 ± 12.10
RND
23.56 ± 12.34
47.71 ± 18.07
ROVER
81.25 ± 6.34
83.20 ± 4.55
The animation replays one training run per method from start (1, 1): the 50 rollouts of 300 steps shown in Figure 13 (evaluation seed 20261026). State-observation CIC is training seed 13; the other baselines are seed 11.
Swipe sideways to see all seven policies.
Top row: policies trained from pixel observations. Bottom row: policies trained from state observations. Both rows replay the same rollout indices at the same time, drawing the position of the ball in the maze. Colors encode the rollout index; faded lines are finished rollouts that stay on screen. Rollouts are played in waves of growing size so the full sample builds up in about 20 seconds. The percentage is the fraction of free-space grid cells (90×90 grid, radius 0.08) covered by the rollouts shown so far and ends at the number printed in Figure 13. These are single training runs, not the averages of Table 1.
ROVER spreads over the whole walkable area in both modalities (83.7% states, 86.7% pixels in this sample).
With pixel observations RND, CIC and SMM stay in the starting corridor and MAXENT barely leaves the start, while ICM-APT and ROVER cover the maze.
Transfer to sparse-reward tasks
Initializing downstream DDPG (and SAC) with the ROVER policy, and for pixels also its encoder, accelerates learning in the sparse-reward navigation tasks of the appendix.
Paper Fig. 8. Two-Rooms, DDPG with different initializations; goal in the first (left) and second (right) room. Mean ± standard error over five seeds.Paper Fig. 9. Image-based Two-Rooms (top) and Multi-Rooms (bottom), DDPG and SAC with and without ROVER initialization. Mean ± standard error over five seeds.
Environment references
M. Chevalier-Boisvert, B. Dai, M. Towers, R. Perez-Vicente, L. Willems, S. Lahlou, S. Pal, P. S. Castro, J. Terry. Minigrid & Miniworld: Modular & customizable reinforcement learning environments for goal-oriented tasks. NeurIPS 36, 2023. code
J. Fu, A. Kumar, O. Nachum, G. Tucker, S. Levine. D4RL: Datasets for deep data-driven reinforcement learning. 2020. arXiv:2004.07219
@inproceedings{prattico2026rover,
title = {Reward-free Pretraining for Reinforcement Learning via Occupancy Coverage Maximization},
author = {Pratticò, Marco and Novelli, Pietro and Pontil, Massimiliano and Ciliberto, Carlo},
booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
year = {2026},
note = {arXiv:2606.21271}
}