betaFeedback

WorksComputer Science

Imagining Goals with Geometric Horizon Models for Policy Generalization

Abstract

Training from offline data has allowed for substantial progress in domains such as robotics, leading to general-purpose policies that can be easily applied zero-shot or efficiently finetuned for downstream tasks. However, these policies can still have poor generalization, both due to the choice of modeling objective and from learning from a static dataset. In this work, we focus on the challenging task of zero-shot goal generalization, where a policy is evaluated on unseen tasks that require combining its existing knowledge (compositional generalization). An avenue for improving a policy's generalization is by generating new experience with world models; however, such generation has proven difficult for longer horizons. Thus, to alleviate this issue, we propose TD-Aug, which samples from a geometric horizon model and allows for directly imagining novel outcomes that can be achieved by composing existing knowledge. We demonstrate that training on these future outcomes as goals for goal-conditioned BC policies significantly improves generalization in stitching-based OGBench tasks.

Project page: https://td-aug.github.io

Introduction

Training policies with goal-conditioned behavior cloning (BC) provides a simple strategy to learn from prior experience. However, generalization remains a challenge, limiting performance outside of the training data. Generally, world models ([15]) present an interesting strategy for improving policies from offline data ([17]). These models can be used to generate synthetic experience ([41, 3]), allowing policies to get more out of limited real data, which may be important in domains such as robotics. In this work, we consider generating experience using a type of world model to imagine counterfactual future outcomes to enable improved goal generalization.

We tackle a gap identified for BC policies showing poor performance on tasks involving stitching ([13]). In this setting, after policies are trained on a subset of tasks, they are then evaluated zero-shot on harder tasks involving composition. We illustrate an example in Figure 2, where a policy is trained on how to solve short horizon tasks (left), and then tested on a compositional task, such as going across the maze (middle). To solve this problem, we propose to learn a generative model that predicts what states will be encountered after mixing behaviors of the independent data collecting policies (right). Specifically, the generative model we consider is a geometric horizon model (GHM) ([19] (Thakor et al. 2022)) trained using Temporal Difference Flows (TD-Flows) ([9]). Then, using samples generated from our GHM as a data augmentation for goals, we teach our policy to perform compositional tasks. We provide an overview in Figure 1, and refer to our method as TD-Aug. We further justify this procedure by showing that augmenting BC with goals from the successor measure relates to value weighted regression.

Figure 1. Overview of TD-Aug. We a) train a GHM on an offline dataset to approximate samples from the successor measure of the behavior mixture policy. Then, b) we train BC policies on a mix of ground-truth and generated goals, improving zero-shot generalization on compositional tasks.

Ground-truth and generated samples

Figure 2. Ground-truth and generated samples. Left, on pointmaze-giant-stitch, we display ground truth trajectories from the dataset. Middle, we display long-horizon evaluation tasks. Right, we generate samples from an MCHC TD-Flow, as in § 4, conditioned on the initial (outlined) state and action. These samples correspond to reachable future states, including those that can only be reached through stitching several trajectories with longer total horizon than short training trajectories. We provide visualizations across more environments in Figure 8.

To implement TD-Aug, we study several GHM objectives based on both temporal difference (TD) ([9, 10]) and geometric Monte Carlo (MC) ([8]) sampling, demonstrating that TD methods are crucial for generalization. Using horizon consistency ([10]), we propose a new TD-Flow objective which combines both MC and TD sampling during training, leading to improved long-horizon generation.

Correspondence: [email protected]

Empirically, in § 6.1, we first validate TD-Aug on low-dimensional navigation tasks in OGBench ([34]) that require stitching for success, substantially improving behavior cloning generalization, from 31% to 79% average success. Then, we demonstrate that our approach can also improve generalization on high-dimensional, image-based tasks (29% to 56%) in § 6.2 and complicated manipulation tasks (13% to 52%) in § 6.3.

Related Work

Data augmentation with temporal structure has been an effective way to re-use experience in reinforcement learning. Models can generate data, for example by sampling transitions for model-free approaches ([41, 15, 11, 16, 28, 51]). In the goal-conditioned setting, Hindsight Experience Replay (HER) ([1]) allows re-using transitions with different achieved outcomes as goals ([21]). When training policies with BC, sampling hindsight goals is beneficial, but does not cover compositional generalization ([13]), where a policy is evaluated on state-goal pairs not seen together in the same training trajectories. To mitigate this gap, states are stitched across trajectories using clustering, but this only covers 1-step stitches and relies on heuristics, such as a good distance metric between states. In contrast, we use generative models to capture a future state distribution that directly stitches across trajectories.

Algorithm 1TD-Aug
Representation Learning (Optional)
Use either states ss, or learned representations z=ϕ(s)z = \phi(s), as the space for GHM and policy (§ 6.2).
Geometric Horizon Model Training
Train MϕβM_{\phi}^{\beta} to approximate the successor measure of the behavior mixture policy, using LMCHC−β\mathcal{L}_{\mathrm{MCHC}-\beta} (Equation (9)).
Policy Training
Train πθ\pi_{\theta} by BC on a mixture of generated goals from MϕβM_{\phi}^{\beta} with proportion α\alpha, as well as real samples (Equation (11)).

Table 1.

Long-Horizon Prediction: In the context of predicting future states, instead of generating states sequentially, prediction can be made more accurate by sampling states in parallel, i.e. jointly sampling sub-trajectories ([20]), which could be chained together ([29, 25]), for longer-horizon or compositional predictions. In comparison, we avoid having to denoise intermediate states or utilize heuristic strategies to chain sub-trajectories together. This is achieved while still generating long-horizon samples in O(1)O(1) steps through amortization during GHM training.

Representation learning can be employed to improve compositional generalization of BC by encoding temporal dependencies in the representations of a policy, such as with objectives that relate to approximating successor measures or temporal distance ([31, 24, 37]). This has the advantage of avoiding state prediction, but still has challenges, such as with stability and long-horizon generalization. In practice, generative modeling and representation learning can be used together, which is useful for predicting high-dimensional states.

Geometric horizon models (GHMs), also known as γ\gamma-models [19], propose a generative variant of temporal difference learning, allowing for approximate sampling from the successor measure [42, 43, 48, 9], a continuous generalization of successor representations [6] of a policy. Specifically, we consider Temporal Difference Flows [9] (TD-Flows), which use flow-matching objectives for learning such models. Most recent work with TD-Flows [9, 10] has considered using GHMs for decision-time planning. GHMs can also be used for policy improvement [50], or model-based value expansion [11], where future synthetic states can be used to estimate bootstrap targets for value estimation [19]. Recent work has used MVE for offline RL using GHMs and Universal Horizon Models (UHMs) [4], but does not consider the goal-conditioned setting. In contrast, we particularly study GHMs for goal augmentation, and how this alone can induce better zero-shot goal generalization after offline training.

Background

Goal-Conditioned Reinforcement Learning

We study offline learning in goal-conditioned Markov Decision Processes (MDPs), defined as the tuple (S,A,G,P,r,γ,μ)(\mathcal{S}, \mathcal{A}, \mathcal{G}, P, r, \gamma, \mu), where S\mathcal{S} is the state space, A\mathcal{A} is the action space, G\mathcal{G} is the goal space, P:S×A→Δ(S)P : \mathcal{S} \times\mathcal{A} \to\Delta(\mathcal{S}) is the transition kernel, rr is the reward function, γ∈[0,1)\gamma\in[0, 1) is the discount, and μ∈Δ(S)\mu\in\Delta(\mathcal{S}) is an initial state distribution. We consider that goals coincide with states (G=S\mathcal{G} = \mathcal{S}), and the reward is the Dirac delta at the goal: rg(st,at,st+1)=δg(st+1)r_g(s_t, a_t, s_{t+1}) = \delta_g(s_{t+1}). We aim to learn a policy π:S×G→Δ(A)\pi: \mathcal{S} \times\mathcal{G} \to\Delta(\mathcal{A}) using a dataset D\mathcal{D}, without online interaction, to maximize expected return:

J(π)=Eg∼p(g),s0∼μ,at∼π(⋅∣st,g),st+1∼P(⋅∣st,at)[∑t=0∞γtrg(st,at,st+1)]J(\pi) = \mathbb{E}_{g \sim p(g), s_0 \sim\mu, a_t \sim\pi(\cdot\mid s_t,g), s_{t+1} \sim P(\cdot\mid s_t,a_t)}\left[\sum_{t=0}^{\infty}\gamma^t r_g(s_t,a_t,s_{t+1})\right]

For the subset X⊆SX \subseteq\mathcal{S}, we define the normalized successor measure of a policy π\pi as:

Mγπ(X∣s,a)≜(1−γ)∑k≥0γkPr⁡(sk+1∈X∣s0=s,a0=a,π)(1)M^\pi_\gamma(X \mid s,a) \triangleq(1-\gamma)\sum_{k \geq0}\gamma^k\Pr(s_{k+1} \in X \mid s_0=s,a_0=a,\pi) \tag*{(1)}

where Pr⁡\Pr denotes the time-specific probability that we are in XX starting from (s,a)(s,a) when following π\pi. We write the density of the successor measure mγπm^\pi_\gamma via Mγπ(ds+∣s,a)=mγπ(s+∣s,a) ds+M^\pi_\gamma(ds_+ \mid s,a) = m^\pi_\gamma(s_+ \mid s,a)\,ds_+, and the action-marginalized successor measure is defined as Mγπ(⋅∣s)≜Ea∼π(⋅∣s)[Mγπ(⋅∣s,a)]M^\pi_\gamma(\cdot\mid s) \triangleq\mathbb{E}_{a \sim\pi(\cdot\mid s)}[M^\pi_\gamma(\cdot\mid s,a)]. We also define the discounted state occupancy density as the marginal of mγπm^\pi_\gamma over the initial state distribution: dπ(s)≜Es0∼μ,a0∼π(⋅∣s0)[mγπ(s∣s0,a0)]d^\pi(s) \triangleq\mathbb{E}_{s_0 \sim\mu, a_0 \sim\pi(\cdot\mid s_0)}[m^\pi_\gamma(s \mid s_0,a_0)]. With the goal reaching reward, the successor measure’s density relates to the goal-conditioned value function via Qγπ(s,a,g)=(1−γ)−1mγπ(g∣s,a)Q^\pi_\gamma(s,a,g) = (1-\gamma)^{-1}m^\pi_\gamma(g \mid s,a).

Flow Matching

