Aligning Text-to-Image Diffusion Models to Human Preference by Classification

Long-Quan Dai, Xiao-Lu Wei, He Wang, Shao-Meng Wang, Jin-Hui Tang
1/1/2025
diffusion-flow

No official code found. Best implementation: dailongquan/abc (2 stars, GPL-3.0, last commit 2025-10-11).

Abstract

Text-to-image diffusion models are typically trained on large-scale web data, often resulting in outputs that misalign with human preferences. Inspired by preference learning in large language models, we propose ABC (Alignment by Classification), a simple yet effective framework for aligning diffusion models with human preferences.

Show full abstract

In contrast to prior DPO-based methods that depend on suboptimal supervised fine-tuned (SFT) reference models, ABC assumes access to an ideal reference model perfectly aligned with human intent and reformulates alignment as a classification problem. Under this classification view, we recognize that preference data naturally forms a semi-supervised classification setting. To address this, we propose a data augmentation strategy that transforms preference comparisons into fully supervised training signals. We then introduce a classification-based ABC loss to guide alignment. Our alignment by classification approach could effectively steer the diffusion model toward the behavior of the ideal reference. Experiments on various diffusion models show that our ABC consistently outperforms existing baselines, offering a scalable and robust solution for preference-based text-to-image fine-tuning. Code is available at https://github.com/dailongquan/abc.

DOISemantic Scholar

Code Implementations(1)

dailongquan/abcCommunity25%
GPL-3.0

[NeurIPS 2025] An official implementation of ABC: Aligning Text-to-Image Diffusion Models to Human Preference by Classification

20Oct 11, 20251 years agoGPL-3.0

Similar Papers

Cite this paper

@article{dai2025aligning,
  title  = {Aligning Text-to-Image Diffusion Models to Human Preference by Classification},
  author = {Long-Quan Dai and Xiao-Lu Wei and He Wang and Shao-Meng Wang and Jin-Hui Tang},
  year   = {2025},
  doi    = {10.52202/085713-0931},
  url    = {https://doi.org/10.52202/085713-0931},
  journal = {Neural Information Processing Systems}
}

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/bc1e81943c0f15e8c879b810570db5342852fed1.svg)](https://codeofpaper.com/paper/bc1e81943c0f15e8c879b810570db5342852fed1)

Discussion