Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

ELITE: Encoding Visual Concepts into Textual Embeddings for Customized Text-to-Image Generation

About

In addition to the unprecedented ability in imaginary creation, large text-to-image models are expected to take customized concepts in image generation. Existing works generally learn such concepts in an optimization-based manner, yet bringing excessive computation or memory burden. In this paper, we instead propose a learning-based encoder, which consists of a global and a local mapping networks for fast and accurate customized text-to-image generation. In specific, the global mapping network projects the hierarchical features of a given image into multiple new words in the textual word embedding space, i.e., one primary word for well-editable concept and other auxiliary words to exclude irrelevant disturbances (e.g., background). In the meantime, a local mapping network injects the encoded patch features into cross attention layers to provide omitted details, without sacrificing the editability of primary concepts. We compare our method with existing optimization-based approaches on a variety of user-defined concepts, and demonstrate that our method enables high-fidelity inversion and more robust editability with a significantly faster encoding process. Our code is publicly available at https://github.com/csyxwei/ELITE.

Yuxiang Wei, Yabo Zhang, Zhilong Ji, Jinfeng Bai, Lei Zhang, Wangmeng Zuo• 2023

Related benchmarks

TaskDatasetResultRank
Subject-driven image generationDreamBench
DINO Score65.2
62
Text-to-Image PersonalizationDreamBooth original (test)
DINO Score0.621
18
Customized Text-to-Image GenerationDreamBench (test)
DINO Score0.621
12
Style aligned image generation100 text prompts (test)
Text Alignment (CLIP Score)25.3
11
Customized Image GenerationDreamBench
CLIP-I Score0.772
10
Text-Guided Subject-Position Variable Background InpaintingSubject-Position Variable Background Inpainting Dataset based on Pinco 1.0 (test)
FID160.1
10
Face PersonalizationFaceForensics++ (test)
AdaFace Score0.0924
10
Subject-driven image generationMulti-subject bench
CLIP-T0.253
8
Personalized Image GenerationDreamBooth
CLIP-I Score86.1
7
Personalized Image GenerationDreamBench 30 distinct personalized subjects
CLIP-T0.293
7
Showing 10 of 15 rows

Other info

Follow for update