Skip to content
Robotics.world

Research

QF3: Fast Flow RL with Filtered Q-Gradients

Flow-based policies have become a common way to learn robot skills from demonstrations, but demonstrations alone leave the policy suboptimal, and RL is still needed to improve a pretrained policy or…

The paper’s first page · arXiv:2610.08789
arXiv
2610.08789 · Preprint · not peer-reviewed
Published
2026-10-06
Authors
Chung Min Kim, Brent Yi, David McAllister, Hongsuk Choi, Himanshu Gaurav Singh, Jinkun Cao, Ken Goldberg, Pieter Abbeel, Carmelo Sferrazza, Angjoo Kanazawa

In plain words

Flow-based policies have become a common way to learn robot skills from demonstrations, but demonstrations alone leave the policy suboptimal, and RL is still needed to improve a pretrained policy or to learn one purely through interaction.

AI summary

Overview

Research area: Robot learning — reinforcement learning for generative (flow-matching) policies, applied to humanoid locomotion and manipulation.

Technical level: Advanced. The paper assumes familiarity with off-policy actor–critic RL, replay buffers, flow/diffusion-style generative policies, and backpropagation through a policy's sampling step.

Scope (one sentence): The paper introduces QF3, an online off-policy RL algorithm that combines a flow-matching objective with a filtered critic action gradient to train flow policies either from scratch or by fine-tuning pretrained ones, and reports zero-shot humanoid sim-to-real transfer plus a 10x wall-clock speedup over an on-policy flow RL baseline.

What This Paper Is About

Flow-based policies have become a common way to learn robot skills from demonstrations, but demonstrations alone leave the policy suboptimal, and RL is still needed to improve a pretrained policy or to learn one purely through interaction. RL with flow policies is awkward, however, because the policy generates actions through an iterative sampling process, which makes it hard to inject a critic's guidance and hard to do so efficiently. QF3's goal is an off-policy algorithm that trains flow policies quickly and reliably enough to learn humanoid locomotion from scratch and to refine existing manipulation policies.

Key Contributions

  1. QF3 algorithm: An online, off-policy RL method for flow policies that trains the policy with a flow-matching loss plus the critic's action gradient, where that gradient is backpropagated through a one-step prediction of the flow's output rather than the full multi-step sampling chain.
  2. Filtered Q-gradients: A mechanism that restricts the critic gradient to only those action dimensions where the proposed action stays near the replay-buffer action, so updates are applied where both the critic and the one-step prediction are considered reliable.
  3. From-scratch humanoid locomotion with hardware transfer: The authors claim that, to their knowledge, QF3 is the first off-policy flow RL method to train humanoid locomotion policies from scratch and transfer them zero-shot to real hardware.
  4. Efficiency and fine-tuning: Paired with a high-throughput off-policy training recipe, QF3 reports a 10x wall-clock speedup over the on-policy flow RL method FPO++ when training humanoid locomotion and motion-tracking policies, and is also applied to fine-tune pretrained flow-based manipulation policies on ABC-Sim and Robomimic tasks.

Main Findings

  • Zero-shot sim-to-real locomotion: The abstract claims QF3 trains humanoid locomotion policies from scratch and transfers them to hardware without additional real-world training — described as the first off-policy flow RL method to do so, to the authors' knowledge.
  • Large wall-clock speedup: Training humanoid locomotion and motion-tracking policies with QF3 is reported as 10x faster in wall-clock time than FPO++, a recent on-policy flow RL method. The abstract does not break down how much of this comes from off-policy learning versus the high-throughput training recipe.
  • Fine-tuning works in principle on manipulation: QF3 is applied to fine-tune pretrained flow-based manipulation policies on ABC-Sim and Robomimic tasks. The abstract states that this was done but does not report success rates, improvement margins, or comparisons on those tasks.
  • Both learning modes supported: The authors conclude that QF3 can learn robot policies from scratch through interaction and also refine policies originally acquired from demonstrations. No per-task numerical results or ablations appear in the abstract.

Methodology in Plain English

