Rethinking Preference Alignment for Diffusion Models with Classifier-Free Guidance
Abstract
Aligning large-scale text-to-image diffusion models with nuanced human preferences remains challenging. While direct preference optimization (DPO) is simple and effective, large-scale finetuning often shows a generalization gap. We take inspiration from test-time guidance and cast preference alignment as classifier-free guidance (CFG): a finetuned preference model acts as an external control signal during sampling. Building on this view, we propose a simple method that improves alignment without retraining the base model. To further enhance generalization, we decouple preference learning into two modules trained on positive and negative data, respectively, and form a \emph{contrastive guidance} vector at inference by subtracting their predictions (positive minus negative), scaled by a user-chosen strength and added to the base prediction at each step. This yields a sharper and controllable alignment signal. We evaluate on Stable Diffusion 1.5 and Stable Diffusion XL with Pick-a-Pic v2 and HPDv3, showing consistent quantitative and qualitative gains.
Fields of Study & Subjects
Generative Adversarial Networks and Image Synthesis
Multimodal Machine Learning Applications
Domain Adaptation and Few-Shot Learning
Publication details
- Journal / source
- arXiv (Cornell University)
- Publication date
- 21 February 2026
- Language
- EN
- Document type
- Preprint