betaFeedback

WorksComputer Science

Variance-Averse nn-Step Offline Reinforcement Learning for Sparse Long-Horizon Environments

Abstract

Generative actors are transforming offline reinforcement learning (RL) by enabling expressive policy classes that model complex action distributions. However, this expressiveness also exposes a key challenge in heterogeneous datasets: generative policies can reproduce unreliable action modes whose return distributions exhibit high variance, occasionally yielding high returns by chance but lacking consistency. Consequently, maximizing the expected QQ-value alone is insufficient for identifying reliable actions. We propose VAN-Flow (Variance-Averse nn-step Flow), a framework that promotes reliable actions in generative offline RL. VAN-Flow combines (i) a categorical distributional critic, (ii) a variance-averse expectation operator that smoothly reweights atom probabilities to favor actions with both high returns and low dispersion, and (iii) a flow-matching generative actor guided via rejection sampling. Unlike CVaR or mean-variance objectives, the operator redistributes probability mass over the categorical return distribution without hard truncation or auxiliary penalty terms. Across more than 40 tasks from D4RL and OGBench, VAN-Flow consistently outperforms strong baselines, with the largest gains in long-horizon and high-variance regimes where reliable action selection becomes critical.

Introduction

Generative actors, both diffusion-based [1, 2] and flow-matching policies [3, 4] are reshaping offline reinforcement learning (RL) and increasingly serve as the backbone of foundation models for robotics and physical AI. Their strength is representational: they capture multi-modal action distributions that Gaussian policies cannot. However, this very flexibility becomes a liability in offline RL. Offline datasets are typically collected from heterogeneous behavior policies of varying quality [5, 6], so the same state–action pair may yield drastically different outcomes, success in some trajectories and failure in others. A generative actor faithfully fits the dataset distribution and therefore equally represents both reliable and unreliable modes, including those that yield high returns by chance but lack consistency. Without explicit guidance, the actor may converge toward such unreliable modes [7], especially in sparse-reward, long-horizon tasks where successful trajectories are rare and even small amounts of unreliable behavior dominate value estimation. This raises a fundamental design question.

How can we guide a generative actor to selectively learn the reliable behaviors in an offline dataset?

We argue that reliable behaviors are those with low return variance under the dataset: a state–action pair whose returns are consistent across observed trajectories is more dependable than one that occasionally yields high returns by chance. A natural concern is whether this conflates reliability with mere safety, since a trivial action with consistently low returns is also low-variance. We address this by jointly favoring high return and low variance, so the actor is steered toward modes that are simultaneously rewarding and dependable, not merely safe. Crucially, expected QQ-value alone cannot capture reliability: two state–action pairs with identical E[Q]\mathbb{E}[Q] may differ drastically in dispersion, and a regression-based critic exposes only the mean. Distributional value estimation [8, 9, 10] addresses this gap by modeling the full return distribution.

To exploit this structure, we introduce a variance-averse expectation E(⋅)\mathcal{E}(\cdot), an aggregation operator over categorical return distributions that smoothly reweights atom probabilities to jointly favor high return and low variance. Rather than defining a new risk-sensitive objective, E(⋅)\mathcal{E}(\cdot) is designed for action selection in generative offline RL, where a policy produces multiple candidate actions that must be evaluated using a distributional critic. While risk-sensitive RL has studied measures such as CVaR [10] and entropic risk to encode risk preferences in control problems, our goal is different: improving reliability when selecting among candidate actions generated by a multimodal policy. Unlike tail-truncation approaches such as CVaR, E(⋅)\mathcal{E}(\cdot) smoothly redistributes probability mass across the categorical support, favoring actions whose returns are both high and consistent.

This framework is especially impactful in nn-step learning. While nn-step returns reduce bootstrapping bias [11, 12], they amplify return variance under heterogeneous data [13, 14, 15], widening the gap between reliable and unreliable behaviors. Figure 1 confirms this: on the high-variance explore dataset, the flow-based method (FQL-n) suffers a markedly larger drop than its Gaussian counterpart (ReBRAC-n) under the same nn-step setting, exposing the very vulnerability of generative actors discussed above. In contrast, our reliability-driven nn-step training preserves performance with only marginal degradation.

Figure 1. Success rate on antmaze-large under two dataset variance regimes: (a) navigate (low-variance) and (b) explore (high-variance). In (b), the shaded bar denotes the low-variance reference, and the downward arrow indicates the performance drop.

We instantiate these ideas in VAN-Flow (Variance-Averse nn-step Flow), which integrates: (i) a categorical distributional critic that exposes return variance, (ii) the variance-averse expectation E(⋅)\mathcal{E}(\cdot) for reliability scoring, and (iii) a flow-matching actor guided by E(⋅)\mathcal{E}(\cdot) via rejection sampling, which re-ranks candidate actions so that the final selection aligns with the reliable subset of the dataset.

Our main contributions are as follows. 1) We identify a fundamental vulnerability of generative actors in offline RL: under heterogeneous datasets, they tend to reproduce unreliable action modes whose return distributions exhibit high variance. We formalize reliable behavior through the dispersion of dataset return distributions, showing that expected QQ-values alone are insufficient for guiding generative policies. 2) We propose a novel variance-averse expectation E(⋅)\mathcal{E}(\cdot) for categorical return distributions, which smoothly reweights atom probabilities to jointly favor high-return and low-variance actions without hard truncation or auxiliary penalty terms. 3) We develop VAN-Flow, a unified framework combining a flow-matching actor, a categorical distributional critic, and E(⋅)\mathcal{E}(\cdot)-guided rejection sampling. 4) Across more than 40 tasks from D4RL and OGBench, VAN-Flow consistently outperforms strong baselines, with the largest gains in high-variance and long-horizon regimes. Extensive ablations and sensitivity analyses further confirm the effectiveness of each component and highlight the importance of reliability-aware action selection in nn-step offline RL. To the best of our knowledge, this is the first work to use variance-averse aggregation over categorical return distributions to select reliable actions for generative actors in offline RL, and to show empirically that this matters for stable nn-step learning under heterogeneous data.

Preliminaries

Markov Decision Process. We consider an MDP M=(S,A,P,r,γ)\mathcal{M} = (\mathcal{S}, \mathcal{A}, P, r, \gamma) with state st∈Ss_t \in\mathcal{S}, action at∈Aa_t \in\mathcal{A}, transition PP, reward rr, and discount γ∈[0,1)\gamma\in[0,1). The objective is to learn a policy π(⋅∣st)\pi(\cdot\mid s_t) that maximizes the expected return J(π)=Eπ[Gt(∞)]=Eπ[∑k=t∞γk−trk]J(\pi) = \mathbb{E}_{\pi}[G_t^{(\infty)}] = \mathbb{E}_{\pi}[\sum_{k=t}^{\infty} \gamma^{k-t}r_k].

Offline RL with nn-step Return. In offline RL, learning relies on a fixed dataset [16] D={(st,at,Gt(n),st+n)}t=1N\mathcal{D} = \{(s_t, a_t, G_t^{(n)}, s_{t+n})\}_{t=1}^{N}, where the nn-step return Gt(n)=∑k=tt+n−1γk−trkG_t^{(n)} = \sum_{k=t}^{t+n-1} \gamma^{k-t}r_k approximates Gt(∞)G_t^{(\infty)}. Recent work shows that nn-step returns improve performance in sparse-reward settings [17, 18]. In the actor–critic setup, the critic QψQ_{\psi} is trained against the nn-step Bellman target,

T(n)Qψ(st,at)=Gt(n)+γnQψ(st+n,at+nπ),(1)\mathcal{T}^{(n)} Q_{\psi}(s_t, a_t) = G_t^{(n)} + \gamma^n Q_{\psi}(s_{t+n}, a_{t+n}^{\pi}), \tag*{(1)}

with at+nπ∼πθ(⋅∣st+n)a_{t+n}^{\pi} \sim\pi_{\theta}(\cdot\mid s_{t+n}), and the actor maximizes Est[Qψ(st,atπ)]\mathbb{E}_{s_t}[Q_{\psi}(s_t, a_t^{\pi})].

Categorical Value Estimation. A categorical critic Zψ(st,at)Z_{\psi}(s_t, a_t) models the full return distribution over II fixed atoms {zi}i=1I\{z_i\}_{i=1}^{I} with probabilities {pi}i=1I\{p_i\}_{i=1}^{I}, exposing variance structure that a regression-based critic cannot, a property we exploit in § 3. The expected return recovers as E[Gt(∞)]=∑ipizi\mathbb{E}[G_t^{(\infty)}] = \sum_i p_i z_i. The critic is trained via cross-entropy against the nn-step distributional Bellman target.

TZ(n)Zψ(st,at)=Φ(∑i=1Ipi(st+n,at+nπ)δGt(n)+γnzi)(2)\mathcal{T}^{(n)}_{\mathcal{Z}} Z_{\psi}(s_t, a_t) = \Phi\left(\sum_{i=1}^{I} p_i(s_{t+n}, a_{t+n}^{\pi}) \delta_{G_t^{(n)}+\gamma^n z_i}\right) \tag*{(2)}

Here, pi(s,a)p_i(s,a) is the probability that the critic assigns to atom ziz_i and δy\delta_y is the Dirac measure at yy (not to be confused with the aversion coefficient δ\delta introduced in § 3). In words, each atom ziz_i is shifted to Gt(n)+γnziG_t^{(n)}+\gamma^n z_i while keeping its probability mass, and the shifted distribution is projected back onto the fixed support by the projection operator Φ(⋅)\Phi(\cdot). We employ the projection method introduced in [8] (see Appendix § 11).

Flow-matching Policy. Flow matching parameterizes a stochastic policy through a state-conditioned velocity field vθπ(τ,st,xt(τ))v_{\theta}^{\pi}(\tau, s_t, x_t(\tau)) defining the ODE,

dxt(τ)dτ=vθπ(τ,st,xt(τ)),xt(0)=ϵ,(3)\frac{\mathrm{d}x_t(\tau)}{\mathrm{d}\tau} = v_{\theta}^{\pi}(\tau, s_t, x_t(\tau)), \quad x_t(0) = \epsilon, \tag*{(3)}

with ϵ∼N(0,I)\epsilon\sim\mathcal{N}(0, \mathbb{I}). The trajectory linearly interpolates noise and action,

xt(τ)=(1−τ)ϵ+τat,(4)x_t(\tau) = (1-\tau)\epsilon+ \tau a_t, \tag*{(4)}

and the action is taken as at=xt(1)a_t = x_t(1). The velocity field is trained by regressing onto at−ϵa_t-\epsilon [3].

Variance-averse Expectation with Categorical Value Estimation

The key contribution of this work is the proposal of a variance-averse expectation that penalizes high-variance return distributions, where variance refers to the dispersion of the return distribution captured by the categorical critic. Such variance would otherwise undermine the effectiveness of the nn-step method.

Definition 3.1 (Variance-averse Expectation E(Z)\mathcal{E}(Z)). Let ZZ be a categorical return distribution with P[Z=zi]=pi\mathbb{P}[Z = z_i] = p_i over ordered atoms z1<⋯<zIz_1 < \cdots< z_I. The variance-averse expectation E(Z)\mathcal{E}(Z) is defined as follows.

E(Z)=∑i=1I(pi(1−C(zi))δ∑j=1Ipj(1−C(zj))δ)⏟variance-averse probabilityzi(5)\mathcal{E}(Z) = \sum_{i=1}^{I} \underbrace{\left(\frac{p_i\left(1-\mathcal{C}(z_i)\right)^{\delta}}{\sum_{j=1}^{I}p_j\left(1-\mathcal{C}(z_j)\right)^{\delta}}\right)}_{\text{variance-averse probability}} z_i \tag*{(5)}

In (5), C(zi)=P(Z≤zi)\mathcal{C}(z_i)=\mathbb{P}(Z\le z_i) denotes the cumulative distribution function (CDF) evaluated at ziz_i, and δ≥0\delta\ge0 controls the degree of aversion. As δ\delta increases, the variance-averse expectation increasingly penalizes high-variance return distributions. When δ=0\delta=0, the operator reduces to the standard expectation, i.e., E(Z)=E[Z]\mathcal{E}(Z)=\mathbb{E}[Z]. An illustrative example of E(Z)\mathcal{E}(Z) for different values of δ\delta is presented in Figure 2.

Figure 2. Example of variance-averse return with varying δ\delta and return variance.

While the variance-averse expectation E(Z)\mathcal{E}(Z) in Definition 3.1 focuses on the lower-return regions of the distribution, its underlying role is to penalize high-variance return distributions. We formalize this through the convex order, denoted by ≤cx\le_{\mathrm{cx}}, which provides a distributional notion of dispersion beyond second-order moments. Specifically, for two return distributions Z†Z^\dagger and Z∘Z^\circ with identical expectations, the relation Z†≤cxZ∘Z^\dagger\le_{\mathrm{cx}} Z^\circ indicates that Z∘Z^\circ is more dispersed than Z†Z^\dagger, meaning that its probability mass is spread further away from the mean. The operator in (5) is a finite-atom discretization of a spectral functional of the quantile function of ZZ. The following theorem establishes variance aversion exactly for that functional and bounds its gap to the implemented operator.

Theorem 3.2 (Variance aversion of E\mathcal{E}). Let ZZ be a categorical return distribution as in Definition 3.1, write C‾(zi)=1−C(zi)\overline{\mathcal{C}}(z_i)=1-\mathcal{C}(z_i) for its survival function with C‾(z0)=1\overline{\mathcal{C}}(z_0)=1, and define the spectral form

Esp(Z)=∑i=1I[C‾(zi−1)δ+1−C‾(zi)δ+1]zi=(δ+1)∫01ΩZ(u)(1−u)δ du,(6)\mathcal{E}^{\mathrm{sp}}(Z)=\sum_{i=1}^{I}\left[\overline{\mathcal{C}}(z_{i-1})^{\delta+1}-\overline{\mathcal{C}}(z_i)^{\delta+1}\right]z_i=(\delta+1)\int_{0}^{1}\Omega_Z(u)(1-u)^\delta\,\mathrm{d}u, \tag*{(6)}

where ΩZ\Omega_Z is the quantile function of ZZ. Then, for any δ>0\delta>0:

(i) (Convex-order monotonicity) If E[Z†]=E[Z∘]\mathbb{E}[Z^\dagger]=\mathbb{E}[Z^\circ] and Z†≤cxZ∘Z^\dagger\le_{\mathrm{cx}} Z^\circ, then Esp(Z∘)≤Esp(Z†)\mathcal{E}^{\mathrm{sp}}(Z^\circ)\le\mathcal{E}^{\mathrm{sp}}(Z^\dagger).

(ii) (Discretization error) The operator E\mathcal{E} in (5) is the normalized right-endpoint discretization of (6), and with R=zI−z1R=z_I-z_1,

∣E(Z)−Esp(Z)∣≤Rεδ(Z),εδ(Z):=1−(δ+1)∑i=1IpiC‾(zi)δ∈[0,1],(7)\left|\mathcal{E}(Z)-\mathcal{E}^{\mathrm{sp}}(Z)\right|\le R\varepsilon_\delta(Z),\qquad\varepsilon_\delta(Z):=1-(\delta+1)\sum_{i=1}^{I}p_i\overline{\mathcal{C}}(z_i)^\delta\in[0,1], \tag*{(7)}

