Fine-Grained GRPO for Precise Preference Alignment in Flow Models

Yujie Zhou, Pengyang Ling, Jiazi Bu, Yibin Wang, Yuhang Zang +3 more
10/2/2025
cs.LGcs.CV

No official code found. Best implementation: bcmi/Granular-GRPO (66 stars, Apache-2.0, last commit 2026-03-26).

Abstract

The incorporation of online reinforcement learning (RL) into diffusion and flow-based generative models has recently gained attention as a powerful paradigm for aligning model behavior with human preferences. By leveraging stochastic sampling via Stochastic Differential Equations (SDEs) during the denoising phase, these models can explore a variety of denoising trajectories, enhancing the exploratory capacity of RL. However, despite their ability to discover potentially high-reward samples, current approaches often struggle to effectively align with preferences due to the sparsity and narrowness of reward feedback. To overcome this limitation, we introduce a novel framework called Granular-GRPO (G$^2$RPO), which enables fine-grained and comprehensive evaluation of sampling directions in the RL training of flow models. Specifically, we propose a Singular Stochastic Sampling mechanism that supports step-wise stochastic exploration while ensuring strong correlation between injected noise and reward signals, enabling more accurate credit assignment to each SDE perturbation. Additionally, to mitigate the bias introduced by fixed-granularity denoising, we design a Multi-Granularity Advantage Integration module that aggregates advantages computed across multiple diffusion scales, resulting in a more robust and holistic assessment of sampling trajectories. Extensive experiments on various reward models, including both in-domain and out-of-domain settings, demonstrate that our G$^2$RPO outperforms existing flow-based GRPO baselines, highlighting its effectiveness and generalization capability.

View on arXivView PDF

Code Implementations(1)

bcmi/Granular-GRPOCommunity79%
Apache-2.0

[CVPR 2026] Fine-Grained GRPO for Precise Preference Alignment in Flow Models

662Shell, PythonSep 28, 20256 months agoApache-2.0
diffusiongrporeinforcement-learningtext2image

Similar Papers

Cite this paper

@article{zhou2025finegrained,
  title  = {Fine-Grained GRPO for Precise Preference Alignment in Flow Models},
  author = {Yujie Zhou and Pengyang Ling and Jiazi Bu and Yibin Wang and Yuhang Zang and Jiaqi Wang and Li Niu and Guangtao Zhai},
  year   = {2025},
  eprint = {2510.01982},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.01982v3}
}

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/2510.01982.svg)](https://codeofpaper.com/paper/2510.01982)

Discussion