Self-Supervised Direct Preference Optimization for Text-to-Image Diffusion Models

Liang Peng, Boxi Wu, Haoran Cheng, Yibo Zhao, Xiaofei HeNeurIPS 2025

Introduction

Direct Preference Optimization (DPO) is a highly effective method for aligning generative AI models with human aesthetics and complex prompts. However, its practical adoption is hindered by a labor-intensive pipeline. Traditionally, DPO requires generating a massive set of candidate images and paying humans to rank them pairwise. This process is slow, expensive, and produces a static dataset that limits the model's ability to generalize to new prompts or styles.

To address this bottleneck, researchers have introduced Self-Supervised Direct Preference Optimization (Self-DPO). This novel paradigm eliminates the need for pre-generated images or manual human ranking by automatically generating "winning" and "losing" pairs on the fly during training. Surprisingly, this self-supervised approach not only matches human-labeled DPO but actually outperforms it by providing a more diverse and dynamic stream of learning signals.

Methodology: On-the-Fly Pairing

The core innovation of Self-DPO is treating every high-quality image in a training dataset as a "winner" ($x^w$) and synthetically creating a "loser" ($x^l$) to compare it against. Because this happens dynamically within the training loop, the model learns from fresh comparisons at every iteration.

To create a losing image, the authors experimented with several degradation strategies:

  • Blurring: Downsampling and upsampling the image to reduce visual quality.
  • Random Grids: Chopping the image into an $8 \times 8$ grid and shuffling the tiles.
  • Random Resampling: Simply picking a different, random image from the dataset.

Interestingly, random resampling proved to be the most effective strategy. Because a random image does not match the current text prompt, it serves as a perfect "loser" for teaching text-to-image alignment. The model is then trained using a combination of the standard Diffusion MSE loss (to maintain realistic image generation) and the DPO loss (to push the model to prefer the winning image). This approach is entirely plug-and-play and can be integrated into any existing diffusion training pipeline without requiring new annotated data.

Datasets and Evaluation

The researchers evaluated Self-DPO across several major benchmarks, including Pick-a-Pic V2, PartiPrompts, HPDv2, and LAION-COCO. These datasets provided a rigorous test of the model's ability to handle diverse categories, complex prompts, and non-curated real-world data.

Key Results

The performance gains across Stable Diffusion 1.5 (SD1.5) and Stable Diffusion XL (SDXL) were substantial:

  • Aesthetic and Alignment Gains: On the Pick-a-Pic V2 dataset, Self-DPO boosted the ImageAward score—a proxy for human preference—from -14.81 to 71.00 for SD1.5.
  • Win Rates: In head-to-head comparisons using the Human Preference Score (HPS v2), the Self-DPO model achieved a staggering 94.20% win rate over the base SD1.5 model.
  • Qualitative Superiority: Visual results demonstrate that Self-DPO models produce more vivid colors, better layouts, and exhibit much higher adherence to tricky prompts, such as specific artistic styles where base models typically struggle.
Qualitative results demonstrating diverse, high-quality image generation with vivid colors and strong prompt adherence.

Key Insights

The most surprising finding of the study is that Self-DPO outperforms traditional, human-annotated DPO. The authors attribute this success to diversity. In traditional DPO, the model repeatedly sees the same fixed pairs, which can lead to overfitting. In Self-DPO, because "losers" are sampled randomly at every iteration, the model is exposed to a nearly infinite variety of comparisons.

Furthermore, the research highlights that standard Supervised Fine-Tuning (SFT) is not always sufficient. On larger models like SDXL, SFT actually decreased performance in some metrics, whereas Self-DPO consistently improved the model. This suggests that the relative "preference" signal is fundamentally more effective for alignment than simple imitation.

Limitations and Future Directions

While highly effective, Self-DPO has limitations. The authors note that if the training dataset is too small, the random sampling of "losing" images might become repetitive or unreliable.

Future work could explore more sophisticated "losers," such as adversarial degradations designed specifically to trick the model, providing even sharper learning signals. Additionally, transitioning Self-DPO from an offline process to an "online" evolution—where the model compares its own generated outputs in real-time—represents a promising next step for text-to-image alignment.

Summary updated

BibTeX
@inproceedings{peng2025self,
  author = {Liang Peng and Boxi Wu and Haoran Cheng and Yibo Zhao and Xiaofei He},
  title = {{Self-Supervised Direct Preference Optimization for Text-to-Image Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=COifgrjzXR},
}
Figure