where εδ(Z)≤(δ+1)max⁡ipi\varepsilon_\delta(Z)\le(\delta+1)\max_i p_i and, for δ≥1\delta\ge1, εδ(Z)≤δ(δ+1)∑ipi2\varepsilon_\delta(Z)\le\delta(\delta+1)\sum_i p_i^2. Consequently, under the assumptions of (i),

E(Z∘)≤E(Z†)+R[εδ(Z†)+εδ(Z∘)].(8)\mathcal{E}(Z^\circ)\le\mathcal{E}(Z^\dagger)+R\left[\varepsilon_\delta(Z^\dagger)+\varepsilon_\delta(Z^\circ)\right]. \tag*{(8)}

If Z=Φ(Y)Z=\Phi(Y) is the C51 projection of a target YY supported on [Vmin⁡,Vmax⁡][V_{\min},V_{\max}] with a Lipschitz-continuous CDF, then max⁡ipi=O(1/I)\max_i p_i=O(1/I) and εδ(Z)=O(1/I)\varepsilon_\delta(Z)=O(1/I), so the gap vanishes as the number of atoms II increases.

Part (i) states that the spectral form prefers the less dispersed of two equal-mean return distributions, and part (ii) states that the implemented operator inherits this preference up to a gap governed by how concentrated the critic’s mass is on individual atoms. In particular, whenever the convex-order margin Esp(Z†)−Esp(Z∘)\mathcal{E}^{\mathrm{sp}}(Z^\dagger)-\mathcal{E}^{\mathrm{sp}}(Z^\circ) exceeds the error budget in (8), E\mathcal{E} induces the same ordering as the spectral form (Corollary B.4). The certificate εδ(Z)\varepsilon_\delta(Z) is computable from the critic output. On trained critics the realized gap is small (median 0.37% of RR), and E\mathcal{E} and Esp\mathcal{E}^{\mathrm{sp}} select the same rejection-sampling candidate in 96.9% of states with Kendall’s τ=0.99\tau=0.99 (Appendix B.3). Proofs are provided in Appendices B.1 and B.3.

VAN-Flow: Variance-averse nn-step RL with Flow-based Policy

Building on the variance-averse expectation in Definition 3.1, we propose VAN-Flow, a flow-based offline RL framework that operationalizes reliable-action selection for generative actors and exploits the benefits of nn-step returns even under high-variance datasets. The flow-based architecture is motivated by the strong representational capacity of flow matching [19, 20], which helps mitigate OOD action generation in offline RL [21, 3]. Furthermore, we introduce a variance-averse value-guided flow-matching policy that effectively leverages the proposed variance-averse expectation. In this section, we first describe the design of the flow-based actor and then provide implementation details of the proposed method.

Flow-based Actor Design

One distinctive feature of our flow-based actor is the use of rejection sampling based on the variance-averse expectation. In this subsection, we describe the action construction procedure and the corresponding rejection sampling mechanism.

Algorithm 1 VAN-Flow

  1. Input: Dataset D\mathcal{D}, networks ZψZ_{\psi}, vθπv_{\theta}^{\pi}

  2. Hyperparameters: discount γ\gamma, return-step nn, aversion intensity δ\delta, num of candidates MM, flow steps KK, flow-matching λ\lambda, learning rates αZ,απ\alpha_Z,\alpha_{\pi}, total epochs EE

  3. for e=1e=1 to EE do

  4. Sample mini-batch B\mathcal{B} from D\mathcal{D}

  5. Generate target action at+n∗a_{t+n}^{*} via rejection sampling (10)

  6. Compute target Tz(n)Zψ\mathcal{T}_{z}^{(n)} Z_{\psi} by (12)

  7. Compute critic loss L(ψ)\mathcal{L}(\psi) by (11)

  8. Compute actor loss L(θ)\mathcal{L}(\theta) by (13)

  9. ψ←ψ−αZ∇ψL(ψ)\psi\leftarrow\psi-\alpha_Z\nabla_{\psi}\mathcal{L}(\psi)

  10. θ←θ−απ∇θL(θ)\theta\leftarrow\theta-\alpha_{\pi}\nabla_{\theta}\mathcal{L}(\theta)

  11. end for

Flow-based Action Construction. We design an action generation mechanism that directly exploits the learned velocity field. Rather than explicitly solving the continuous-time ODE in (3), our approach constructs actions via a lightweight discretization of the flow trajectory. Specifically, given the interpolated point xt(τ)x_t(\tau) defined in (4), the policy evaluates the velocity field vθπ(τ,st,xt(τ))v_{\theta}^{\pi}(\tau,s_t,x_t(\tau)) conditioned on the current state sts_t. The action atπa_t^{\pi} is then obtained by advancing xτx_{\tau} along the predicted flow using an Euler update.

atπ=xτ+vθπ(τ,st,xt(τ))K(9)a_t^{\pi}=x_{\tau}+\frac{v_{\theta}^{\pi}(\tau,s_t,x_t(\tau))}{K} \tag*{(9)}

Rejection Sampling. While a flow-based actor faithfully reproduces dataset actions, it equally reproduces both reliable and unreliable modes, and may further generate OOD actions during early training due to an incompletely learned vector field. To selectively retain reliable, in-distribution candidates, we design the flow-based actor to perform rejection sampling guided by the variance-averse expectation [22, 23]. Specifically, the actor generates MM candidate actions Atπ={at,1π,…,at,mπ,…,at,Mπ}\mathcal{A}_t^{\pi}=\{a_{t,1}^{\pi},\ldots,a_{t,m}^{\pi},\ldots,a_{t,M}^{\pi}\}, and selects the action at∗a_t^{*} that maximizes the variance-averse value as follows.

at∗=arg⁡max⁡at,mπ∈Atπ E(Zψ(st,at,mπ))(10)a_t^{*}=\underset{a_{t,m}^{\pi}\in\mathcal{A}_t^{\pi}}{\arg\max}\ \mathcal{E}\left(Z_{\psi}\left(s_t,a_{t,m}^{\pi}\right)\right) \tag*{(10)}

Such rejection sampling enables the actor to select actions with low return variance from in-distribution samples.

Variance-averse Q-guided Flow Matching

In this subsection, we provide the implementation details of VAN-Flow. The proposed method is implemented within an actor–critic framework. Our framework captures return variance through a categorical critic Zψ(st,at)Z_{\psi}(s_t,a_t) and employs a flow-based actor πθ(⋅∣st)\pi_{\theta}(\cdot\mid s_t).

Categorical Critic Training with nn-step Return. The categorical critic is trained with the standard cross-entropy loss between the predicted return distribution and the projected nn-step Bellman target.

L(ψ)=E(st,at,Gt(n),st+n)∼D[CE⁡(Zψ(st,at),Tz(n)Zψ(st,at))](11)\mathcal{L}(\psi)=\mathbb{E}_{(s_t,a_t,G_t^{(n)},s_{t+n})\sim\mathcal{D}}\left[\operatorname{CE}\left(Z_{\psi}(s_t,a_t),\mathcal{T}_{z}^{(n)}Z_{\psi}(s_t,a_t)\right)\right] \tag*{(11)}
Tz(n)Zψ(st,at)=Φ(∑i=1Ipi(st+n,at+n∗)δGt(n)+γnzi)(12)\mathcal{T}_{z}^{(n)}Z_{\psi}(s_t,a_t)=\Phi\left(\sum_{i=1}^{I}p_i(s_{t+n},a_{t+n}^{*})\delta_{G_t^{(n)}+\gamma^{n}z_i}\right) \tag*{(12)}

The notable component is that we use the variance-averse target action at+n∗a_{t+n}^{*} obtained via rejection sampling (10) instead of an actor-sampled action at+nπa_{t+n}^{\pi}. This distinct target action selection enables valid value propagation aligned with the training objective. Projection details follow C51 [8] (see Appendix C).

Flow-based Actor with QQ Guidance. To train the actor network πθ(⋅∣st)\pi_{\theta}(\cdot\mid s_t), we define a variance-averse, critic-guided loss function as follows.

L(θ)=E(st,at)∼D, ϵ∼N(0,I), τ∼Unif⁡[0,1][λ∥vθπ(τ,st,xt(τ))−(at−ϵ)∥22−E(Zψ(st,xt(τ+Δτ)))](13)\mathcal{L}(\theta)=\mathbb{E}_{(s_t,a_t)\sim\mathcal{D},\ \epsilon\sim\mathcal{N}(0,I),\ \tau\sim\operatorname{Unif}[0,1]}\left[\lambda\left\|v_{\theta}^{\pi}(\tau,s_t,x_t(\tau))-(a_t-\epsilon)\right\|_2^2-\mathcal{E}\left(Z_{\psi}(s_t,x_t(\tau+\Delta\tau))\right)\right] \tag*{(13)}

In (13), λ∈R+\lambda\in\mathbb{R}^{+} is a constant that controls the magnitude of the flow-matching loss, and Δτ=1/K\Delta\tau= 1/K denotes the flow integration step size, where KK is the total number of flow steps. The term xt(τ+Δτ)x_t(\tau+ \Delta\tau) denotes a single Euler step from the current flow state xt(τ)x_t(\tau), defined as follows.

xt(τ+Δτ)=xt(τ)+Δτ⋅vθπ(τ,st,xt(τ))(14)x_t(\tau+ \Delta\tau) = x_t(\tau) + \Delta\tau\cdot v_{\theta}^{\pi}(\tau, s_t, x_t(\tau)) \tag*{(14)}

Here, xt(τ+Δτ)x_t(\tau+ \Delta\tau) serves as a single-step action proxy through which the critic gradient is propagated to the velocity field, acting as a computationally efficient surrogate for the fully integrated action. Unlike prior work that employs full ODE integration for the actor [1, 24], we reduce the ODE computation cost by using a single Euler step.

Under the actor loss in (13), the flow-based actor is trained to favor actions with low return variance, thereby mitigating training instability caused by high-variance nn-step returns. The pseudocode of the proposed method is presented in Algorithm 1. For implementation, we also use a target network, as commonly employed for training stabilization [25, 26, 27], along with the double QQ method to mitigate overestimation bias [28, 29, 30].

Simulation Result

We conduct extensive experiments to evaluate VAN-Flow on sparse, long-horizon reinforcement learning benchmarks. All results are reported as averages over five random seeds. Experiments are performed on a system equipped with an AMD Ryzen Threadripper PRO 9975WX (CPU) and an NVIDIA RTX PRO 6000 (GPU).

Simulation Setup

Benchmark. To evaluate our method under the core challenges of offline RL in sparse, long-horizon settings, we focus on two benchmark tasks that are widely regarded as difficult due to sparse rewards and long-horizon structure, and that additionally exhibit substantial return-variance changes across dataset variants. A detailed explanation of each benchmark task is presented in Appendix § 12.

  • D4RL [31]: We evaluate our method on the AntMaze tasks from D4RL, which remain challenging due to their long-horizon structure and sparse rewards. While many D4RL benchmarks exhibit performance saturation [32, 33], AntMaze continues to expose limitations in long-term credit assignment and value extrapolation.

  • OGBench [34]: OGBench is a recently introduced benchmark designed to evaluate offline RL under long-horizon control, sparse and deceptive rewards, and limited dataset coverage. We focus on state-based OGBench tasks with noisy and suboptimal datasets, where sensitivity to out-of-distribution actions is pronounced, providing a stringent test for behavior-regularized, value-guided methods.

Baseline. We compare our proposed VAN-Flow under the following evaluation criteria. Detailed descriptions of the baseline algorithms are provided in Appendix § 16.§ 1.

  • Policy Architecture: We evaluate methods employing Gaussian-based policies (IQL [35], ReBRAC [36], HIQL [37]), which are the conventional approach for representing stochastic policies. In addition, we compare with methods using flow-based policies (FQL [3], BFN [4], FQL-n, BFN-n [4], QC [4]), which are most closely related to our actor design.

  • Algorithm Design: For an extensive comparison, we evaluate nn-step return methods (Retrace(λ\lambda) [38], PQL [39], LEQ [17], TD3BC+MS [40], QC [4]3) and distributional critics (PA-RL [41]). We also include D4PG [42], which incorporates both a distributional critic and nn-step return, with an added behavior cloning (BC) term [43]. In addition, pure offline RL methods (IQL [35], ReBRAC [36], FQL [3]) are considered as baselines that use 1-step returns.

Performance Comparison

In this subsection, we present an extensive performance comparison of the proposed method.4 Learning curves, the full performance table, and additional comparison results are provided in Appendices § 17.§ 1, § 17.§ 2, and § 17.§ 3, respectively. Furthermore, Off-to-online fine-tuning results are reported in Appendix § 18.

Comparison of Policy Architecture. Table 1 compares different policy architectures across tasks with varying horizon lengths and noise levels. Overall, Gaussian-based policies (IQL, ReBRAC, HIQL) exhibit strong performance on several tasks but show noticeable degradation in long-horizon and noisy environments, reflecting limited expressiveness under complex multi-modal action distributions.

TaskGaussian-basedFlow-basedProposed
IQLHIQLReBRACReBRAC-nFQLBFNFQL-nBFN-nQCVAN-Flow
Standard tasks
antmaze-large-navigate53918182797191814995
antmaze-teleport-navigate2342735264022414057
scene-play0381140578518578493
puzzle-3x3-play0125510100989858100100
Long-horizon tasks
humanoidmaze-large-navigate2492442620461681
antmaze-giant-navigate4652616911545268
humanoidmaze-giant-navigate11200103741292
Noisy tasks
antmaze-large-explore154483320221175884
puzzle-3x3-noisy3351210100100339810097

Table 1. Performance comparison on OGBench. Each entry averages five tasks per environment. Best results are in bold.

Flow-based policies substantially improve performance in these challenging settings, demonstrating the advantage of expressive action modeling; however, naive flow-based methods (FQL, BFN) remain unstable and sensitive to distributional shift. While incorporating nn-step returns into flow-based policies (FQL-n, BFN-n) yields more robust performance, these methods still suffer from performance drops in high-variance regimes. In contrast, VAN-Flow consistently achieves strong results across long-horizon and noisy tasks, indicating that combining expressive flow-based policies with variance-aware value guidance is crucial for stable and effective offline RL. In particular, on high-variance datasets such as antmaze-large-explore, flow-based nn-step methods (FQL-n, BFN-n) collapse far more severely than their Gaussian counterpart (ReBRAC-n) under the same nn-step setting, while VAN-Flow remains robust.

Comparison of Algorithmic Design. Table 2 compares representative design choices on D4RL maze tasks. Pure offline RL methods perform competitively on small-scale tasks but degrade as the horizon and dataset diversity increase. Methods using only nn-step returns (Retrace(λ\lambda), PQL, LEQ, QC, TD3BC+MS) show inconsistent performance across task scales and often drop sharply on large or diverse settings. PA-RL, which uses a distributional critic without nn-step returns, is strong on the medium mazes but falls behind on large-diverse. Even D4PG, which combines both components, fails to maintain robust performance as task difficulty increases. In contrast, VAN-Flow consistently achieves strong results from umaze to large-diverse, indicating that explicit return-variance control is crucial for stably leveraging nn-step returns in offline RL.

