Beyond the Dirac Delta: Mitigating Diversity Collapse in Reinforcement Fine-Tuning for Versatile Image Generation
Organizations: Nanjing University · Australian National University · Wuhan University · National University of Singapore ·
Abstract
Reinforcement learning (RL) has emerged as a paradigm for fine-tuning large-scale generative models, such as diffusion and flow models, to align with complex human preferences and user-specified tasks. A fundamental limitation remains the curse of diversity collapse, where the objective formulation and optimization landscape inherently collapse the policy to a Dirac delta distribution. To address this challenge, we propose DRIFT (DiveRsity-Incentivized Reinforcement Fine-Tuning for Versatile Image Generation), an innovative framework that systematically incentivizes output diversity throughout the on-policy fine-tuning process, reconciling strong task alignment with high generation diversity to enhance versatility essential for applications that demand diverse candidate generations. We approach the problem across three representative perspectives: i) sampling a reward-concentrated subset that filters out reward outliers to prevent premature collapse; ii) prompting with stochastic variations to expand the conditioning space, and iii) optimization of the intra-group diversity with a potential-based reward shaping mechanism. Experimental results show that DRIFT exhibits clear Pareto dominance in task alignment and generation diversity, achieving 3.88%81.42% higher diversity at matched alignment and 14.38%56.45% higher alignment at matched diversity. Our code is available at \textcolor{magenta}{https://github.com/NJU-RL/DRIFT}.
Figures & tables
| Backbone | Algorithm | PickScore | HPSv2 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DreamSim ( ) | CLIP ( ) | Recall ( ) | Vendi ( ) | Reward ( ) | DreamSim ( ) | CLIP ( ) | Recall ( ) | Vendi ( ) | Reward ( ) | ||
| SDv1.5 | Base model | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] |
| CADS | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | |
| DDPO | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | |
| GRPO | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | |
| GRPO-KL | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | DreamSim | CLIP | Recall | Vendi | Reward |
|---|---|---|---|---|---|
| Full sampling | 0.4680 | 0.1285 | 0.3639 | 49.71 | 0.5363 |
| RCS | 0.5822 | 0.1682 | 0.3969 | 52.75 | 0.7297 |
| Gain (%) | +24.40 | +30.89 | +9.07 | +6.12 | +36.06 |
| Hyperparameters | PickScore(SDv1.5) | HPSv2(SDv1.5) | PickScore(SD3.5-M) | HPSv2(SD3.5-M) |
| Random seed | 42 | 42 | 42 | 42 |
| Denoising timesteps ( ) | 50 | 50 | 16 | 16 |
| group size (G) | 8 | 8 | 24 | 24 |
| Guidance scale | 5.0 | 5.0 | 4.5 | 4.5 |
| Policy learning rate | ||||
| Policy clipping range |
| Algorithm | DreamSim ( ) | CLIP ( ) | Recall ( ) | Vendi ( ) | Reward ( ) | FID ( ) |
|---|---|---|---|---|---|---|
| SDv1.5 (100 prompts) | ||||||
| Base model | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] |
| CADS | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] |
| DDPO | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] |
| GRPO | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | [1.5pt] | |
RL for Image Generation
Reinforcement learning for image generation trains visual models with reward feedback to improve prompt alignment, quality, and control.
See all 93 papers