Diffusion-RainbowPA: Improvements Integrated Preference Alignment for Diffusion-based Text-to-Image Generation

Haoyuan Sun, Bin Liang, Bo Xia, Jiaqi Wu, Yifei Zhao, Kai Qin, Yongzhe Chang, Xueqian WangTMLR 2025

Abstract

Although rapidly increasing capabilities of text-to-image (T2I) models have profound implications across various industries, they concurrently suffer from numerous shortcomings, necessitating the implementation of effective alignment strategies with human preference. Diffusion-DPO and SPO have emerged as robust approaches for aligning diffusion-based T2I models with human preference feedback. However, they tend to suffer from text-image misalignment, aesthetic overfitting and low-quality generation. To tackle such matters, we improve the alignment paradigm through a tripartite perspective: calibration enhancement (Calibration Enhanced Preference Alignment), overfitting mitigation (Identical Preference Alignment, Jensen-Shannon Divergence Constraint), and performance optimization (Margin Strengthened Preference Alignment, SFT-like Regularization). Combining these with the step-aware preference alignment paradigm, we propose Diffusion-RainbowPA, a suite of six improvements that collectively enhance the alignment performance of Diffusion-DPO. Comprehensive evaluations demonstrate that Diffusion-RainbowPA outperforms current state-of-the-art methods, with ablation studies confirming the positive impact of each component.

Introduction: The Challenge of Alignment

Aligning text-to-image (T2I) models with human preferences is often considered the "last mile" of model training. While techniques like Direct Preference Optimization (DPO) have successfully transitioned from Large Language Models to Diffusion models, they are not without flaws. Current alignment methods frequently encounter three major pain points:

  1. Text-Image Misalignment: Models may prioritize aesthetic appeal over prompt adherence, ignoring specific attributes or numerical constraints.
  2. Aesthetic Overfitting: Models often converge on a specific "AI-style" look, sacrificing diversity and realism, sometimes leading to quality degradation over extended training.
  3. Low-Quality Generation: Standard contrastive losses often focus excessively on "unlearning" negative samples rather than reinforcing the features of high-quality images.

The Diffusion-RainbowPA Framework

Inspired by the "Rainbow" DQN approach in reinforcement learning, Diffusion-RainbowPA integrates six distinct components to address these challenges through a tripartite strategy:

1. Step-aware Preference Alignment

Instead of evaluating only the final generated image, this method assesses the denoising process at each individual step. This provides a significantly finer-grained training signal, allowing the model to learn preference-aligned features throughout the entire generation trajectory.

2. Overfitting Mitigation

  • Identical Preference Alignment (IPA): Traditional Bradley-Terry models can lead to infinite reward values and subsequent overfitting. IPA utilizes an "identical mapping" to stabilize training and prevent reward explosion.
  • Jensen-Shannon (JS) Divergence Constraint: By replacing the standard KL-divergence with JS-divergence, the framework achieves more stable training and preserves greater generative diversity.

3. Calibration and Performance Optimization

  • Calibration Enhanced Preference Alignment (CEPA): This component constrains the distance between the model's internal reward function and ground-truth human preferences, preventing the model from drifting into nonsensical reward spaces.
  • Margin Strengthened Preference Alignment (MSPA): MSPA enforces a wider gap between "win" and "loss" probabilities, specifically designed to prevent the model from "unlearning" base knowledge while attempting to expand preference margins.
  • SFT-like Regularization: This adds a term that specifically amplifies the impact of preferred items, ensuring the model actively moves toward high-quality features rather than just avoiding poor ones.

Experimental Results

Quantitative Performance

Diffusion-RainbowPA was evaluated across four diverse benchmarks: GenEval, T2I-CompBench++, GenAI-Bench, and DPG-Bench. The method achieved a new state-of-the-art (SOTA) across all tested metrics:

  • GenEval: Improved the VQAScore by 6.56 points over the base Stable Diffusion v1.5, significantly higher than the ~1.8 point gain seen in previous SOTA methods.
  • Compositional Success: On T2I-CompBench++, the model saw a 6.89 point jump in VQAScore, nearly tripling the improvements of existing alignment techniques.

Qualitative Superiority and the "Snowy Mountain" Effect

A critical insight from this research is the mitigation of the "Snowy Mountain" effect. Previous methods like SPO often overfit to aesthetic scores, transforming a simple prompt like "a beautiful lake" into a chaotic scene with excessive glare and unauthentic snowy peaks. Diffusion-RainbowPA maintains realism by balancing its objectives.

Comparison of SPO and Diffusion-RainbowPA across training epochs, illustrating the mitigation of aesthetic overfitting.

As shown in the comparison above, while SPO's quality degrades into over-processed artifacts by Epoch 10, Diffusion-RainbowPA remains stable and faithful to the prompt. The general generation capabilities across various domains are further showcased below.

Diverse high-quality samples generated by Diffusion-RainbowPA across various categories including animals, characters, and environments.

Conclusion

Diffusion-RainbowPA demonstrates that a synergistic approach to preference alignment—combining step-aware training with robust calibration and regularization—effectively solves the common pitfalls of text-misalignment and aesthetic overfitting. While future work remains in automating hyperparameter tuning and scaling to larger architectures like SDXL, this framework sets a new standard for aligning generative models with human intent.

Summary updated

BibTeX
@article{sun2025diffusion,
  author = {Haoyuan Sun and Bin Liang and Bo Xia and Jiaqi Wu and Yifei Zhao and Kai Qin and Yongzhe Chang and Xueqian Wang},
  title = {{Diffusion-RainbowPA: Improvements Integrated Preference Alignment for Diffusion-based Text-to-Image Generation}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=KY0TSY2bx8},
}
Figure