Following success in modeling policies and geometric horizon models ([9]), we utilize flow matching ([26]). With a source distribution p0∈Δ(Rd)p_0 \in\Delta(\mathbb{R}^d) and a target distribution p1∈Δ(Rd)p_1 \in\Delta(\mathbb{R}^d), flow matching learns a velocity field vτ:Rd→Rdv^\tau: \mathbb{R}^d \to\mathbb{R}^d such that for x0∼p0x_0 \sim p_0, the sample x1=x0+∫01vτ(xτ)dτx_1 = x_0 + \int_0^1 v^\tau(x_\tau)\mathrm{d}\tau matches the target distribution (x1∼p1x_1 \sim p_1).

In practice, we use conditional flow matching ([26]):

LCFM(θ)=Ex1∼D,τ∼U(0,1),xτ∼pτ∣1(⋅∣x1)[∥vθτ(xτ)−uτ(xτ∣x1)∥22].\mathcal{L}_{\mathrm{CFM}}(\theta) = \mathbb{E}_{x_1\sim\mathcal{D},\tau\sim U(0,1),x_\tau\sim p_{\tau|1}(\cdot|x_1)} \left[\left\|v^\tau_\theta(x_\tau)-u_\tau(x_\tau|x_1)\right\|_2^2\right].

We use the conditional optimal transport (CondOT) coupling, drawing a straight line between x0x_0 and x1x_1, xτ=(1−τ)x0+τx1x_\tau= (1-\tau)x_0+\tau x_1. This gives the true conditional velocity field target as uτ(xτ∣x1)=x1−x0u_\tau(x_\tau|x_1) = x_1-x_0. Our source distribution p0p_0 is the standard Gaussian, N(0,I)\mathcal{N}(0,I).

Training Policies

We train policies on datasets D={(s0i,a0i,⋯ ,sTi,aTi)}i=1N\mathcal{D}=\{(s^i_0,a^i_0,\cdots,s^i_T,a^i_T)\}_{i=1}^N comprised of trajectories collected by a set of unknown policies {βj(a∣s)}\{\beta_j(a|s)\}. These policies can be marginalized by a mixture policy β(a∣s)=∑jβj(a∣s)p(βj∣s)\beta(a|s)=\sum_j\beta_j(a|s)p(\beta_j|s), which is a Markovian policy that has occupancy equal to the expectation under the individual policies: dβ(s)=Ep(βj)[dβj(s)]d^\beta(s)=\mathbb{E}_{p(\beta_j)}[d^{\beta_j}(s)] ([13]). In general, there is not equality in the conditional occupancy (the SM), Mβ(⋅∣s,a)≠Eβj∼p(βj∣s,a)[Mβj(⋅∣s,a)]M^\beta(\cdot|s,a)\ne\mathbb{E}_{\beta_j\sim p(\beta_j|s,a)}[M^{\beta_j}(\cdot|s,a)].

We consider the standard goal-conditioned BC objective, which samples a current state from the dataset (dβd^\beta), and trains the policy to reach goals sampled as future states in the same trajectory, corresponding to samples from the successor measure of an individual policy MβjM^{\beta_j}:

LBC(θ)=−Es∼dβ,a∼β(⋅∣s)βj∼p(βj∣s,a),s+∼Mβj(⋅∣s,a)[log⁡πθ(a∣s,g=s+)](2)\mathcal{L}_{\mathrm{BC}}(\theta)=-\mathbb{E}_{s\sim d^\beta,a\sim\beta(\cdot|s)\atop\beta_j\sim p(\beta_j|s,a),s_+\sim M^{\beta_j}(\cdot|s,a)}[\log\pi_\theta(a|s,g=s_+)] \tag*{(2)}

We perform goal-conditioned behavior cloning using flow matching, representing the policy by a conditional velocity field vθτ(aτ∣s,g)v^\tau_\theta(a_\tau|s,g):

LBC(θ)=E(s,a,s+),τ∼U(0,1),a0∼p0,aτ=(1−τ)a0+τa[∥vθτ(aτ∣s,g=s+)−(a−a0)∥22](3)\mathcal{L}_{\mathrm{BC}}(\theta)=\mathbb{E}_{(s,a,s_+),\tau\sim U(0,1),a_0\sim p_0,a_\tau=(1-\tau)a_0+\tau a}\left[\left\|v^\tau_\theta(a_\tau|s,g=s_+)-(a-a_0)\right\|_2^2\right] \tag*{(3)}

To sample from πθ(⋅∣s,g)\pi_\theta(\cdot|s,g), using a0∼p0a_0\sim p_0, we integrate with vθτv^\tau_\theta, via a1=a0+∫01vθτ(aτ∣s,g)dτa_1=a_0+\int_0^1v^\tau_\theta(a_\tau|s,g)\mathrm{d}\tau.

Temporal Difference Flows

Recently, there has been significant interest in developing generative models of the successor measure, called geometric horizon models (GHMs), that can sample states from the geometric horizon of any given policy ([19, 42]). These models can be trained via TD learning, as for all (s,a)(s,a), the successor measure MγπM^\pi_\gamma satisfies:

