Minority-Focused Text-to-Image Generation via Prompt Optimization

Soobin Um, Jong Chul Ye
10/1/2024

No official code found. Best implementation: soobin-um/MinorityPrompt (28 stars, MIT, last commit 2025-04-08).

Abstract

We investigate the generation of minority samples using pretrained text-to-image (T2I) latent diffusion models. Minority instances, in the context of T2I generation, can be defined as ones living on low-density regions of text-conditional data distributions. They are valuable for various applications of modern T2I generators, such as data augmentation and creative AI. Unfortunately, existing pretrained T2I diffusion models primarily focus on high-density regions, largely due to the influence of guided samplers (like CFG) that are essential for high-quality generation. To address this, we present a novel framework to counter the high-density-focus of T2I diffusion models. Specifically, we first develop an online prompt optimization framework that encourages emergence of desired properties during inference while preserving semantic contents of user-provided prompts. We subsequently tailor this generic prompt optimizer into a specialized solver that promotes generation of minority features by incorporating a carefully-crafted likelihood objective. Extensive experiments conducted across various types of T2I models demonstrate that our approach significantly enhances the capability to produce high-quality minority instances compared to existing samplers. Code is available at https://github.com/soobin-um/MinorityPrompt.

View on arXivView PDF

Code Implementations(1)

MIT

Official PyTorch Implementation of "Minority-Focused Text-to-Image Generation via Prompt Optimization" (CVPR 2025 Oral)

284Shell, PythonNov 17, 20241 years agoMIT

Similar Papers

Cite this paper

@article{um2024minorityfocused,
  title  = {Minority-Focused Text-to-Image Generation via Prompt Optimization},
  author = {Soobin Um and Jong Chul Ye},
  year   = {2024},
  eprint = {2410.07838},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.07838},
  journal = {CVPR 2024 2024}
}

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

Discussion