TaskPure Offline RLn-stepDist.Dist. +nProposed
IQLReBRACFQLRetrace(λ\lambda)PQLLEQQCTD3BC+MSPA-RLD4PGVAN-Flow
umaze77.0±5.577.0\pm5.597.7±1.597.7\pm1.596.0±2.096.0\pm2.096.0±3.096.0\pm3.094.0±3.094.0\pm3.094.4±6.394.4\pm6.395.0±1.495.0\pm1.4––87.6±4.187.6\pm4.198.0±2.898.0\pm2.8
umaze-diverse54.2±5.554.2\pm5.583.5±7.083.5\pm7.089.0±2.089.0\pm2.084.0±10.084.0\pm10.063.0±6.063.0\pm6.071.0±12.371.0\pm12.378.0±8.578.0\pm8.5––61.3±9.461.3\pm9.495.6±2.695.6\pm2.6
medium-play65.7±11.765.7\pm11.789.5±3.389.5\pm3.378.0±7.078.0\pm7.079.0±10.079.0\pm10.081.0±6.081.0\pm6.058.8±33.058.8\pm33.072.0±2.472.0\pm2.470.088.089.1±3.089.1\pm3.090.7±3.190.7\pm3.1
medium-diverse73.7±5.473.7\pm5.483.5±8.283.5\pm8.271.0±13.071.0\pm13.053.0±17.053.0\pm17.060.0±33.060.0\pm33.046.2±23.246.2\pm23.264.0±2.864.0\pm2.866.088.081.3±4.181.3\pm4.189.3±5.089.3\pm5.0
large-play42.0±4.542.0\pm4.552.2±29.052.2\pm29.084.0±7.084.0\pm7.012.0±26.012.0\pm26.033.0±10.033.0\pm10.058.6±9.158.6\pm9.180.0±2.880.0\pm2.822.087.071.3±4.171.3\pm4.186.5±5.786.5\pm5.7
large-diverse30.2±3.630.2\pm3.664.0±5.464.0\pm5.483.0±4.083.0\pm4.020.0±3.020.0\pm3.044.0±9.044.0\pm9.060.2±18.360.2\pm18.382.0±5.682.0\pm5.628.073.080.6±6.180.6\pm6.188.6±3.088.6\pm3.0

Table 2. Offline performance on D4RL AntMaze tasks. Scores are normalized following the D4RL protocol. Entries marked “–” indicate results not reported in prior work. Best results are in bold.

Ablation Studies

We conduct controlled ablations to isolate the effect of each major component while keeping all other components fixed. Specifically, we examine (1) the distributional critic and flow-based policy, (2) the variance-averse expectation, and (3) the QQ guidance mechanism. For clarity, we report representative results on one task from each environment. Additional component-wise ablations that further isolate the contributions of variance-averse expectation, the distributional critic, and the flow-based policy across action-dimension regimes are provided in Appendix § 14.

Categorical Critic and Flow-based Actor. Figure 3 demonstrates the effect of combining a distributional critic with a flow-matching actor. In this result, our proposed combination (i.e., Flow+Categorical) consistently outperforms methods that rely partially on a regression-based critic or a Gaussian-based actor. Moreover, the consistent superiority of the flow-based actor over the Gaussian-based counterpart highlights its effectiveness in addressing long-horizon and sparse-reward problems. While Flow+Regression also exhibits improved performance, it is consistently outperformed by the VAN-Flow, underscoring the importance of capturing and penalizing return variance via a categorical critic. We further validate the choice of flow matching over diffusion-based parameterizations in Appendix § 15, where flow matching achieves over 90% success rate with only 3 flow steps while a diffusion-based variant requires 20 steps for comparable performance.

Figure 3. Effect of flow-based policies and categorical critics on humanoidmaze-giant-navigate.

Variance-averse Expectation. We evaluate whether the proposed variance-averse expectation suppresses high-variance return distributions and how it compares to existing risk-sensitive aggregation rules. To this end, we replace the aggregation rule in (10) and (13) with E[Z]\mathbb{E}[Z], CVaR, entropic risk, mean–variance, and E(Z)\mathcal{E}(Z), while keeping all other components unchanged.5 We report two complementary metrics: Var⁡[Z]\operatorname{Var}[Z], which measures the dispersion of the learned return distribution on training samples after convergence and is normalized by its value under E[Z]\mathbb{E}[Z] within each task, and Success, which measures task performance.

As shown in Table 3, E(Z)\mathcal{E}(Z) consistently achieves the lowest Var⁡[Z]\operatorname{Var}[Z] across all tasks, and this variance reduction directly translates into the highest success rates. These results indicate that suppressing dispersion in return distributions is critical for reliable action selection in sparse, long-horizon offline RL. Existing risk-sensitive rules fall short for structural reasons. CVaR focuses on the lower tail of the distribution, while mean–variance and entropic risk introduce auxiliary penalty terms of the form Q−βVar⁡Q-\beta\operatorname{Var} or Q−βEntropy⁡Q-\beta\operatorname{Entropy} that require task-specific tuning. In contrast, E(Z)\mathcal{E}(Z) acts as a single aggregation operator over the categorical return distribution, redistributing probability mass to favor actions that are both high-return and low-variance without hard truncation or auxiliary penalties. This simple formulation consistently improves both variance and success using a fixed δ=2\delta=2 across nearly all tasks. Importantly, the operator is directly compatible with categorical distributional critics, requiring no modification to the underlying distributional RL training procedure. Additional comparisons with other risk measures (CPW, Norm, Wang, Sharpe, Sortino) are provided in Appendix § 19.

TaskMetricE[Z]\mathbb{E}[Z]CVaREntropicMean–VarE(Z)\mathcal{E}(Z)
humanoidmaze-large-navigateVar⁡[Z]↓\operatorname{Var}[Z]\downarrow1.000.950.970.940.93
humanoidmaze-large-navigateSuccess↑\uparrow7783798087
antmaze-teleport-navigateVar⁡[Z]↓\operatorname{Var}[Z]\downarrow1.001.080.930.900.62
antmaze-teleport-navigateSuccess↑\uparrow3854444671
antmaze-large-exploreVar⁡[Z]↓\operatorname{Var}[Z]\downarrow1.000.870.720.770.66
antmaze-large-exploreSuccess↑\uparrow842868593

Table 3. Ablation comparing return aggregation rules.

Q Guidance. We also examine the effect of the QQ guidance term in (13) on actor performance. To evaluate its impact, we consider two metrics: (1) the success rate, which measures whether the actor successfully solves the task, and (2) the time efficiency, which assesses how rapidly the task is completed. The time efficiency is computed from the actual episode length TT required to reach the goal, normalized as TE=100⋅(1−T/Tmax⁡)\mathrm{TE}=100\cdot(1-T/T_{\max}), where Tmax⁡T_{\max} denotes the maximum episode horizon. Higher values thus indicate faster task completion. Figure 4 clearly demonstrates that the QQ-guided actor achieves both high success rates and high time efficiency, consistently outperforming an actor trained without QQ guidance. In contrast, while the actor without QQ guidance may achieve high success rates in some tasks, its time efficiency is often extremely low, indicating inefficient decision-making in the absence of explicit QQ guidance.

Figure 4. Effect of QQ guidance on policy performance across multiple tasks. Bars report mean success rate and time efficiency.

A Close Look at magentaVAN-Flow

In this subsection, we provide a sensitivity analysis on the humanoidmaze-giant-navigate task to examine how key algorithmic parameters (e.g., the nn-step horizon, the number of rejection samples, and the number of flow steps) affect the performance. The sensitivity analyses across various tasks are presented in Appendix § 20.

nn-step Horizon. We examine the impact of varying the nn-step return horizon with Figure 5(a). For long-horizon tasks, increasing nn substantially improves performance by enabling more effective long-term credit assignment. However, excessively large values of nn lead to diminishing or even negative returns, reflecting the amplified variance and instability of long-horizon targets. Importantly, the proposed method remains robust across a wide range of nn, indicating that variance-aware learning alleviates the sensitivity typically associated with long-horizon returns.

Figure 5. Sensitivity analysis with respect to key algorithmic parameters.

Number of Rejection Samples. The effect of the number of candidate actions used in rejection sampling is presented in Figure 5(b). Performance consistently improves as more samples are considered, particularly on challenging tasks where conservative target action selection is critical. Beyond a moderate number of samples, the improvement gradually saturates, with most tasks exhibiting stable performance using fewer than 32 candidates. This suggests that reliable variance-averse target action selection can be achieved without excessive computational overhead.

Number of Flow Steps. Figure 5(c) analyzes sensitivity to the number of flow integration steps for action generation. A single integration step is not enough, but performance is already high with three to five steps and changes only mildly beyond that, so the proposed actor does not depend on precise numerical integration. Overall, these results show that evaluating critic values on flow-induced actions enables stable optimization with flexible integration granularity.

Computational Complexity Analysis

VAN-Flow introduces additional computation due to rejection sampling and flow-based action generation. Table 4 compares VAN-Flow with representative generative-policy methods, including FQL, BFN, and QC, in terms of both theoretical complexity and practical runtime. The overall training complexity of VAN-Flow is O(UMKd2)\mathcal{O}(UMKd^2), where UU denotes the number of gradient updates, dd the network width (assuming fully-connected layers), MM the number of rejection-sampling candidates, and KK the number of flow steps. The factors MM and KK arise from evaluating MM candidate actions generated through KK flow

MethodComplexityStep (ms)Wall (h)
FQLO(UKd2)\mathcal{O}(UKd^2)1.10.32
BFNO(UMKd2)\mathcal{O}(UMKd^2)2.10.60
QCO(UMKd2)\mathcal{O}(UMKd^2)3.00.83
VAN-FlowO(UMKd2)\mathcal{O}(UMKd^2)1.90.54

Table 4. Runtime comparison on humanoidmaze-large-navigate.

transformations during policy optimization. Although this matches the asymptotic order of QC, the empirical overhead remains modest: VAN-Flow is faster than QC in both step time and wall-clock time, while remaining comparable to other generative-policy baselines. As discussed in § 5.4, strong performance is achieved with relatively small values of MM and KK, which keeps the practical computational cost low.

Related Works

Offline RL with nn-step Returns. nn-step returns have recently regained attention in offline RL as an effective tool for mitigating long-horizon bootstrapping bias. PiLaR [44] analyzes unfavorable bias–variance trade-offs of naive nn-step returns and introduces compound return estimators. Decoupled Q-chunking [45] eliminates pessimistic bias by decoupling policy and critic horizons, while LEQ [17] stabilizes long-horizon learning using nn-step λ\lambda-returns with expectile regression. Other routes to long-horizon offline RL augment transitions by temporal distance [46] or build foresight into the agent [47, 48].

Generative Policies for Reinforcement Learning. Recent offline RL methods increasingly adopt expressive generative models to parameterize policies. Diffusion-based approaches, including Diffusion Policy [2] and Diffuser [49], model complex action or trajectory distributions, while Diffusion-QL [1] and IDQL [50] integrate critic-based guidance to move beyond pure imitation. Flow-matching-based policies offer a scalable alternative, as exemplified by Flow Q-Learning [3], Q-chunking [4], and energy-weighted flow matching [20].

Distributional and Risk-sensitive RL. Distributional RL methods such as C51 [8], QR-DQN [9], and IQN [10] model the full return distribution but typically aggregate it via the standard expectation. Risk-sensitive variants based on CVaR [10], entropic risk, or mean–variance objectives modify the aggregation rule, but were designed to encode risk preferences in online RL rather than to suppress unreliable, high-variance targets in offline nn-step learning. Distortion-based aggregation in actuarial risk theory [51, 52] reweights continuous distributions through the survival probability. Our variance-averse expectation E(⋅)\mathcal{E}(\cdot) instead operates on discrete categorical critics with explicit normalization, reweighting all atoms without hard truncation while penalizing dispersion.

Conclusion

We investigate offline RL in sparse, long-horizon environments and show that naive horizon reduction via nn-step returns fundamentally breaks down on high-variance datasets. To address this issue, we propose VAN-Flow, a variance-averse offline RL framework that combines nn-step learning with categorical distributional value estimation. VAN-Flow introduces a variance-averse expectation that downweights unreliable high-variance return targets and couples it with a flow-based actor guided by variance-averse Q estimates and rejection sampling. Across challenging benchmarks, our method consistently outperforms strong baselines. To our knowledge, VAN-Flow is the first framework to select reliable behaviors for generative actors through variance-averse aggregation over categorical return distributions, and our results show that this choice matters for nn-step offline RL under heterogeneous data.

Acknowledgments

This work was partly supported by the Institute of Information & Communications Technology Planning & Evaluation (IITP) grant (No. RS-2026-25519475), the National Research Foundation of Korea (NRF) grants (RS-2023-00278812, RS-2025-02214082, RS-2026-25522801) funded by the Korean government (MSIT), and Korea Institute of Police Technology (KIPoT) funded by the Korean National Police Agency & Korea Customs Service (RS-2026-25536784). The computing resources were partly supported by Institute of Information & communications Technology Planning & Evaluation (IITP, AI Computing Support Project for R&D) grant funded by the Korea government(MSIT) (RS-2026-25505492). The authors would like to thank Chanın Eom for his helpful discussions and comments during this research. The authors declare no competing interests.

Notation Tables

Table 5 summarizes the key notations used throughout the paper.

NotationDescription
M=(S,A,P,r,γ)\mathcal{M}=(\mathcal{S},\mathcal{A},P,r,\gamma)Markov decision process
πθ(⋅∣s)\pi_{\theta}(\cdot\mid s)Flow-based policy (actor) with parameters θ\theta
vθ(τ,s,x)v_{\theta}(\tau,s,x)Flow-matching velocity field (policy parameterization)
Qψ(s,a)Q_{\psi}(s,a)Scalar critic (used in standard 1-step formulations)
Zψ(s,a)Z_{\psi}(s,a)Categorical return distribution critic used in VAN-Flow
Z(s,a)Z(s,a)Return random variable (categorical distribution) for (s,a)(s,a)
{zi}i=1I\{z_i\}_{i=1}^{I}Fixed support atoms for categorical distribution
{pi(s,a)}i=1I\{p_i(s,a)\}_{i=1}^{I}Atom probabilities of Zψ(s,a)Z_{\psi}(s,a), ∑ipi=1\sum_i p_i=1
D\mathcal{D}Offline dataset of transitions/segments
Gt(n)=∑k=0n−1γkrt+kG^{(n)}_t=\sum_{k=0}^{n-1}\gamma^k r_{t+k}nn-step truncated return
T(n)\mathcal{T}^{(n)}nn-step Bellman operator (scalar)
TZ(n)\mathcal{T}^{(n)}_Znn-step distributional Bellman operator
Φ(⋅)\Phi(\cdot)Categorical projection operator onto fixed atoms
C(zi)=P(Z≤zi)C(z_i)=\mathbb{P}(Z\le z_i)CDF of the return random variable ZZ at ziz_i
Cˉ(zi)=1−C(zi)\bar{C}(z_i)=1-C(z_i)Survival function of ZZ at ziz_i, with Cˉ(z0)=1\bar{C}(z_0)=1
ΩZ(u)\Omega_Z(u)Generalized quantile function of return distribution ZZ
FZ(u)=∫0uΩZ(t) dtF_Z(u)=\int_0^u\Omega_Z(t)\,dtIntegrated quantile function
E(Z)\mathcal{E}(Z)Variance-averse expectation, implemented operator (Def. 3.1)
Esp(Z)\mathcal{E}^{\mathrm{sp}}(Z)Spectral form of E\mathcal{E}, exact finite-sum representation (6)
εδ(Z)\varepsilon_\delta(Z)Discretization-gap certificate of Theorem 3.2(ii)
δ\deltaAversion intensity for E(⋅)\mathcal{E}(\cdot)
at∗a_t^*Action selected via variance-averse rejection sampling
AtπA_t^\piSet of MM candidate actions sampled from the policy
τ∼Unif⁡[0,1]\tau\sim\operatorname{Unif}[0,1]Flow time variable
KKNumber of flow discretization steps
MMNumber of rejection-sampling candidates
λ\lambdaWeight for flow-matching regression term
≤cx\le_{\mathrm{cx}}Convex order

