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

AID: Attention Interpolation of Text-to-Image Diffusion

About

Conditional diffusion models can create unseen images in various settings, aiding image interpolation. Interpolation in latent spaces is well-studied, but interpolation with specific conditions like text or poses is less understood. Simple approaches, such as linear interpolation in the space of conditions, often result in images that lack consistency, smoothness, and fidelity. To that end, we introduce a novel training-free technique named Attention Interpolation via Diffusion (AID). Our key contributions include 1) proposing an inner/outer interpolated attention layer; 2) fusing the interpolated attention with self-attention to boost fidelity; and 3) applying beta distribution to selection to increase smoothness. We also present a variant, Prompt-guided Attention Interpolation via Diffusion (PAID), that considers interpolation as a condition-dependent generative process. This method enables the creation of new images with greater consistency, smoothness, and efficiency, and offers control over the exact path of interpolation. Our approach demonstrates effectiveness for conceptual and spatial interpolation. Code and demo are available at https://github.com/QY-H00/attention-interpolation-diffusion.

Qiyuan He, Jinghao Wang, Ziwei Liu, Angela Yao• 2024

Related benchmarks

TaskDatasetResultRank
Image BlendingTotally Looks Like Low Difficulty
Attribute-Masked DreamSim (Input 1)0.599
8
Image BlendingTotally Looks Like High Difficulty
AMD Score (Input 1)0.483
8
Textured 3D MorphingTextured 3D Morphing (test)
FID120.9
7
Textured 3D MorphingInterp3DData Hard
FID81.81
6
Textured 3D MorphingInterp3DData Easy
FID77.65
6
Textured 3D MorphingInterp3DData Mid
FID83.62
6
Textured 3D MorphingInterp3DData (Average)
FID81.03
6
3D MorphingInterp3DData (test)
P-KID0.4857
5
3D MorphingInterp3D User Study 1.0 (test)
Fidelity16.86
5
Conditional InterpolationCIFAR-10
Smoothness0.7861
4
Showing 10 of 13 rows

Other info

Follow for update