Aligning Flow Map Policies with Optimal $Q$-Guidance

Christos Ziakas, Alessandra Russo, Joey BoseNeurIPS 2026

TL;DR

Diffusion and flow-matching models make phenomenal robotic controllers, except for one glaring issue: generating a single action requires slowly integrating a differential equation, creating severe latency bottlenecks. This paper introduces Flow Map Policies that leap from pure noise to complex actions in a single step, alongside Flow Map $Q$-Guidance (FMQ)—a closed-form mathematical update that rapidly fine-tunes these fast policies online without losing their prior knowledge. Together, they deliver state-of-the-art robotic control at a fraction of the computational cost and nearly 3× the training speed.

What Problem Does This Paper Address?

Imagine teaching a robot to navigate around an obstacle. It could go left, or it could go right—both are valid. Standard reinforcement learning (RL) actors use unimodal Gaussian distributions, which tend to average those two choices and steer the robot straight into the wall.

Generative models like flow matching solve this by sculpting simple random noise into rich, multi-modal action distributions via an ordinary differential equation (ODE). This expressivity is ideal for offline-to-online RL, where a policy pre-trains on a static dataset of behaviors and then fine-tunes via real-world interaction.

Here is the catch: numerically integrating an ODE takes many sequential neural network evaluations for every single environment step. Recent "one-step" generative policies bypass this latency, but struggle during online fine-tuning. To find better actions without a curated dataset, they typically rely on a brute-force "best-of-$N$" heuristic during training—generating dozens of candidate actions, scoring them with a critic ($Q$-network), and imitating the winner. This eats away at the computational savings of a one-step model and offers no guarantee of finding the locally optimal improvement.

Methods

The authors tackle both the speed of action generation and the math of online adaptation through three core contributions:

  • Flow Map Policies (Unifying One-Step Generation): Instead of learning an instantaneous velocity field and integrating tiny steps from time $t=0$ (noise) to $t=1$ (action), the actor learns a flow map—an operator that computes the average velocity between any two points in time $(r, t)$. Trained offline using physics-informed self-distillation losses (Eulerian, Lagrangian, or Progressive), this allows the network to take arbitrary-sized jumps along the ODE trajectory—including a single-step leap $(0 \to 1)$ from noise to action.
  • Flow Map $Q$-Guidance / FMQ (Online Fine-Tuning): During online RL, how do you improve the policy without straying so far from the offline behavior that the robot forgets how to function? The authors frame this as a trust-region optimization problem: find an action perturbation within a safe radius $\eta$ that maximizes the critic's $Q$-value. By taking a first-order (linear) approximation of the critic, they derive a clean, closed-form target. Instead of backpropagating through time or sampling $N$ guesses during training, the actor simply regresses toward the frozen offline policy's output nudged along the normalized action-gradient of the critic ($\nabla_a Q$). Furthermore, they make the trust-region radius $\eta_{\text{eff}}$ adaptive: when the twin-critic ensemble disagrees on an action's value (high epistemic uncertainty), the step size automatically shrinks.
  • $Q$-Guided Beam Search / QGBS (Inference-Time Refinement): Because a deterministic map from initial noise can still get unlucky with a bad starting draw, the authors introduce an optional test-time search. QGBS takes candidate actions, corrupts them back to an intermediate noisy state $t'$ ("renoising"), jumps back to $t=1$ via the flow map to explore nearby action modes, applies the trust-region $Q$-nudge, and prunes candidates via beam search.

Datasets

No new benchmarks are introduced; the authors evaluate on 12 continuous-control tasks across two established suites using standard offline-to-online protocols (1M offline steps followed by 1M online steps):

  • RoboMimic: 2 manipulation tasks (can, square) pre-trained on multi-human demonstration datasets with dense rewards.
  • OGBench: 6 manipulation tasks (cube-double, cube-triple, scene variants) using dense rewards, and 4 sparse-reward locomotion tasks (humanoidmaze-medium and antmaze-giant variants), pre-trained on noisy-expert ("play-style" and "navigate") datasets.