Table 5. Notation table.

Theoretical Analysis of the Variance-Averse Expectation

Proof of Theorem 3.2(i)

Throughout Appendix B, ZZ is a categorical return distribution with probabilities pi≥0p_i\ge0, ∑i=1Ipi=1\sum_{i=1}^{I}p_i=1, on ordered atoms z1<⋯<zIz_1<\cdots<z_I. We write Ci:=C(zi)=∑j≤ipjC_i:=C(z_i)=\sum_{j\le i}p_j for its CDF, with C0:=0C_0:=0, and Si:=Cˉ(zi)=1−CiS_i:=\bar{C}(z_i)=1-C_i for its survival function, so that S0=1S_0=1, SI=0S_I=0, and pi=Si−1−Sip_i=S_{i-1}-S_i. The generalized quantile function of ZZ is

ΩZ(u)=zi,u∈(Ci−1,Ci],(15)\Omega_Z(u)=z_i,\qquad u\in(C_{i-1},C_i], \tag*{(15)}

and wi∗:=Si−1δ+1−Siδ+1w_i^*:=S_{i-1}^{\delta+1}-S_i^{\delta+1} denotes the weights of the spectral form (6). We first verify that the two expressions in (6) coincide.

Lemma B.1 (Exact finite-sum representation). For every δ≥0\delta\ge0, (δ+1)∫01ΩZ(u)(1−u)δ du=∑i=1Iwi∗zi(\delta+1)\int_0^1\Omega_Z(u)(1-u)^\delta\,du=\sum_{i=1}^{I}w_i^*z_i. The weights wi∗w_i^* are nonnegative and sum to one, and wi∗=piw_i^*=p_i when $\delta=0.

Proof. By (15), ΩZ\Omega_Z is constant on each interval (Ci−1,Ci](C_{i-1}, C_i], hence

(δ+1)∫01ΩZ(u)(1−u)δ du=∑i=1Izi∫Ci−1Ci(δ+1)(1−u)δ du=∑i=1Izi[(1−Ci−1)δ+1−(1−Ci)δ+1]=∑i=1Iwi∗zi.(16)(\delta+1)\int_0^1 \Omega_Z(u)(1-u)^\delta\,du = \sum_{i=1}^{I} z_i \int_{C_{i-1}}^{C_i}(\delta+1)(1-u)^\delta\,du = \sum_{i=1}^{I} z_i\left[(1-C_{i-1})^{\delta+1}-(1-C_i)^{\delta+1}\right] = \sum_{i=1}^{I} w_i^*z_i. \tag*{(16)}

Nonnegativity follows from Si−1≥SiS_{i-1}\ge S_i, the sum telescopes to S0δ+1−SIδ+1=1S_0^{\delta+1}-S_I^{\delta+1}=1, and for δ=0\delta=0 we have wi∗=Si−1−Si=piw_i^*=S_{i-1}-S_i=p_i.

Proof of Theorem 3.2(i). By Lemma B.1, Esp(Z)=(δ+1)∫01ΩZ(u)(1−u)δ du\mathcal{E}^{\mathrm{sp}}(Z)=(\delta+1)\int_0^1\Omega_Z(u)(1-u)^\delta\,du. Define FZ(u):=∫0uΩZ(t) dtF_Z(u):=\int_0^u\Omega_Z(t)\,dt. Integrating by parts,

Esp(Z)=(δ+1)[FZ(u)(1−u)δ]01+(δ+1)δ∫01FZ(u)(1−u)δ−1 du=(δ+1)δ∫01FZ(u)(1−u)δ−1 du,(17)\mathcal{E}^{\mathrm{sp}}(Z)=(\delta+1)\left[F_Z(u)(1-u)^\delta\right]_0^1+(\delta+1)\delta\int_0^1F_Z(u)(1-u)^{\delta-1}\,du =(\delta+1)\delta\int_0^1F_Z(u)(1-u)^{\delta-1}\,du, \tag*{(17)}

where the boundary term vanishes because FZ(0)=0F_Z(0)=0, FZF_Z is bounded, and (1−u)δ→0(1-u)^\delta\to0 as u→1u\to1 for δ>0\delta>0. For 0<δ<10<\delta<1 the weight (1−u)δ−1(1-u)^{\delta-1} is integrable on [0,1][0,1], so the right-hand side is well defined.

Now let Z†Z^\dagger and Z∘Z^\circ satisfy E[Z†]=E[Z∘]\mathbb{E}[Z^\dagger]=\mathbb{E}[Z^\circ] and Z†≤cxZ∘Z^\dagger\le_{\mathrm{cx}}Z^\circ. The quantile characterization of the convex order (see, e.g., [53 Sec. 3.A]) states that, for random variables with equal means, Z†≤cxZ∘Z^\dagger\le_{\mathrm{cx}}Z^\circ holds if and only if

FZ†(u)=∫0uΩZ†(t) dt≥∫0uΩZ∘(t) dt=FZ∘(u)for all u∈[0,1].(18)F_{Z^\dagger}(u)=\int_0^u\Omega_{Z^\dagger}(t)\,dt\ge\int_0^u\Omega_{Z^\circ}(t)\,dt=F_{Z^\circ}(u)\qquad\text{for all }u\in[0,1]. \tag*{(18)}

Substituting (18) into (17),

Esp(Z†)−Esp(Z∘)=(δ+1)δ∫01[FZ†(u)−FZ∘(u)](1−u)δ−1 du≥0,(19)\mathcal{E}^{\mathrm{sp}}(Z^\dagger)-\mathcal{E}^{\mathrm{sp}}(Z^\circ) =(\delta+1)\delta\int_0^1\left[F_{Z^\dagger}(u)-F_{Z^\circ}(u)\right](1-u)^{\delta-1}\,du\ge0, \tag*{(19)}

since the bracket is nonnegative for all u∈[0,1]u\in[0,1] and (1−u)δ−1>0(1-u)^{\delta-1}>0 on (0,1)(0,1). Hence Esp(Z∘)≤Esp(Z†)\mathcal{E}^{\mathrm{sp}}(Z^\circ)\le\mathcal{E}^{\mathrm{sp}}(Z^\dagger).

The operator is variance averse, but it never prefers a uniformly worse return distribution. The following proposition makes this precise.

Proposition B.2 (Monotonicity under first-order stochastic dominance). Let Z1Z^1 and Z2Z^2 be categorical return distributions on the same atoms with CZ1(z)≤CZ2(z)C_{Z^1}(z)\le C_{Z^2}(z) for every zz, that is, Z1Z^1 first-order stochastically dominates Z2Z^2. Then Esp(Z1)≥Esp(Z2)\mathcal{E}^{\mathrm{sp}}(Z^1)\ge\mathcal{E}^{\mathrm{sp}}(Z^2) for every δ≥0\delta\ge0.

Proof. First-order stochastic dominance is equivalent to ΩZ1(u)≥ΩZ2(u)\Omega_{Z^1}(u)\ge\Omega_{Z^2}(u) for all u∈(0,1]u\in(0,1]. By Lemma B.1, Esp(Z1)−Esp(Z2)=(δ+1)∫01[ΩZ1(u)−ΩZ2(u)](1−u)δ du≥0\mathcal{E}^{\mathrm{sp}}(Z^1)-\mathcal{E}^{\mathrm{sp}}(Z^2)=(\delta+1)\int_0^1[\Omega_{Z^1}(u)-\Omega_{Z^2}(u)](1-u)^\delta\,du\ge0, since both the bracket and the weight (1−u)δ(1-u)^\delta are nonnegative.

Consequently, an action whose returns are uniformly higher than those of another action is never rejected in favor of it, whatever its variance. Variance affects the ranking only among actions that are not ordered by first-order stochastic dominance, which is exactly the situation addressed by Theorem 3.2. By Proposition B.3, the implemented operator E\mathcal{E} inherits this property up to the discretization gap Rεδ(Z)R_{\varepsilon_\delta}(Z).

Design Considerations

This subsection elaborates on two design considerations of the variance-averse expectation E(Z)\mathcal{E}(Z) defined in (5). Both are quantified by the discretization analysis of Appendix B.3.

Design Choice on the Boundary Atom. By construction C(zI)=1C(z_I)=1, and thus the reweighting in (5) assigns zero weight to the largest support atom zIz_I. More generally, any atom above which the critic places no mass receives zero weight, whereas the spectral form (6) assigns such an atom the weight Cˉ(zi−1)δ+1\bar{C}(z_{i-1})^{\delta+1}. Proposition B.3 bounds the effect of this truncation (and of the normalization) on the value by Rεδ(Z)R\varepsilon_\delta(Z), a quantity that is small whenever the probability mass is spread over several atoms. In the standard C51-style parameterization the support [Vmin⁡,Vmax⁡][V_{\min},V_{\max}] is deliberately chosen to bracket the plausible return range, and the projection operator Φ(⋅)\Phi(\cdot) distributes learned probability mass across multiple interior atoms, leaving the boundary atom zIz_I with negligible mass in practice. We measure the resulting gap on trained critics in Appendix § 10.§ 3, where E\mathcal{E} and Esp\mathcal{E}^{\mathrm{sp}} select the same rejection-sampling candidate in 96.9% of states.

Numerical Stability. The denominator of (5), given by ∑j=1Ipj(1−C(zj))δ=(1−εδ(Z))/(δ+1)\sum_{j=1}^{I}p_j(1-C(z_j))^\delta=(1-\varepsilon_\delta(Z))/(\delta+1), is strictly positive whenever some atom with positive probability has positive survival probability. The categorical critic outputs are parameterized via softmax, ensuring strictly positive atom probabilities, and the C51 projection further spreads mass across multiple atoms. As a safeguard, we additionally include a small numerical stabilizer η=10−8\eta=10^{-8} in the denominator. The denominator becomes small only when the mass concentrates on a single atom (max⁡ipi≈1)(\max_i p_i\approx1), which is also the regime in which the bound of Theorem 3.2(ii) is loose (Remarks B.6 and B.7). Throughout all reported experiments, we observed no numerical instability arising from this term. For critics that output nearly deterministic returns, the spectral form Esp\mathcal{E}^{\mathrm{sp}} is a drop-in alternative that requires no normalization and returns ziz_i exactly for a point mass at ziz_i.

Proof of Theorem 3.2(ii): Discretization Error of the Implemented Operator

We use the notation of Appendix § 10.§ 1 and additionally write ai:=piSiδa_i:=p_iS_i^\delta for the unnormalized weights of Definition 3.1, wi:=ai/∑jajw_i:=a_i/\sum_j a_j for its normalized weights (we take the stabilizer η=0\eta=0 here and treat η>0\eta>0 in Remark B.7), εδ:=1−(δ+1)∑iai\varepsilon_\delta:=1-(\delta+1)\sum_i a_i as in (7), ρ:=max⁡ipi\rho:=\max_i p_i, and R:=zI−z1R:=z_I-z_1. In this notation E(Z)=∑iwizi\mathcal{E}(Z)=\sum_iw_iz_i and Esp(Z)=∑iwi⋆zi\mathcal{E}^{\mathrm{sp}}(Z)=\sum_iw_i^\star z_i. Substituting x=1−ux=1-u in Lemma B.1,

wi⋆=∫SiSi−1(δ+1)xδ dx,(20)w_i^\star=\int_{S_i}^{S_{i-1}}(\delta+1)x^\delta\,dx, \tag*{(20)}

so that (δ+1)ai=(δ+1)piSiδ(\delta+1)a_i=(\delta+1)p_iS_i^\delta is the right-endpoint rule (in uu) applied to the same integral, and E\mathcal{E} is this rule followed by normalization, which justifies the description in Theorem 3.2(ii).

Proposition B.3 (Discretization error). For every δ>0\delta>0 the following hold.

(a) (δ+1)ai≤wi⋆≤(δ+1)piSi−1δ(\delta+1)a_i\leq w_i^\star\leq(\delta+1)p_iS_{i-1}^\delta for all ii. Consequently, εδ∈[0,1]\varepsilon_\delta\in[0,1].

(b) ∑i=1I∣wi⋆−wi∣≤2εδ\sum_{i=1}^{I}|w_i^\star-w_i|\leq2\varepsilon_\delta.

(c) ∣Esp(Z)−E(Z)∣≤Rεδ|\mathcal{E}^{\mathrm{sp}}(Z)-\mathcal{E}(Z)|\leq R\varepsilon_\delta.

(d) εδ≤(δ+1)ρ\varepsilon_\delta\leq(\delta+1)\rho for every δ>0\delta>0, and εδ≤δ(δ+1)∑ipi2\varepsilon_\delta\leq\delta(\delta+1)\sum_i p_i^2 for δ≥1\delta\geq1.

Proof. (a) The integrand in (20) is nondecreasing on [Si,Si−1][S_i,S_{i-1}], an interval of length pip_i, so it lies between (δ+1)Siδ(\delta+1)S_i^\delta and (δ+1)Si−1δ(\delta+1)S_{i-1}^\delta, and integrating gives (a). Summing the lower bound over ii and using Lemma B.1 yields (δ+1)∑iai≤∑iwi⋆=1(\delta+1)\sum_i a_i\leq\sum_iw_i^\star=1, i.e., εδ∈[0,1]\varepsilon_\delta\in[0,1].

(b) Write wi⋆−wi=(wi⋆−(δ+1)ai)+(δ+1)ai(1−11−εδ)w_i^\star-w_i=(w_i^\star-(\delta+1)a_i)+(\delta+1)a_i(1-\frac{1}{1-\varepsilon_\delta}). The first term is nonnegative by (a) and sums to εδ\varepsilon_\delta, whereas the second is nonpositive and sums to −εδ-\varepsilon_\delta. Hence ∑i∣wi⋆−wi∣≤εδ+εδ\sum_i|w_i^\star-w_i|\leq\varepsilon_\delta+\varepsilon_\delta.

