Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

CONFORM: Contrast is All You Need For High-Fidelity Text-to-Image Diffusion Models

About

Images produced by text-to-image diffusion models might not always faithfully represent the semantic intent of the provided text prompt, where the model might overlook or entirely fail to produce certain objects. Existing solutions often require customly tailored functions for each of these problems, leading to sub-optimal results, especially for complex prompts. Our work introduces a novel perspective by tackling this challenge in a contrastive context. Our approach intuitively promotes the segregation of objects in attention maps while also maintaining that pairs of related attributes are kept close to each other. We conduct extensive experiments across a wide variety of scenarios, each involving unique combinations of objects, attributes, and scenes. These experiments effectively showcase the versatility, efficiency, and flexibility of our method in working with both latent and pixel-based diffusion models, including Stable Diffusion and Imagen. Moreover, we publicly share our source code to facilitate further research.

Tuna Han Salih Meral, Enis Simsar, Federico Tombari, Pinar Yanardag• 2023

Related benchmarks

TaskDatasetResultRank
Text-to-Image GenerationVISOR
OA (%)60.73
21
Text-to-Image GenerationSimilar Textures
SR64.5
11
Text-to-Image SynthesisAnE Animal-Animal
Full Similarity33.9
10
Text-to-Image SynthesisAnE Animal-Object split
Full Similarity0.358
10
Text-to-Image GenerationFLUX.1
Win Rate50
10
Text-to-Image GenerationMulti-subject prompts (test)
CLIP I-T0.3481
10
Text-to-Image GenerationSD 3.5
Win Rate (%)49
10
Text-to-Image SynthesisAnE Object-Object
Full Similarity0.358
10
Coarse-grained attribute bindingAuthor's Benchmark 1.0 (test)
VQAScore0.412
8
Coarse-grained attribute bindingUser Study 10 prompts (test)
User Preference Frequency13.2
8
Showing 10 of 30 rows

Other info

Follow for update