Beyond the Dirac Delta: Mitigating Diversity Collapse in Reinforcement Fine-Tuning for Image Generation

Jinmei Liu, Haoru Li, Zhenhong Sun, Chaofeng Chen, Yatao Bian, Hongdong Li, Bo Wang, Daoyi Dong, Zhi WangNeurIPS 2026

TL;DR

When you fine-tune an image generator with Reinforcement Learning (RL) to match human preferences, it tends to find one "winning" visual formula and repeat it endlessly—a phenomenon known as diversity collapse. This paper introduces DRIFT, a training framework that bakes diversity incentives directly into the RL process across sampling, prompting, and reward optimization. The result? Models that give you vibrant, varied visual interpretations of a prompt without sacrificing aesthetic quality or alignment.

What Problem Does This Paper Address?

Pre-trained diffusion and flow models are great at generating realistic images, but out of the box, they don't always align with human aesthetics or follow nuanced instructions. To fix this, researchers treat the multi-step denoising process as a sequential decision-making game and fine-tune these models using Reinforcement Learning (RL).

There is a catch, though: the curse of diversity collapse. Mathematically, standard RL reward maximization pushes the model's probability distribution toward a "Dirac delta"—an infinitely sharp spike centered on the single highest-reward image it can find. Once the model stumbles onto a high-scoring Golden Retriever, it starts sampling that region more often; gradient signals from diverse, lower-reward regions vanish, and soon every "dog" prompt produces nearly the exact same Golden Retriever.

Figure 1: Image generation models fine-tuned via RL often suffer from diversity collapse, resulting in repetitive outputs with similar subject appearances and scene compositions. Instead, DRIFT maintains both high fidelity and diversity. The three methods used identical prompts and random seeds for generation, with SDv1.5 and SD3.5-M fine-tuned using PickScore as the reward function.

Usually, practitioners try to prevent this using Kullback-Leibler (KL) regularization—essentially tethering the model to its pre-trained ancestor so it doesn't wander too far. Make the tether too tight, however, and the model barely learns to improve; make it too loose, and diversity still collapses. Other fixes rely on inference-time sampling tricks that hurt image alignment. The authors ask: how can we actively incentivize exploration and variety during RL fine-tuning without ruining alignment?

Methods

Building on Group Relative Policy Optimization (GRPO)—a standard algorithm that generates a group of $G$ images per prompt and updates the model based on how each image scores relative to the group average—the authors propose DRIFT (DiveRsity-Incentivized Reinforcement Fine-Tuning). DRIFT intervenes across three dimensions:

Figure 3: Overview of DRIFT, a unified framework for mitigating diversity collapse across sampling, prompting, and optimization.
  1. Reward-Concentrated Sampling: Instead of generating $G$ images, DRIFT generates a candidate pool of $2G$ images and picks the tightest cluster of $G$ neighbors to train on. Why? Because extreme reward outliers within a batch create massive probability spikes during policy updates, accelerating collapse. Filtering outliers keeps updates smooth and preserves exploration.
  2. Noise-Conditioned Prompting: During training, DRIFT injects Gaussian noise into the text prompt embeddings. Crucially, this noise follows an annealing schedule: strong perturbations early in denoising (encouraging diverse global layouts and poses) that fade to zero at later steps (preserving fine-grained semantic accuracy).
  3. Diversity Optimization via Reward Shaping: DRIFT adds an intrinsic "diversity bonus" to the primary reward. Rather than naively tacking on a bonus—which can warp the optimization goal—they use potential-based reward shaping, defining step-by-step rewards as the change in diversity between adjacent denoising states. Better yet, they clip this bonus to prevent "reward hacking" (generating bizarre, off-manifold static just to look "different") and normalize the quality and diversity advantages separately before combining them so neither scale drowns out the other.

Datasets

