English

Stepwise Credit Assignment for GRPO on Flow-Matching Models

Machine Learning 2026-03-31 v1 Artificial Intelligence Computer Vision and Pattern Recognition

Abstract

Flow-GRPO successfully applies reinforcement learning to flow models, but uses uniform credit assignment across all steps. This ignores the temporal structure of diffusion generation: early steps determine composition and content (low-frequency structure), while late steps resolve details and textures (high-frequency details). Moreover, assigning uniform credit based solely on the final image can inadvertently reward suboptimal intermediate steps, especially when errors are corrected later in the diffusion trajectory. We propose Stepwise-Flow-GRPO, which assigns credit based on each step's reward improvement. By leveraging Tweedie's formula to obtain intermediate reward estimates and introducing gain-based advantages, our method achieves superior sample efficiency and faster convergence. We also introduce a DDIM-inspired SDE that improves reward quality while preserving stochasticity for policy gradients.

Keywords

Cite

@article{arxiv.2603.28718,
  title  = {Stepwise Credit Assignment for GRPO on Flow-Matching Models},
  author = {Yash Savani and Branislav Kveton and Yuchen Liu and Yilin Wang and Jing Shi and Subhojyoti Mukherjee and Nikos Vlassis and Krishna Kumar Singh},
  journal= {arXiv preprint arXiv:2603.28718},
  year   = {2026}
}

Comments

Accepted to the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026 Project page: https://stepwiseflowgrpo.com

R2 v1 2026-07-01T11:44:32.899Z