Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translation
Narek Tumanyan∗ Michal Geyer∗ Shai Bagon Tali Dekel
Weizmann Institute of Science
*Indicates equal contribution.
Abstract
A new framework that takes text-to-image synthesis to the realm of image-to-image translation.
Guidance
Contents
1. Introduction
2. Related Work
3. Preliminary
4. Method
5. Results
6. Conclusion
Introduction
1.
Introduction
Provide new insights about internal spatial features formed.
Better balance between preserving and deviating.
An framework performing text-guided I2I translation without training or fine-tuning.
A possible approach for achieving control of the generated layout is to design text-to-image foundation models that explicitly incorporate additional guiding signals.
Related Work
2.
GAN
CLIP
personalizing
2. Related Work
Preliminary
3.
Diffusion Model
Operate directly in pixel space
Too slow and expensive!
Latent Diffusion Models
Pixel space
Latent space
LDM Method
Encoder / Decoder
Conditional denoising autoencoder + Attention block
domain specific encoder
CLIP
Attention block
Q
KV
Attention block
=
convolutional feature
feature from
domain specific encoder
feature from
domain specific encoder
Method
4.
Overview
Cross attention
Get feature
Generate
Extract & Inject
1
Extract
Extract spatial features from the decoder layers and self-attention.
2
Inject
inject the guidance features at certain layers.
Spatial features
The exact scene layout, the shape of the object and its fine-grained pose often significantly vary across generated images from the same prompt under different initial noise XT.
Semantic part segments can be estimated from spatial features in an unconditional diffusion model.
Self-attention
Self-attention modules compute the affinities Alt between the spatial features after linearly projecting them into queries and keys. These affinities have a tight connection to the established concept of self-similarly.
This motivates us to consider the attention matrices Alt to achieve fine-grained control.
U-Net layer
Cross attention
Algorithm
Control semantic feature
Control fine-grained
Results
5.
Wild-TI2I
ImageNet-R-TI2I
Comparisons
Ablation
Conclusion
6.
Contributions & Limitations
Limitations
Fails when there is no semantic association between the guidance content and the target text.
Contributions
A new framework for diverse text-guided I2I translation, founded on new insights about the internal representation of a pre-trained T2I diffusion model.
Thanks
For
Watching