arXiv:2610.29075cs.LGOct 2026

Manuscript Offprint

arXiv:2610.29075

Value-Rectified Distillation for Flow-based Offline Reinforcement Learning

Ke Jiang, Wen Jiang, Yoshinobu Kawahara, Xiaoyang Tan

Abstract

We aim to address the problem of Out-of-Distribution (OOD) Mode Averaging, a critical problem that emerges when distilling Flow Matching (FM) based behavior policies in offline Reinforcement Learning (RL): When learning over multi-modal datasets, standard distillation inadvertently forces the policy to interpolate across different behavioral modes, causing the generated actions to collapse into invalid, OOD regions. To resolve this, we propose Value-Rectified Distillation (VRD), a novel framework that reformulates offline policy distillation as a value-guided generative trajectory alignment problem. By employing a dynamic coupling mechanism, VRD actively rectifies flow dynamics to explicitly decouple distinct behavioral modes, cleanly isolating high-value actions. Specifically, we instantiate VRD through two complementary algorithms: VRD-Q, which utilizes value-quantile behavior distillation to statistically filter out low-value behaviors, and VRD-R, which reorganizes the latent space to geometrically isolate high-value generative trajectories from the FM-based behavior policy. Extensive empirical evaluations demonstrate that VRD improves existing generative baselines across diverse continuous control and planning tasks on the D4RL, OGBench, and Minari benchmarks, especially over those multi-modal, non-expert datasets.

1 Introduction

Offline Reinforcement Learning (RL) aims to derive a high-capacity policy from a fixed, pre-collected dataset without further environment interaction [16, 15], which is particularly vital for the applications where online exploration is costly or hazardous. Recently, generative models, particularly Flow Matching (FM) [18], have emerged as a powerful alternative to traditional Diffusion-based methods [9, 2, 5], where FM-based policies, such as Flow Q-Learning (FQL) [21], offer significant advantages in modeling complex, multi-modal behavior distributions while circumventing the training instabilities typically associated with backpropagating through ODE solvers.

Despite their empirical promise, we identify a fundamental pathology in how current flow-based RL frameworks distill high-value actions from multi-modal behavior policies. Specifically, when learning from multi-modal data, our analysis reveals that Flow Matching networks inherently suffer from Latent Fusion: the topological entanglement between the generative trajectories of optimal and sub-optimal behavioral modes, caused by the vector field's training dynamics, as is shown in Figure 1 (left). In previous works, like FQL [21], it first pre-trains a behavior flow policy to capture the full multi-modal behavior distribution [4] from the dataset, and subsequently applies Q-value guidance to distill the optimal policy. However, because such distillation operates on a continuous

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

Figure

Figure 1: Problem of Latent Fusion (left) and the OOD Mode Averaging problem caused by FQL-style behavior distillation (right).

vector field where trajectories are already topologically entangled by the MLE pre-training, the Q-guided objective, as is shown in Figure 1 (right), inadvertently forces the sampled actions to linearly interpolate across distinct modes during inference, which triggers the OOD Mode Averaging disaster, where it is risky for the generated actions to collapse into low-density regions of the state-action manifold, ultimately causing performance degradation. Although recent approaches like Guided Flow Policy (GFP) [24] incorporate reward information to amplify optimal behavior modes in FM-based behavior policy, their FQL-style distillation mechanism still suffers from OOD Mode Averaging.

To address this issue, our core insight is that during the distillation phase, policy refinement must go beyond simply cloning from FM-based behavior policy; rather, it inherently requires rectifying the flow dynamics to explicitly decouple distinct behavioral modes along the data manifold. Therefore, we introduce Value-Rectified Distillation (VRD), a novel framework that reformulates offline policy distillation as a value-guided trajectory alignment problem, of which the core lies in a dynamic coupling mechanism that precisely modulates the flow dynamics to explicitly decouple and exclude sub-optimal behavioral modes, ensuring that the generated actions are confined to the optimal action manifold during inference.

To instantiate this unified framework, we derive two distinct algorithms from complementary mathematical perspectives: VRD-Q (Statistical Rectification): this variant performs in-place vector field alignment by employing asymmetric weight modulation based on value quantiles, which statistically filters sub-optimal regions without altering the underlying flow topology. VRD-R (Geometric Rectification): this variant actively reshapes the flow's topology, which constructs a value-gravity field that transports the generative trajectories toward a highly compact optimal support set, geometrically isolating them from sub-optimal modes.

In summary, our primary contributions include: 1) Tracing OOD Mode Averaging: We theoretically trace the root cause of the OOD Mode Averaging problem in FQL-style distillation mechanism, revealing how its distillation objective interacts with latent fusion to generate invalid OOD actions on multi-modal data. 2) The VRD Framework: We propose Value-Rectified Distillation (VRD) with two implementations VRD-Q and VRD-R, reformulating offline policy distillation as a value-guided trajectory alignment problem to safely extract high-value policies without mode averaging. 3) Empirical Validation: Extensive evaluations demonstrate that VRD-Q and VRD-R effectively mitigate this OOD issue, outperforming or performing competitively with existing generative baselines across various continuous control and planning tasks.

References (23)