Key Insights and Ideas

  • Analytical gradients beat "generate-and-select" in training: Replacing best-of-$N$ actor targets with a linearized Cauchy step ($\nabla_a Q / \|\nabla_a Q\|$) gives the policy a direct compass heading toward higher reward at zero extra wall-clock cost per step.
  • Mean-flow policies are just a special case: Prior one-step RL methods based on "mean velocity" turn out to be a specific instantiation of the Eulerian self-distillation objective within the broader mathematics of flow maps.
  • Renoising beats raw oversampling at test time: In ablations, running QGBS with just 20 function evaluations outperforms standard best-of-32 sampling—showing that iteratively diversifying promising actions via renoising is more compute-efficient than blindly drawing more initial noise samples.

Key Results

Across all 12 tasks, FMQ establishes a new state of the art for one-step policies:

  • Higher Success Rates: FMQ achieves an Interquartile Mean (IQM) success rate of 0.91, outperforming the reproduced prior one-step SOTA (MVP, 0.75) by 21.3% relatively, and even beating the 10-step flow-matching baseline (QC, 0.86) while using 10× fewer generation steps. Adding QGBS pushes IQM to 0.93 (and boosts MVP from 0.75 to 0.81).
Table 1: Success rate (mean ± std over 5 seeds, 50 episodes). Best per row in bold, second best underlined. Aggregate performance is measured by the IQM scores with 95% CIs.
  • Dramatic Sample & Wall-Clock Efficiency: During the online phase, FMQ reaches MVP's peak performance 2.77× faster on average (up to 6.14× faster on hmaze-med-t3), with virtually identical single-action inference latency (~0.23 ms) and 1.54× less total training wall-clock time than multi-step QC.
Figure 2: Training curves on 6 environments. Average success rate at every 100K during 1M offline followed by 1M online steps over 5 seeds. Shaded regions indicate 95% CIs.
Figure 3: Convergence speedup of FMQ com- pared to MVP at success targets (ξ), with 95% CIs.

Limitations and Future Work

Because FMQ relies on a first-order Taylor expansion of the critic, its theoretical improvement guarantees depend on the critic being locally smooth and having accurate gradients. While the uncertainty-aware radius $\eta_{\text{eff}}$ acts as a practical seatbelt, twin-critic disagreement is only a heuristic surrogate for true reliability. When the critic's gradients are noisy—such as in sparse-reward locomotion tasks like hmaze-med-t3 and amaze-gnt-t4—leaning harder on the critic at test time via QGBS actually degrades performance (by 15.9% and 3.8%, respectively). The authors point to curvature-aware (second-order) updates, stronger epistemic uncertainty estimation, and deployment on physical robots as key next steps.

Summary updated

Abstract

Generative policies based on expressive model classes, such as diffusion and flow matching, are well-suited to complex control problems with highly multimodal action distributions. Their expressivity, however, comes at a significant inference cost: generating each action typically requires simulating many steps of the generative process, compounding latency across sequential decision-making rollouts. We introduce flow map policies, a novel class of generative policies designed for fast action generation by learning to take arbitrary-size jumps---including one-step jumps---across the generative dynamics of existing flow-based policies. We instantiate flow map policies for offline-to-online reinforcement learning and formulate online adaptation as a trust-region optimization problem that improves the critic's $Q$-value while remaining close to the offline policy. We theoretically derive Flow Map $Q$-Guidance Training (FMQ), a principled closed-form learning target that is optimal for adapting offline flow map policies under a critic-guided trust-region constraint. We further introduce $Q$-Guided Beam Search (QGBS), a stochastic flow-map sampler that combines renoising with beam search to enable iterative inference-time refinement. Across $12$ challenging robotic manipulation and locomotion tasks from OGBench and RoboMimic, FMQ achieves state-of-the-art performance in offline-to-online RL, outperforming the previous one-step policy MVP by a relative improvement of $21.3$% on the average success rate.
BibTeX
@inproceedings{ziakas2026aligning,
  author = {Christos Ziakas and Alessandra Russo and Joey Bose},
  title = {{Aligning Flow Map Policies with Optimal $Q$-Guidance}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=qXke3MFbyG},
}
Figure