Skip to content
Robotics.world

Research

CFG-Policy: Unified Diffusion Policy Learning Framework via Classifier-free Guidance

Diffusion and flow policies are attractive because they can represent many plausible actions at once, which is exactly what exploration needs. But when you optimize them with reinforcement learning…

The paper’s first page · arXiv:2610.14936
arXiv
2610.14936 · Preprint · not peer-reviewed
Published
2026-10-10
Authors
Shutong Ding, Zhaoyang Liu, Yimiao Zhou, Jingya Wang, Jiayuan Gu, Ye Shi

In plain words

Diffusion and flow policies are attractive because they can represent many plausible actions at once, which is exactly what exploration needs.

AI summary

Overview

Research area: Reinforcement learning for generative (diffusion and flow-matching) robot policies, spanning online RL for locomotion control and RL post-training of vision-language-action (VLA) manipulation policies.

Technical level: Intermediate. Readers should know roughly how diffusion/flow samplers work (score fields, velocity fields, denoising trajectories) and how actor–critic RL works; the paper's core idea is simple once those two pieces are in place.

Scope: The paper proposes CFG-Policy, a plug-and-play sampling wrapper that composes two generative policies with a classifier-free-guidance-style weighted average of their fields, and evaluates it on five MuJoCo locomotion tasks (with QSM and QVPO) and four RoboTwin manipulation tasks (with Flow-SDE+PPO on π₀ and π₀.₅).

What This Paper Is About

Diffusion and flow policies are attractive because they can represent many plausible actions at once, which is exactly what exploration needs. But when you optimize them with reinforcement learning, the policy tends to collapse toward whatever currently earns reward, so the diversity that made it useful drains away — and in the VLA post-training case, directly fine-tuning a pretrained policy can erode capabilities it already had.

The paper's goal is to break that trade-off by keeping two generative policies and blending them during action generation, so one branch can keep supplying exploration (or keep a pretrained skill intact) while the other branch learns from reward.

Key Contributions

  1. A unified framing of two learning regimes. The authors argue that online diffusion RL and offline-to-online RL post-training are the same underlying problem viewed from opposite sides: online RL must preserve exploration while learning exploitation, whereas post-training must preserve an acquired policy while learning adaptation.

  2. CFG-Policy, a plug-and-play compositional sampler. Two generative policies' velocity or score fields are linearly combined at every sampling step, v_w = (1−w)v_A + w v_B, replacing only the behavior sampler. The base algorithm's actor and critic objectives are left untouched, so it can be dropped into compatible generative RL backbones.

  3. A symmetric freeze-one-branch design. In online RL the exploration branch is frozen (a separately pretrained RND policy) while the exploitation branch learns; in post-training the pretrained policy is frozen while a second branch, initialized from the same SFT checkpoint, is trained with gradients stopped through the frozen branch.

  4. Theory and an adaptive guidance weight. Proposition 1 gives an endpoint interpretation of the composed sampler under path consistency, Theorem 1 links the guidance weight w to policy entropy under a sharpening assumption, and Section 3.4 introduces a TRPO-inspired adaptive schedule for w that maximizes a critic-value surrogate subject to a lower bound on a pathwise discrepancy from pure exploitation.

  5. Empirical validation across both regimes, with improvements over QSM and QVPO on all five MuJoCo tasks and improved or matched success rates over direct Flow-SDE+PPO fine-tuning on four RoboTwin tasks.

