Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

GRPO-Guard: Mitigating Implicit Over-Optimization in Flow Matching via Regulated Clipping

About

Recently, GRPO-based reinforcement learning has shown remarkable progress in optimizing flow-matching models, effectively improving their alignment with task-specific rewards. Within these frameworks, the policy update relies on importance-ratio clipping to constrain overconfident positive and negative gradients. However, in practice, we observe a systematic shift in the importance-ratio distribution-its mean falls below 1 and its variance differs substantially across timesteps. This left-shifted and inconsistent distribution prevents positive-advantage samples from entering the clipped region, causing the mechanism to fail in constraining overconfident positive updates. As a result, the policy model inevitably enters an implicit over-optimization stage-while the proxy reward continues to increase, essential metrics such as image quality and text-prompt alignment deteriorate sharply, ultimately making the learned policy impractical for real-world use. To address this issue, we introduce GRPO-Guard, a simple yet effective enhancement to existing GRPO frameworks. Our method incorporates ratio normalization, which restores a balanced and step-consistent importance ratio, ensuring that PPO clipping properly constrains harmful updates across denoising timesteps. In addition, a gradient reweighting strategy equalizes policy gradients over noise conditions, preventing excessive updates from particular timestep regions. Together, these designs act as a regulated clipping mechanism, stabilizing optimization and substantially mitigating implicit over-optimization without relying on heavy KL regularization. Extensive experiments on multiple diffusion backbones (e.g., SD3.5M, Flux.1-dev) and diverse proxy tasks demonstrate that GRPO-Guard significantly reduces over-optimization while maintaining or even improving generation quality.

Jing Wang, Jiajun Liang, Jie Liu, Henglin Liu, Gongye Liu, Jun Zheng, Wanyuan Pang, Ao Ma, Zhenyu Xie, Xintao Wang, Meng Wang, Pengfei Wan, Xiaodan Liang• 2025

Related benchmarks

TaskDatasetResultRank
Text-to-Image GenerationGenEval 2
Soft TIFA GM87.6
62
Text-to-Image GenerationGenEval2 In-Domain
GenEval2 Score87.6
50
Text-to-Image GenerationPickScore (Out-of-Domain)
CLIP Score0.286
46
KL Divergence EvaluationFLUX2-9B
KL Divergence1.01e+3
15
Text-to-Image GenerationText-to-Image multi-faceted evaluation GenEval, OCR, and Model-Based Rewards
GenEval Score0.89
12
KL Divergence EvaluationSD 3.5
KL Divergence (x10^-3)2.05
10
Showing 6 of 6 rows

Other info

Follow for update