arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.11627cs.CV
收藏

LoRA-Composer:在免训练扩散模型中利用低秩适配实现多概念定制化

LoRA-Composer: Leveraging Low-Rank Adaptation for Multi-Concept Customization in Training-Free Diffusion Models

Zhejiang University(浙江大学);Fabu Inc.(发步科技);The School of Software Technology, Zhejiang University(浙江大学软件学院);Tencent Inc.(腾讯公司)

Yang Yang, Wen Wang, Liang Peng, Chaotian Song, Yao Chen, Hengjia Li, Xiaolong Yang, Qinglin Lu, Deng Cai, Boxi Wu, Wei Liu

AI总结:

针对多概念定制化生成中的概念混淆与消失问题,提出免训练框架LoRA-Composer,通过概念注入/隔离约束、扩展注意力及潜在变量重初始化提升多概念融合效果,性能优于标准基线。

摘要:

定制化生成技术已极大推动了在不同场景中合成特定概念的能力,多概念定制化是该领域内极具挑战性的任务。现有方法通常依赖训练多个低秩适配(LoRA)的融合矩阵,将不同概念合并到单张图像中。但我们发现这种直接方法面临两大挑战:1)概念混淆,即模型难以保留各概念的独特个体特征;2)概念消失,即模型无法生成目标主体。为解决这些问题,我们提出LoRA-Composer,这是一个免训练框架,旨在无缝整合多个LoRA,从而提升生成图像中不同概念之间的协调性。LoRA-Composer通过概念注入约束解决概念消失问题,借助扩展的交叉注意力机制增强概念可见性;为应对概念混淆,引入概念隔离约束,优化自注意力计算。此外,还提出潜在变量重初始化方法,可有效激活指定区域内的概念特定潜在变量。我们的大量测试表明,与标准基线相比,LoRA-Composer的性能有显著提升,尤其是在去除canny边缘或姿态估计等基于图像的条件时效果更突出。代码已发布于https://github.com/Young98CN/LoRA_Composer。

英文摘要:

Customization generation techniques have significantly advanced the synthesis of specific concepts across varied contexts. Multi-concept customization emerges as the challenging task within this domain. Existing approaches often rely on training a fusion matrix of multiple Low-Rank Adaptations (LoRAs) to merge various concepts into a single image. However, we identify this straightforward method faces two major challenges: 1) concept confusion, where the model struggles to preserve distinct individual characteristics, and 2) concept vanishing, where the model fails to generate the intended subjects. To address these issues, we introduce LoRA-Composer, a training-free framework designed for seamlessly integrating multiple LoRAs, thereby enhancing the harmony among different concepts within generated images. LoRA-Composer addresses concept vanishing through concept injection constraints, enhancing concept visibility via an expanded cross-attention mechanism. To combat concept confusion, concept isolation constraints are introduced, refining the self-attention computation. Furthermore, latent re-initialization is proposed to effectively stimulate concept-specific latent within designated regions. Our extensive testing showcases a notable enhancement in LoRA-Composer's performance compared to standard baselines, especially when eliminating the image-based conditions like canny edge or pose estimations. Code is released at \url{https://github.com/Young98CN/LoRA_Composer}

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

↑