arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.17924cs.CVcs.AI
收藏

AID:文本到图像扩散的注意力插值

AID: Attention Interpolation of Text-to-Image Diffusion

National University of Singapore(新加坡国立大学);Nanyang Technological University(南洋理工大学)

Qiyuan He, Jinghao Wang, Ziwei Liu, Angela Yao

AI总结:

本文提出免训练的AID方法,通过内/外插值注意力层、与自注意力融合及beta分布选择,提升文本到图像扩散模型在条件插值中的一致性、平滑性与保真度,并支持路径控制。

摘要:

条件扩散模型能够在多种设置下生成未见过的图像,从而辅助图像插值。潜在空间中的插值已被广泛研究,但在特定条件(如文本或姿态)下的插值仍缺乏深入理解。简单的方法(例如在条件空间中进行线性插值)往往导致生成的图像缺乏一致性、平滑性和保真度。为此,我们提出了一种新颖的免训练技术,名为基于扩散的注意力插值(Attention Interpolation via Diffusion,AID)。我们的主要贡献包括:1)提出了一种内/外插值注意力层;2)将插值注意力与自注意力融合以提升保真度;3)应用 beta 分布进行选择以增强平滑性。我们还提出了一种变体,即基于扩散的提示引导注意力插值(Prompt-guided Attention Interpolation via Diffusion,PAID),它将插值视为一个依赖条件的生成过程。该方法能够生成具有更高一致性、平滑性和效率的新图像,并可控制插值的确切路径。我们的方法在概念插值和空间插值上均表现出有效性。代码和演示可在 https://github.com/QY-H00/attention-interpolation-diffusion 获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