Start with a policy that outputs actions through a flow model — a network that produces actions by gradually transforming noise into an action. QF3 trains this policy with two signals at once. The first is the usual flow-matching objective, which keeps the policy consistent with the actions it is supposed to produce. The second is the critic's opinion: a learned value function tells the policy which direction to push its actions to get higher expected reward, and that direction is added directly as a gradient on the action.

The complication is that a flow policy normally needs many sampling steps to produce an action, and backpropagating a critic gradient through all of them is expensive and unstable. QF3 sidesteps this by predicting the action with a single step and pushing the critic's gradient back through that one-step prediction only.

Because a critic is only accurate near the data it was trained on, and the one-step prediction is only a rough approximation of the full sampler, blindly following the critic gradient can push the policy somewhere neither component can be trusted. QF3's filter addresses this: it compares the proposed action against the action recorded in the replay buffer and applies the critic gradient only along action dimensions that remain close to that recorded action. Dimensions that would move too far are left to the flow-matching loss.

Finally, the method is off-policy, meaning it reuses experience stored in a replay buffer instead of discarding it after each update, and the authors pair it with a training setup engineered for high throughput. That combination is what underlies the reported speed advantage over an on-policy alternative.

Why This Matters

Impact on research: Flow and diffusion policies are now a default choice for imitation learning, but RL on top of them has largely been on-policy and therefore sample-hungry. Demonstrating that an off-policy method can train such policies from scratch at scale — including on a humanoid and onto real hardware — argues that generative policies need not be treated as imitation-only tools. The filtered-gradient idea is also a general recipe for safely combining an expressive generative policy with a value function, which other methods could adopt.

Real-world applications (as implied by the tasks studied):

  • Legged and humanoid robots that must learn agile locomotion skills in simulation and deploy them without real-world fine-tuning.
  • Skill refinement for manipulation robots that already have demonstration-trained policies but need higher success rates or robustness.
  • Motion tracking for animated or humanoid characters and robots, where the reported speedup shortens iteration cycles.
  • Fast policy iteration in simulation-heavy development pipelines, where wall-clock training time is the limiting factor.

Industry relevance: Wall-clock training cost and sim-to-real reliability are the two practical barriers to using RL on generative policies in production robotics. A 10x speedup and a demonstrated zero-shot transfer path matter to teams that need to retrain policies frequently or deploy on hardware without a real-world training phase.

Future Directions

  • Quantifying the filter: how sensitive are results to the threshold that decides whether an action dimension stays "near" the replay action, and what happens at the extremes of no filtering versus heavy filtering? The abstract gives no ablation on this.
  • Separating the speedup's sources: how much of the 10x gain comes from off-policy learning versus the high-throughput training recipe, and does the advantage grow or shrink on longer or harder tasks?
  • Extending beyond the tasks shown: the abstract covers humanoid locomotion, motion tracking, and manipulation fine-tuning on ABC-Sim and Robomimic; whether the method scales to contact-rich manipulation or multi-task settings is left open.
  • Comparing against the broader space of RL methods for generative policies — beyond the single on-policy baseline named — and characterizing when fine-tuning a pretrained policy is preferable to learning from scratch.

Target Audience

RL and robot-learning researchers working on generative policies, especially those interested in off-policy actor–critic methods and in making diffusion/flow policies trainable with reinforcement learning. It is also relevant to practitioners working on humanoid locomotion and sim-to-real transfer, and to engineers who need to fine-tune demonstration-trained manipulation policies. Readers without a background in off-policy RL or flow models will find the method sections demanding.

Authors’ abstract

Flow policies have become a standard policy class for learning robot behaviors from demonstrations, but reinforcement learning is still critical for improving pre-trained flow policies or learning them from scratch through interaction. We introduce QF3 (Fast Flow RL with Filtered Q-Gradients), an online off-policy RL algorithm that trains a flow policy with flow matching plus the critic's action gradient, backpropagated through a one-step prediction of the flow's output. To…

The full abstract on arXiv
Read the original paper

Related papers