(c) Both weight vectors sum to one, so for any constant cc, Esp(Z)−E(Z)=∑i(wi⋆−wi)(zi−c)\mathcal{E}^{\mathrm{sp}}(Z)-\mathcal{E}(Z)=\sum_i(w_i^\star-w_i)(z_i-c). Taking c=(z1+zI)/2c=(z_1+z_I)/2 gives ∣zi−c∣≤R/2|z_i-c|\leq R/2, and (b) yields the claim.

(d) By (a) and (20), εδ=∑i∫SiSi−1(δ+1)(xδ−Siδ) dx\varepsilon_\delta=\sum_i\int_{S_i}^{S_{i-1}}(\delta+1)(x^\delta-S_i^\delta)\,dx. For the first bound, monotonicity of x↦xδx\mapsto x^\delta gives xδ−Siδ≤Si−1δ−Siδx^\delta-S_i^\delta\leq S_{i-1}^\delta-S_i^\delta on [Si,Si−1][S_i,S_{i-1}], so

εδ≤(δ+1)∑ipi(Si−1δ−Siδ)≤(δ+1)ρ∑i(Si−1δ−Siδ)=(δ+1)ρ(S0δ−SIδ)=(δ+1)ρ.(21)\begin{aligned} \varepsilon_\delta\leq(\delta+1)\sum_i p_i(S_{i-1}^\delta-S_i^\delta)\leq(\delta+1)\rho\sum_i(S_{i-1}^\delta-S_i^\delta) \\ &=(\delta+1)\rho(S_0^\delta-S_I^\delta)=(\delta+1)\rho. \tag*{(21)} \end{aligned}

For the second bound, if δ≥1\delta\geq1 the mean value theorem gives xδ−Siδ≤δxδ−1(x−Si)≤δpix^\delta-S_i^\delta\leq\delta x^{\delta-1}(x-S_i)\leq\delta p_i on [Si,Si−1][S_i,S_{i-1}] (using x≤1x\leq1), so εδ≤δ(δ+1)∑ipi2\varepsilon_\delta\leq\delta(\delta+1)\sum_i p_i^2. ∎

Proposition B.3(c)–(d) is the bound stated in Theorem 3.2(ii). The remaining claims of part (ii) are the two corollaries below.

Corollary B.4 (Ordering transfer). Let E[Z†]=E[Z∘]\mathbb{E}[Z^{\dagger}] = \mathbb{E}[Z^{\circ}] and Z†⪯cxZ∘Z^{\dagger} \preceq_{\mathrm{cx}} Z^{\circ}. Then

E(Z∘)≤E(Z†)+R[εδ(Z†)+εδ(Z∘)],(22)\mathcal{E}(Z^{\circ}) \leq\mathcal{E}(Z^{\dagger}) + R[\varepsilon_{\delta}(Z^{\dagger}) + \varepsilon_{\delta}(Z^{\circ})], \tag*{(22)}

which is (8). In particular, if the convex-order margin satisfies Esp(Z†)−Esp(Z∘)>R[εδ(Z†)+εδ(Z∘)]\mathcal{E}^{\mathrm{sp}}(Z^{\dagger}) - \mathcal{E}^{\mathrm{sp}}(Z^{\circ}) > R[\varepsilon_{\delta}(Z^{\dagger}) + \varepsilon_{\delta}(Z^{\circ})], then E(Z†)>E(Z∘)\mathcal{E}(Z^{\dagger}) > \mathcal{E}(Z^{\circ}). That is, the implemented operator induces the same ordering as the spectral form whenever the margin exceeds the certified error budget.

Proof. By Theorem 3.2(i), Esp(Z∘)≤Esp(Z†)\mathcal{E}^{\mathrm{sp}}(Z^{\circ}) \leq\mathcal{E}^{\mathrm{sp}}(Z^{\dagger}). Applying Proposition B.3(c) to both distributions, E(Z∘)≤Esp(Z∘)+Rεδ(Z∘)≤Esp(Z†)+Rεδ(Z∘)≤E(Z†)+R[εδ(Z†)+εδ(Z∘)]\mathcal{E}(Z^{\circ}) \leq\mathcal{E}^{\mathrm{sp}}(Z^{\circ}) + R\varepsilon_{\delta}(Z^{\circ}) \leq\mathcal{E}^{\mathrm{sp}}(Z^{\dagger}) + R\varepsilon_{\delta}(Z^{\circ}) \leq\mathcal{E}(Z^{\dagger}) + R[\varepsilon_{\delta}(Z^{\dagger}) + \varepsilon_{\delta}(Z^{\circ})]. The second claim follows from the triangle inequality in the same way.

Corollary B.5 (Vanishing gap under the C51 projection). Let YY be a target return supported on [Vmin⁡,Vmax⁡][V_{\min}, V_{\max}] whose CDF is LL-Lipschitz, and let Z=Φ(Y)Z = \Phi(Y) be its projection (29) onto II atoms with spacing Δ=(Vmax⁡−Vmin⁡)/(I−1)\Delta= (V_{\max} - V_{\min})/(I - 1). Then ρ≤2LΔ=O(1/I)\rho\leq2L\Delta= O(1/I) and

∣Esp(Z)−E(Z)∣≤Rεδ(Z)≤2(δ+1)LRΔ=O(1/I).(23)|\mathcal{E}^{\mathrm{sp}}(Z) - \mathcal{E}(Z)| \leq R\varepsilon_{\delta}(Z) \leq2(\delta+ 1)LR\Delta= O(1/I). \tag*{(23)}

Proof. The projection moves the mass at yy only to the two atoms adjacent to yy, so atom ziz_i receives mass only from {y:∣y−zi∣<Δ}\{y : |y - z_i| < \Delta\} and pi≤FY(zi+Δ)−FY(zi−Δ)≤2LΔp_i \leq F_Y(z_i + \Delta) - F_Y(z_i - \Delta) \leq2L\Delta (no clipping occurs because YY is supported on [Vmin⁡,Vmax⁡][V_{\min}, V_{\max}]). Apply Proposition B.3(c)–(d).

Remark B.6 (When the bound is loose). The certificate Rεδ(Z)R\varepsilon_{\delta}(Z) is small whenever the critic spreads its mass over several atoms (ρ≪1\rho\ll1) and is vacuous for a nearly deterministic return (ρ≈1\rho\approx1): for a point mass at ziz_i the spectral form returns exactly ziz_i (wiδ=1w_i^{\delta} = 1), whereas Definition 3.1 assigns that atom the weight piSiδ=0p_iS_i^{\delta} = 0, so that E\mathcal{E} is determined by the (vanishingly small) mass below ziz_i. The Lipschitz assumption of Corollary B.5 excludes this regime. The guarantee therefore covers return distributions that are genuinely spread—the regime produced by nn-step bootstrapped targets under the C51 projection with I=101I = 101 atoms, as verified below—and does not cover deterministic returns.

Remark B.7 (Numerical stabilizer). With the stabilizer η>0\eta> 0 of Appendix B.2, the implemented weights sum to ∑jaj/(∑jaj+η)<1\sum_j a_j/(\sum_j a_j + \eta) < 1, which adds at most max⁡i∣zi∣⋅η/(∑jaj+η)\max_i |z_i|\cdot\eta/(\sum_j a_j + \eta) to the error in Proposition B.3(c). This term is negligible unless ∑jaj=(1−εδ)/(δ+1)≲η\sum_j a_j = (1 - \varepsilon_{\delta})/(\delta+ 1) \lesssim\eta, i.e., unless εδ≈1\varepsilon_{\delta} \approx1, which is exactly the regime of Remark B.6. In that regime Esp\mathcal{E}^{\mathrm{sp}}, which needs no normalization, is the preferable drop-in replacement.

Empirical size of the gap on trained critics. To confirm that the regime of Corollary B.5, rather than that of Remark B.6, is the one encountered in practice, we measured the gap on critics trained with the default configuration on atmaze–teleport–navigate, using 256 randomly selected dataset states and M=32M = 32 candidate actions per state. For every candidate action drawn from the flow actor we evaluated E\mathcal{E} and Esp\mathcal{E}^{\mathrm{sp}}. Table 6 reports the results: the realized gap is small (median 0.37% of the value range RR), both operators select the same candidate in 96.9% of states, and their candidate rankings are strongly correlated (Kendall’s τ=0.99\tau= 0.99), indicating that the discretization gap is negligible at the atom resolution used throughout the paper.

MeasurementValue
Median realized gap ∣E−Esp∣|\mathcal{E} - \mathcal{E}^{\mathrm{sp}}| (fraction of the value range RR)0.37%
States in which E\mathcal{E} and Esp\mathcal{E}^{\mathrm{sp}} select the same candidate96.9%
Kendall’s τ\tau between the two candidate rankings0.99

Table 6. Discretization gap between the implemented operator E\mathcal{E} and its spectral form Esp\mathcal{E}^{\mathrm{sp}} on trained critics.

Projection Operator

This appendix details the categorical projection operator Φ(⋅)\Phi(\cdot) used in (2) and (12), following the standard C51-style projection introduced in [8].

Fixed support. We fix II atoms {zi}i=1I\{z_i\}_{i=1}^I uniformly spanning an interval [Vmin⁡,Vmax⁡][V_{\min}, V_{\max}]:

zi=Vmin⁡+(i−1)Δ,Δ=Vmax⁡−Vmin⁡I−1.(24)z_i = V_{\min} + (i-1)\Delta,\qquad\Delta= \frac{V_{\max} - V_{\min}}{I-1}. \tag*{(24)}

The categorical critic outputs a probability vector p(s,a)∈ΔIp(s,a) \in\Delta^I over these atoms.

Target distribution and clamping. Let the (unprojected) target distribution be a random variable YY obtained by shifting the next-state return distribution by the nn-step return:

Y=Gt(n)+γnZψ(st+n,at+n∗).(25)Y = G_t^{(n)} + \gamma^n Z_{\psi}(s_{t+n}, a^*_{t+n}). \tag*{(25)}

Because YY may fall outside [Vmin⁡,Vmax⁡][V_{\min}, V_{\max}], we clamp support values using

yˉ=clip⁡(y,Vmin⁡,Vmax⁡).(26)\bar{y} = \operatorname{clip}(y, V_{\min}, V_{\max}). \tag*{(26)}

Projection Φ\Phi: mass transfer to neighboring atoms. Suppose YY is represented categorically as probabilities {qj}j=1I\{q_j\}_{j=1}^I on some values {yj}j=1I\{y_j\}_{j=1}^I (e.g., yj=Gt(n)+γnzjy_j = G_t^{(n)} + \gamma^n z_j when the next distribution is supported on {zj}\{z_j\}). The projection Φ\Phi maps this distribution onto {zi}\{z_i\} by distributing each mass qjq_j to the two nearest atoms:

bj=yˉj−Vmin⁡Δ+1,(27)b_j = \frac{\bar{y}_j - V_{\min}}{\Delta} + 1, \tag*{(27)}
ℓj=⌊bj⌋,uj=⌈bj⌉,(28)\ell_j = \lfloor b_j \rfloor,\qquad u_j = \lceil b_j \rceil, \tag*{(28)}

and define the projected probabilities mim_i by

mi=∑j=1Iqj[1{uj=i}(bj−ℓj)+1{ℓj=i}(uj−bj)],(29)m_i = \sum_{j=1}^{I} q_j \left[ \mathbf{1}\{u_j = i\}(b_j-\ell_j) + \mathbf{1}\{\ell_j = i\}(u_j-b_j) \right], \tag*{(29)}

with the convention that when ℓj=uj\ell_j = u_j, all mass is assigned to that atom. Then Φ(Y)\Phi(Y) is the categorical distribution supported on {zi}\{z_i\} with probabilities {mi}i=1I\{m_i\}_{i=1}^I.

Benchmarks and Task Descriptions

This section summarizes the benchmark environments used in our experiments, with emphasis on properties that are directly relevant to the problem studied in this paper: sparse rewards, long-horizon credit assignment, and dataset-induced return variance. Rather than providing a comprehensive description of each benchmark, we highlight how different task and dataset variants give rise to distinct variance regimes for nn-step return learning in offline RL.

D4RL antMaze

D4RL antMaze environments: umaze, medium, and large

Figure 6. D4RL

We evaluate on the AntMaze tasks from D4RL, a canonical benchmark for offline RL under sparse rewards and long planning horizons. AntMaze has become a standard testbed for studying long-horizon credit assignment and robustness to dataset-induced distributional challenges. In these environments, rewards are extremely sparse and are typically provided only when the agent reaches the goal region, making effective long-horizon value propagation essential.

Horizon and variance characteristics. AntMaze provides a controlled setting in which both the effective planning horizon and dataset-induced return variance can be systematically varied.

  • Maze scales: umaze, medium, and large progressively increase the episode horizon and the depth of credit assignment.

  • Dataset variants: play datasets are collected using relatively stationary behavior policies, resulting in lower return variance, whereas diverse datasets are generated from heterogeneous behavior policies and induce substantially higher return variance.

As the maze scale and dataset heterogeneity increase, nn-step return targets aggregate rewards over increasingly diverse trajectories, thereby amplifying return variance. Consequently, AntMaze serves as a particularly suitable benchmark for evaluating the stability of long-horizon and multi-step learning methods in offline RL.

OGBench

OGBench is a benchmark suite designed to evaluate offline RL in environments characterized by long horizons, sparse or deceptive rewards, and limited dataset coverage. In contrast to D4RL AntMaze, OGBench offers a broader collection of tasks with diverse dynamics, action spaces, and dataset construction processes.

Relevance to return variance. A distinguishing feature of OGBench is that different dataset variants within the same environment exhibit substantial differences in return dispersion. This property enables controlled comparisons between low-variance and high-variance offline datasets under identical task dynamics.

Task families used. We focus on state-based OGBench tasks that are particularly sensitive to long-horizon value estimation and return variance:

OGBench environments

Figure 7. OGBench

  • AntMaze: antmaze-large-navigate, antmaze-teleport-navigate, antmaze-large-explore, and antmaze-giant-navigate, which require long-horizon planning and are highly sensitive to dataset coverage.

  • HumanoidMaze: humanoidmaze-large-navigate, humanoidmaze-giant-navigate, which combine extremely long horizons with high-dimensional action spaces.

  • Scene and Puzzle: scene-play, puzzle-3x3-play, and puzzle-3x3-noisy, which exhibit strong multi-modality and heightened sensitivity to out-of-distribution actions.

Low-variance vs. high-variance datasets. Following the main text, we categorize dataset variants according to their induced return variance.

  • navigate and play datasets are treated as relatively low-variance datasets, collected using more stationary behavior policies.

  • explore and noisy datasets are treated as high-variance datasets, where non-stationary or noisy behavior policies induce large dispersion in return targets.

These high-variance datasets pose a significant challenge for naïve nn-step return methods, as increasing the return horizon directly amplifies target variance. Consequently, OGBench serves as a particularly suitable testbed for evaluating variance-aware learning strategies in offline RL.

Implementation Details of VAN-Flow

We provide the hyperparameter details of the proposed method in Table 7.

