FlowDPG: Deterministic Policy Gradient on Flow Matching Policies for Real-World Manipulation

Kexin Shi, Junyao Shi, Poorvi Hebbar, Zhuolun Zhao, Tarun Amarnath, Yifan Su, Shikhar Bahl, Deepak PathakarXiv 2026

TL;DR

FlowDPG introduces a stable, computationally efficient framework for applying deterministic policy gradients to flow matching policies in robotics without the need for backpropagation through time (BPTT). By distilling critic gradients directly into the velocity field, it enables robust reinforcement learning fine-tuning, achieving a 92% success rate on a complex, real-world dual-arm AirPods assembly task.

What Problem Does This Paper Address?

Imitation learning (IL) has allowed robots to learn impressive manipulation skills from human demonstrations. However, IL policies struggle with long-horizon, contact-rich tasks because small errors compound over time, leading to catastrophic failures in unseen environments.

Reinforcement learning (RL) fine-tuning allows robots to learn from their own mistakes and adapt. Unfortunately, modern state-of-the-art manipulation policies often use generative action heads, such as flow matching and diffusion models, which generate actions through a multi-step denoising Ordinary Differential Equation (ODE). Applying standard actor-critic RL methods (like DDPG) to these architectures requires backpropagating the critic gradient through the entire multi-step ODE chain. This process—Backpropagation Through Time (BPTT)—is computationally expensive and numerically fragile, frequently causing exploding or vanishing gradients. As a result, combining expressive flow policies with value-driven RL has remained a major open challenge.

Methods

FlowDPG resolves the BPTT bottleneck by leveraging a unique property of flow matching parameterization: a clean action ($\hat{a}$) can be estimated from any intermediate noisy action ($x_t$) using a single forward pass of the velocity predictor.

Classical Flow Matching vs FlowDPG

The core pipeline consists of the following components:

  • BPTT-Free Distillation: Instead of backpropagating through the entire ODE solver, FlowDPG evaluates the critic gradient at the projected clean action $\hat{a}$. It then combines this gradient with the demonstration-driven velocity to form a value-improved target action ($a^*$), which is distilled back into the velocity field via simple $L_2$ regression.
  • Adaptive Shift: The magnitude of the critic gradient can vary wildly. FlowDPG stabilizes training by normalizing the gradient step relative to the local velocity scale.
  • Consistency Regularizer: To ensure the single-step action projection ($\hat{a}$) remains accurate and on the clean-action manifold, the authors introduce a consistency loss ($\mathcal{L}_{cons}$) that penalizes velocity errors, particularly at early timesteps.
  • Value Estimation: For stable value learning, the framework utilizes Implicit Q-Learning (IQL) with twin critics to eliminate extrapolation errors from out-of-distribution actions, paired with a stage-aware reward predictor (SARM) for dense reward shaping.
Figure 2: Offline-to-online pipeline of FlowDPG. Offline stage (left): a shared visual backbone feeds a frozen reward predictor, a critic, and a flow matching actor; the FlowDPG block combines the actor output a with the critic gradient ∇aQ(s, a) into a value-improved target a∗that is distilled back into the actor. Online stage (right): the actor is rolled out on the real-world dual-arm setup, and the critic and actor are asynchronously updated from a replay buffer mixing demonstrations with fresh rollouts.

Datasets

The method was validated on a highly challenging, long-horizon dual-arm AirPods assembly task designed by the authors. The task requires two Franka robotic arms to execute 8 sequential sub-stages end-to-end from raw visual observations:

  1. Grasp Case
  2. Open Case
  3. Grasp R Pod
  4. Insert R Pod
  5. Grasp L Pod
  6. Insert L Pod
  7. Close Case
  8. Place Case

The dataset consists of teleoperated human demonstrations collected using the GELLO framework. The case and pods are initialized at randomized poses, demanding millimeter-level precision and bimanual dexterity during the insertion stages.

Figure 1: The long-horizon, contact-rich, dual-arm AirPods assembly task used throughout this paper. The task decomposes into 8 sequential sub-stages, alternating between the two arms to grasp, open, insert, close, and place, and demands millimeter-level precision and bimanual dexterity at the insertion stage. The case and pods are initialized at randomized poses within the workspace, and a single policy must execute all 8 stages end-to-end from raw observations, without stage-level resets or hand-engineered switching.

Key Insights and Ideas

  • Bypassing the ODE Chain: The defining "aha" moment is that flow matching allows you to "jump" straight to an estimated final action from any point in the trajectory. This collapses the sensitivity matrix to the identity, completely eliminating the need for BPTT.
  • Complementary Vector Composition: FlowDPG elegantly balances feasibility and optimization. The update direction is a blend of two vectors: the demonstration velocity (which keeps the robot's behavior safe and realistic) and the critic correction (which nudges the robot toward higher-reward behaviors).
  • The Necessity of Consistency: Generative policies can easily drift off-manifold during RL updates. The consistency regularizer ensures that the critic is never queried on physically impossible or highly out-of-distribution actions, which would otherwise provide corrupted gradient signals.

Key Results

  • State-of-the-Art Success Rates: FlowDPG achieved a 92% end-to-end success rate on the real-world AirPods assembly task, outperforming the Behavior Cloning (BC) baseline (64%) and outclassing recent advanced RL baselines like QAM (80%) and RLT (80%).
  • Robustness to Physical Disturbances: Online RL fine-tuning drastically improved the robot's resilience against unexpected real-world disruptions. When the environment was perturbed mid-execution (e.g., reshuffling the tray contents), the online-tuned policy achieved an 88% recovery rate, an 18% improvement over the offline-only policy.

Limitations and Future Work

  • Average-Case Consistency: The consistency regularizer minimizes projection errors on average, meaning a small number of states may still suffer from unreliable critic gradients that the system cannot currently detect or down-weight.
  • Annotation Dependency: The reward formulation relies on stage-level annotations via the SARM module. This limits its immediate application to tasks that lack a clear, distinct sub-stage decomposition.
  • Generalization Scale: The evaluation was bounded to a single bimanual robotic platform and one task family. Scaling FlowDPG to massive Vision-Language-Action (VLA) foundation models and highly varied contact dynamics remains an open avenue for future research.

Summary updated

BibTeX
@misc{shi2026flowdpg,
  author = {Kexin Shi and Junyao Shi and Poorvi Hebbar and Zhuolun Zhao and Tarun Amarnath and Yifan Su and Shikhar Bahl and Deepak Pathak},
  title = {{FlowDPG: Deterministic Policy Gradient on Flow Matching Policies for Real-World Manipulation}},
  year = {2026},
  eprint = {2606.22303},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.22303},
}
Figure