Saved in:
Bibliographic Details
Main Authors: He, Qiyuan, Wang, Jinghao, Liu, Ziwei, Yao, Angela
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2403.17924
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909336071045120
author He, Qiyuan
Wang, Jinghao
Liu, Ziwei
Yao, Angela
author_facet He, Qiyuan
Wang, Jinghao
Liu, Ziwei
Yao, Angela
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2403_17924
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AID: Attention Interpolation of Text-to-Image Diffusion
He, Qiyuan
Wang, Jinghao
Liu, Ziwei
Yao, Angela
Computer Vision and Pattern Recognition
Artificial Intelligence
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.
title AID: Attention Interpolation of Text-to-Image Diffusion
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2403.17924