Main Findings

  • Consistent gains over QSM on MuJoCo (5 runs, mean ± sample std). HalfCheetah-v4 5020 ± 455 → 6218 ± 533 (+23.9%); Walker2d-v4 2041 ± 477 → 2349 ± 583 (+15.1%); Ant-v4 −24 ± 3 → 1425 ± 308 (+6141.3%); Humanoid-v4 5922 ± 262 → 6094 ± 169 (+2.90%); Hopper-v4 2753 ± 307 → 3101 ± 461 (+12.7%).

  • Gains also hold on the stronger QVPO baseline. HalfCheetah-v4 11166 ± 5076 → 12990 ± 1993 (+16.3%); Walker2d-v4 5220 ± 689 → 5692 ± 413 (+9.0%); Ant-v4 7129 ± 61 → 7374 ± 45 (+3.4%); Humanoid-v4 6612 ± 214 → 7041 ± 385 (+6.49%); Hopper-v4 3727 ± 176 → 3871 ± 192 (+3.8%).

  • Learning curves improve throughout training, not just at the end. Figure 3 shows the improvement is visible across the training run for both baselines, which the authors read as evidence the composed sampler helps without changing the underlying RL objective.

  • VLA post-training improves on non-saturated RoboTwin tasks with π₀. Adjust Bottle 82.81% → 98.44%, Pick Dual Bottles 43.75% → 57.81%, Rotate QR Code 34.38% → 42.19%, Grab Roller 92.19% → 93.75%.

  • The same holds for π₀.₅, with saturated tasks staying saturated. Adjust Bottle 89.06% → 92.19%, Pick Dual Bottles 12.50% → 15.62%, Rotate QR Code 7.81% → 10.94%, Grab Roller 100.00% → 100.00%.

  • Adaptive guidance beats the fixed weights tested. On HalfCheetah-v4, adaptive w produced higher final training returns than fixed w ∈ {0.8, 0.98} for both QSM and QVPO.

  • Blending finished actions fails where blending generative fields succeeds. On HalfCheetah-v4 (five seeds, ten evaluation episodes per seed), action-space interpolation underperformed original QVPO at every coefficient tried: a=0 gives −599 ± 171 (−105.44%), a=0.2 gives −362 ± 127 (−103.29%), a=0.5 gives 883 ± 608 (−91.98%), a=0.8 gives 4078 ± 1132 (−62.96%), and a=0.98 gives 10642 ± 4787 (−3.33%). The authors attribute this to field composition steering the whole denoising trajectory rather than interpolating completed actions.

  • Overhead is small. The paper states CFG-Policy incurs only marginal computational overhead in memory and training time despite the extra generative branch, with cost details deferred to Appendix B.5.

  • The guidance weight is task-sensitive. The authors report that the preferred w varies substantially across tasks, and that task-specific tuning can still outperform the adaptive strategy.

Methodology in Plain English

The intuition is that a diffusion or flow policy builds an action step by step, and at each step it consults a "field" that says which direction to move in. The authors keep two such policies alive at once and, at every single step of generation, average their fields with a weight w — exactly the arithmetic classifier-free guidance uses to mix conditional and unconditional predictions.

Because both fields are evaluated on the same partially-denoised sample, the two policies co-author one trajectory instead of each producing a finished action that then gets averaged. The paper's action-space blending ablation is precisely the experiment showing that this distinction matters.

Which branch gets frozen is what distinguishes the two use cases:

  • Online RL: a separately pretrained RND exploration policy is frozen and supplies ~(1−w) of the field; the exploitation policy supplies w and is updated by the base algorithm's ordinary actor–critic losses, with the composed policy acting as the data-collection behavior policy. At evaluation time w is set to 1, so the exploitation policy runs alone.
  • Post-training: the pretrained VLA policy is frozen and a second branch, initialized from the same SFT checkpoint, is trained with gradients blocked through the frozen branch. The trainable branch steers the composed trajectory rather than adding an action-level residual.

The theory supports the design in two steps. At any fixed noise level, the composed score is exactly the score of a geometric product of the two policies' noisy densities, so guidance behaves like multiplying distributions. That product is not generally an exact diffusion marginal path — forward noising and geometric composition do not commute — so the endpoint result is stated as an approximation under path-consistency conditions. Separately, under an assumption that the exploitation policy is a sharpened version of the exploration policy, raising w provably lowers the entropy of the composed distribution, giving a clean knob for the exploration–exploitation dial.

