Learning Multimodal One-step Flow Policy via Value-weighted Optimal Transport

Jaehun Shon, Jinha Choi, Jongwook Jeon, Jongmin LeeNeurIPS 2026

TL;DR

Imagine teaching a robot to navigate around an obstacle using only recorded videos of people walking both left and right. Standard fast-acting policies often average the two choices and crash right into the middle, or hallucinate wild, untested maneuvers. OptiFlow uses the mathematics of optimal transport to compress a rich, multi-step generative model into a lightning-fast, single-step policy—preserving multiple valid strategies while strictly sticking to safe, high-reward behaviors.

What Problem Does This Paper Address?

In offline reinforcement learning (RL), agents learn to make decisions strictly from fixed, pre-collected datasets without ever interacting with the live environment—crucial when real-world trial-and-error is dangerous or expensive.

Offline datasets present two major headaches:

  1. Distribution shift: If a policy tries an action not seen in the dataset ("out-of-distribution" or OOD), its internal value estimator (the critic) can wildly overestimate how good that action is, leading the policy off a cliff.
  2. Multimodality: For a single state, multiple distinct actions might be equally great (e.g., going left or right around a table). Standard Gaussian policies average these modes into a suboptimal compromise.

Generative flow policies (cousins of diffusion models that map random noise to actions via differential equations) naturally capture multimodal behaviors. However, integrating these flows takes multiple iterative steps, which is too slow for real-time robotics. Compressing ("distilling") them into a fast one-step policy usually fails: matching noise-to-action pairs one-by-one causes mode collapse, while directly maximizing the critic's score pulls the policy into dangerous OOD territory.

Figure 2: Bandit multimodal diagnostic. A bimodal Reward landscape illustrating two high- value modes and a suboptimal region. The figure evaluates whether different methods preserve multimodality, avoid suboptimal assignments, and remain within behavior support. The experimental setup is detailed in Appendix D

Methods

The authors reframe one-step policy distillation as a structured sample-allocation problem using Optimal Transport (OT)—the mathematical framework for finding the most economical way to move a pile of dirt into a new shape.

Figure 1: Overview of OptiFlow. OptiFlow learns a critic and a reference flow policy from offline data, then couples reference and one-step policy action samples with entropic optimal transport. Critic values define a reference marginal over reference actions, and the resulting transport plan provides structured distillation targets for the one-step policy.

OptiFlow operates in four stages:

  1. Standard Critic Learning: Train a Q-function on the offline dataset to estimate action values.
  2. Reference Flow Policy: Train a slow, multi-step flow policy using existing Value-aware Behavior Cloning (VaBC). This acts as a safe "proposal distribution" anchored in the dataset's high-value regions.
  3. Value-Weighted Optimal Transport (Novel): For a given state, sample $N=16$ actions from the fast one-step policy and $M=64$ candidate actions from the reference policy. OptiFlow couples them using entropic OT (solved via the GPU-friendly Sinkhorn algorithm) with asymmetric marginals:
  4. One-step side: Uniform weights, ensuring all input noise is used equally.
  5. Reference side: Softmax-weighted by the critic's Q-values, forcing high-reward actions to attract most of the probability mass.
  6. Transport cost: Purely geometric (Euclidean distance between actions).
  7. Transport-Guided Distillation (Novel): Each one-step sample is paired with the single reference action that received its highest transport mass, and the one-step network is updated via regression to match it.

Datasets

No new benchmarks are introduced. The authors evaluate OptiFlow on synthetic multimodal diagnostics (2D bandits and a 4-goal MDP) alongside two established offline RL suites:

  • OGBench: Single-task state-based and pixel-based (visual) navigation and robotic manipulation tasks (e.g., Cube-Double, Puzzle-4x4, AntSoccer), known for complex, multimodal action distributions.
  • D4RL: Classic sparse-reward navigation (AntMaze) and dexterous hand manipulation (Adroit) benchmarks.

Key Insights and Ideas

  • Decoupling value from geometry: A tempting alternative is to bake critic Q-values directly into the OT cost matrix while keeping marginals uniform. The authors show this fails because uniform marginals force every sampled reference action—even terrible ones—to receive equal supervision mass. Putting Q-values in the target marginal naturally starved low-value actions of mass while letting Euclidean distance cleanly handle spatial routing.
  • Improving policies without critic gradients: Usually, RL actors improve by following gradients directly through the critic ($\nabla_a Q(s,a)$), which easily exploits OOD flaws in the critic network. OptiFlow never takes critic gradients for the deployed policy; the critic only weights safe, in-distribution candidates proposed by the reference model.
  • Immunity to dataset imbalance: In a four-goal diagnostic where optimal paths were heavily underrepresented in the dataset, OptiFlow still recovered balanced coverage across all four optimal modes without sacrificing return.
Four-mode environment showing balanced mode coverage

Key Results

OptiFlow outperforms conventional offline RL methods (IQL, ReBRAC) and leading generative baselines (IDQL, FQL, GFP) across most benchmarks:

  • State-based OGBench: Achieves the highest overall average score of 48.3 (vs. 45.6 for GFP and 39.0 for FQL). Gains are sharpest in manipulation tasks (44.5 average vs. 40.8 for GFP), such as Puzzle-4x4 (32.1 vs. 25.8).
  • Visual OGBench: Reaches an overall average of 75.9, substantially ahead of FQL (65.4) and GFP (57.7)—notably jumping from 21.0 (FQL) to 66.7 on Visual-Cube-Double.
  • D4RL: Sets the top average on AntMaze (86.6 vs. 82.6 for GFP) and remains competitive on Adroit (50.5, close to GFP's 52.1 and ReBRAC's 58.6).

Limitations and Future Work

  • Training-time compute overhead: While inference is fast (a single network pass), training OptiFlow is heavier than standard flow policies. Every training batch requires sampling 64 multi-step reference actions per state and running 30 iterations of the Sinkhorn algorithm—though these matrix operations parallelize well on modern GPUs.
  • Broader directions: Rather than proposing specific engineering extensions, the authors highlight a broader conceptual avenue: using critics to shape structured supervision distributions rather than relying on direct gradient maximization in generative RL.

Summary updated

Abstract

Offline reinforcement learning aims to learn a policy solely from fixed datasets, which often contain multimodal action distributions. Flow policies can naturally represent such multimodal behaviors, but learning an efficient one-step flow policy remains challenging: standard value guidance often leads to mode collapse or exploits overestimation bias in out-of-distribution regions. To address this, we introduce \textbf{One-step Flow policy via Optimal Transport (OptiFlow)}, a framework for one-step flow policy learning as a structured sample-allocation problem. OptiFlow jointly trains a value-aware reference flow policy and an efficient one-step policy, coupling their action samples through state-wise entropic optimal transport. For each state, critic-estimated values define the priority of distillation target actions, while the action-distance cost ensures geometrically compatible pairings. By avoiding direct critic maximization, our transport-guided approach enables in-distribution exploitation by anchoring the one-step policy to high-value, dataset-supported modes without the risk of out-of-distribution divergence. Experimental results demonstrate that OptiFlow effectively captures optimal multimodal behaviors and achieves strong performance across diverse offline RL benchmarks. Our code is available at https://github.com/Yonsei-DILLab/OptiFlow.
BibTeX
@inproceedings{shon2026learning,
  author = {Jaehun Shon and Jinha Choi and Jongwook Jeon and Jongmin Lee},
  title = {{Learning Multimodal One-step Flow Policy via Value-weighted Optimal Transport}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=BUSZPZw3yp},
}
Figure