HyperparameterValue
Optimization
Learning rate (critic) αZ\alpha_Z3×10−43 \times10^{-4}
Learning rate (actor) απ\alpha_\pi3×10−43 \times10^{-4}
OptimizerAdam [54]
Gradient steps10610^{6} (OGBench), 5×1055 \times10^{5} (D4RL)
Minibatch size256
Network Architecture
MLP dimensions[512, 512, 512, 512]
NonlinearityGELU [55]
Target network smoothing coefficient ρ\rho0.005
Discounting and Returns
Discount factor γ\gamma0.995 (default)
Discount factor γ\gamma0.999 (antmaze-giant, antmaze-teleport, humanoidmaze)
n-step return nn4 (default)
n-step return nn2 (antmaze-teleport)
n-step return nn3 (antmaze-large-explore, scene-play)
n-step return nn8 (antmaze-giant)
Variance-Averse Expectation
Aversion intensity δ\delta2 (default)
Aversion intensity δ\delta7 (antmaze-teleport)
Distributional Critic
Vmin⁡V_{\min}-200 (default), -1000 (antmaze-giant, antmaze-teleport, humanoidmaze)
Vmax⁡V_{\max}0
Critic ensemble size2
Critic aggregation methodmean
Categorical atoms101
Flow-based Actor
Flow steps KK10
Number of candidate actions MM8
Flow-matching regression term weight λ\lambda3 (default)
Flow-matching regression term weight λ\lambda10 (antmaze-giant, humanoidmaze)
Flow-matching regression term weight λ\lambda300 (antmaze-teleport)

Table 7. Hyperparameters for VAN-Flow.

Reward Preprocessing. We rescale all rewards to {−1,0}\{-1, 0\} prior to training, so that the discounted return remains within the categorical critic’s support [Vmin⁡,0][V_{\min}, 0]. The lower bound is set as Vmin⁡≈−1/(1−γ)V_{\min} \approx-1/(1-\gamma), which corresponds to the worst-case return when the goal is never reached. This transformation adds a state-independent constant to all QQ-values and therefore does not affect the optimal policy.

Component-wise Ablation Study

This appendix presents a component-wise ablation that isolates the individual and joint contributions of the three core components of VAN-Flow: the variance-averse expectation (VE), the categorical distributional critic (Dist), and the flow-based actor (Flow).

Setup. All variants are trained with nn-step returns under identical hyperparameters, differing only in which components are enabled. We evaluate across two action-dimension regimes: low-dimensional locomotion (antmaze-teleport and antmaze-giant, both 8-dim) and a high-dimensional task (humanoidmaze-large, 21-dim).

VariantDistVEFlowantmaze-teleport (8d)antmaze-giant (8d)humanoidmaze-large (21d)
VAN-Flow (Ours)✓✓✓71±771 \pm758±458 \pm487±687 \pm6
w/o VE✓✗✓38±738 \pm736±636 \pm677±477 \pm4
w/o Flow✓✓✗42±742 \pm738±1338 \pm130±00 \pm0
w/o VE & Flow✓✗✗36±936 \pm932±532 \pm50±00 \pm0

Table 8. Component-wise ablation across action-dimension regimes. All variants use nn-step returns. Scores denote success rate (%), averaged over five random seeds.

Discussion. On low-dimensional tasks (antmaze-teleport, antmaze-giant), removing VE from VAN-Flow causes a substantial performance drop (71→3871 \to38 on teleport; 58→3658 \to36 on giant), while removing Flow leads to a smaller decrease (71→4271 \to42; 58→3858 \to38). This indicates that, under nn-step returns, actor expressiveness alone provides little benefit unless return variance is properly controlled. VE downweights unreliable high-variance return targets, while Flow provides the expressiveness required to exploit the resulting value estimates.

The high-dimensional task humanoidmaze-large (21d) makes this synergy even clearer. Removing Flow causes complete failure (87→087 \to0), consistent with Figure 3, since a Gaussian actor cannot represent the multi-modal action distribution required by the task. Removing VE instead is far less catastrophic (87→7787 \to77), but still leaves a meaningful gap. These results jointly demonstrate that VE and Flow play complementary roles: Flow supplies the action expressiveness, while VE ensures the value estimates guiding the actor are reliable. How much capacity the actor and the critic each need is studied separately in [56].

Empirical Comparison of Flow Matching and Diffusion Policies

This appendix provides the empirical justification for adopting flow matching as the policy backbone of VAN-Flow, rather than the more widely used diffusion-based parameterization (e.g., DDPM [1]).

Motivation. Diffusion-based actors [1, 2] typically require many denoising steps to produce high-quality actions, substantially increasing both training and inference cost. Flow matching instead parameterizes the policy via a deterministic ODE that enables high-quality samples with far fewer integration steps [3], which is particularly attractive in actor–critic offline RL where the actor is repeatedly evaluated during both training and inference.

Experimental Setup. To validate this design choice within our framework, we instantiate a diffusion-based variant of our method, denoted VAN-DDPM, by replacing the flow-matching actor in VAN-Flow with a DDPM-style denoising actor while keeping all other components (categorical critic, variance-averse expectation, rejection sampling, nn-step return) unchanged. We evaluate both variants on humanoidmaze-large-navigate over five random seeds, varying the number of denoising/flow steps. We report the success rate as performance and the cumulative inference time per action generation in milliseconds.

Discussion. As shown in Table 9, VAN-Flow achieves over 90% success rate with only 3 flow steps (3.3ms), whereas VAN-DDPM requires 20 denoising steps (11.9ms) to reach a comparable level, corresponding to roughly a 3.6× reduction in inference cost. We further observe that VAN-DDPM exhibits a much steeper sensitivity to the number of denoising steps: it produces near-zero success rates for ≤5\leq5 steps, indicating that diffusion-based actors require sufficiently many denoising iterations to generate in-distribution actions. In contrast, flow matching attains strong performance even at very low step counts. Overall, these results justify our use of flow matching as the policy backbone, balancing high sample quality and low computational cost.

VAN-DDPMVAN-Flow
StepsPerf.Time (ms)Perf.Time (ms)
10±00 \pm02.00±00 \pm01.6
30±00 \pm03.896±396 \pm33.3
50±00 \pm05.796±296 \pm25.0
1057±1757 \pm178.487±687 \pm67.2
2094±494 \pm411.976±676 \pm610.2

Table 9. Comparison between flow matching (VAN-Flow) and diffusion (VAN-DDPM) policies on humanoidmaze-large-navigate. Performance denotes success rate (%); Time denotes cumulative inference time per action (ms). Bold entries indicate the first step count achieving >90%>90\% success rate.

Baselines Details

Baselines Description

We briefly summarize the baselines used in our comparisons. All methods are run with publicly available implementations when possible, or re-implemented following the original papers, using the same dataset splits and evaluation protocols as VAN-Flow.

Pure offline RL (1-step)

  • IQL [35]: An offline actor–critic method that employs expectile regression for value learning and advantage-weighted updates for policy improvement.

  • ReBRAC [36]: A behavior-regularized actor–critic method designed to improve robustness against out-of-distribution (OOD) actions.

  • HIQL [37]: A hierarchical extension of IQL tailored for long-horizon decision-making problems.

Flow-based policies

  • FQL [3]: Flow Q-Learning, an offline actor–critic method that employs a flow-matching actor guided by a learned critic.

  • BFN / QC [4]: Flow-based policy families with value-guided sampling. We adopt the hyperparameter settings recommended by the authors.

  • FQL-nn, BFN-nn: Variants of the original algorithms that incorporate an nn-step temporal-difference (TD) target.

nn-step / horizon reduction methods

  • LEQ [17]: A long-horizon stabilization method that combines nn-step λ\lambda-returns with expectile regression for improved value estimation stability.

  • QC [4]: An action-chunking framework based on flow-based policy families with value-guided sampling. We adopt the hyperparameter settings recommended by the authors.

Distributional critics

  • PA-RL [41]: A policy-agnostic actor–critic algorithm that leverages a distributional critic to optimize actions, which are then distilled into the policy via supervised learning.

  • D4PG [42]: A distributional actor–critic baseline that combines multi-step returns with a deterministic policy gradient. We adapt it to the offline setting when necessary.

Sources of Reported Results

In the D4RL benchmark, we use a combination of previously reported results and results obtained from our own experiments. Specifically, for PA-RL, FQL, and LEQ, we report the performance values as presented in the original papers that proposed each algorithm. For IQL and ReBRAC, we use the results reported in the benchmark paper CORL [32]. In contrast, the performance of QC and D4PG is obtained from experiments conducted by us. In particular, since D4PG is an online reinforcement learning algorithm, we implement it with an additional behavior cloning (BC) term for our experiments.

For the OGBench benchmark, we use the reported performance of HIQL from the original OGBench paper as the benchmark baseline [34]. For FQL, we use the results reported in the paper that proposed FQL as well as those reported in Reinforcement Learning with Action Chunking [4], which also introduces QC. Additionally, from the same paper, we use the reported performance of other baselines on the scene-play and puzzle-3x3 tasks. For all remaining tasks in OGBench, we conduct and report our own experimental results.

Extensive Results of Performance Comparisons

Learning Curve of VAN-Flow

In this subsection, we present the learning curves of VAN-Flow across representative benchmarks. Each curve shows the evaluation success rate as a function of training steps, averaged over five random seeds, and the shaded band around each curve indicates one standard deviation. Each run consists of an offline training phase followed by online fine-tuning. On OGBench, the agent is trained offline for the first 1M steps and then fine-tuned online for the remaining 1M steps. On D4RL, the switch occurs at 0.5M steps. The vertical dashed line marks this switch, and the darker and lighter backgrounds indicate the offline and online phases, respectively. The corresponding offline-to-online results are summarized in Appendix § 18. The learning curves for antmaze and humanoidmaze from OGBench are shown in Figure 8 and Figure 9, respectively. Additionally, the learning curves for puzzle and scene are presented in Figure 10 and Figure 11. Figure 12 shows the learning curves for the antmaze tasks in D4RL.

Learning curves for antmaze tasks

Figure 8. Learning curve on the antmaze task in OGBench

Figure 9. Learning curve on the humanoidmaze task in OGBench

Figure 10. Learning curve on the puzzle task in OGBench

Learning curves for scene tasks

Figure 11. Learning curve on the scene task in OGBench

Figure 12. Learning curve on the antmaze task in D4RL.

Full Performance Table

Table 10 provides the full performance table for all evaluated tasks and all compared baselines. We report normalized scores under the corresponding benchmark protocol.

EnvTaskIQLReBRACReBRAC-nHIQLFQLBFNFQL-nBFN-nQCVAN-Flow
antmaze-large-navigatetask148±991±1064.0±25.893.0±3.080±893.0±1.494.2±2.883.1±1.449.2±9.994.6±4.2
task242±688±478.3±5.978.0±9.057±1090.2±2.880.0±3.488.0±11.343.4±2.489.4±7.0
task372±751±1892.8±2.396.0±2.093±389.1±7.097.5±1.474.5±5.671.8±2.898.0±2.0
task451±984±790.0±2.894.0±2.080±49.0±1.489.1±7.073.1±1.422.0±2.895.4±3.1
task554±2290±290.8±2.794.0±3.083±472.0±5.694.7±5.685.1±1.461.6±1.498.0±2.0
antmaze-teleport-navigatetask117.3±1.50.0±0.014.0±12.637.0±5.039.0±9.848.0±2.85.0±1.423.2±1.437.0±1.270.8±7.5
task227.0±4.20.0±0.038.4±21.266.0±8.00.0±0.040.2±5.60.0±0.074.4±14.156.2±8.491.2±3.0
task332.0±5.627.0±1.452.4±8.637.0±5.047.2±7.029.6±7.077.1±4.241.0±9.937.0±3.554.0±14.1
task426.0±2.810.5±5.644.0±4.030.0±2.045.2±9.837.5±3.50.0±0.036.2±2.836.6±7.048.0±5.5
task512.0±5.60±024.8±14.641.0±8.00±044.0±2.827.5±1.429.2±1.431.0±4.222.0±8.0
scene-play-v0task11.04.075.3±32.240.0±4.069.099.022.064.010098.8±1.8
task20.051.076.7±23.040.4±9.051.099.04.015.09892.4±4.5
task30.00.045.3±22.336.0±5.068.093.01.034.09087.6±7.9
task40.00.04.0±2.555.0±5.075.086.050.091.093.095.2±4.6
task50.011.00.0±0.020.0±5.025.038.014.071.043.088.8±4.6
puzzle-3x3-playtask10.096.048.8±5.429.0±4.09998100.088100.0100.0±0.0
task20.070.02.8±1.811.0±3.09998100.072100.0100.0±0.0
task30.027.00.0±0.07.0±3.0100.095100.056100.0100.0±0.0
task40.029.00.4±0.95.0±1.0100.098100.037100.0100.0±0.0
task50.054.00.0±0.08.0±3.0100.0979847100.0100.0±0.0
Long-horizon tasks
antmaze-giant-navigatetask10±027±220.0±0.047.0±10.04±50.0±0.011.2±1.60.0±0.00.0±0.058.0±4.0
task21±116±1781.6±3.074.0±5.09±70.0±0.093.6±7.016.1±8.44.0±2.886.6±7.0
task30±034±220.0±0.055.0±7.00±10.0±0.044.0±8.40.0±0.00.0±0.056.4±14.2
task40±05±120.0±0.069.0±5.014±230.0±0.057.5±12.70.0±0.00.0±0.087.2±7.5
task519±749±220.0±0.082.0±4.016±2855.2±4.763.6±1.47.2±4.26.2±2.856.8±4.1
humanoidmaze-large-navigatetask13±12±10.8±1.167.0±4.07±644.2±5.625.3±1.445.2±2.413.0±1.487.4±5.8
task20±00±00.0±0.020.0±3.00±072.1±4.40.0±0.011.5±1.40.0±0.055.4±8.0
task37±32±118.5±8.088.0±3.07±626.3±2.841.0±9.865.2±9.830.0±2.896.0±2.0
task41±01±10.0±0.042.0±11.02±313.1±1.424.5±2.845.1±2.815.0±1.484.6±1.1
task51±12±20.0±0.047.0±10.01±352.3±11.120.0±8.853.5±5.923.0±2.882.6±3.0
humanoidmaze-giant-navigatetask10.0±0.00.0±0.00.0±0.013.0±7.00.0±0.00.0±0.00.0±0.054.6±2.810.2±2.785.4±5.0
task20.0±0.00.0±0.00.0±0.035.0±11.01.2±1.40.0±0.00.0±0.087.1±5.63.7±1.597.4±1.1
task30.0±0.00.0±0.00.0±0.011.0±4.00.0±0.00.0±0.00.0±0.070.1±2.83.0±1.288.0±2.0
task40.0±0.00.0±0.00.0±0.020.0±2.00.0±0.00.0±0.00.0±0.073.5±7.00.0±0.096.6±3.0
task53.6±3.50.0±0.00.0±0.012.0±4.00.0±0.00.0±0.00.0±0.09.9±7.086.1±2.897.2±1.1
Noisy tasks
antmaze-large-exploretask10.0±0.090.0±5.624.8±10.41.0±3.02.0±1.417.0±24.00.0±0.052.1±8.479.2±4.293.6±3.0
task20.0±0.00.0±0.00.0±0.00.0±0.00.0±0.02.0±2.80.0±0.00.0±0.07.0±4.252.0±3.4
task367.5±1.493.4±1.495.6±2.218.0±24.087.6±4.289.3±1.445.3±5.077.2±4.290.2±1.496.0±4.0
task42.0±1.40.0±0.046.8±13.20.0±0.0102.8±2.80.0±0.00.0±0.00.0±0.064.2±2.886.6±3.7
task560.2±5.858.5±14.416.0±9.00.0±0.00.0±0.01.0±1.41.0±1.41.0±1.448.6±7.092.2±3.0
puzzle-3x3-noisytask134.5±5.19.0±1.418.8±39.867.0±10.0100.0±0.0100.0±0.044.1±2.2100.0±0.0100.0±0.096.6±3.0
task253.4±3.52.3±2.819.6±41.654.0±11.0100.0±0.0100.0±0.06.0±8.4100.0±0.0100.0±0.098.6±4.1
task319.0±1.40.0±0.00.0±0.043.0±12.0100.0±0.0100.0±0.084.0±2.899.0±1.4100.0±0.095.3±3.0
task420.3±0.71.5±1.40.0±0.041.0±13.0100.0±0.0100.0±0.018.0±8.493.0±4.2100.0±0.096.6±3.0
task532.1±13.80.0±0.00.0±0.047.0±15.0100.0±0.0100.0±0.013.0±8.4100.0±0.0100.0±0.097.4±1.8