Rather than training on static image datasets, on-policy RL fine-tuning generates images from prompt sets and scores them with pre-trained reward models:

  • Models & Rewards: Fine-tuning is performed on Stable Diffusion v1.5 (SDv1.5) and Stable Diffusion 3.5 Medium (SD3.5-M), guided by PickScore and HPSv2 (standard reward models trained on human preference and text-relevance data).
  • Prompt Sets: Experiments use a fixed prompt set (such as animal categories like dog, rabbit, tiger and scene descriptions like "a laptop on a wooden desk with a chair"), alongside expanded evaluation sets of 100 prompts for SDv1.5 and 200 prompts for SD3.5-M. Specific source benchmarks for the prompt lists are deferred to the paper's appendices and not named in the main text. No new datasets or benchmarks are introduced.

Key Insights and Ideas

  • Telescoping math saves massive compute: Defining the diversity reward at every denoising step sounds terribly expensive and noisy. However, because DRIFT defines each step's reward as the difference in diversity between step $t$ and $t-1$, summing over the whole trajectory causes all intermediate terms to cancel out! Since pure Gaussian noise at step $T$ has zero semantic diversity, the entire trajectory's diversity reward collapses neatly into measuring the intra-group dissimilarity of just the final, clean images—while mathematically guaranteeing that the optimal policy isn't distorted.
  • Prompt noise is a training tool, not an inference trick: Adding noise to prompt embeddings only at test time yields virtually zero diversity gain. Doing it during training, however, reshapes the model's latent space and exploration dynamics—allowing the fine-tuned model to generate diverse outputs later even with zero test-time prompt noise.
  • Variance isn't always your friend in RL batches: Counterintuitively, training on batches with contrasted (high-variance) rewards hurts both diversity and final reward compared to concentrated batches, because outliers prematurely sharpen the policy into narrow local minima.

Key Results

Across four diversity metrics (DreamSim, ClipScore Diversity, Generalized Recall, and Vendi Score) and two alignment rewards, DRIFT establishes a clear Pareto advantage over competitive RL baselines (DDPO, GRPO, GRPO-KL, Nabla-GFlowNet, GARDO, and DiverseGRPO).

Figure 4: Reward-diversity comparison between DRIFT and baselines, with SDv1.5 and SD3.5-M fine-tuned using PickScore reward.
  • Diversity & Alignment Gains: Compared to RL baselines, DRIFT achieves 3.88% to 81.42% higher diversity at matched alignment levels, and 14.38% to 56.45% higher alignment rewards at matched diversity.
  • Concrete Backbone Improvements: On SDv1.5 with PickScore, DRIFT boosts average DreamSim diversity by +36.32% and normalized reward by +55.59% over RL baselines. On SD3.5-M with PickScore, it boosts Generalized Recall by +81.42% and reward by +17.79%.
  • Scaling Prompts: On the expanded 100- and 200-prompt evaluation sets, DRIFT maintains average gains of 35.01% in diversity and 20.74% in reward.

Limitations and Future Work

  • Computational Overhead: Generating $2G$ candidates (only to discard half during reward-concentrated sampling) and running external embedding models like DreamSim to calculate pairwise diversity adds noticeable compute overhead during training.
  • Task Scope: DRIFT is tailored for open-ended tasks where multiple diverse outputs are valid, rather than tasks demanding a single deterministic answer.
  • Future Directions: The authors plan to cut compute costs by estimating diversity directly from the generative model's internal representations rather than external evaluators, and aim to extend DRIFT to video and 3D generation.

Summary updated

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 \textit{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** (**D**ive**R**sity-**I**ncentivized Reinforcement **F**ine-**T**uning 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\%$\sim$81.42\% higher diversity at matched alignment and 14.38\%$\sim$56.45\% higher alignment at matched diversity. Our code is available at [https://github.com/NJU-RL/DRIFT](https://github.com/NJU-RL/DRIFT).
BibTeX
@inproceedings{liu2026beyond,
  author = {Jinmei Liu and Haoru Li and Zhenhong Sun and Chaofeng Chen and Yatao Bian and Hongdong Li and Bo Wang and Daoyi Dong and Zhi Wang},
  title = {{Beyond the Dirac Delta: Mitigating Diversity Collapse in Reinforcement Fine-Tuning for Image Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=5EU8Z7LSE8},
}
Figure