Mγπ(⋅∣s,a)=(1−γ)P(⋅∣s,a)+γEs′∼P(⋅∣s,a),a′∼π(⋅∣s′)[Mγπ(⋅∣s′,a′)](4)M^\pi_\gamma(\cdot|s,a)=(1-\gamma)P(\cdot|s,a)+\gamma\mathbb{E}_{s'\sim P(\cdot|s,a),a'\sim\pi(\cdot|s')}[M^\pi_\gamma(\cdot|s',a')] \tag*{(4)}

Optimizing this objective is challenging with prior generative modeling techniques such as GANs ([14]) or normalizing flows ([40]), especially at large discounts γ\gamma. This led to the proposal to use flow matching to learn GHMs ([9]), which showed strong success in simulated control domains. TD-Flows parameterize the GHM as a velocity field vϕτ:Rd×S×A→Rdv^\tau_\phi:\mathbb{R}^d\times\mathcal{S}\times\mathcal{A}\to\mathbb{R}^d with parameters ϕ\phi, such that with source x0∼p0∈Δ(Rd)x_0\sim p_0\in\Delta(\mathbb{R}^d), the velocity field induces the flow ψϕτ:Rd×S×A→Rd\psi^\tau_\phi:\mathbb{R}^d\times\mathcal{S}\times\mathcal{A}\to\mathbb{R}^d:

ψϕτ(x0∣s,a)=x0+∫0τvϕi(ψϕi(x0∣s,a)∣s,a)di.(5)\psi^\tau_\phi(x_0|s,a)=x_0+\int_0^\tau v^i_\phi(\psi^i_\phi(x_0|s,a)|s,a)\mathrm{d}i. \tag*{(5)}

We aim to learn vϕτv^\tau_\phi, such that for x0∼p0x_0\sim p_0, the samples ψϕ1(x0∣s,a)\psi^1_\phi(x_0|s,a) are distributed according to Mγπ(⋅∣s,a)M^\pi_\gamma(\cdot|s,a). Thus, we will use the notation Mϕπ(⋅∣s,a)M^\pi_\phi(\cdot|s,a) for our approximate successor measure parameterized by vϕτv^\tau_\phi. Exploiting the Bellman structure of the successor measure, Farebrother et al. [9] show that a flow that models said measure can be learned by minimizing the TD2{}^2-CFM loss:

LTD2(ϕ;ϕˉ)=(1−γ)Ltd−ss(ϕ)+γLtd−bs(ϕ;ϕˉ), where:(6)\mathcal{L}_{\mathrm{TD}^2}(\phi;\bar{\phi})=(1-\gamma)\mathcal{L}_{\mathrm{td-ss}}(\phi)+\gamma\mathcal{L}_{\mathrm{td-bs}}(\phi;\bar{\phi}),\ \text{where:} \tag*{(6)}
Ltd−ss(ϕ)=Eτ∼U(0,1),(s,a,s′)∼Dβ,x0∼p0,xτ=(1−τ)x0+τs′[∥vϕτ(xτ∣s,a)−(s′−x0)∥22]\mathcal{L}_{\mathrm{td-ss}}(\phi)=\mathbb{E}_{\tau\sim U(0,1),(s,a,s')\sim\mathcal{D}^\beta,x_0\sim p_0,x_\tau=(1-\tau)x_0+\tau s'}\left[\left\|v^\tau_\phi(x_\tau|s,a)-(s'-x_0)\right\|_2^2\right]
Ltd−bs(ϕ)=Eτ∼U(0,1),(s,a,s′)∼Dβ,a′∼π(⋅∣s′),x0∼p0,xτ=ψϕˉτ(x0∣s′,a′)[∥vϕτ(xτ∣s,a)−vϕˉτ(xτ∣s′,a′)∥22]\mathcal{L}_{\mathrm{td-bs}}(\phi)=\mathbb{E}_{\tau\sim U(0,1),(s,a,s')\sim\mathcal{D}^\beta,a'\sim\pi(\cdot|s'),x_0\sim p_0,x_\tau=\psi^\tau_{\bar{\phi}}(x_0|s',a')}\left[\left\|v^\tau_\phi(x_\tau|s,a)-v^\tau_{\bar{\phi}}(x_\tau|s',a')\right\|_2^2\right]

where ϕˉ\bar{\phi} are target flow parameters, as commonly used in value-based RL ([30]). Recalling equation (4), Ltd-ss\mathcal{L}_{\mathrm{td\text{-}ss}} targets the single-step transition kernel, while Ltd-bs\mathcal{L}_{\mathrm{td\text{-}bs}} bootstraps using the successor measure at the next state. Together, this leads to approximating MγπM^\pi_\gamma.

We can also approximate the successor measure Mβ(⋅∣s,a)M^\beta(\cdot|s,a) of the mixture policy β\beta, rather than an arbitrary policy π\pi. While this requires sampling a′∼β(⋅∣s′)a' \sim\beta(\cdot|s') in the Bellman update, in practice, we will generally bootstrap with the next action in the dataset, yielding the term:

Ltd-bs(ϕ)=Eτ∼U(0,1),(s,a,s′,a′)∼Dβ,x0∼p0,xτ=ψτ(x0∣s′,a′)[∥vϕτ(xτ∣s,a)−vϕˉτ(xτ∣s′,a′)∥22]\mathcal{L}_{\mathrm{td\text{-}bs}}(\phi)=\mathbb{E}_{\tau\sim U(0,1),(s,a,s',a')\sim\mathcal{D}^{\beta},x_0\sim p_0,x_\tau=\psi_\tau(x_0|s',a')}\left[\left\|v^\tau_\phi(x_\tau|s,a)-v^{\tau}_{\bar{\phi}}(x_\tau|s',a')\right\|_2^2\right]

We refer to this objective as LTD2-β\mathcal{L}_{\mathrm{TD2\text{-}\beta}}. This is a simpler objective than the fully off-policy objective in equation (6), as we bootstrap over fully in-support actions. If one does not need to stitch across trajectories, we can utilize a simpler approach to model MγβM^\beta_\gamma using empirical Monte Carlo samples of future states. This allows us to learn a generative model directly with supervised learning:

LMC(ϕ)=E(s,a)∼Dβ,k∼geom⁡(1−γ),s+=s→kτ∼U(0,1),x0∼p0,xτ=(1−τ)x0+τs+[∥vϕτ(xτ∣s,a)−(s+−x0)∥22].(7)\mathcal{L}_{\mathrm{MC}}(\phi)=\mathbb{E}_{(s,a)\sim\mathcal{D}^{\beta},k\sim\operatorname{geom}(1-\gamma),s_+=s\to k\atop\tau\sim U(0,1),x_0\sim p_0,x_\tau=(1-\tau)x_0+\tau s_+}\left[\left\|v^\tau_\phi(x_\tau|s,a)-(s_+-x_0)\right\|_2^2\right]. \tag*{(7)}

Here, s→ks_{\to k} denotes the state that is kk steps further from ss along the sampled trajectory in the dataset. If we had infinitely long trajectories, collected directly by the mixture policy, this objective would approximate Mβ(⋅∣s,a)M^\beta(\cdot|s,a). However, in practice, we have datasets with truncated horizon, and collected from a set of data-collecting policies. This leads LMC(ϕ)\mathcal{L}_{\mathrm{MC}}(\phi) to instead approximate a mixture of successor measures Eβj∼p(βj∣s,a)Mγβj(⋅∣s,a)\mathbb{E}_{\beta_j\sim p(\beta_j|s,a)}M^{\beta_j}_\gamma(\cdot|s,a) ([24]), preferring the use of LTD2-β\mathcal{L}_{\mathrm{TD2\text{-}\beta}}.

Improving Long-Horizon, On-Policy Generation by Combining MC and TD Sampling

In this section, we propose a variant of the TD-Flow training procedure (LTD2-β\mathcal{L}_{\mathrm{TD2\text{-}\beta}}) to address scaling to long horizon prediction, which is affected by the discount γ\gamma used during bootstrapping. Intuitively, fitting the GHM is easier at lower discounts, as the loss is more heavily weighted to the ground truth next-state prediction, rather than the bootstrap. Recent work proposes the Temporal Difference Horizon Consistency (TD-HC) objective ([10]), which proposes how to use a "local horizon" GHM (e.g. a GHM conditioned on a discount ω<γ\omega< \gamma) to obtain an estimate of the successor measure to approximate a higher discount GHM (γ\gamma) ([19, 10]), i.e. ω<γ\omega< \gamma through a Bellman-like relation:

Mγπ(⋅∣s,a)≜(1−γ)P(⋅∣s,a)+γ1−γ1−ωEs′∼P(⋅∣s,a),a′∼π(⋅∣s′)[Mωπ(⋅∣s′,a′)]+γγ−ω1−ωEs′∼P(⋅∣s,a),a′∼π(⋅∣s′),s+∼Mωπ(⋅∣s′,a′),a+∼π(⋅∣s+)[Mγπ(⋅∣s+,a+)](8)\begin{aligned} M^\pi_\gamma(\cdot|s,a)\triangleq(1-\gamma)P(\cdot|s,a)+\gamma\frac{1-\gamma}{1-\omega}\mathbb{E}_{s'\sim P(\cdot|s,a),a'\sim\pi(\cdot|s')}[M^\pi_\omega(\cdot|s',a')] \\ &+\gamma\frac{\gamma-\omega}{1-\omega}\mathbb{E}_{s'\sim P(\cdot|s,a),a'\sim\pi(\cdot|s'),s_+\sim M^\pi_\omega(\cdot|s',a'),a_+\sim\pi(\cdot|s_+)}[M^\pi_\gamma(\cdot|s_+,a_+)] \tag*{(8)} \end{aligned}

This can be converted to a TD-Flow loss, LTDHC\mathcal{L}_{\mathrm{TDHC}}, by modifying equation (6), shown in Appendix § 11.§ 1.

We propose a variant of LTDHC\mathcal{L}_{\mathrm{TDHC}} adapted for the on-policy setting to approximate MγβM^\beta_\gamma. While equation (7) supervises the flow with ground-truth samples, which we will show leads to high-quality generations, it does not generate samples that can be reached through stitching trajectories. In contrast, equation (6) stitches, but uses sparse ground-truth signal, which decreases as the discount is increased. This may make it harder to have higher-quality samples and to scale to longer horizons. To obtain the best of both objectives, we consider a horizon-consistent objective utilizing MC samples from the dataset. While we will learn MγβM^\beta_\gamma, we will not learn MωβM^\beta_\omega, and instead utilize MC samples from dataset trajectories. This leads to the objective:

LMCHC-β(ϕ;ϕˉ)=(1−γ)Ltd-ss(ϕ)+γ1−γ1−ωLmc(ϕ)+γγ−ω1−ωLtd-mc-bs(ϕ;ϕˉ), where:(9)\mathcal{L}_{\mathrm{MCHC\text{-}\beta}}(\phi;\bar{\phi})=(1-\gamma)\mathcal{L}_{\mathrm{td\text{-}ss}}(\phi)+\gamma\frac{1-\gamma}{1-\omega}\mathcal{L}_{\mathrm{mc}}(\phi)+\gamma\frac{\gamma-\omega}{1-\omega}\mathcal{L}_{\mathrm{td\text{-}mc\text{-}bs}}(\phi;\bar{\phi}),\ \mathrm{where:} \tag*{(9)}
Ltd-ss(ϕ)=Eτ∼U(0,1),(s,a,s′)∼Dβ,x0∼p0,xτ=(1−τ)x0+τs′[∥vϕτ(xτ∣s,a)−(s′−x0)∥22]\mathcal{L}_{\mathrm{td\text{-}ss}}(\phi)=\mathbb{E}_{\tau\sim U(0,1),(s,a,s')\sim\mathcal{D}^{\beta},x_0\sim p_0,x_\tau=(1-\tau)x_0+\tau s'}\left[\left\|v^\tau_\phi(x_\tau|s,a)-(s'-x_0)\right\|_2^2\right]
Lmc(ϕ)=Eτ∼U(0,1),(s,a)∼Dβ,k∼geom⁡(1−ω)s+=s→k+1,x0∼p0,xτ=(1−τ)x0+τs+[∥vϕτ(xτ∣s,a)−(s+−x0)∥22]\mathcal{L}_{\mathrm{mc}}(\phi)=\mathbb{E}_{\tau\sim U(0,1),(s,a)\sim\mathcal{D}^{\beta},k\sim\operatorname{geom}(1-\omega)\atop s_+=s\to k+1,x_0\sim p_0,x_\tau=(1-\tau)x_0+\tau s_+}\left[\left\|v^\tau_\phi(x_\tau|s,a)-(s_+-x_0)\right\|_2^2\right]
Ltd-mc-bs(ϕ)=Es+,a+=s→k+1,a→k+1,x0∼p0,xτ=ψϕτ(x0∣s+,a+)τ∼U(0,1),(s,a)∼Dβ,k∼geom⁡(1−ω)[∥vϕτ(xτ∣s,a)−vϕˉτ(xτ∣s+,a+)∥22]\mathcal{L}_{\mathrm{td\text{-}mc\text{-}bs}}(\phi)=\mathbb{E}_{s_+,a_+=s\to k+1,a\to k+1,x_0\sim p_0,x_\tau=\psi^\tau_\phi(x_0|s_+,a_+)\atop\tau\sim U(0,1),(s,a)\sim\mathcal{D}^{\beta},k\sim\operatorname{geom}(1-\omega)}\left[\left\|v^\tau_\phi(x_\tau|s,a)-v^\tau_{\bar{\phi}}(x_\tau|s_+,a_+)\right\|_2^2\right]

This loss is not just supervised by the next ground truth states, but also future MC samples. Additionally, instead of bootstrapping from the next state st+1s_{t+1}, we will bootstrap from this MC sample, which is obtained as a future state after st+1s_{t+1}, i.e. s+=st+k+1s_+ = s_{t+k+1}, where k∼geom⁡(1−ω)k \sim\operatorname{geom}(1-\omega). As we utilize MC samples, which are both truncated, and are collected by a single policy, they do not correspond to the true MωβM^\beta_\omega. Thus, this objective is a biased approximation of MγβM^\beta_\gamma as ω\omega increases, but allows increasing γ\gamma while still training on higher proportions of ground-truth data.

Imagining Goals for Policy Generalization

Generalization Problem

We consider a generalization problem for BC policies. Following the setting from § 3.3, we train on trajectories collected by unknown policies {βj(a∣s)}\{\beta_j(a|s)\}, with mixture policy β(a∣s)\beta(a|s). We will now define training and test distributions for πθ\pi_\theta equation (2), following Ghugare et al. (2024):

Ridπ=Es∼dβ,βj∼p(βj∣s),sg∼Mβj(⋅∣s)[Rπθ(s,sg)],Rgenπ=Es∼dβ,sg∼Mβ(⋅∣s)[Rπθ(s,sg)](10)R^\pi_{\mathrm{id}} = \mathbb{E}_{s\sim d^{\beta},\beta_j\sim p(\beta_j|s),s_g\sim M^{\beta_j}(\cdot|s)}\left[R^{\pi_\theta}(s,s_g)\right], \qquad R^\pi_{\mathrm{gen}} = \mathbb{E}_{s\sim d^{\beta},s_g\sim M^\beta(\cdot|s)}\left[R^{\pi_\theta}(s,s_g)\right] \tag*{(10)}

With Rπθ(s,sg)R^{\pi_\theta}(s,s_g) defining the success rate of the policy to reach sgs_g from ss, RidπR^\pi_{\mathrm{id}} averages performance over in-distribution tasks and RgenπR^\pi_{\mathrm{gen}} describes average success on a class of out-of-distribution tasks requiring compositional generalization. These include tasks which may not be completed by a single data collecting policy βj\beta_j, but still have sufficient data coverage to complete through composing or stitching trajectories collected by different policies, i.e. reachable with β\beta.

While equation (2) corresponds to improving on RidπR^\pi_{\mathrm{id}}, the BC objective does not cover RgenπR^\pi_{\mathrm{gen}}, leading to poor empirical performance. We can see that if we had access to goals coming from the successor measure of the mixture policy β\beta during training, rather than that of individual policies, our policy could learn to reach goals required for better RgenπR^\pi_{\mathrm{gen}}.

Method

To address this type of policy generalization, we can directly approximate and sample from the target generalization distribution. We note that because we do not have full rollouts from the mixture policy, we must utilize TD learning to stitch, relying on LTD2−β\mathcal{L}_{\mathrm{TD2}-\beta} or LMCHC−β\mathcal{L}_{\mathrm{MCHC}-\beta}, rather than LMC(ϕ)\mathcal{L}_{\mathrm{MC}}(\phi). Thus, we train on-policy TD-Flows, which will yield an approximation Mϕβ(⋅∣s,a)M^\beta_\phi(\cdot|s,a) for the successor measure of the mixture policy. After obtaining MϕβM^\beta_\phi, we perform goal augmentation where we train on a mix of original goals plus samples from the generative model, covering the compositional distribution:

max⁡πθ Es∼dβ,a∼β(a∣s),s+∼Paug(⋅∣s,a)[log⁡πθ(a∣s,g=s+)](11)\max_{\pi_\theta}\ \mathbb{E}_{s\sim d^\beta,a\sim\beta(a|s),s_+\sim P_{\mathrm{aug}}(\cdot|s,a)}\left[\log\pi_\theta(a|s,g=s_+)\right] \tag*{(11)}
wherePaug(⋅∣s,a)≜αMϕβ(⋅∣s,a)⏟imagined compositional samples+(1−α)Eβj∣s,aMβj(⋅∣s,a)⏟ground truth future states(12)\text{where}\quad P_{\mathrm{aug}}(\cdot|s,a) \triangleq\underbrace{\alpha M^\beta_\phi(\cdot|s,a)}_{\text{imagined compositional samples}} + \underbrace{(1-\alpha)\mathbb{E}_{\beta_j|s,a}M^{\beta_j}(\cdot|s,a)}_{\text{ground truth future states}} \tag*{(12)}

We generally refer our goal augmentation procedure as TD-Aug, and by default use LMCHC−β\mathcal{L}_{\mathrm{MCHC}-\beta}. We can also instantiate our method with LTD2−β\mathcal{L}_{\mathrm{TD2}-\beta}, which we denote later with TD-Aug2_2. We provide an overview of our method in Algorithm 1 and Figure 1. An advantage of this procedure is that we are not limited to a fixed number of stitches, or heuristic sampling strategies [13]. We also perform O(1)O(1) sampling steps per sample to cover an expected horizon H=(1−γ)−1H=(1-\gamma)^{-1}, while one-step models need O(H)O(H) steps, potentially resulting in compounding error and longer time for rollouts.

We relate this procedure to offline goal-conditioned RL, specifically 1-step policy improvement over the mixture policy with value-weighted regression [39, 45, 38, 47], for a brief proof, see Appendix § 12:

Theorem 1 (Equivalence to 1-step improvement). With α=1\alpha=1, and exact samples from Mβ(⋅∣s,a)M^\beta(\cdot|s,a), our augmentation strategy in equation (11) is equivalent to value-weighted regression used for one-step improvement over behavior policy β\beta:

θ∗∈arg⁡max⁡θ Es∼dβ,s+∼da∼β(⋅∣s)β[Qβ(s,a,g=s+)dβ(s+)log⁡πθ(a∣s,g=s+)](13)\theta^* \in\arg\max_\theta\ \mathbb{E}_{s\sim d^\beta,s_+\sim d^\beta_{a\sim\beta(\cdot|s)}}\left[\frac{Q^\beta(s,a,g=s_+)}{d^\beta(s_+)}\log\pi_\theta(a|s,g=s_+)\right] \tag*{(13)}

Experiments

In this section, we show that TD-Aug can improve combinatorial generalization across a variety of stitch tasks in the OGBench [34] benchmark suite. In § 6.1, we (a) evaluate the quality of generated samples as horizon scales for different GHM objectives on low-dimensional navigation tasks, and (b) show that TD-Aug is useful for improving BC generalization, even on long-horizon tasks requiring many stitches. Then, (c) we show that our method can scale to visual environments by learning GHMs in latent space in § 6.2, and § 6.3, we demonstrate that we can also improve stitching on manipulation tasks.

State-based Environments

We first evaluate our method on pointmaze-stitch navigation tasks from OGBench, which allow us to isolate the challenge of long-horizon stitching from high-dimensional dynamics. In these tasks, agents are trained on short trajectories, which travel up to 4 maze cells. Then, agents are evaluated on longer compositional tasks such as those that span the whole width of the maze. We find that the original stitching datasets, especially for point, are not terminated upon goal-reaching, resulting in many transitions that idle at the goal. Thus, we re-collect the stitch datasets that terminate upon reaching a sub-goal. On new datasets, baselines perform similarly, or slightly better than before.

To begin our study, we first compare the quality of generative models. Qualitatively, we provide visualizations on pointmaze-{medium,large,teleport,giant}-stitch in Figure 8. We can see that MC Flows can accurately capture training trajectories and multi-modality in the dataset. We can see this captures both multi-modality in the policy, and environment stochasticity, as shown in teleport, where upon entering a black hole, the agent is randomly sent to a random white hole. However, the MC Flow does not implicitly stitch across trajectories. On the other hand, the TD-based objectives (TD2^{2}-β\beta, MCHC-β\beta), can generate samples that require stitching, capturing states reachable beyond than the training trajectory horizon. However, the TD2^{2}-β\beta samples are more diffuse, or may go backwards from the direction implied by the ground truth samples. In contrast, the MCHC-β\beta samples balance implicit stitching with the quality of MC samples.

Next, we perform a quantitative comparison between model samples on a held-out evaluation dataset on pointmaze-large-stitch. From an initial state, we can see how models (trained on short trajectories) generate samples that are closer in distribution to longer, held-out trajectories, measuring stitching. This is performed by sampling initial (state,action) tuples from a held-out dataset. Then, from these tuples we sample future states geometrically, obtaining empirical samples. From these same initial states, we sample from our model, as shown in Figure 7. Then, we compute the earth mover’s distance (EMD) between these two sets of points, and then average across different initial positions. We repeat this for models trained at various effective horizons H=(1−γ)−1H = (1-\gamma)^{-1}, measuring against ground truth samples at the corresponding horizon, as shown in Figure 3. In addition to the GHM based models, we also generate samples from autoregressive one-step prediction, which we further discuss in Appendix § 11.§ 3. While some models have similar EMD at the initial horizon (100), we can see that the errors of TD2^{2}-β\beta, and 1-step baselines, quickly increases with horizon. Additionally, the EMD of MC increases because it is trained on short trajectories, and thus has no mechanism to stitch. In contrast, MCHC-β\beta has the lowest EMD as horizon increases, showing the benefit of mixing both MC targets and TD when training on-policy GHMs.

Figure 3. Evaluating sampling with increasing horizon. We compute earth mover’s distance (EMD) between empirical samples and generated samples on held-out evaluation data for pointmaze-large-stitch.

Generated samples in pointmaze-large with varying horizon

Figure 7. Generated samples in pointmaze-large with varying horizon. Samples are conditioned on different sources displayed with 🟡, and ground-truth action, whose effect can be inferred by the ground-truth trajectory shown in black. Across each row, we vary discount γ\gamma, with H=(1−γ)−1H = (1-\gamma)^{-1}.

Next, we study how geometric horizon models can empirically improve a policy’s combinatorial generalization capabilities in Table 1. Without any augmentation, a goal-conditioned flow-based behavior cloning (GCFBC) baseline [35] obtains moderate zero-shot generalization in smaller mazes, but struggles in larger mazes as the horizon is increased. To improve generalization, we apply our generative goal augmentation procedure, TD-Aug. In addition to TD-Aug using LMCHC−β\mathcal{L}_{\mathrm{MCHC}-\beta}, we compare to TD-Aug2_2 using LTD2−β\mathcal{L}_{\mathrm{TD}^{2}-\beta}, as well as MC-Aug using LMC\mathcal{L}_{\mathrm{MC}}. We compare to clustering-based goal augmentation (Cluster-Aug) [13], which can create stitches between two trajectories, and against autoregressive 1-step prediction with history to sample from the SM (Dyn-Aug), as utilized in Figure 3. For these methods, we list additional training details in Appendix § 9, including hyperparameters for BC in Table 5, and for TD-Flows in Table 4. Although the task horizon varies, we use the same hyperparameters for each environment in pointmaze for TD-Aug. This includes the effective horizon, which we set to 500 (γ=0.998\gamma= 0.998), while for MC-Aug and TD-Aug2_2 we use 100 (γ=0.99\gamma= 0.99), as they perform worse at higher horizons. After training GHMs, all policies are trained for 10610^6 steps, and each method is trained with batches using goals that are of a proportion 1−α1 - \alpha of future states in the same trajectory (i.e. hindsight goal sampling), and with proportion α\alpha with generated goals. The BC baseline uses α=0\alpha= 0, and augmentation uses α=0.5\alpha= 0.5. We can see that TD-Aug significantly improves generalization, including on long-horizon tasks, such as pointmaze-giant-stitch. In contrast, MC-Aug maintains close to original performance, demonstrating that generating additional synthetic short-horizon samples does not improve generalization. We also see that with TD-Aug, GCFBC outperforms prior offline GCRL methods in pointmaze, including GCIQL [23], QRL [46], Contrastive RL (CRL) [8], and HIQL [33]. Observing the weaker performance of CRL on stitch tasks, which also uses MC samples like GCBC, we show contrastive learning on generated samples leads to improved performance in Appendix § 14.

Hyperparameter
Flow MatchingODE SolverMidpoint
Train ODE dτd\tau0.1
Sample ODE dτd\tau0.1
Network (U-Net)tt-Positional Embedding Dim256
tt-Positional Embedding MLP(256, 256)
Block Dimension(512, 512, 512)
Encoder MLP(512, 512, 512)
activationMish
Optimizer (AdamW)AdamW β1\beta_{1}0.9
AdamW β2\beta_{2}0.999
AdamW ϵ\epsilon10−410^{-4}
Learning Rate10−410^{-4}
Weight Decay10−310^{-3}
Target Network EMA10−310^{-3}
TrainingGradient Steps
TD
State, Visual3M
Manipulation1M
MC, MCHC1M
Batch Size1024
Discount (γ\gamma)
MC, TD0.99
MCHC
State0.998
Visual0.995
Manipulation0.99
Discount (ω\omega)
State, Visual0.99
Manipulation0.98

Table 4. Hyperparameters for TD-Flow training, following similar architecture details to Farebrother et al. [9].

Hyperparameter
Flow MatchingODE SolverEuler
Sample ODE dτd\tau0.1
Network (MLP)Hidden Layers(1024, 1024, 1024, 1024)
activationGELU
Optimizer (Adam)Adam β1\beta_10.9
Adam β2\beta_20.999
Learning Rate
State, Visual3×10−43 \times10^{-4}
Manipulation3×10−53 \times10^{-5}
Weight Decay0
TrainingGradient Steps
State1M
Manipulation2M
Visual500k
Batch Size
State1024
Manipulation1024
Visual256
Augmentation (only)Batch Proportion (α\alpha)0.5

Table 5. Hyperparameters for GCFBC training.

Table 1: Generalization through compositional data augmentation. With goal conditioned flow behavior cloning (GCFBC), we compare training on the original dataset to various data augmentation strategies. We calculate success rate averaged over the last 3 checkpoints, and then report the mean, std over 3 seeds. We bold the top performing methods.

pointmazeGCFBC+Cluster-Aug+Dyn-Aug+MC-Aug+TD-Aug2_2+TD-AugGCIQLQRLCRLHIQL
medium-stitch55±1055 \pm1089±589 \pm594±694 \pm670±270 \pm296±196 \pm199±099 \pm074±174 \pm188±588 \pm54±24 \pm271±871 \pm8
large-stitch26±626 \pm662±862 \pm851±1051 \pm1028±1728 \pm1740±340 \pm397±397 \pm340±140 \pm189±1589 \pm150±00 \pm018±418 \pm4
giant-stitch0±00 \pm03±63 \pm60±00 \pm00±00 \pm00±00 \pm054±1754 \pm170±00 \pm054±954 \pm90±00 \pm00±00 \pm0
teleport-stitch44±744 \pm747±247 \pm240±740 \pm748±348 \pm345±445 \pm466±366 \pm327±127 \pm12±42 \pm410±510 \pm530±330 \pm3
average3150463745793558430

Table 1 (PDF p. 8).

Composition in Visual Navigation

In this section, we extend TD-Aug to visual environments with visual-antmaze-stitch. Instead of learning the GHM in pixel space, we first train an autoencoder (AE), obtaining a low-dimensional latent space ZZ. We provide details for training the AE in Table 6. Then, we utilize the

Hyperparameter
ArchitectureConvolution Layers2
Channels32
Kernel(3×3)(3 \times3)
ActivationReLU
Latent Dimension, ∣z∣|z|50
Optimizer (Adam)Adam β1\beta_10.9
Adam β2\beta_20.999
Learning Rate10−410^{-4}
Weight Decay0
TrainingGradient Steps100k
Batch Size1024

Table 6.

Real and generated samples for visual-antmaze-medium

Figure 5. Samples for visual-antmaze-medium. We visualize samples generated with MCHC-β\beta at γ=0.995\gamma= 0.995. We display both real, geometrically sampled, states, as well as reconstructions from the GHM’s predicted latents using the AE decoder.

same architectures for the GHM, and policy, as performed in the non-visual setting (§ 6.1), but now operate over latent space, as shown in Figure 4. As a baseline, we report both standard BC in OGBench (GCBC), using early state-goal fusion, and an autoencoder BC baseline, labeled AE-GCFBC. The standard baseline concatenates state and goal images, and passes them through a small IMPALA-based (Espeholt et al., [7]) CNN. In contrast, the autoencoder BC baseline separately encodes goals and states into ZZ, and then concatenates them to predict actions. This architecture is preferable with goal augmentation, as we generate goals in latent space (Dao et al., [5]) and feed them to the policy without decoding. With this setup, in Table 2, we report adding augmentation to AE-GCFBC. We can see that without augmentation, this architecture under-performs GCBC. While we improve with MC-Aug, we can see that LTD2−β\mathcal{L}_{\mathrm{TD}_{2}-\beta}, used in TD-Aug2_2 leads to less performance, which is in contrast to the non-visual setting. We attribute this to the difficulty of bootstrapping in higher-dimensional approximate (Z\mathcal{Z}) space. Thus, we find the combination of MC and TD to be the most effective, where TD-Aug improves AE-GCFBC and outperforms the GCBC baseline.

Table 2: Visual generalization through compositional data augmentation. With autoencoder (AE) GCFBC, we compare training on the original visual datasets to various data augmentation strategies. We calculate success rate averaged over the last 3 checkpoints, and then report the mean, std over 3 seeds. We bold the highest performing method overall, and highlight in brown the top BC method.

visual-antmazeAE-GCFBC+MC-Aug+TD-Aug2_2+TD-AugGCBCGCIQLQRLCRLHIQL
medium-stitch45±445 \pm460±260 \pm256±156 \pm184±784 \pm769±469 \pm49±09 \pm00±00 \pm082±282 \pm292±192 \pm1
large-stitch12±112 \pm119±119 \pm19±09 \pm028±128 \pm121±621 \pm61±01 \pm01±01 \pm029±629 \pm646±246 \pm2
average2940335645515669

Table 2.

Figure 4. Extension of TD-Aug to visual environments.

datasetGCFBC+TD-Aug2_2+TD-AugGCIQLHIQL
playstitchstitchstitchstitchstitch
cube-double75±175 \pm120±020 \pm078±278 \pm284±084 \pm063±163 \pm16±26 \pm2
cube-triple35±535 \pm520±020 \pm036±536 \pm531±231 \pm28±28 \pm20±00 \pm0
puzzle-4x423±223 \pm20±00 \pm018±018 \pm040±240 \pm216±516 \pm50±00 \pm0
average44134452292

Table 3. Manipulation with compositional data augmentation. We evaluate GCFBC with action chunking on OGBench manipulation tasks, using the oracle goal representation. We use the original play dataset, and then introduce a new stitch dataset, consisting of only short trajectories. Then, we add TD-Aug to close the generalization gap from stitch. We calculate average success on the last 3 checkpoints, and report the mean, std over 3 seeds. We highlight the top method on stitch.

Composition in Manipulation

In this section, we evaluate TD-Aug on OGBench manipulation tasks requiring stitching, which is a challenging setting for modeling the successor measure. We first consider cube-{double,triple}-play, puzzle-4x4-play tasks with oracle goal representation (Park et al., [34, 36]). In addition to the original play datasets, we construct a new challenging stitch dataset, where each trajectory contains one atomic task (i.e. pick-and-place, or button press), but the policy is evaluated on the original, long-horizon, multi-step tasks. While GCFBC using action chunking, π(at:t+h∣s,g)\pi(a_{t:t+h}|s,g), obtains good average success (44%) on the play tasks, it struggles when training on the stitch (13%). Thus, we apply TD-Aug to close the gap. We also train GHMs, with action chunking, Mϕβ(s,at:t+h)M_{\phi}^{\beta}(s,a_{t:t+h}), and predict hh-sized jumps in the full state space, with additional details in Appendix § 11.§ 2. On stitch, with TD-Aug, GCFBC’s performance substantially increases from 13 →\rightarrow 52. We provide visualizations of the GHM’s samples in Figure 9.

Samples on cube-triple-stitch

Figure 9. Samples on cube-triple-stitch. The first row shows initial states, and the second shows overlaid empirical futures from the same trajectory. The third row shows overlaid generated samples, while the following rows show individual generated samples.

Conclusion

In this work, we have shown that TD-based geometric horizon models allow for enhanced generalization for behavior cloning through goal augmentation. There are a variety of directions that could build on this work. For example, behavior cloning is a strong pre-training algorithm that has been shown to scale well in real-world robotics settings (O’Neill et al., [32]; Black et al. [2]; Intelligence et al. [18]). Therefore, a key open question is how to efficiently and stably scale TD-based GHM training to high-dimensional, partially-observable robotics tasks.

Acknowledgments

We want to acknowledge funding support from Natural Sciences and Engineering Research Council (NSERC) of Canada, Google Research, Fonds de recherche du Québec (FRQNT), and the Canadian Institute for Advanced Research (CIFAR) and compute support from Digital Research Alliance of Canada, Mila IDT, and NVidia. We also thank Jesse Farebrother and Pablo Samuel Castro for advice throughout the project.

Training Details

Additional Objectives

Table 6: Hyperparameters for visual autoencoder training. For our autoencoder, we use a similar architecture to [22, 49]. For the encoder, we utilize two convolutional layers, with ReLU activations after each layer. The output of the convolutional layers is flattened, and linearly mapped to the latent dimension ∣z∣=50|z| = 50, followed by LayerNorm and tanh activation. The decoder utilizes a similar architecture, utilizing deconvolution layers, with the same kernel size, followed by ReLU (except for the final layer).

Hyperparameter
Clusters
medium40
large40
teleport40
giant80

Table 7. Hyperparameters for clustering-based goal-augmentation. We follow Ghugare et al. [13] and use k-means clustering Lloyd [27], with kk set as below.

Additional Objectives

TD-HC

For reference, we provide the original Temporal Difference Horizon Consistency (TDHC) objective Farebrother et al., [10], which we modify to use MC samples in § 4:

LTDHC(ϕ;ϕˉ)=(1−γ)Ltd−ss(ϕ;γ)+γ1−γ1−ωLtd−bs(ϕ;ϕˉ,γ,ω)+γγ−ω1−ωLtd−hc−bs(ϕ;ϕˉ,γ,ω)(14)\mathcal{L}_{\mathrm{TDHC}}(\phi;\bar{\phi})=(1-\gamma)\mathcal{L}_{\mathrm{td-ss}}(\phi;\gamma)+\gamma\frac{1-\gamma}{1-\omega}\mathcal{L}_{\mathrm{td-bs}}(\phi;\bar{\phi},\gamma,\omega)+\gamma\frac{\gamma-\omega}{1-\omega}\mathcal{L}_{\mathrm{td-hc-bs}}(\phi;\bar{\phi},\gamma,\omega) \tag*{(14)}
Ltd−ss=Eτ∼U(0,1),(s,a,s′)∼Dβx0∼p0,xτ=(1−τ)x0+τs′[∥vϕτ(xτ∣s,a,γ)−(s′−x0)∥2]\mathcal{L}_{\mathrm{td-ss}}=\mathbb{E}_{\tau\sim U(0,1),(s,a,s')\sim\mathcal{D}^{\beta}}^{x_{0}\sim p_{0},x_{\tau}=(1-\tau)x_{0}+\tau s'}\left[\left\|v_{\phi}^{\tau}(x_{\tau}\mid s,a,\gamma)-(s'-x_{0})\right\|^{2}\right]
Ltd−bs=Eτ∼U(0,1),(s,a,s′)∼Dβ,a′∼π(s′)x0∼p0,xτ=ψϕˉτ(x0∣s′,a′,ω)[∥vϕτ(xτ∣s,a,γ)−vϕˉτ(xτ∣s′,a′,ω)∥2]\mathcal{L}_{\mathrm{td-bs}}=\mathbb{E}_{\tau\sim U(0,1),(s,a,s')\sim\mathcal{D}^{\beta},a'\sim\pi(s')}^{x_{0}\sim p_{0},x_{\tau}=\psi_{\bar{\phi}}^{\tau}(x_{0}\mid s',a',\omega)}\left[\left\|v_{\phi}^{\tau}(x_{\tau}\mid s,a,\gamma)-v_{\bar{\phi}}^{\tau}(x_{\tau}\mid s',a',\omega)\right\|^{2}\right]
Ltd−hc−bs=Eτ∼U(0,1),(s,a,s′)∼Dβ,a′∼π(s′)x01,x02∼p0,s+=ψϕˉ1(x01∣s′,a′,ω),a+∼π(s+),xτ=ψϕˉτ(x02∣s+,a+,γ)[∥vϕτ(xτ∣s,a,γ)−vϕˉτ(xτ∣s+,a+,γ)∥2]\mathcal{L}_{\mathrm{td-hc-bs}}=\mathbb{E}_{\tau\sim U(0,1),(s,a,s')\sim\mathcal{D}^{\beta},a'\sim\pi(s')}^{x_{0}^{1},x_{0}^{2}\sim p_{0},s_{+}=\psi_{\bar{\phi}}^{1}(x_{0}^{1}\mid s',a',\omega),a_{+}\sim\pi(s_{+}),x_{\tau}=\psi_{\bar{\phi}}^{\tau}(x_{0}^{2}\mid s_{+},a_{+},\gamma)}\left[\left\|v_{\phi}^{\tau}(x_{\tau}\mid s,a,\gamma)-v_{\bar{\phi}}^{\tau}(x_{\tau}\mid s_{+},a_{+},\gamma)\right\|^{2}\right]

With γ=ω\gamma=\omega, the original TD2^{2} objective equation (6) is recovered. To train with the TDHC objective, the flow is trained with discount conditioning, and in each batch, the discount is sampled uniformly γ∈[γmin⁡,γmax⁡]\gamma\in[\gamma_{\min},\gamma_{\max}] and ω∈[γmin⁡,γ]\omega\in[\gamma_{\min},\gamma]. Instead, the MCHC objective equation (9) we use fixes γ=γmax⁡\gamma=\gamma_{\max}, and samples (s+,a+)∼Dβ(s_{+},a_{+})\sim\mathcal{D}^{\beta}, where s+=st+ks_{+}=s_{t+k}, k∼geom⁡(1−ω)k\sim\operatorname{geom}(1-\omega), replacing having to learn and sample with vϕτ(⋅∣⋅,ω)v_{\phi}^{\tau}(\cdot\mid\cdot,\omega).

GHMs for Manipulation

For manipulation tasks, we modify both GCFBC and the GHM to utilize action chunks of size HH as shown in equation (15). For the GHM we also predict future states starting from after the action chunk, at increments matching the chunk size. We also proportionally reduce γ,ω\gamma,\omega. For example, with h=10h=10, we reduce γ\gamma from 0.99 to 0.9, to match the same expected horizon. Additionally, we bootstrap with samples from a learned prior, βθ(⋅∣s+)\beta_{\theta}(\cdot\mid s_{+}), predicting the next action chunk, rather than using a+a_{+}. This is useful, as it can allow for bootstrapping from the end states in a trajectory, where an action chunk is not available.

LMCHC−β(ϕ;ϕˉ)=(1−γ)Ltd−ss(ϕ)+γ1−γ1−ωLmc(ϕ)+γγ−ω1−ωLtd−mc−bs(ϕ;ϕˉ)(15)\mathcal{L}_{\mathrm{MCHC}-\beta}(\phi;\bar{\phi})=(1-\gamma)\mathcal{L}_{\mathrm{td-ss}}(\phi)+\gamma\frac{1-\gamma}{1-\omega}\mathcal{L}_{\mathrm{mc}}(\phi)+\gamma\frac{\gamma-\omega}{1-\omega}\mathcal{L}_{\mathrm{td-mc-bs}}(\phi;\bar{\phi}) \tag*{(15)}
Ltd−ss(ϕ)=Eτ∼U(0,1),(st,at:t+h,st+h)∼Dβ[∥vϕτ(xτ∣s,at:t+h)−(st+h−x0)∥22]\mathcal{L}_{\mathrm{td-ss}}(\phi)=\mathbb{E}_{\tau\sim\mathcal{U}(0,1),(s_t,a_{t:t+h},s_{t+h})\sim\mathcal{D}^{\beta}} \left[\left\|v_{\phi}^{\tau}(x_{\tau}\mid s,a_{t:t+h})-(s_{t+h}-x_0)\right\|_2^2\right]
Lmc(ϕ)=Eτ∼U(0,1),(st,at:t+h,s+)∼Dβ[∥vϕτ(xτ∣s,at:t+h)−(s+−x0)∥22]\mathcal{L}_{\mathrm{mc}}(\phi)=\mathbb{E}_{\tau\sim\mathcal{U}(0,1),(s_t,a_{t:t+h},s_+)\sim\mathcal{D}^{\beta}} \left[\left\|v_{\phi}^{\tau}(x_{\tau}\mid s,a_{t:t+h})-(s_+-x_0)\right\|_2^2\right]
Ltd−mc−bs(ϕ)=Eτ∼U(0,1),(st,at:t+h,s+)∼Dβ[∥vϕτ(xτ∣st,at:t+h)−vϕˉτ(xτ∣s+,a+)∥22]\mathcal{L}_{\mathrm{td-mc-bs}}(\phi)=\mathbb{E}_{\tau\sim\mathcal{U}(0,1),(s_t,a_{t:t+h},s_+)\sim\mathcal{D}^{\beta}} \left[\left\|v_{\phi}^{\tau}(x_{\tau}\mid s_t,a_{t:t+h})-v_{\bar{\phi}}^{\tau}(x_{\tau}\mid s_+,a_+)\right\|_2^2\right]

where: s+=st+h(1+k)s_+=s_{t+h(1+k)}, k∼geom⁡(1−ω)k\sim\operatorname{geom}(1-\omega), and a+a_+ also uses chunk size h=10h=10.

One-step Dynamics Model

As a baseline to geometric horizon models, we utilize auto-regressive prediction with one-step models to sample from the successor measure. This follows from first sampling a random offset k∼geom⁡(1−γ)k\sim\operatorname{geom}(1-\gamma). We then perform autoregressive prediction for kk steps, first sampling st+1∼p(⋅∣s,a)s_{t+1}\sim p(\cdot\mid s,a), and then sampling k−1k-1 times from st+i+1∼pβ(⋅∣st+i)s_{t+i+1}\sim p^{\beta}(\cdot\mid s_{t+i}), for i=1i=1 to k−1k-1. We parameterize p(⋅∣s,a)p(\cdot\mid s,a) and pβ(⋅∣s)p^{\beta}(\cdot\mid s) via velocity field vϕτ(xτ∣s,a)v_{\phi}^{\tau}(x_{\tau}\mid s,a), trained via flow matching:

L1−step(ϕ)=Eτ∼U(0,1),(s,a,s′)∼Dβ,am∼mask⁡(a)[∥vϕτ(xτ∣s,am)−(s′−x0)∥22](16)\mathcal{L}_{\mathrm{1-step}}(\phi)=\mathbb{E}_{\tau\sim\mathcal{U}(0,1),(s,a,s')\sim\mathcal{D}^{\beta},a_m\sim\operatorname{mask}(a)}\left[\left\|v_{\phi}^{\tau}(x_{\tau}\mid s,a_m)-(s'-x_0)\right\|_2^2\right] \tag*{(16)}

We utilize a standard 1-step flow matching objective, however we condition on am∼mask⁡(a)a_m\sim\operatorname{mask}(a), where with probability 0.5, the action is replaced by a learned embedding (shared for all actions). Thus, this objective trains both forms of pp. We utilize the same architecture as GHM as described in Table 6, and train for 1 million steps.

While in theory, this objective can perfectly capture the successor measure, we found issues with compounding error during autoregressive prediction as shown in Figure 3. This is particularly due to pβ(⋅∣s)p^{\beta}(\cdot\mid s) being memory-less, i.e. after the first action, there is no conditioning information in pβ(⋅∣s)p^{\beta}(\cdot\mid s) that captures an intention (such as running to the right). Thus, we find a stronger performing baseline incorporates history, leading to:

Lhistory 1−step(ϕ)=Eτ∼U(0,1),(st−h+1:t,a,st+1)∼Dβ[∥vϕτ(xτ∣st−h+1:t,am)−(st+1−x0)∥22](17)\mathcal{L}_{\mathrm{history\ 1-step}}(\phi)=\mathbb{E}_{\tau\sim\mathcal{U}(0,1),(s_{t-h+1:t},a,s_{t+1})\sim\mathcal{D}^{\beta}}\left[\left\|v_{\phi}^{\tau}(x_{\tau}\mid s_{t-h+1:t},a_m)-(s_{t+1}-x_0)\right\|_2^2\right] \tag*{(17)}

Where we utilize a history length of h=4h=4, as used in Figure 3, Figure 7. When sampling with a specific discount γ\gamma, with expected horizon H=11−γH=\frac{1}{1-\gamma}, we cap kk for rollouts at 2H2H. For example, if γ=0.99\gamma=0.99, we cap k=min⁡(geom⁡(1−0.99),200)k=\min(\operatorname{geom}(1-0.99),200).

As GHMs can sample in O(1) steps, when training a policy, we can efficiently sample a fresh batch of goals, s+i∼Mβγ(⋅∣st,at)s_+^i\sim M_{\beta}^{\gamma}(\cdot\mid s_t,a_t), for all batch indices, every time we form a batch for the policy update. However, this is not realistic with one-step models at γ=0.99\gamma=0.99. Thus, we instead cache a 2H=2002H=200 sized trajectory from each state from the dataset, storing (N,200)(N,200) states, where NN is the original number of transitions (e.g. 1,000,000). Then, while training the policy, we geometrically sample future states from this window. We utilize this procedure when performing augmentation with one-step dynamics models (Dyn-Aug) as in Table 1.

Relation to 1-step policy improvement

Proof.

Es∼dβ(s)a∼β(a∣s)s+∼dβ(s+)[Qβ(s,a,s+)dβ(s+)log⁡πθ(a∣s,g=s+)](18)\mathbb{E}_{\substack{s\sim d^{\beta}(s)\\a\sim\beta(a\mid s)\\s_+\sim d^{\beta}(s_+)}}\left[\frac{Q^{\beta}(s,a,s_+)}{d^{\beta}(s_+)}\log\pi_{\theta}(a\mid s,g=s_+)\right] \tag*{(18)}
=11−γEs∼dβ(s)a∼β(a∣s)s+∼dβ(s+)[mβ(s+∣s,a)dβ(s+)log⁡πθ(a∣s,g=s+)](19)=\frac{1}{1-\gamma}\mathbb{E}_{\substack{s\sim d^{\beta}(s)\\a\sim\beta(a\mid s)\\s_+\sim d^{\beta}(s_+)}}\left[\frac{m^{\beta}(s_+\mid s,a)}{d^{\beta}(s_+)}\log\pi_{\theta}(a\mid s,g=s_+)\right] \tag*{(19)}
=11−γEs∼dβ(s)a∼β(a∣s)s+∼Mβ(s+∣s,a)[log⁡πθ(a∣s,g=s+)].(20)=\frac{1}{1-\gamma}\mathbb{E}_{\substack{s\sim d^{\beta}(s)\\a\sim\beta(a\mid s)\\s_+\sim M^{\beta}(s_+\mid s,a)}}\left[\log\pi_{\theta}(a\mid s,g=s_+)\right]. \tag*{(20)}

The second equality uses the identity Qβ(s,a,s+)=(1−γ)−1mβ(s+∣s,a)Q^{\beta}(s,a,s_+)=(1-\gamma)^{-1}m^{\beta}(s_+\mid s,a) in the goal-conditioned setting, and the final change corresponds to importance sampling.

Samples

Ground-truth training and evaluation trajectories on pointmaze

Figure 6. Example ground-truth training and evaluation trajectories on pointmaze.

Generated samples in pointmaze environments

Figure 8. Generated samples in pointmaze environments. Samples are conditioned on the source displayed with ∙\bullet, and ground-truth action, whose effect can be inferred by the ground-truth trajectory shown in black. These samples reflect the settings used in Table 1, where MCHC-β\beta uses γ=0.998\gamma= 0.998 while TD2^{2}-β\beta and MC use γ=0.99\gamma= 0.99.

Generated samples in pointmaze environments: pointmaze-teleport and pointmaze-giant

Figure 8 (PDF p. 22). Generated samples in pointmaze environments, continued.

Extension to Offline RL with Contrastive RL

In this section, we apply our data augmentation strategy to Contrastive RL (CRL) (Eysenbach et al. [8]). In particular, instead of augmenting goals for training the policy, we use augmentation to learn better goal-conditioned (on-policy) value functions. CRL in OGBench (Park et al. [34]) uses the binary NCE objective to train a critic f(s,a,g)f(s, a, g):

LCRL=−E(s,a)∼Dβs−∼Dβs+∼Pgoal(⋅∣s,a)[log⁡σ(f(s,a,s+))−log⁡(1−σ(f(s,a,s−)))](21)\mathcal{L}_{\mathrm{CRL}} = -\mathbb{E}_{\substack{(s,a)\sim\mathcal{D}_{\beta}\\s_{-}\sim\mathcal{D}_{\beta}\\s_{+}\sim P_{\mathrm{goal}}(\cdot\mid s,a)}}\left[\log\sigma(f(s,a,s_{+}))-\log(1-\sigma(f(s,a,s_{-})))\right] \tag*{(21)}

Here, s+=s→ks_{+}=s_{\to k}, k∼geom⁡(1−γ)k\sim\operatorname{geom}(1-\gamma), an MC sample of future state, σ\sigma is the sigmoid function, and the critic is parameterized by f(s,a,g)=ϕ(s,a)Tψ(g)/df(s,a,g)=\phi(s,a)^{\mathsf{T}}\psi(g)/\sqrt{d}. With full rollouts from the mixture policy, the optimal critic estimates a log density ratio with f∗(s,a,g)=log⁡(mβγ(g∣s,a)/p(g))f^{*}(s,a,g)=\log(m_{\beta}^{\gamma}(g\mid s,a)/p(g)), and thus, Qβγ(s,a,g)∝exp⁡(f∗(s,a,g))Q_{\beta}^{\gamma}(s,a,g)\propto\exp(f^{*}(s,a,g)) for a fixed gg. However, in practice, standard CRL is subject to the same compositional generalization gap as BC, where we only have truncated trajectories from individual policies, not the mixture policy. Thus, if we can approximately sample goals from the successor measure Mβγ(⋅∣s,a)M_{\beta}^{\gamma}(\cdot\mid s,a) with TD-Aug, we can improve the performance of value learning with CRL by replacing Pgoal(⋅∣s,a)P_{\mathrm{goal}}(\cdot\mid s,a), with Paug(⋅∣s,a)P_{\mathrm{aug}}(\cdot\mid s,a) as in equation (12). With α=0\alpha=0, we maintain the original CRL objective, and with 0<α≤10<\alpha\leq1, we mix in generated goals with proportion α\alpha.

Isolating the contribution of TD-Aug solely to value learning, we train the policy on goals sampled without augmentation for DDPG+BC (Fujimoto & Gu [12]):

arg max⁡θ E(s,a)∼Dβg∼Pmixed(⋅∣s,a)[λlog⁡πθ(a∣s,g)+f(s,πθμ(s,g),g)](22)\underset{\theta}{\operatorname{arg\,max}}\ \mathbb{E}_{\substack{(s,a)\sim\mathcal{D}_{\beta}\\g\sim P_{\mathrm{mixed}}(\cdot\mid s,a)}}\left[\lambda\log\pi_{\theta}(a\mid s,g)+f(s,\pi_{\theta}^{\mu}(s,g),g)\right] \tag*{(22)}

Where Pmixed(⋅∣s,a)P_{\mathrm{mixed}}(\cdot\mid s,a) denotes a proportion of 0.5 for random states in the dataset, and 0.5 for future MC samples, thus only using ground-truth samples. In Table 8, we utilize the standard OGBench (Park et al. [34]) configuration for CRL, with α=0.25\alpha=0.25 for the augmentation probability when training the contrastive critic. We can see that augmenting goals with TD-Aug leads to improved overall performance (4→364\to36). We also apply our visual setup as in § 6.2 also utilizing α=0.25\alpha=0.25, except we reconstruct generated frames with the decoder so that we can perform CRL without modification. Here, we see smaller gains (56→6156\to61). Further work could study if synthetic samples or other data augmentation may allow for improved scaling of CRL in the offline setting, which has been successful previously in the online setting (Wang et al. [44]).

pointmazeCRL+MC-Aug+TD-Aug2_2+TD-Aug
medium-stitch4±24 \pm22±02 \pm024±624 \pm670±670 \pm6
large-stitch0±00 \pm00±00 \pm04±54 \pm546±1746 \pm17
giant-stitch0±00 \pm00±00 \pm00±00 \pm01±01 \pm0
teleport-stitch10±510 \pm56±36 \pm36±66 \pm626±1026 \pm10
average4422993636

Table 8. TD-Aug with Contrastive RL. We utilize TD-Aug for improving value learning with CRL. We calculate success rate averaged over the last 3 checkpoints, and then report the mean and standard deviation over 3 seeds.

visual-antmazeCRL+TD-Aug
medium-stitch82±282 \pm286±186 \pm1
large-stitch29±629 \pm636±436 \pm4
average56566161

Table 9. TD-Aug with Contrastive RL in visual environments.

References

  1. [1]Marcin Andrychowicz, Filip Wolski, Alex Ray, Jonas Schneider, Rachel Fong, Peter Welinder, Bob McGrew, Josh Tobin, Pieter Abbeel, and Wojciech Zaremba. Hindsight experience replay. Advances in neural information processing systems, 30, 2017.arxiv.org/abs/1707.01495
  2. [2]Kevin Black, Noah Brown, Danny Drieß, Adnan Esmail, Michael Equi, Chelsea Finn, Niccolo Fusai, Lachy Groom, Karol Hausman, Brian Ichter, Szymon Jakubczak, Tim Jones, Liyiming Ke, Sergey Levine, Adrian Li-Bell, Mohith Mothukuri, Suraj Nair, Karl Pertsch, Lucy Xiaoyang Shi, James Tanner, Quan Vuong, Anna Walling, Haohuan Wang, and Ury Zhilinsky. π₀: A vision-language-action flow model for general robot control, 2024. URL https://arxiv.org/abs/2410.24164.
  3. [3]Jake Bruce, Michael D Dennis, Ashley Edwards, Jack Parker-Holder, Yuge Shi, Edward Hughes, Matthew Lai, Aditi Mavalan kar, Richie Steigerwald, Chris Apps, et al. Genie: Generative interactive environments. In Forty-first International Conference on Machine Learning, 2024.arxiv.org/abs/2402.15391
  4. [4]Hojun Chung, Junseo Lee, and Songhwai Oh. Offline reinforcement learning with universal horizon models, 2026. URL https://arxiv.org/abs/2605.15603.
  5. [5]Quan Dao, Hao Phung, Binh Nguyen, and Anh Tran. Flow matching in latent space. arXiv preprint arXiv:2307.08698, 2023.
  6. [6]Peter Dayan. Improving generalization for temporal difference learning: The successor representation. Neural computation, 5(4):613–624, 1993.DOI
  7. [7]Lasse Espeholt, Hubert Soyer, Remi Munos, Karen Simonyan, Vlad Mnih, Tom Ward, Yotam Doron, Vlad Firoiu, Tim Harley, Iain Dunning, et al. Impala: Scalable distributed deep-rl with importance weighted actor-learner architectures. In International conference on machine learning, pp. 1407–1416. PMLR, 2018.arxiv.org/abs/1802.01561
  8. [8]Benjamin Eysenbach, Tianjun Zhang, Sergey Levine, and Russ R Salakhutdinov. Contrastive learning as goal-conditioned reinforcement learning. Advances in Neural Information Processing Systems, 35:35603–35620, 2022.arxiv.org/abs/2206.07568
  9. [9]Jesse Farebrother, Matteo Pirotta, Andrea Tirinzoni, Remi Munos, Alessandro Lazaric, and Ahmed Touati. Temporal difference flows. In Forty-second International Conference on Machine Learning, 2025. URL https://openreview.net/forum?id=j6H7c3aQy b.arxiv.org/abs/2503.09817
  10. [10]Jesse Farebrother, Matteo Pirotta, Andrea Tirinzoni, Marc G. Bellemare, Alessandro Lazaric, and Ahmed Touati. Compositional planning with jumpy world models, 2026. URL https://arxiv.org/abs/2602.19634.
  11. [11]Vladimir Feinberg, Alvin Wan, Jon Stoica, Michael I Jordan, Joseph E Gonzalez, and Sergey Levine. Model-based value estimation for efficient model-free reinforcement learning. arXiv preprint arXiv:1803.00101, 2018.arxiv.org/abs/1803.00101
  12. [12]Scott Fujimoto and Shixiang Shane Gu. A minimalist approach to offline reinforcement learning. Advances in neural information processing systems, 34:20132–20145, 2021.arxiv.org/abs/2106.06860
  13. [13]Raj Ghugare, Matthieu Geist, Glen Berseth, and Benjamin Eysenbach. Closing the gap between TD learning and supervised learning - a generalisation point of view. In The Twelfth International Conference on Learning Representations, 2024. URL https://arxiv.org/abs/2401.11237.
  14. [14]Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Z. Ghahramani, M. Welling, C. Cortes, N. Lawrence, and K.Q. Weinberger (eds.), Advances in Neural Information Processing Systems, volume 27. Curran Associates, Inc., 2014. URL https://proceedings.neurips.cc/paper_files/paper/2014/file/f033ed80deb0234979a61f95710dbe25-Paper.pdf.
  15. [15]David Ha and Jürgen Schmidhuber. Recurrent world models facilitate policy evolution. Advances in neural information processing systems, 31, 2018.arxiv.org/abs/1809.01999
  16. [16]Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi. Dream to control: Learning behaviors by latent imagination, 2020. URL https://arxiv.org/abs/1912.01603.
  17. [17]Danijar Hafner, Wilson Yan, and Timothy Lillicrap. Training agents inside of scalable world models. arXiv preprint arXiv:2509.24527, 2025.arxiv.org/abs/2509.24527
  18. [18]Physical Intelligence, Ali Amin, Rachelle Aniceto, Ashwin Balakrishna, Kevin Black, Ken Conley, Grace Connors, James Darpinian, Karan Dhabalia, Jared DiCarlo, Danny Driess, Michael Equi, Adnan Esmail, Yunhao Fang, Chelsea Finn, Catherine Glossop, Thomas Godden, Ivan Goryachev, Lachy Groom, Hunter Hancock, Karol Hausman, Gashon Hussein, Brian Ichter, Szymon Jakubczak, Rowan Jen, Tim Jones, Ben Katz, Liyiming Ke, Chandra Kuchi, Marinda Lamb, Devin LeBlanc, Sergey Levine, Adrian Li-Bell, Yao Lu, Vishnu Mano, Mohith Mothukuri, Suraj Nair, Karl Pertsch, Allen Z. Ren, Charvi Sharma, Lucy Xiaoyang Shi, Laura Smith, Jost Tobias Springenberg, Kyle Stachowicz, Will Stoeckle, Alex Swerdlow, James Tanner, Marcel Torne, Quan Vuong, Anna Walling, Haohuan Wang, Blake Williams, Sukwon Yoo, Lili Yu, Ury Zhilinsky, and Zhiyuan Zhou. π*θ: a vla that learns from experience, 2025. URL https://arxiv.org/abs/2511.14759.
  19. [19]Michael Janner, Igor Mordatch, and Sergey Levine. γ-models: Generative temporal difference learning for infinite-horizon prediction. In Advances in Neural Information Processing Systems, 2020.
  20. [20]Michael Janner, Yilun Du, Joshua B. Tenenbaum, and Sergey Levine. Planning with diffusion for flexible behavior synthesis, 2022. URL https://arxiv.org/abs/2205.09991.
  21. [21]Leslie Pack Kaelbling. Learning to achieve goals. In International Joint Conference on Artificial Intelligence, 1993.
  22. [22]Ilya Kostrikov, Denis Yarats, and Rob Fergus. Image augmentation is all you need: Regularizing deep reinforcement learning from pixels. arXiv preprint arXiv:2004.13649, 2020.arxiv.org/abs/2004.13649
  23. [23]Ilya Kostrikov, Ashvin Nair, and Sergey Levine. Offline reinforcement learning with implicit q-learning. In International Conference on Learning Representations, 2022. URL https://arxiv.org/abs/2110.06169.
  24. [24]Daniel Lawson, Adriana Hugessen, Charlotte Cloutier, Glen Berseth, and Khimya Khetarpal. Self-predictive representations for combinatorial generalization in behavioral cloning, 2025. URL https://arxiv.org/abs/2506.10137.
  25. [25]Kyowoon Lee and Jaesik Choi. State-covering trajectory stitching for diffusion planners, 2025. URL https://arxiv.org/abs/2506.00895.
  26. [26]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matthew Le. Flow matching for generative modeling. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=PqvMRDCJT9t.arxiv.org/abs/2210.02747
  27. [27]Stuart Lloyd. Least squares quantization in pcm. IEEE transactions on information theory, 28(2): 129–137, 1982.DOI
  28. [28]Cong Lu, Philip J. Ball, Yee Whye Teh, and Jack Parker-Holder. Synthetic experience replay. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=6jNQ1AY1Uf.arxiv.org/abs/2303.06614
  29. [29]Yunhao Luo, Utkarsh A. Mishra, Yilun Du, and Danfei Xu. Generative trajectory stitching through diffusion composition, 2025. URL https://arxiv.org/abs/2503.05153.
  30. [30]Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Bellemare, Alex Graves, Martin Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, Stig Petersen, Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen King, Dharshan Kumaran, Daan Wierstra, Shane Legg, and Demis Hassabis. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, February 2015. ISSN 00280836. URL http://dx.doi.org/10.1038/nature14236.
  31. [31]Vivek Myers, Bill Chunyuan Zheng, Anca Dragan, Kuan Fang, and Sergey Levine. Temporal representation alignment: Successor features enable emergent compositionality in robot instruction following, 2025. URL https://arxiv.org/abs/2502.05454.
  32. [32]Abby O’Neill, Abdul Rehman, Abhiram Maddukuri, Abhishek Gupta, Abhishek Padalkar, Abraham Lee, Acorn Pooley, Agrim Gupta, Ajay Mandlekar, Ajinkya Jain, et al. Open x-embodiment: Robotic learning datasets and rt-x models: Open x-embodiment collaboration. In 2024 IEEE International Conference on Robotics and Automation (ICRA), pp. 6892–6903. IEEE, 2024.arxiv.org/abs/2310.08864
  33. [33]Seohong Park, Dibya Ghosh, Benjamin Eysenbach, and Sergey Levine. Hiql: Offline goal-conditioned rl with latent states as actions. Advances in Neural Information Processing Systems, 36:34866–34891, 2023.arxiv.org/abs/2307.11949
  34. [34]Seohong Park, Kevin Frans, Benjamin Eysenbach, and Sergey Levine. Ogbench: Benchmarking offline goal-conditioned rl. In International Conference on Learning Representations (ICLR), 2025a. URL https://arxiv.org/abs/2410.20092.
  35. [35]Seohong Park, Qiyang Li, and Sergey Levine. Flow q-learning. In Forty-second International Conference on Machine Learning, 2025b. URL https://openreview.net/forum?id=KVf2SFL1pi.arxiv.org/abs/2502.02538
  36. [36]Seohong Park, Kevin Frans, Deepinder Mann, Benjamin Eysenbach, Aviral Kumar, and Sergey Levine. Horizon reduction makes rl scalable. Advances in Neural Information Processing Systems, 38:8350–8389, 2026a.arxiv.org/abs/2506.04168
  37. [37]Seohong Park, Deepinder Mann, and Sergey Levine. Dual goal representations, 2026b. URL https://arxiv.org/abs/2510.06714.
  38. [38]Xue Bin Peng, Aviral Kumar, Grace Zhang, and Sergey Levine. Advantage-weighted regression: Simple and scalable off-policy reinforcement learning. arXiv preprint arXiv:1910.00177, 2019.
  39. [39]Jan Peters and Stefan Schaal. Reinforcement learning by reward-weighted regression for operational space control. In Proceedings of the 24th international conference on Machine learning, pp. 745–750, 2007.DOI
  40. [40]Danilo Rezende and Shakir Mohamed. Variational inference with normalizing flows. In Francis Bach and David Blei (eds.), Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pp. 1530–1538, Lille, France, 07–09 Jul 2015. PMLR. URL https://proceedings.mlr.press/v37/rezende15.html.arxiv.org/abs/1505.05770
  41. [41]Richard S Sutton. Dyna, an integrated architecture for learning, planning, and reacting. ACM Sigart Bulletin, 2(4):160–163, 1991.DOI
  42. [42]Shantanu Thakoor, Mark Rowland, Diana Borsa, Will Dabney, Remi Munos, and Andre Barreto. Generalised policy improvement with geometric policy composition. In Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato (eds.), Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pp. 21272–21307. PMLR, 17–23 Jul 2022. URL https://proceedings.mlr.press/v162/thakoor22a.html.arxiv.org/abs/2206.08736
  43. [43]Manan Tomar, Philippe Hansen-Estruch, Philip Bachman, Alex Lamb, John Langford, Matthew E. Taylor, and Sergey Levine. Video occupancy models, 2024. URL https://arxiv.org/abs/2407.09533.
  44. [44]Kevin Wang, Ishaan Javali, Michał Bortkiewicz, Tomasz Trzcinski, and Benjamin Eysenbach. 1000 layer networks for self-supervised rl: Scaling depth can enable new goal-reaching capabilities. Advances in Neural Information Processing Systems, 38:157643–157670, 2026.arxiv.org/abs/2503.14858
  45. [45]Qing Wang, Jiechao Xiong, Lei Han, Han Liu, Tong Zhang, et al. Exponentially weighted imitation learning for batched historical data. Advances in Neural Information Processing Systems, 31, 2018.
  46. [46]Tongzhou Wang, Antonio Torralba, Phillip Isola, and Amy Zhang. Optimal goal-reaching reinforcement learning via quasimetric learning. In International Conference on Machine Learning. PMLR, 2023. URL https://arxiv.org/abs/2304.01203.
  47. [47]Ziyu Wang, Alexander Novikov, Konrad Zolna, Josh S Merel, Jost Tobias Springenberg, Scott E Reed, Bobak Shahriari, Noah Siegel, Caglar Gulcehre, Nicolas Heess, et al. Critic regularized regression. Advances in Neural Information Processing Systems, 33:7768–7778, 2020.arxiv.org/abs/2006.15134
  48. [48]Harley Wiltzer, Jesse Farebrother, Arthur Gretton, Yunhao Tang, André Barreto, Will Dabney, Marc G. Bellemare, and Mark Rowland. A distributional analogue to the successor representation, 2024. URL https://arxiv.org/abs/2402.08530.
  49. [49]Denis Yarats, Amy Zhang, Ilya Kostrikov, Brandon Amos, Joelle Pineau, and Rob Fergus. Improving sample efficiency in model-free reinforcement learning from images. In Proceedings of the aaai conference on artificial intelligence, volume 35, pp. 10674–10681, 2021.
  50. [50]Chongyi Zheng, Seohong Park, Sergey Levine, and Benjamin Eysenbach. Intention-conditioned flow occupancy models, 2026. URL https://arxiv.org/abs/2506.08902.
  51. [51]Zhaoyi Zhou, Chuning Zhu, Runlong Zhou, Qiwen Cui, Abhishek Gupta, and Simon Shaolei Du. Free from bellman completeness: Trajectory stitching via model-based return-conditioned supervised learning. In The Twelfth International Conference on Learning Representations, 2024. URL https://arxiv.org/abs/2310.19308.

Paper details

vlnc:W_aqxrv8mf
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents