Introduction
The alignment of text-to-image (T2I) diffusion models with human preferences is a critical challenge in generative AI. While models like Stable Diffusion XL (SDXL) produce high-quality imagery, they frequently struggle with complex constraints, such as accurate text rendering and precise spatial relationships. Direct Preference Optimization (DPO) has been adapted from large language models to address these issues, yet its application to diffusion models remains hindered by two key factors: the use of rigid, binary preference labels and a mismatch between training noise processes and actual generation trajectories.
This paper introduces SmPO-Diffusion, a framework designed to refine the alignment process through Smoothed Preference Modeling and ReNoise Inversion. By accounting for the inherent subjectivity of human judgment and aligning the optimization objective with the model's sampling path, SmPO-Diffusion achieves state-of-the-art performance with significantly reduced computational overhead.
Limitations of Standard Direct Preference Optimization
Current DPO approaches typically rely on binary labels (win/loss) to guide fine-tuning. This "hard" optimization assumes a clear distinction between image pairs, ignoring the subjective nature of human preference. When two images are of similar quality, forcing a binary choice can lead to "reward hacking" or excessive optimization, where the model collapses into narrow, over-fitted states.
Furthermore, standard DPO often employs a simplified forward-noise process during training to estimate the model's generation path. However, diffusion models generate images through iterative sampling, a process far more complex than simple Gaussian noise addition. This discrepancy—termed "objective misalignment"—results in inefficient training and suboptimal convergence.
The SmPO-Diffusion Framework
Smoothed Preference Modeling
To address the limitations of binary labels, SmPO-Diffusion utilizes continuous scores from an AI reward model (e.g., PickScore). Instead of a 0/1 distribution, the framework applies a weighted average to create a "smoothed" probability distribution. This serves as a natural regularizer: if the reward model indicates that two images are nearly identical in quality, the loss function approaches zero. This prevents the model from over-correcting on ambiguous data and ensures more stable optimization.
Optimization via ReNoise Inversion
To bridge the gap between training and generation, SmPO-Diffusion replaces the random forward-noise process with a novel inversion technique. The method employs several steps of DDIM Inversion followed by a single ReNoise step. This process reconstructs a latent state that is highly correlated with the actual image generation path. By ensuring the optimization objective is tightly aligned with the model's real-world sampling trajectory, the framework achieves much higher gradient accuracy.
Experimental Setup and Results
The authors fine-tuned SmPO-Diffusion using the Pick-a-Pic v2 dataset, comprising over 851,000 image pairs. Evaluation was conducted on Parti-Prompts and HPDv2, utilizing metrics from CLIP, PickScore, and HPSv2.1.
Performance and Efficiency
SmPO-Diffusion consistently outperformed existing baselines, including DPO, MaPO, and KTO. On the HPDv2 test set, SmPO-SDXL achieved a median HPSv2.1 score of 32.53, a significant improvement over the base SDXL (28.45) and DPO-SDXL (30.06).
The efficiency gains were even more pronounced. SmPO-SD1.5 required only 41.3 GPU hours for training, representing a 26-fold reduction in cost compared to Diffusion-KTO (1,056 hours). This suggests that accurate trajectory estimation via ReNoise inversion allows for much faster convergence.
Qualitative Improvements
User studies indicated a 72% preference rate for SmPO-SDXL over baseline models. Qualitative analysis revealed that SmPO-aligned models are significantly better at:
- Text Legibility: Correcting common spelling errors in generated images (e.g., correctly spelling "Don't Panic" on a book cover).
- Spatial Reasoning: Accurately placing objects according to complex prompt descriptions, such as correctly positioning items relative to one another.
- Zero-Shot Control: SmPO-aligned models can be integrated with ControlNet without additional training, maintaining their aesthetic improvements while adhering to structural constraints like depth maps or Canny edges.
Discussion and Future Work
While SmPO-Diffusion represents a significant step forward, it is not without limitations. The framework's reliance on reward models like PickScore means it may inherit the biases or blind spots of those evaluators. Additionally, the training data (Pick-a-Pic v2) may contain societal biases that the model could propagate.
Future research directions include transitioning SmPO-Diffusion from an offline fine-tuning method to an online learning framework. This would allow the model to adapt to human feedback in real-time, potentially further improving its alignment with diverse and evolving preferences.
Conclusion
SmPO-Diffusion offers a more nuanced and efficient approach to aligning text-to-image models. By smoothing preference labels and utilizing ReNoise inversion to align training with sampling, the framework achieves superior image quality and spatial accuracy while drastically reducing training time. These innovations provide a robust path forward for developing generative models that more faithfully reflect human intent.
Summary updated