Manuscript Offprint

arXiv:2610.08789

QF3: Fast Flow RL with Filtered Q-Gradients

Chung Min Kim, Brent Yi, David McAllister, Hongsuk Choi, Himanshu Gaurav Singh, Jinkun Cao, Ken Goldberg, Pieter Abbeel, Carmelo Sferrazza, Angjoo Kanazawa

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

Chung Min Kim1,2^{1,2}, Brent Yi1,2^{1,2}, David McAllister1,2^{1,2}, Hongsuk Choi1,2^{1,2}, Himanshu Gaurav Singh1^{1}, Jinkun Cao2^{2}, Ken Goldberg1^{1}, Pieter Abbeel1,2^{1,2}, Carmelo Sferrazza2†^{2\dagger}, Angjoo Kanazawa1,2†^{1,2\dagger}

Figure

Figure 1: QF3 is an off-policy RL algorithm for training flow policies online, either from scratch or starting from pretrained policies. Left: A Unitree G1 humanoid tracking a ~3 minute dynamic dance motion with a whole-body motion-tracking policy trained from scratch in simulation with QF3 and deployed zero-shot on hardware. Training is an order of magnitude faster in wall-clock time than recent on-policy flow baselines. Right: QF3 improves manipulation performance by fine-tuning flow policies online in simulation (Robomimic tool hang and transport; ABC-sim gathering bottles, loading a dishrack).

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 keep updates where the critic and this prediction are reliable, QF3 applies the critic gradient only to action dimensions that stay near the replay action. To our knowledge, QF3 is the first off-policy flow RL method to train humanoid locomotion policies from scratch and transfer them zero-shot to hardware. Paired with a high-throughput off-policy training recipe, it trains humanoid locomotion and motion-tracking policies with a 10×10\times wall-clock speedup over FPO++, a recent on-policy flow RL method. We further apply QF3 to fine-tune pretrained flow-based manipulation policies on both ABC-Sim and Robomimic tasks. These results suggest that QF3 can both learn robot policies from scratch and refine those acquired from demonstrations. Website: https://qf3-rl.github.io/.

1 Introduction

Flow and diffusion policies are widely used in robot learning. They are the dominant approach for learning manipulation skills from demonstrations, including in large pretrained robot policies [1–5], and are increasingly adopted for locomotion and whole-body control [6, 7].

1^{1}UC Berkeley 2^{2}Amazon FAR †^{\dagger}FAR Team Co-lead Work done as an intern at Amazon FAR

Training flow policies by imitation alone is often insufficient: for some tasks, expert trajectories may be unavailable and the policy must learn from scratch through rewards; for others, a pretrained policy provides an initial behavior that can be improved through interaction, e.g., to complete a task more reliably or quickly. Settings like these have motivated a growing body of reinforcement-learning methods for flow policies, including both policy-gradient and value-based approaches [8–12], both for learning from scratch [8–11, 13] and for fine-tuning pretrained policies [12, 14, 15].

Off-policy learning is particularly attractive for robotics: not only can it reduce the need for additional interactions by reusing collected experience, but it can also support fast wall-clock training when combined with parallel simulation and large-batch updates [16]. TD3-style actors follow the critic’s action gradient ∇aQ\nabla_{a}Q, which gives a per-dimension direction of improvement for each action. For a flow policy, however, this means backpropagating through every step of the sampler, which is costly and can be unstable [17–20]. Existing methods for off-policy flow RL therefore either pay this cost and differentiate through the sampler [11, 17–19], freeze the flow and train a residual or noise policy on top [7, 14, 21], or use the critic only through its values or as regression targets [10, 13, 15, 22].

We introduce QF3, Fast, Filtered Q-learning for Flow policies, a general online off-policy RL algorithm for flow policies. In contrast to approaches that trains a residual policy [7, 14, 23] or modify the sampling inputs of a fixed pretrained flow [21, 24], QF3 directly trains a flow policy, even from scratch, in a stable and sample efficient manner. It is designed to drop into existing TD3-style off-policy training recipes, enabling efficient training in large-scale parallel simulation. Its actor objective is simple: it combines standard flow matching with Q-maximization through a one-step prediction of the final action, and can be evaluated directly on replay samples, without integrating or differentiating through the flow ODE.

Concretely, QF3 backpropagates a Q maximization objective through the learned velocity field, while stabilizing updates by clipping Q-induced velocity corrections around the replay-conditioned flow target. This forms a replay-local trust region: velocity coordinates whose Q-induced correction would move too far from the replay-conditioned flow target receive no critic gradient. Q-maximization therefore stays near replay actions, where the critic has been trained and the one-step prediction is accurate.

We evaluate QF3’s effectiveness both for training flow policies from scratch and for finetuning pretrained policies, on humanoid locomotion and manipulation respectively. Our contributions are as follows:

  1. Algorithm and analysis. We introduce QF3, a simple off-policy actor update for flow policies, and provide an analysis of how its velocity clip filters critic-driven updates for stable off-policy learning (Sec. 3, 4). On MuJoCo, results suggest that QF3, with just a single clipped-gradient update and no sampler backpropagation, performs competitively with recent off-policy flow RL methods (Sec. 4.2).

  2. Scaling to high-dimensional, dynamic control from scratch. We evaluate QF3 on velocity- and motion-tracking for the 29-DoF Unitree G1, training from scratch in simulation and deploying zero-shot on hardware; to our knowledge, this is the first off-policy flow RL method shown to do so. Our results show wall-clock training times close to FastTD3 and an order of magnitude below FPO++, an on-policy flow RL method (Sec. 5.1).

  3. Manipulation fine-tuning. We apply QF3 to fine-tune pretrained flow policies in ABC-Sim [25] and Robomimic [26]. In ABC-Sim, we fine-tune the flow action head of the ABC-VLA policy with LoRA on two bimanual tasks; on gathering bottles into a bin, the fine-tuned policy completes episodes 22% faster than the base policy, and its success rate rises from 91% to 95% (Sec. 5.2). On three Robomimic tasks, where we fine-tune the full policy, results show QF3 performing similarly or better compared to OGPO [15](Sec. 5.2).

References (62)