arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.11565cs.CVcs.AIcs.GR
收藏

MoA:用于个性化图像生成中主体-上下文解耦的注意力混合架构

MoA: Mixture-of-Attention for Subject-Context Disentanglement in Personalized Image Generation

Snap Inc.(斯纳普公司)

Kuan-Chieh Wang, Daniil Ostashev, Yuwei Fang, Sergey Tulyakov, Kfir Aberman

AI总结:

本文提出注意力混合(MoA)架构,通过个性化分支与固定先验分支的注意力分配和路由机制,在保留原始扩散模型先验的同时实现多主体个性化图像生成,并实现更解耦的主体-上下文控制。

摘要:

我们提出了一种用于文本到图像扩散模型个性化的新架构,命名为注意力混合(Mixture-of-Attention,MoA)。受大语言模型(LLMs)中使用的专家混合机制的启发,MoA 将生成工作负载分配到两条注意力通路上:一条个性化分支和一条非个性化先验分支。MoA 的设计目标是通过在先验分支中固定其注意力层来保留原始模型的先验,同时通过个性化分支以最小干预的方式介入生成过程,该分支学习将主体嵌入到由先验分支生成的布局和上下文中。一种新颖的路由机制管理每一层中像素在这两条分支之间的分配,以优化个性化内容与通用内容创建的融合。一旦训练完成,MoA 能够促进生成高质量的、包含多个主体的个性化图像,其构图和交互的多样性与原始模型生成的结果相当。至关重要的是,MoA 增强了模型原有能力与新增加的个性化干预之间的区分度,从而提供了此前无法实现的更解耦的主体-上下文控制。项目页面:https://snap-research.github.io/mixture-of-attention

英文摘要:

We introduce a new architecture for personalization of text-to-image diffusion models, coined Mixture-of-Attention (MoA). Inspired by the Mixture-of-Experts mechanism utilized in large language models (LLMs), MoA distributes the generation workload between two attention pathways: a personalized branch and a non-personalized prior branch. MoA is designed to retain the original model's prior by fixing its attention layers in the prior branch, while minimally intervening in the generation process with the personalized branch that learns to embed subjects in the layout and context generated by the prior branch. A novel routing mechanism manages the distribution of pixels in each layer across these branches to optimize the blend of personalized and generic content creation. Once trained, MoA facilitates the creation of high-quality, personalized images featuring multiple subjects with compositions and interactions as diverse as those generated by the original model. Crucially, MoA enhances the distinction between the model's pre-existing capability and the newly augmented personalized intervention, thereby offering a more disentangled subject-context control that was previously unattainable. Project page: https://snap-research.github.io/mixture-of-attention

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

↑