NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Aligning Diffusion Models by Optimizing Human Utility

Shufan Li, Konstantinos Kallidromitis, Akash Gokul, Yusuke Kato, Kazuki Kozuka

Text-to-image (T2I) models like Stable Diffusion are incredibly powerful, but out-of-the-box, their outputs often fail to align with human preferences. They might generate distorted faces, ignore parts of the prompt, or produce aesthetically unpleasing images. To fix this, researchers typically fine-tune models using human feedback.

However, existing alignment methods for diffusion models (like RLHF or Diffusion-DPO) rely on pairwise preference data—requiring humans to look at two images generated from the same prompt and rank which one is better. Collecting this data is slow and expensive. Furthermore, reinforcement learning approaches require backpropagating a reward signal through the entire multi-step diffusion process, creating a massive computational bottleneck.

In "Aligning Diffusion Models by Optimizing Human Utility," researchers introduce Diffusion-KTO, a novel approach that aligns T2I models using simple, per-image binary feedback (like/dislike) instead of expensive pairwise comparisons. By applying principles from behavioral economics to individual steps of the diffusion process, it achieves state-of-the-art alignment while bypassing the massive memory costs associated with traditional reward models.

The Diffusion-KTO Framework

The authors adapt the Kahneman-Tversky Optimization (KTO) framework—recently popularized for Large Language Models—to the visual domain.

  • Binary Feedback over Pairs: Instead of feeding the model pairs of images, Diffusion-KTO uses independent images labeled simply as "desirable" (+1) or "undesirable" (-1).
  • Step-wise Optimization: To avoid the memory nightmare of backpropagating through the entire reverse diffusion process, Diffusion-KTO applies its utility maximization objective to individual sampling steps (the local policy).
  • Kahneman-Tversky Utility Function: The objective function is rooted in Prospect Theory, a behavioral economics concept. It uses a sigmoid utility function that models human decision-making: humans tend to be risk-averse when dealing with gains, but risk-seeking when dealing with losses. This psychology-backed math naturally balances the model's behavior. Purely "loss-averse" functions make the model so terrified of generating bad images that it deviates from the prompt, while "risk-seeking" functions make it chase rewards at the cost of tolerating awful artifacts. The KTO sigmoid function hits the sweet spot.

Datasets and Evaluation

The model was fine-tuned on the Pick-a-Pic v2 dataset. Because Pick-a-Pic is originally a pairwise dataset, the authors cleverly partitioned it: any image chosen as a "winner" at least once was labeled "desirable," and the rest were labeled "undesirable." Evaluation was conducted using prompts from the Pick-a-Pic v2 test set, HPS v2, and PartiPrompts.

Key Insights and Results

The success of Diffusion-KTO proves that absolute, independent signals are rich enough to teach a diffusion model what humans prefer, provided the right mathematical framing is used. Because binary feedback is so easy to gather (e.g., a user clicking a "thumbs up"), this method opens the door to easily customizing T2I models to an individual user's highly specific tastes.

When applied to Stable Diffusion (SD) v1-5 and v2-1, Diffusion-KTO yielded impressive results:

  • Human Evaluation: In blind A/B tests, human judges preferred Diffusion-KTO's images over the base SD v1-5 model 75% of the time. It also beat the officially released Diffusion-DPO model 69% of the time.
  • Automated Metrics: Against Diffusion-DPO, Diffusion-KTO won 74.2% of the time on LAION Aesthetics, 61.8% on PickScore, and 78.4% on ImageReward.
  • Qualitative Improvements: Visually, Diffusion-KTO models showed vastly improved prompt fidelity, better anatomical symmetry, and richer aesthetics compared to baselines.
  • Synthetic Personalization: In a proof-of-concept experiment, the authors successfully trained a model to specifically prefer "red-tinted" images or "high-aesthetic" images just by feeding it binary labels based on those heuristics.

Limitations and Future Work

Because the model learns from internet-sourced preference data, it inherits the biases of those users. For example, the model developed a strong bias toward "concept-art" and "painting" styles simply because the human labelers preferred them. Additionally, Diffusion-KTO fine-tunes an existing model; it cannot fix fundamental architectural flaws of the base model, such as struggling to spell words correctly.

Future work will explore other utility functions and their underlying psychological assumptions, as the Kahneman-Tversky utility function has proven to be a highly promising research direction for AI alignment.

Summary updated

BibTeX
@inproceedings{li2024aligning,
  author = {Shufan Li and Konstantinos Kallidromitis and Akash Gokul and Yusuke Kato and Kazuki Kozuka},
  title = {{Aligning Diffusion Models by Optimizing Human Utility}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=MTMShU5QaC},
}
Figure