Manuscript Offprint

arXiv:2610.07899

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

Guhyeon Kang, Minhae Kwon

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 Q-value alone is insufficient for identifying reliable actions. We propose VAN-Flow (Variance-Averse n-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. 2^{2}

1 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

∗^{*}Corresponding author

2^{2}Code: https://github.com/9hyeon1225/van

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

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 Q-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 n-step learning. While n-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 n-step setting, exposing the very vulnerability of generative actors discussed above. In contrast, our reliability-driven n-step training preserves performance with only marginal degradation.

We instantiate these ideas in VAN-Flow (Variance-Averse n-step Flow), which inte-

Figure

(a) navigate (low-variance)

(b) explore (high-variance)

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.

grates: (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 Q-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 n-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 n-step learning under heterogeneous data.

References (64)

  • Diffusion policies as an expressive policy class for offline reinforcement learning
  • Diffusion policy: Visuomotor policy learning via action diffusion
  • Flow Q-learning
  • Reinforcement learning with action chunking
  • The impact of dataset on offline reinforcement learning performance in uav-based emergency network recovery tasks
  • AD4RL: Autonomous driving benchmarks for offline reinforcement learning with value-based dataset
  • Selective imitation for efficient online reinforcement learning with pre-collected data
  • A distributional perspective on reinforcement learning
  • Distributional reinforcement learning with quantile regression
  • Implicit quantile networks for distributional reinforcement learning
  • Bias-variance error bounds for temporal difference updates
  • Horizon reduction makes RL scalable
  • Eligibility traces for off-policy policy evaluation
  • Reinforcement Learning: An Introduction
  • Nearly horizon-free offline reinforcement learning
  • Survey on practical reinforcement learning: from imitation learning to offline reinforcement learning
  • Model-based offline reinforcement learning with lower expectile Q-learning
  • Offline reinforcement learning at multiple frequencies
  • Deep generative models for offline policy learning: Tutorial, survey, and perspectives on future directions
  • Energy-weighted flow matching for offline reinforcement learning
  • Efficient diffusion policies for offline reinforcement learning
  • Offline reinforcement learning via high-fidelity generative behavior modeling
  • Monte Carlo Statistical Methods
  • Diffusion policies for out-of-distribution generalization in offline reinforcement learning
  • Continuous control with deep reinforcement learning
  • Off-policy deep reinforcement learning without exploration
  • Conservative Q-learning for offline reinforcement learning
  • Addressing function approximation error in actor-critic methods
  • Deep reinforcement learning with double Q-learning
  • Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor
  • D4RL: Datasets for deep data-driven reinforcement learning (opens arXiv in a new tab)
  • CORL: Research-oriented deep offline reinforcement learning library
  • D5RL: Diverse datasets for data-driven deep reinforcement learning
  • OGBench: Benchmarking offline goal-conditioned RL. In International Conference on Learning Representations (ICLR), 2025
  • Offline reinforcement learning with implicit Q-learning
  • Revisiting the minimalist approach to offline reinforcement learning
  • HIQL: Offline goal-conditioned RL with latent states as actions
  • Safe and efficient off-policy reinforcement learning
  • Revisiting Peng's Q( $\lambda$) for modern reinforcement learning
  • Deadly triad matters for offline reinforcement learning
  • Policy agnostic RL: Offline RL and online RL fine-tuning of any class and backbone (opens arXiv in a new tab)
  • Distributed distributional deterministic policy gradients
  • A minimalist approach to offline reinforcement learning
  • Averaging n-step returns reduces variance in reinforcement learning
  • Decoupled Q-chunking
  • Temporal distance-aware transition augmentation for offline model-based reinforcement learning
  • Episodic future thinking mechanism for multi-agent reinforcement learning
  • Foresighted decisions for inter-vehicle interactions: An offline reinforcement learning approach
  • Planning with diffusion for flexible behavior synthesis
  • IDQL: Implicit Q-learning as an actor-critic method with diffusion policies (opens arXiv in a new tab)
  • Stochastic Orders
  • Adam: A method for stochastic optimization
  • Gaussian Error Linear Units (GELUs)
  • Simple actors and deep critics for scalable reinforcement learning
  • Score regularized policy optimization through diffusion behavior
  • Consistency models as a rich and efficient policy class for reinforcement learning
  • AWAC: Accelerating online reinforcement learning with offline datasets (opens arXiv in a new tab)
  • Scenario-free autonomous driving with multi-task offline-to-online reinforcement learning
  • Episodic future thinking with offline reinforcement learning for autonomous driving
  • Offline reinforcement learning based autonomous driving on complex roads with on-ramp merging and bottleneck
  • xLSTM-based noise-robust driving characteristic inference network for V2I systems
  • Offline reinforcement learning based uav training for disaster network recovery
  • Ai fire support officer: Military decision support system based on reward adaptive reinforcement learning
  • Deep reinforcement learning based weapon-target assignment to support military decision-making