arXiv:2610.19883cs.LGOct 2026

Manuscript Offprint

arXiv:2610.19883

Occupancy Modeling via Drifting: One-Step Generation Enables Direct Policy Extraction

Robin Uhrich, Marco Bagatella, Núria Armengol Urpí, Pavel Kolev, Georg Martius

ABSTRACT

The growing interest in behavior foundation models, combined with recent advancements in generative modeling, has led to an appealing recipe for reinforcement learning from unlabeled data: pre-train a generative model to model occupancies, i.e., discounted state visitations, on reward-free trajectories, such that a policy can be easily extracted once a small reward-labeled dataset becomes available. We decompose this recipe along three axes: (i) the degree to which the multi-modal structure of occupancies must be captured, (ii) the class of generative model, and (iii) the method used for policy extraction. Along each axis, we consider existing choices, propose simpler alternatives, and validate each decision experimentally. This analysis culminates in a novel, streamlined method that leverages drifting, a modern one-step generative sampler, to model the occupancy. We show that this enables policy extraction via direct differentiation through the occupancy model, and bypasses the need for critic distillation. Overall, we observe that this nimble setup leads to improvements in performance on standard benchmarks.

1 INTRODUCTION

Reinforcement learning (RL) requires rewards, yet most available interaction data comes without them. In the absence of rewards, instead of learning how desirable each behavior is, it is convenient to learn to predict the states each behavior visits (Touati et al., 2023; Farebrother et al., 2025; Zheng et al., 2026). Then, once a reward is revealed, this knowledge can be readily leveraged to extract a good policy (Zheng et al., 2026). This is the intuition motivating occupancy models, which predict the discounted distribution over future states (Janner et al., 2020; Blier et al., 2021) that will be visited when starting from a given state and following a policy. If this is estimated correctly, computing values for any given reward becomes trivial (see Section 3) and computationally efficient. In turn, this facilitates downstream policy selection or extraction (Schramm & Boularias, 2024; Farebrother et al., 2025; Zheng et al., 2026).

Recent works have trained expressive generative models to model occupancies from data, largely through a temporal difference objective (Farebrother et al., 2025; Zheng et al., 2026). While remarkably expressive, they often involve complex, multi-step pipelines. Intention-Conditioned Flow Occupancy Models (InFOM) (Zheng et al., 2026) rely on a flow-based generative model of the occupancy, which requires several costly integration steps per sample. Moreover, this choice of generative model complicates the policy extraction procedure. Once a reward is revealed, a differentiable occupancy model would allow training an actor in a policy-gradient fashion by backpropagating through the occupancy to find actions that lead to high-reward states in the future. As differentiation through the ODE is not straightforward, Zheng et al. (2026) resort to a two-step process for policy extraction, by first distilling a critic from Monte Carlo value estimates, and then using deep policy gradients of the distilled critic to update the actor's parameters. Finally, InFOM conditions the occupancy model on a latent intention inferred by a variational encoder, in order to perform generalized policy improvement (GPI) (Barreto et al., 2017; Farebrother et al., 2025) over behaviors present in the data. While this is in principle a powerful policy extraction technique, in practice it relies on accurate inference of each mode of the data generation process. Each additional component adds

(i)

(ii)

Flow occupancy vθv_{\theta}

(iii)

Figure

Figure 1: A generative pipeline for unsupervised RL. Starting from an unlabeled dataset D, the occupancy can be modeled in a conditional or unconditional fashion (i). Independently of this choice, the occupancy can be learned through flow matching or drifting (ii). In both cases, the policy can be extracted in a two-step process, but drifting also allows for direct policy extraction (iii). We study all combinations of these choices, and recommend those marked by a bold arrow.

computational requirements, hyperparameters, and potential failure modes, while its importance in practical settings has so far been explored only partially.

In this work, we revisit this generative pipeline for unsupervised RL, and isolate three design choices that are central to occupancy modeling and policy extraction (see Figure 1):

(i) Target. The occupancy can be modeled in a conditional fashion, by inferring the diverse modes (or intentions) the data displays (Ghosh et al., 2023), or simply in a marginal fashion. We show how each target supports different policy improvement operators, and compare both empirically.

(ii) Model class. Flow matching (Lipman et al., 2023; 2024) is expressive, but requires costly integration at inference. We instead investigate one-step generative modeling, focusing on drifting models (Deng et al., 2026). Building on this framework, we introduce a temporal difference occupancy modeling objective, which we refer to as TD-Drift.

(iii) Policy extraction. A one-step model is cheap to differentiate, which allows extracting a policy directly from deep value gradients through the occupancy model. We compare this simple technique with the existing two-step pipeline involving critic distillation (Zheng et al., 2026).

We systematically evaluate these design choices on four domains of the DeepMind Control Suite (Tassa et al., 2018) with reward-free ExORL data (Yarats et al., 2022). We find that (1) drifting occupancy models are competitive with flow occupancy models at a fraction of the sampling cost, (2) intention conditioning pays off, but is not strictly necessary, and (3) the direct policy extraction procedure enabled by one-step generative modeling is not only simpler, but also outperforms critic-based policy extraction. Composing these findings, we propose a practical method for unsupervised RL that models the occupancy through drifting, potentially conditioned on intentions, and extracts policies directly.

In summary, our contributions are threefold: we study the essential components of the generative occupancy pipeline and offer new alternatives, we introduce a temporal-difference objective for drifting occupancy models, and we propose a simple, practical recipe based on drifting and direct policy extraction.

References (83)