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

FastComposer:基于局部化注意力的免调谐多主体图像生成

FastComposer: Tuning-Free Multi-Subject Image Generation with Localized Attention

Massachusetts Institute of Technology(麻省理工学院)

Guangxuan Xiao, Tianwei Yin, William T. Freeman, Frédo Durand, Song Han

AI总结:

FastComposer提出一种免微调的高效多主体文本到图像生成方法,通过图像编码器提取主体嵌入增强文本条件,并引入交叉注意力局部化监督与延迟主体条件化技术,解决了多主体身份混合与过拟合问题,实现300至2500倍加速。

摘要:

扩散模型在文本到图像生成方面表现出色,尤其是在用于个性化图像的主体驱动生成中。然而,由于需要针对特定主体进行微调,现有方法效率低下,这不仅计算量大,还阻碍了高效部署。此外,现有方法在多主体生成中表现不佳,因为它们经常在主体之间混合特征。我们提出了FastComposer,它能够在无需微调的情况下实现高效、个性化、多主体的文本到图像生成。FastComposer使用图像编码器提取的主体嵌入来增强扩散模型中的通用文本条件,仅需前向传播即可基于主体图像和文本指令生成个性化图像。为了解决多主体生成中的身份混合问题,FastComposer在训练期间提出交叉注意力局部化监督,强制参考主体的注意力局部化到目标图像中的正确区域。直接基于主体嵌入进行条件化会导致主体过拟合。FastComposer在去噪步骤中提出延迟主体条件化,以在主体驱动的图像生成中同时保持身份和可编辑性。FastComposer能生成具有不同风格、动作和背景的多个未见个体的图像。与基于微调的方法相比,它实现了300倍至2500倍的加速,并且新主体无需任何额外存储。FastComposer为高效、个性化且高质量的多主体图像创作铺平了道路。代码、模型和数据集可在https://github.com/mit-han-lab/fastcomposer获取。

英文摘要:

Diffusion models excel at text-to-image generation, especially in subject-driven generation for personalized images. However, existing methods are inefficient due to the subject-specific fine-tuning, which is computationally intensive and hampers efficient deployment. Moreover, existing methods struggle with multi-subject generation as they often blend features among subjects. We present FastComposer which enables efficient, personalized, multi-subject text-to-image generation without fine-tuning. FastComposer uses subject embeddings extracted by an image encoder to augment the generic text conditioning in diffusion models, enabling personalized image generation based on subject images and textual instructions with only forward passes. To address the identity blending problem in the multi-subject generation, FastComposer proposes cross-attention localization supervision during training, enforcing the attention of reference subjects localized to the correct regions in the target images. Naively conditioning on subject embeddings results in subject overfitting. FastComposer proposes delayed subject conditioning in the denoising step to maintain both identity and editability in subject-driven image generation. FastComposer generates images of multiple unseen individuals with different styles, actions, and contexts. It achieves 300$\times$-2500$\times$ speedup compared to fine-tuning-based methods and requires zero extra storage for new subjects. FastComposer paves the way for efficient, personalized, and high-quality multi-subject image creation. Code, model, and dataset are available at https://github.com/mit-han-lab/fastcomposer.

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

↑