Rethinking Preference Alignment for Diffusion Models with Classifier-Free Guidance

Zhou Jiang, Yandong Wen, Zhen Liu
2/21/2026
cs.CV

No official code found. Best implementation: UGVly/PreferenceGuidanceDiffusion (1 star, last commit 2026-02-15).

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.

View on arXivView PDF

Code Implementations(1)

The official repository for the paper "Rethinking Preference Alignment for Diffusion Models with Classifier-Free Guidance"

10Shell, PythonJan 12, 20268 months ago

Similar Papers

Cite this paper

@article{jiang2026rethinking,
  title  = {Rethinking Preference Alignment for Diffusion Models with Classifier-Free Guidance},
  author = {Zhou Jiang and Yandong Wen and Zhen Liu},
  year   = {2026},
  eprint = {2602.18799},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.18799v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.18799.svg)](https://codeofpaper.com/paper/2602.18799)

Discussion