Flow-DPPO: Divergence Proximal Policy Optimization for Flow Matching Models

Bowen Ping, Xiangxin Zhou, Penghui Qi, Minnan Luo, Liefeng Bo +1 more
6/9/2026
7 citations
cs.LG
diffusion-flowrl

Official code: Tencent-Hunyuan/UniRL (1,033 stars, Python, last commit 2026-10-29).

Abstract

Recent work has demonstrated that online reinforcement learning (RL) can substantially improve the quality and alignment of flow matching models for image and video generation. Methods such as Flow-GRPO and CPS cast the denoising process as a Markov Decision Process and apply PPO-style ratio clipping to enforce a trust region.

Show full abstract

However, we argue that ratio clipping is structurally ill-suited for flow models: the probability ratio between new and old policies is a noisy, single-sample estimate of the true policy divergence, leading to over-constraining in some regions of the trajectory and under-constraining in others. We propose Flow-DPPO (Flow Divergence Proximal Policy Optimization), which replaces ratio clipping with a divergence proximal constraint. A key observation is that the per-step policy in flow models is Gaussian, enabling exact and cheap computation of the KL divergence between old and new policies. Flow-DPPO employs an asymmetric divergence mask that blocks gradient updates only when they simultaneously move away from the trusted region and violate the divergence threshold. Experiments show that Flow-DPPO achieves higher rewards with better KL-proximal efficiency, alleviates catastrophic forgetting, promotes balanced multi-objective optimization, and enables stable multi-epoch training where ratio clipping degrades. Code and models are available at https://github.com/Tencent-Hunyuan/UniRL/tree/main/FlowDPPO.

View on arXivView PDF

Code Implementations(1)

UniRL is a Framework for Unified Multimodal Model Reinforcement Learning

1,033107Python, ShellJun 8, 20261 months agoNOASSERTION
ai-infrastructurereinforcement-learningsglangvllm

Similar Papers

Cite this paper

@article{ping2026flowdppo,
  title  = {Flow-DPPO: Divergence Proximal Policy Optimization for Flow Matching Models},
  author = {Bowen Ping and Xiangxin Zhou and Penghui Qi and Minnan Luo and Liefeng Bo and Tianyu Pang},
  year   = {2026},
  eprint = {2606.11025},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.11025v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.11025.svg)](https://codeofpaper.com/paper/2606.11025)

Discussion