NeurIPS 2026

ROVER: Reward-free Pretraining for Reinforcement Learning via Occupancy Coverage Maximization

Marco Pratticò1 Pietro Novelli1 Massimiliano Pontil1,2 Carlo Ciliberto2,3

1Italian Institute of Technology, Genoa (CSML group) 2University College London 3The Italian Institute of Artificial Intelligence (AI4I), Turin

Paper (arXiv) Code BibTeX

Swipe sideways to see all seven policies.

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\):

$$\mathcal J(\pi)=\big\|\mu_{d^\pi}\big\|_{\mathcal H}^2=\iint k(x,y)\,d^\pi(dx)\,d^\pi(dy),\qquad d^\pi=(1-\gamma)\sum_{t\ge0}\gamma^t\,\mathbb P^\pi(x_t\in\cdot)$$

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).

  1. 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.

  2. Transition operator

    Estimate the lifted transition operator by kernel ridge regression (Nyström approximation for scale):

    $$\hat T_n=\Phi_n^{\top}(K+\lambda I)^{-1}\Psi_n$$
  3. Policy mirror descent

    The occupancy is a resolvent, and the gradient of \(\mathcal J\) has a dual closed form (Theorem 2). Softmax mirror-descent steps update \(\pi\):

    $$\pi_{t+1}(\cdot\mid x)=\sigma\Big(\log\pi_0(\cdot\mid x)-\eta\,\big\langle\psi(x,\cdot),\Psi_n^{\top}\textstyle\sum_{s\le t}c_{\pi_s}\big\rangle\Big)$$

Representation learning: InfoNCE

$$\mathcal L_{\mathrm{NCE}}(\phi_\theta,W)=-\log\frac{\exp\!\big(\langle\bar\phi_\theta(x_i'),\,W\bar\psi_\theta(x_i,a_i)\rangle\big)}{\sum_{j}\exp\!\big(\langle\bar\phi_\theta(x_j'),\,W\bar\psi_\theta(x_i,a_i)\rangle\big)},\qquad \bar v=\frac{v}{\|v\|_2}$$

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:

$$\bar T_n=T_0+\big(\bar\Phi_n^{\top}-\bar\phi_e\mathbf 1_n^{\top}\big)(K+\lambda I)^{-1}\bar\Psi_n$$

Unexplained prediction mass now goes to \(s_e\) rather than to zero (Proposition 3). The occupancy norm splits as

$$\|\bar\mu(\pi)\|^2=\|\hat\mu(\pi)\|^2+\varepsilon^2\,m_e(\pi)^2$$

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.

Visitation counts across policy-optimization rounds in the multi-room environment, with and without the sink state
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.

EnvironmentDescriptionStatesHorizon
Middle RoomCentral room joined by single-cell corridors to surrounding rooms; main diagnostic domain12915
MazeSparse-reward maze108128
Two RoomsTwo 7×7 rooms connected by a single-state corridor9980
Multi-RoomsFive rooms in a row connected by a corridor109300
PointMaze U-MazePointMaze_UMaze-v3 from D4RL [2], with four discrete unit-force actions; state = (x, y, vx, vy) or a 4-frame grayscale stackcontinuous300

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.

Final-behavior and replay-buffer visitation heatmaps in the Middle Room for RND, CIC, SMM, APT, MAXENT and ROVER
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:

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.

State coverage versus number of observations in Maze and Multiple Rooms for pixel and state observations, replay and resampling
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\),

$$\mathcal J_c(\pi)=\|\mu_c^\pi\|_{\mathcal H_c}^2=\iint k_c\big(g(s),g(\tilde s)\big)\,d^\pi(ds)\,d^\pi(d\tilde s).$$

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.
MethodPixel observationsState observations
Random policy75.89 ± 12.1875.89 ± 12.18
CIC20.46 ± 10.5881.99 ± 7.18
SMM25.24 ± 14.3860.11 ± 18.87
ICM-APT65.00 ± 27.7765.29 ± 11.80
MAXENT17.46 ± 11.6819.90 ± 12.10
RND23.56 ± 12.3447.71 ± 18.07
ROVER81.25 ± 6.3483.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.

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.

DDPG learning curves in Two-Rooms with different policy initializations
Paper Fig. 8. Two-Rooms, DDPG with different initializations; goal in the first (left) and second (right) room. Mean ± standard error over five seeds.
Pixel-based DDPG and SAC learning curves with and without ROVER initialization in Two-Rooms and Multi-Rooms
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

  1. 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
  2. J. Fu, A. Kumar, O. Nachum, G. Tucker, S. Levine. D4RL: Datasets for deep data-driven reinforcement learning. 2020. arXiv:2004.07219

Paper & resources

BibTeX

@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}
}