Generalizing Alignment Paradigm of Text-to-Image Generation with Preferences through f-divergence Minimization

Haoyuan Sun, Bo Xia, Yongzhe Chang, Xueqian Wang
9/15/2024
cs.CV

No confident code implementation found for this paper.

Abstract

Direct Preference Optimization (DPO) has recently expanded its successful application from aligning large language models (LLMs) to aligning text-to-image models with human preferences, which has generated considerable interest within the community. However, we have observed that these approaches rely solely on minimizing the reverse Kullback-Leibler divergence during alignment process between the fine-tuned model and the reference model, neglecting the incorporation of other divergence constraints. In this study, we focus on extending reverse Kullback-Leibler divergence in the alignment paradigm of text-to-image models to $f$-divergence, which aims to garner better alignment performance as well as good generation diversity. We provide the generalized formula of the alignment paradigm under the $f$-divergence condition and thoroughly analyze the impact of different divergence constraints on alignment process from the perspective of gradient fields. We conduct comprehensive evaluation on image-text alignment performance, human value alignment performance and generation diversity performance under different divergence constraints, and the results indicate that alignment based on Jensen-Shannon divergence achieves the best trade-off among them. The option of divergence employed for aligning text-to-image models significantly impacts the trade-off between alignment performance (especially human value alignment) and generation diversity, which highlights the necessity of selecting an appropriate divergence for practical applications.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sun2024generalizing,
  title  = {Generalizing Alignment Paradigm of Text-to-Image Generation with Preferences through f-divergence Minimization},
  author = {Haoyuan Sun and Bo Xia and Yongzhe Chang and Xueqian Wang},
  year   = {2024},
  eprint = {2409.09774},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.09774v3}
}

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

Discussion