For the adaptive variant, the authors hold the policies and critic fixed and choose w to maximize a critic-value surrogate estimated from sampled action candidates, subject to a constraint that the composed sampler stay sufficiently far — measured by a Monte Carlo, action-dimension-normalized, median-aggregated pathwise discrepancy between composed and pure-exploitation reverse-transition means — from pure exploitation. A Lagrangian with ascent on w and descent on the multiplier handles the constraint; the threshold is calibrated once after a shared warmup and then fixed. The authors are explicit that this optimizes a surrogate and does not guarantee monotonic return improvement.

Why This Matters

Impact on research. The paper reframes exploration collapse and capability forgetting as two faces of one problem, and offers a fix that lives entirely in the sampler. That is a meaningfully different insertion point from changing the RL objective, adding entropy bonuses, or bolting on an action-space residual — and the Table 1 comparison positions CFG-Policy as the only entry claiming explicit support for exploration, adaptive exploration–exploitation, decoupling of the two, and capability preservation simultaneously. The distinction from CFGRL is also drawn sharply: CFGRL uses guidance as a policy-improvement operator learned from fixed offline data, whereas CFG-Policy composes two behaviorally distinct policies and optimizes one through interaction.

Real-world applications. The evaluated tasks point at concrete settings:

  • Warehouse and logistics picking, including dual-arm grasping of two objects at once (the Pick Dual Bottles task) and grasping a shared object with both arms (Grab Roller).
  • Retail and payment handling, where a robot must reorient a QR-code sign until it faces a scanner (Rotate QR Code).
  • Object reorientation and placement with a single arm under ambiguous grasp choices (Adjust Bottle).
  • Legged locomotion control for quadrupeds and humanoids in the MuJoCo suite, where maintaining diverse gait behavior during reward optimization helps avoid premature convergence to one gait.

Industry relevance. Because CFG-Policy is a sampler-level wrapper rather than a new RL algorithm, teams that already have a diffusion-policy or flow-matching VLA training stack can adopt it without rewriting actor or critic losses — the paper demonstrates this on two different online backbones (QSM, QVPO) and one post-training pipeline (Flow-SDE+PPO). Two things temper the industrial case: the extra frozen branch costs some memory and time (quantified only in the appendix), and the good value of w is task-dependent.

Future Directions

  • Task-aware guidance adaptation. The stated limitation is that the preferred w varies substantially across tasks and manual tuning can still beat the adaptive scheme; better automatic selection of w is the authors' primary suggested direction.
  • Stronger guarantees for the adaptive schedule. The current Lagrange updates ascend a critic surrogate with no monotonic-improvement guarantee on realized return, and the pathwise discrepancy is an auxiliary statistic computed before candidate selection rather than a KL between executed-action distributions.
  • Tightening the path-consistency gap. Proposition 1 delivers an endpoint product only under approximate consistency with the shared forward process and a terminal marginal near the common prior; the appendix begins analyzing the residual, leaving room for samplers or corrections that close it.
  • Broadening beyond the tested backbones and embodiments. The paper covers QSM, QVPO, and Flow-SDE+PPO on nine tasks; whether the same composition holds for other generative RL backbones, other VLA families, and real (non-simulated) robot hardware is untested here.

Target Audience

Robotics and RL researchers working on generative policies — diffusion-policy and flow-matching RL, VLA post-training, and offline-to-online fine-tuning — who want a low-friction way to keep exploration or pretrained competence alive during reward optimization. It is also useful for engineers deploying diffusion-policy or VLA stacks who need a drop-in modification rather than a new training algorithm, and for graduate students looking for a compact, well-scoped example of turning a guidance trick from image generation into an RL mechanism with accompanying analysis. Readers without background in diffusion sampling or actor–critic RL will find the theory sections heavy going.

Authors’ abstract

Diffusion policies are increasingly used in robotic control and manipulation, vision-language-action models, and world-model-based agents. Their ability to represent multimodal action distributions offers rich opportunities for exploration in reinforcement learning (RL). However, optimizing diffusion policies with RL can reduce the behavioral diversity and further limit their exploration capability. In RL post-training, directly fine-tuning a pretrained policy may also…

The full abstract on arXiv
Read the original paper

Related papers