Table 10. Task-wise performance comparison in OGBench (singletask setting).

Performance Comparison in Denser Reward Environments

We additionally evaluate VAN-Flow on the D4RL Adroit manipulation suite to compare against a wide range of generative policy-based offline RL methods, including diffusion-based approaches (IDQL [50], SRPO [57], CAC [58]) and flow-based policies (FAWAC, FBRAC, FQL, IFQL).

For flow-based baselines, we consider flow-policy instantiations of existing offline RL algorithms (AWAC [59], ReBRAC [36], IDQL) [50] as implemented in Flow Q-Learning [3].

As shown in Table 11, VAN-Flow achieves competitive or superior performance across multiple Adroit tasks, particularly on cloned and expert datasets. Notably, VAN-Flow outperforms flow-based baselines such as FQL and IFQL on most tasks, indicating that the observed gains are not merely due to the use of a generative policy, but arise from variance-aware nn-step value learning.

TaskBCIQLReBRACIDQLSRPOCACFAWACFBRACIFQLFQLOurs
pen-human-v171781037669646777715382.3±3.5
pen-cloned-v1528310364615662678074107.5±14.9
pen-expert-v1110128152140134103118119139142146.6±5.5
door-human-v123063524702.7±1.3
door-cloned-v103000100223.0±2.8
door-expert-v110510710610510598103104104104104.0±0.6
hammer-human-v132021222313.5±0.7
hammer-cloned-v1125221122113.0±2.1
hammer-expert-v112712913412512792118119117125131±1.4
relocate-human-v100000000000.2±0.0
relocate-cloned-v100200001000.3±0.0
relocate-expert-v110810610810710693105105104107108±0.8

Table 11. Performance comparison in D4RL Adroit

Furthermore, VAN-Flow remains competitive with strong diffusion-based methods, demonstrating that variance-averse nn-step learning integrates naturally with flow-based policies without sacrificing the advantages typically associated with diffusion models.

D4RL Locomotion Tasks

The main experiments focus on sparse-reward, long-horizon tasks because that is where variance amplification under nn-step returns is most severe. To check that the method is not tied to goal-conditioned tasks, we also ran VAN-Flow on the dense-reward D4RL locomotion suite with the medium and medium-replay datasets. Neither dataset contains expert demonstrations. We keep the default δ=2\delta= 2 and use γ=0.99\gamma= 0.99, I=101I = 101, and the minimum over the two critics, with n=1n = 1 for HalfCheetah and n=3n = 3 for Hopper and Walker2d, and λ=0.3\lambda= 0.3, 3, and 10 for the three environments respectively. Results are averaged over five seeds, and baseline numbers are taken from the corresponding papers.

TaskIQLReBRACDiffusion-QLDiffuserVAN-Flow
halfcheetah-medium47.465.6±1.051.1±0.542.8±0.363.9±2.1
halfcheetah-medium-replay44.251.0±0.847.8±0.337.7±0.551.4±0.3
hopper-medium66.3102.0±1.090.5±4.674.3±1.495.3±2.5
hopper-medium-replay94.798.1±5.3101.3±0.693.6±0.4100.3±1.2
walker2d-medium78.382.5±3.687.0±0.979.6±0.688.2±1.8
walker2d-medium-replay73.977.3±7.995.5±1.570.6±1.681.0±1.4
Mean67.579.478.966.480.0

Table 12. Normalized returns on D4RL locomotion tasks. Best results are in bold, and results within one standard deviation of the best are also bolded.

VAN-Flow is competitive with the strongest baselines here (mean 80.0 against 79.4 for ReBRAC and 78.9 for Diffusion-QL). It matches or outperforms ReBRAC on all three medium-replay datasets, which mix behavior of very different quality, while the gap is small on the more homogeneous medium datasets. This is consistent with what the method is designed for. When several behavior modes with different returns coexist, return variance separates reliable from unreliable actions, and when the dataset comes from a single behavior policy, variance adds little beyond the expected return and the operator behaves close to neutral.

Off-to-Online Fine-Tuning Results

This appendix presents off-to-online fine-tuning results for the off-to-online evaluation. We compare VAN-Flow against QC [4] across long-horizon, noisy, and D4RL AntMaze tasks. Scores in gray indicate performance before online fine-tuning (the offline scores of Tables 1 and 2), and bold scores denote performance after fine-tuning.

TaskVAN-FlowQCTaskVAN-FlowQC
antmaze-teleport-navigate57→9640→46scene-play93→10084→99
antmaze-large-navigate95→9949→98puzzle-3x3-play100→100100→100
Long-horizon tasksNoisy tasks
humanoidmaze-large-navigate81→9816→16antmaze-large-explore84→9858→96
humanoidmaze-giant-navigate92→9812→67puzzle-3x3-noisy97→100100→100
antmaze-giant-navigate68→982→69
D4RL AntMaze tasks
antmaze-umaze98.0→9695.0→98antmaze-medium-diverse89.3→9464.0→95
antmaze-umaze-diverse95.6→9878.0→92antmaze-large-play86.5→9580.0→94
antmaze-medium-play90.7→9872.0→98antmaze-large-diverse88.6→9882.0→93

Table 13. Offline-to-online fine-tuning performance across diverse long-horizon and noisy control tasks. Scores are reported before online fine-tuning in gray and after fine-tuning in bold. The offline scores are those reported in Tables 1 and 2.

Discussion. Off-to-online evaluation tests whether offline-trained policies serve as strong initializations for online fine-tuning [60]. We perform online post-training from offline agents and compare with QC [4], a state-of-the-art horizon-reduction method, to evaluate practical adaptability. As shown in Table 13, VAN-Flow adapts stably online and improves with more interaction on every task that is not already saturated offline. Notably, it matches or slightly surpasses QC in several settings, indicating that variance-averse learning provides high-quality initializations that transfer smoothly from offline to online RL.

Additional Comparisons with Risk-Sensitive Objectives

We additionally compare the proposed variance-averse expectation with representative risk-sensitive objectives. To this end, we replace E(Z)\mathbb{E}(Z) in (10) and (13) with alternative aggregation rules, while keeping all other components unchanged.

We consider E[Z]\mathbb{E}[Z], CVaR, CPW, Norm, Wang, entropic risk, Sharpe ratio, Sortino ratio, and mean–variance. The comparisons are conducted on antmaze-teleport-navigate and antmaze-large-explore, which represent two challenging regimes for variance-averse learning.

As shown in Table 14, VE consistently outperforms these alternatives across both tasks. Tail-focused objectives such as CVaR can become overly conservative, while scalar penalty-based objectives such as mean–variance or entropic risk do not fully exploit the categorical return structure. By contrast, E(Z)\mathcal{E}(Z) applies a smooth CDF-based reweighting over the full return distribution, which better aligns with our goal of suppressing unreliable high-variance targets without discarding distributional information.

TaskE[Z]\mathbb{E}[Z]CVaRCPWNormWangEntropicSharpeSortinoMean–Var.VE
teleport38±754±1637±536±940±1044±1625±1130±846±871±7
explore84±22±187±484±886±286±464±2770±885±493±3

Table 14. Comparison with representative risk-sensitive objectives. Scores denote success rates averaged over five random seeds.

Full Results on Sensitivity Analyses

We provide extended sensitivity results for the key hyperparameters nn, MM, and KK. All plots report mean ±\pm standard deviation over random seeds.

nn-step Horizon

Figure 13. Additional sensitivity results on the number of nn.

We sweep nn over a task-dependent grid (e.g., n∈{1,4,8,16}n \in\{1, 4, 8, 16\}). For long-horizon tasks, increasing nn initially improves performance by reducing bootstrapping bias, but overly large nn can cause instability due to amplified return variance. VAN-Flow remains robust across a wide range of nn, indicating that variance-aware aggregation mitigates the typical sensitivity of long-horizon targets.

Number of Rejection Samples

Figure 14. Additional sensitivity results on the number of rejection samples

We vary the number of rejection candidates MM. Performance generally improves with MM and quickly saturates, so strong performance is achieved without excessive sampling.

Number of Flow Steps

Figure 15. Additional sensitivity results on the number of flow steps.

We vary the number of flow discretization steps KK (e.g., K∈{1,3,5,10,20}K \in\{1, 3, 5, 10, 20\}). A single step is not enough on any task. The maze tasks are already close to their best with three to five steps, whereas scene-play and puzzle-3x3-play need about ten steps, and going beyond that brings little. On humanoidmaze-large, Table 9 even shows a mild decline for large KK. Precise ODE integration is therefore not required, and K=10K = 10 is a safe default across tasks.

Aversion Coefficient

Table 15 sweeps δ\delta on the first task of three environments. Too little aversion leaves the variance unsuppressed, and too much aversion makes the policy overly conservative on some tasks, most visibly on antmaze-large-explore, where the success rate collapses for δ≥5\delta\ge5. The default δ=2\delta= 2 is at or near the best value on all three tasks and avoids this collapse, which is why we use it as the default. The one exception is antmaze-teleport-navigate, where the stochastic teleporters put irreducible variance into multi-step targets and a stronger aversion (δ=7\delta= 7, Table 7) works better. The trend matches Theorem 3.2: the spectral form interpolates between the plain expectation at δ=0\delta= 0 and worst-case selection as δ→∞\delta\to\infty.

Taskδ=0\delta= 012 (default)34510
antmaze-giant-navigate44.0±11.844.0\pm11.853.6±6.953.6\pm6.958.0±4.058.0\pm4.030.0±3.330.0\pm3.329.5±6.729.5\pm6.731.6±4.131.6\pm4.130.4±5.930.4\pm5.9
antmaze-large-explore82.0±8.682.0\pm8.689.5±3.489.5\pm3.493.6±3.093.6\pm3.090.8±4.590.8\pm4.565.2±33.065.2\pm33.00.0±0.00.0\pm0.00.0±0.00.0\pm0.0
humanoidmaze-large-navigate78.0±3.878.0\pm3.882.0±7.782.0\pm7.787.4±5.887.4\pm5.883.2±3.283.2\pm3.281.6±6.181.6\pm6.182.6±2.782.6\pm2.784.8±2.784.8\pm2.7

Table 15. Success rate for different values of the aversion coefficient δ\delta (task1 of each environment, five seeds).

Categorical Support

The support is set by the rule [Vmin⁡,Vmax⁡]=[rmin⁡/(1−γ),rmax⁡/(1−γ)][V_{\min}, V_{\max}] = [r_{\min}/(1-\gamma), r_{\max}/(1-\gamma)] rather than tuned per task. Table 16 varies Vmin⁡V_{\min} with the number of atoms fixed. Underestimating the support clips the Bellman targets and breaks training, whereas overestimating it only lowers the resolution and costs little. The practical guideline is simply to make sure the support covers the return range, and to err on the wide side.

Task−100-100−170-170−200-200 (rule)−230-230−300-300
antmaze-large-navigate0.0±0.00.0\pm0.094.4±3.794.4\pm3.794.6±4.294.6\pm4.293.2±4.793.2\pm4.796.0±1.496.0\pm1.4
puzzle-3x3-noisy0.0±0.00.0\pm0.081.1±22.581.1\pm22.598.6±2.898.6\pm2.899.6±0.899.6\pm0.894.2±11.094.2\pm11.0

Table 16. Success rate for different lower bounds Vmin⁡V_{\min} of the categorical support (Vmax⁡=0V_{\max} = 0, I=101I = 101, five seeds).

Number of Atoms

Table 17 varies the number of atoms II over roughly a tenfold range and reports the training wall-clock time next to each result. Performance is stable once the resolution is sufficient. The only exception is scene-play with I=51I = 51, where the coarse grid under-resolves the return distribution, and doubling the atom count restores the performance. Wall-clock time barely changes across the range, so the default I=101I = 101 provides enough resolution at no meaningful cost.

TaskI=51I = 51I=101I = 101 (default)I=201I = 201I=501I = 501
antmaze-large-navigate91.6±4.691.6\pm4.6 (1.28h)94.6±4.294.6\pm4.2 (1.26h)92.4±3.992.4\pm3.9 (1.23h)95.6±2.395.6\pm2.3 (1.31h)
humanoidmaze-giant-navigate79.0±9.579.0\pm9.5 (2.28h)85.4±5.085.4\pm5.0 (2.32h)83.5±6.583.5\pm6.5 (2.24h)79.5±9.279.5\pm9.2 (2.26h)
puzzle-3x3-noisy98.4±2.398.4\pm2.3 (1.22h)98.6±2.898.6\pm2.8 (1.19h)98.8±1.698.8\pm1.6 (1.19h)97.2±3.097.2\pm3.0 (1.22h)
scene-play20.5±18.620.5\pm18.6 (1.55h)92.4±4.592.4\pm4.5 (1.57h)86.8±5.986.8\pm5.9 (1.58h)86.8±4.386.8\pm4.3 (1.57h)

Table 17. Success rate and training wall-clock time (hours) for different numbers of atoms II (five seeds).

Broader Impact and Limitation

Broader Impact This work improves the reliability of offline reinforcement learning in sparse and long-horizon environments by reducing sensitivity to high-variance multi-step targets. Such improvements may benefit applications where online exploration is expensive or unsafe, including robotics, autonomous navigation [61, 62, 60, 63], UAV control [64], and decision-support systems trained from logged data [65, 66].

At the same time, stronger offline RL methods could enable automated decision-making systems with greater real-world impact. If trained on biased or incomplete datasets, such systems may inherit or amplify undesirable behaviors present in the data. Careful dataset curation, evaluation, and deployment safeguards therefore remain important when applying offline RL methods in safety-critical settings.

Limitation The proposed approach introduces modest additional computation due to the use of rejection sampling and distributional aggregation. However, these operations are fully parallelizable and align well with modern accelerator hardware, making the practical overhead small in typical training settings.

Another limitation is that the method relies on categorical distributional critics to represent return distributions. While such critics are widely used in distributional RL, extending the proposed aggregation operator to other distributional representations (e.g., quantile-based critics) remains an interesting direction for future work.

