SUDO: Enhancing Text-to-Image Diffusion Models with Self-Supervised Direct Preference Optimization

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

Abstract

Previous text-to-image diffusion models typically employ supervised fine-tuning (SFT) to enhance pre-trained base models. However, this approach primarily minimizes the loss of mean squared error (MSE) at the pixel level, neglecting the need for global optimization at the image level, which is crucial for achieving high perceptual quality and structural coherence. In this paper, we introduce Self-sUpervised Direct preference Optimization (SUDO), a novel paradigm that optimizes both fine-grained details at the pixel level and global image quality. By integrating direct preference optimization into the model, SUDO generates preference image pairs in a self-supervised manner, enabling the model to prioritize global-level learning while complementing the pixel-level MSE loss. As an effective alternative to supervised fine-tuning, SUDO can be seamlessly applied to any text-to-image diffusion model. Importantly, it eliminates the need for costly data collection and annotation efforts typically associated with traditional direct preference optimization methods. Through extensive experiments on widely-used models, including Stable Diffusion 1.5 and XL, we demonstrate that SUDO significantly enhances both global and local image quality.

Introduction

The standard approach for refining text-to-image (T2I) diffusion models involves Supervised Fine-Tuning (SFT) using Mean Squared Error (MSE) loss. While MSE is effective for capturing local textures and fine-grained pixel details, it often fails to account for global structural coherence and high-level perceptual quality. This "myopic" focus can lead to images that are technically sharp but semantically inconsistent or aesthetically lacking.

To address these global optimization challenges, researchers have explored Direct Preference Optimization (DPO). DPO trains models using pairs of "winning" and "losing" images to align model outputs with human preferences. However, traditional DPO is prohibitively expensive due to the requirement for large-scale human-annotated datasets. SUDO (Self-sUpervised Direct preference Optimization) bridges this gap by automating the preference-pair generation process, offering the benefits of image-level optimization without the associated annotation costs.

Methodology: Self-Supervised Preference Learning

The core innovation of SUDO lies in its self-supervised mechanism for creating preference pairs. Instead of relying on human labels, SUDO defines winners and losers automatically:

  1. Winning Image: The original high-quality image from the training set corresponding to a specific text prompt.
  2. Losing Image: Generated via a "Downgrade" operation. While various methods like blurring or shuffling were tested, the authors found that simply selecting a random image from the training dataset served as the most effective "negative" example. Since this random image is unlikely to match the current prompt, it provides a strong signal for what the model should avoid.
Comparison of SFT, DPO, and the proposed SUDO training paradigms. Unlike DPO, SUDO does not require a human annotator to rank images.

SUDO employs a Dual-Level Loss function. It combines the standard pixel-level MSE loss with a SUDO loss (derived from DPO). This joint optimization ensures the model maintains fine-grained detail while learning to prioritize global image-level alignment with the text prompt.

Experimental Evaluation

The authors evaluated SUDO using the Pick-a-Pic V2 dataset, intentionally ignoring its manual preference labels to validate the self-supervised approach. Testing was conducted on major benchmarks including PartiPrompts and HPDv2, covering diverse styles such as anime, photography, and concept art.

Quantitative Results

SUDO demonstrated significant improvements over both base models and traditional SFT:

  • Stable Diffusion 1.5: SUDO achieved a CLIP score of 34.79, outperforming SFT (33.75) and standard DPO (33.19).
  • Human Preference Metrics: On the ImageReward benchmark, SUDO raised the SD1.5 base score from -14.81 to 71.00, significantly higher than the 45.03 achieved by SFT.

Qualitative Analysis

Visually, SUDO-trained models exhibit superior performance in rendering complex prompts and maintaining structural integrity. The resulting images show more vivid color palettes, better layout coherence, and improved adherence to stylistic cues compared to models trained solely with MSE loss.

Qualitative examples of images generated by models fine-tuned with SUDO, demonstrating high perceptual quality and diversity.

Conclusion and Future Work

SUDO presents a robust, cost-effective alternative to supervised fine-tuning for text-to-image models. By automating the generation of preference pairs, it enables image-level optimization that complements traditional pixel-level learning. While SUDO requires more computational resources due to additional forward passes, its ability to consistently improve both global and local quality makes it a valuable tool for model alignment. Future research may focus on more sophisticated "downgrade" strategies to further sharpen the training signal.

Summary updated

BibTeX
@misc{peng2025sudo,
  author = {Liang Peng and Boxi Wu and Haoran Cheng and Yibo Zhao and Xiaofei He},
  title = {{SUDO: Enhancing Text-to-Image Diffusion Models with Self-Supervised Direct Preference Optimization}},
  year = {2025},
  eprint = {2504.14534},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.14534},
}
Figure