If at First You Don't Succeed, Try, Try Again: Faithful Diffusion-based Text-to-Image Generation by Selection

Shyamgopal Karthik, Karsten Roth, Massimiliano Mancini, Zeynep Akata
5/22/2023
42 citations
cs.CV
diffusion-flow

Official code: ExplainableML/ImageSelect (27 stars, Python, MIT, last commit 2023-07-10).

Abstract

Despite their impressive capabilities, diffusion-based text-to-image (T2I) models can lack faithfulness to the text prompt, where generated images may not contain all the mentioned objects, attributes or relations. To alleviate these issues, recent works proposed post-hoc methods to improve model faithfulness without costly retraining, by modifying how the model utilizes the input prompt.

Show full abstract

In this work, we take a step back and show that large T2I diffusion models are more faithful than usually assumed, and can generate images faithful to even complex prompts without the need to manipulate the generative process. Based on that, we show how faithfulness can be simply treated as a candidate selection problem instead, and introduce a straightforward pipeline that generates candidate images for a text prompt and picks the best one according to an automatic scoring system that can leverage already existing T2I evaluation metrics. Quantitative comparisons alongside user studies on diverse benchmarks show consistently improved faithfulness over post-hoc enhancement methods, with comparable or lower computational cost. Code is available at \url{https://github.com/ExplainableML/ImageSelect}.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "If at First You Don't Succeed, Try, Try Again: Faithful Diffusion-based Text-to-Image Generation by Selection"

271PythonMay 19, 20233 years agoMIT

Similar Papers

Cite this paper

@article{karthik2023first,
  title  = {If at First You Don't Succeed, Try, Try Again: Faithful Diffusion-based Text-to-Image Generation by Selection},
  author = {Shyamgopal Karthik and Karsten Roth and Massimiliano Mancini and Zeynep Akata},
  year   = {2023},
  eprint = {2305.13308},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.13308v1}
}

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

Discussion