Finally, our reliability hypothesis targets return variance that comes from heterogeneous behavior in the dataset. Most of the benchmarks we use have deterministic dynamics, so this is the dominant source of variance there. In environments with strongly stochastic dynamics, part of the return variance is irreducible, and penalizing it indiscriminately can make the policy more conservative than necessary even for well-supported actions. A state-dependent δ\delta that relaxes the aversion where the remaining variance is unavoidable, or a δ\delta that is annealed during online fine-tuning, would be natural extensions. Both fit the framework without modification, but estimating such a coefficient reliably needs additional uncertainty machinery, and we leave this to future work.

References

  1. [1]Zhendong Wang, Jonathan J. Hunt, and Mingyuan Zhou. Diffusion policies as an expressive policy class for offline reinforcement learning. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2208.06193
  2. [2]Cheng Chi, Zhenjia Xu, Siyuan Feng, Eric Cousineau, Yilun Du, Benjamin Burchfiel, Russ Tedrake, and Shuran Song. Diffusion policy: Visuomotor policy learning via action diffusion. The International Journal of Robotics Research, 44(10–11):1684–1704, 2025.
  3. [3]Seohong Park, Qiyang Li, and Sergey Levine. Flow Q-learning. In International Conference on Machine Learning (ICML), 2025.arxiv.org/abs/2502.02538
  4. [4]Qiyang Li, Zhiyuan Zhou, and Sergey Levine. Reinforcement learning with action chunking. In Advances in Neural Information Processing Systems (NeurIPS), 2025.arxiv.org/abs/2507.07969
  5. [5]Jeyeon Eo, Dongsu Lee, and Minhae Kwon. The impact of dataset on offline reinforcement learning performance in uav-based emergency network recovery tasks. IEEE Communications Letters, 28(5):1058–1061, 2024.DOI
  6. [6]Dongsu Lee, Chanin Eom, and Minhae Kwon. AD4RL: Autonomous driving benchmarks for offline reinforcement learning with value-based dataset. In IEEE International Conference on Robotics and Automation, 2024.DOI
  7. [7]Chanin Eom, Dongsu Lee, and Minhae Kwon. Selective imitation for efficient online reinforcement learning with pre-collected data. ICT Express, 10(6):1308–1314, 2024.DOI
  8. [8]Marc G. Bellemare, Will Dabney, and Rémi Munos. A distributional perspective on reinforcement learning. In International Conference on Machine Learning (ICML), 2017.arxiv.org/abs/1707.06887
  9. [9]Will Dabney, Mark Rowland, Marc G. Bellemare, and Rémi Munos. Distributional reinforcement learning with quantile regression. In AAAI Conference on Artificial Intelligence (AAAI), 2018.arxiv.org/abs/1710.10044
  10. [10]Will Dabney, Georg Ostrovski, David Silver, and Rémi Munos. Implicit quantile networks for distributional reinforcement learning. In International Conference on Machine Learning (ICML), 2018.arxiv.org/abs/1806.06923
  11. [11]Michael J. Kearns and Satinder Singh. Bias-variance error bounds for temporal difference updates. In Conference on Computational Learning Theory (COLT), 2000.
  12. [12]Seohong Park, Kevin Frans, Deepinder Mann, Benjamin Eysenbach, Aviral Kumar, and Sergey Levine. Horizon reduction makes RL scalable. In Advances in Neural Information Processing Systems (NeurIPS), 2025.arxiv.org/abs/2506.04168
  13. [13]Doina Precup, Richard S. Sutton, and Satinder Singh. Eligibility traces for off-policy policy evaluation. In International Conference on Machine Learning (ICML), 2000.
  14. [14]Richard S. Sutton and Andrew G. Barto. Reinforcement Learning: An Introduction. MIT Press, Cambridge, MA, 2nd edition, 2018.
  15. [15]Tongzheng Ren, Jialian Li, Bo Dai, Simon S. Du, and Sujay Sanghavi. Nearly horizon-free offline reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), 2021.arxiv.org/abs/2103.14077
  16. [16]Dongsu Lee, Chanin Eom, Sungwoo Choi, Sungkwan Kim, and Minhae Kwon. Survey on practical reinforcement learning : from imitation learning to offline reinforcement learning. Journal of Korean Institute of Communications and Information Sciences, 48(11):1405–1417, 2023.DOI
  17. [17]Kwanyoung Park and Youngwoon Lee. Model-based offline reinforcement learning with lower expectile Q-learning. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2407.00699
  18. [18]Kaylee Burns, Tianhe Yu, Chelsea Finn, and Karol Hausman. Offline reinforcement learning at multiple frequencies. In Conference on Robot Learning (CoRL), 2022.arxiv.org/abs/2207.13082
  19. [19]Jiyau Chen, Bhargav Ganguly, Yang Xu, Yongsheng Mei, Tian Lan, and Vaneet Aggarwal. Deep generative models for offline policy learning: Tutorial, survey, and perspectives on future directions. Transactions on Machine Learning Research, 2024.
  20. [20]Shiyuan Zhang, Weitong Zhang, and Quanquan Gu. Energy-weighted flow matching for offline reinforcement learning. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2503.04975
  21. [21]Bingyi Kang, Xiao Ma, Chao Du, Tianyu Pang, and Shuicheng Yan. Efficient diffusion policies for offline reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), 2023.arxiv.org/abs/2305.20081
  22. [22]Huayu Chen, Cheng Lu, Chengyang Ying, Hang Su, and Jun Zhu. Offline reinforcement learning via high-fidelity generative behavior modeling. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2209.14548
  23. [23]Christian P. Robert and George Casella. Monte Carlo Statistical Methods. Springer, New York, 2nd edition, 2004.
  24. [24]Suzan Ece Ada, Erhan Oztop, and Emre Ugur. Diffusion policies for out-of-distribution generalization in offline reinforcement learning. IEEE Robotics and Automation Letters, 9(4):3116–3123, 2024.DOI
  25. [25]Timothy P. Lillicrap, Jonathan J. Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. In International Conference on Learning Representations (ICLR), 2016.arxiv.org/abs/1509.02971
  26. [26]Scott Fujimoto, David Meger, and Doina Precup. Off-policy deep reinforcement learning without exploration. In International Conference on Machine Learning (ICML), 2019.arxiv.org/abs/1812.02900
  27. [27]Aviral Kumar, Aurick Zhou, George Tucker, and Sergey Levine. Conservative Q-learning for offline reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), 2020.arxiv.org/abs/2006.04779
  28. [28]Scott Fujimoto, Herke van Hoof, and David Meger. Addressing function approximation error in actor-critic methods. In International Conference on Machine Learning (ICML), 2018.
  29. [29]Hado van Hasselt, Arthur Guez, and David Silver. Deep reinforcement learning with double Q-learning. In AAAI Conference on Artificial Intelligence (AAAI), 2016.arxiv.org/abs/1509.06461
  30. [30]Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In International Conference on Machine Learning (ICML), 2018.arxiv.org/abs/1801.01290
  31. [31]Justin Fu, Aviral Kumar, Ofir Nachum, George Tucker, and Sergey Levine. D4RL: Datasets for deep data-driven reinforcement learning. arXiv preprint arXiv:2004.07219, 2020.arxiv.org/abs/2004.07219
  32. [32]Denis Tarasov, Alexander Nikulin, Dmitry Akimov, Vladislav Kurenkov, and Sergey Kolesnikov. CORL: Research-oriented deep offline reinforcement learning library. In Advances in Neural Information Processing Systems (NeurIPS) Datasets and Benchmarks Track, 2023.arxiv.org/abs/2210.07105
  33. [33]Rafael Rafailov, Kyle Beltran Hatch, Anikait Singh, Aviral Kumar, Laura Smith, Ilya Kostrikov, Philippe Hansen-Estruch, Victor Kolev, Philip J. Ball, Jiajun Wu, Sergey Levine, and Chelsea Finn. D5RL: Diverse datasets for data-driven deep reinforcement learning. Reinforcement Learning Journal, 5:2178–2197, 2024.arxiv.org/abs/2408.08441
  34. [34]Seohong Park, Kevin Frans, Benjamin Eysenbach, and Sergey Levine. OGBench: Benchmarking offline goal-conditioned RL. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2410.20092
  35. [35]Ilya Kostrikov, Ashvin Nair, and Sergey Levine. Offline reinforcement learning with implicit Q-learning. In International Conference on Learning Representations (ICLR), 2022.arxiv.org/abs/2110.06169
  36. [36]Denis Tarasov, Vladislav Kurenkov, Alexander Nikulin, and Sergey Kolesnikov. Revisiting the minimalist approach to offline reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), 2023.arxiv.org/abs/2305.09836
  37. [37]Seohong Park, Dibya Ghosh, Benjamin Eysenbach, and Sergey Levine. HIQL: Offline goal-conditioned RL with latent states as actions. In Advances in Neural Information Processing Systems (NeurIPS), 2023.arxiv.org/abs/2307.11949
  38. [38]Rémi Munos, Tom Stepleton, Anna Harutyunyan, and Marc G. Bellemare. Safe and efficient off-policy reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), 2016.arxiv.org/abs/1606.02647
  39. [39]Tadashi Kozuno, Yunhao Tang, Mark Rowland, Rémi Munos, Steven Kapturowski, Will Dabney, Michal Valko, and David Abel. Revisiting Peng’s Q(λ) for modern reinforcement learning. In International Conference on Machine Learning (ICML), 2021.arxiv.org/abs/2103.00107
  40. [40]Zhiyong Peng, Yadong Liu, and Zongtan Zhou. Deadly triad matters for offline reinforcement learning. Knowledge-Based Systems, 284:111341, 2024.DOI
  41. [41]Max Sobol Mark, Tian Gao, Georgia Gabriela Sampaio, Mohan Kumar Srirama, Archit Sharma, Chelsea Finn, and Aviral Kumar. Policy agnostic RL: Offline RL and online RL fine-tuning of any class and backbone. arXiv preprint arXiv:2412.06685, 2024.
  42. [42]Gabriel Barth-Maron, Matthew W. Hoffman, David Budden, Will Dabney, Dan Horgan, Dhruva TB, Alistair Muldal, Nicolas Heess, and Timothy Lillicrap. Distributed distributional deterministic policy gradients. In International Conference on Learning Representations (ICLR), 2018.
  43. [43]Scott Fujimoto and Shixiang Shane Gu. A minimalist approach to offline reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), 2021.arxiv.org/abs/2106.06860
  44. [44]Brett Daley, Martha White, and Marlos C. Machado. Averaging n-step returns reduces variance in reinforcement learning. In International Conference on Machine Learning (ICML), 2024.arxiv.org/abs/2402.03903
  45. [45]Qiyang Li, Seohong Park, and Sergey Levine. Decoupled Q-chunking. In International Conference on Learning Representations (ICLR), 2026.arxiv.org/abs/2512.10926
  46. [46]Dongsu Lee and Minhae Kwon. Temporal distance-aware transition augmentation for offline model-based reinforcement learning. In International Conference on Machine Learning, 2025.
  47. [47]Dongsu Lee and Minhae Kwon. Episodic future thinking mechanism for multi-agent reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), 2024.
  48. [48]Dongsu Lee and Minhae Kwon. Foresighted decisions for inter-vehicle interactions: An offline reinforcement learning approach. In IEEE International Conference on Intelligent Transportation Systems, 2023.
  49. [49]Michael Janner, Yilun Du, Joshua B. Tenenbaum, and Sergey Levine. Planning with diffusion for flexible behavior synthesis. In International Conference on Machine Learning (ICML), 2022.arxiv.org/abs/2205.09991
  50. [50]Philippe Hansen-Estruch, Ilya Kostrikov, Michael Janner, Jakub Grudzien Kuba, and Sergey Levine. IDQL: Implicit Q-learning as an actor-critic method with diffusion policies. arXiv preprint arXiv:2304.10573, 2023.
  51. [51]Menahem E. Yaari. The dual theory of choice under risk. Econometrica, 55(1):95–115, 1987.DOI
  52. [52]Shaun Wang. Premium calculation by transforming the layer premium density. ASTIN Bulletin, 26(1):71–92, 1996.
  53. [53]Moshe Shaked and J. George Shanthikumar. Stochastic Orders. Springer, New York, 2007.
  54. [54]Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations (ICLR), 2015.arxiv.org/abs/1412.6980
  55. [55]Dan Hendrycks and Kevin Gimpel. Gaussian error linear units (GELUs). arXiv preprint arXiv:1606.08415, 2016.
  56. [56]Guhyeon Kang, Jaehwi Lee, and Minhae Kwon. Simple actors and deep critics for scalable reinforcement learning. In ACM International Conference on Information and Knowledge Management, 2026.arxiv.org/abs/2608.26659
  57. [57]Huayu Chen, Cheng Lu, Zhengyi Wang, Hang Su, and Jun Zhu. Score regularized policy optimization through diffusion behavior. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2310.07297
  58. [58]Zihan Ding and Chi Jin. Consistency models as a rich and efficient policy class for reinforcement learning. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2309.16984
  59. [59]Ashvin Nair, Abhishek Gupta, Murtaza Dalal, and Sergey Levine. AWAC: Accelerating online reinforcement learning with offline datasets. arXiv preprint arXiv:2006.09359, 2020.arxiv.org/abs/2006.09359
  60. [60]Dongsu Lee and Minhae Kwon. Scenario-free autonomous driving with multi-task offline-to-online reinforcement learning. IEEE Transactions on Intelligent Transportation Systems, 26(9):13317–13330, 2025.DOI
  61. [61]Dongsu Lee and Minhae Kwon. Episodic future thinking with offline reinforcement learning for autonomous driving. IEEE Internet of Things Journal, 12(11):17012–17023, 2025.DOI
  62. [62]Guhyeon Kang, Jaehwi Lee, Chanin Eom, and Minhae Kwon. Offline reinforcement learning based autonomous driving on complex roads with on-ramp merging and bottleneck. Transactions of the Korean Society of Automotive Engineers, 33(6):465–479, 2025.
  63. [63]Sangeun Park, Chanin Eom, and Minhae Kwon. xLSTM-based noise-robust driving characteristic inference network for V2I systems. Transactions of the Korean Society of Automotive Engineers, 33(7):487–502, 2025.
  64. [64]Jeyeon Eo, Dongsu Lee, and Minhae Kwon. Offline reinforcement learning based uav training for disaster network recovery. Journal of Korean Institute of Communications and Information Sciences, 49(1):1–11, 2024.DOI
  65. [65]Jaehwi Lee, Chanin Eom, Chan Kim, Kyeongsoo Kim, Hyeongdo Lee, Hyunsu Kang, and Minhae Kwon. A fire support officer: Military decision support system based on reward adaptive reinforcement learning. Journal of Korean Institute of Communications and Information Sciences, 51(1):209–222, 2026.DOI
  66. [66]Jaehwi Lee, Chanin Eom, Kyeongsoo Kim, Hyunsu Kang, and Minhae Kwon. Deep reinforcement learning based weapon-target assignment to support military decision-making. Journal of Korean Institute of Communications and Information Sciences, 50(6):884–895, 2025.DOI

Paper details

vlnc:W_bc53247c
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