Reinforcing Diffusion Models by Direct Group Preference Optimization

Yihong Luo, Tianyang Hu, Jing Tang

Direct Group Preference Optimization (DGPO) is a new "diffusion-native" reinforcement learning algorithm that aligns image generators with human preferences up to 30 times faster than previous state-of-the-art methods. By ditching traditional policy-gradient frameworks in favor of a direct, group-based preference optimization, DGPO enables the use of efficient deterministic samplers, significantly boosting both training speed and image quality.

The Challenge: RLHF in Diffusion Models

Reinforcement Learning from Human Feedback (RLHF) has revolutionized Large Language Models (LLMs), most recently demonstrated by the success of Group Relative Policy Optimization (GRPO) in models like DeepSeek-V3. However, translating these gains to diffusion models (like Stable Diffusion) has proven difficult due to a fundamental mathematical mismatch.

GRPO requires a stochastic policy (a probability distribution) to explore and learn. Conversely, diffusion models achieve their optimal balance of speed and quality using deterministic ODE (Ordinary Differential Equation) samplers.

To force GRPO to work for images, previous research adapted diffusion models to be stochastic using SDE (Stochastic Differential Equation) samplers. This workaround introduced three major flaws:

  1. Inefficiency: SDE samplers are slower and yield lower-quality images than ODEs for the same computational budget.
  2. Weak Signal: The randomness relies on "model-agnostic" Gaussian noise, which is a highly inefficient way to explore high-dimensional image space, leading to glacial convergence.
  3. High Cost: Training typically requires backpropagating through the entire sampling trajectory, which is incredibly memory-intensive.

The Solution: Direct Group Preference Optimization (DGPO)

To resolve this conflict, the authors propose DGPO, an online RL algorithm that completely abandons the policy-gradient framework. Instead of calculating gradients for a stochastic policy, DGPO optimizes the model by directly learning from the relative preferences of samples within a generated group.

Key Technical Innovations: * Direct Group Optimization: Inspired by Direct Preference Optimization (DPO), DGPO compares a set of "good" samples against "bad" samples within a generated group. It maximizes the likelihood that the model prefers the high-reward group, leveraging relative information to learn much faster than evaluating images in isolation. * Advantage-Based Weighting: To overcome the "intractable partition function" common in DPO math, DGPO uses a weighting scheme based on normalized rewards within the group. This allows the use of fine-grained, sample-level information without complex normalization. * ODE-Native Learning: Because DGPO does not require a stochastic policy, it can utilize high-fidelity, deterministic ODE samplers during training. Training on these higher-quality "rollouts" creates a virtuous cycle that SDE-based methods miss. * Ditching the Trajectory: Unlike previous methods that train on every single step of the image generation process, DGPO optimizes based on the final output, drastically reducing the computational load.

Key Results and Performance

DGPO was evaluated across rigorous benchmarks, including GenEval (for complex compositional prompts), Visual Text Rendering, and PickScore (for general human preference).

Massive Speedup and State-of-the-Art Alignment

DGPO trains 20x to 30x faster than Flow-GRPO. On the GenEval benchmark, DGPO boosted the base Stable Diffusion 3.5-Medium score from 63% to an impressive 97%, surpassing even GPT-4o (84%), and reached peak performance in a fraction of the time required by previous methods.

GenEval Performance vs Training Time

Additionally, in text-rendering tasks, DGPO achieved an OCR accuracy of 96%, a massive improvement over the base model's 59%.

Preventing "Reward Hacking"

A common issue with RL methods is "reward hacking," where a model improves specific benchmark scores but degrades general image aesthetics (e.g., producing "deep-fried" or unnatural images). DGPO successfully avoids this pitfall. Evaluations on out-of-domain metrics demonstrate that DGPO maintains or even improves general visual quality and preference scores compared to the base model and Flow-GRPO.

Out-of-Domain Metrics Comparison

Limitations and Future Work

While highly effective, the current iteration of DGPO focuses strictly on text-to-image synthesis. Furthermore, while the model trains efficiently on 10-step generations, very low-step counts can still introduce artifacts (mitigated in this work via a timestep clipping strategy).

Looking ahead, the authors suggest that the DGPO framework is exceptionally well-suited for text-to-video synthesis, a domain where the computational cost of SDE-based RL is currently prohibitive. Further research into ultra-low-step (1-4 step) alignment also remains a promising open area.

Summary updated

BibTeX
@inproceedings{luo2026reinforcing,
  author = {Yihong Luo and Tianyang Hu and Jing Tang},
  title = {{Reinforcing Diffusion Models by Direct Group Preference Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=jymuXl8GYi},
}
Figure