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

X-Adapter:为升级版扩散模型添加插件通用兼容性

X-Adapter: Adding Universal Compatibility of Plugins for Upgraded Diffusion Model

Tencent AI Lab(腾讯AI实验室);Fudan University(复旦大学);National University of Singapore(新加坡国立大学)

Lingmin Ran, Xiaodong Cun, Jia-Wei Liu, Rui Zhao, Song Zijie, Xintao Wang, Jussi Keppo, Mike Zheng Shou

AI总结:

提出X-Adapter通用升级器,通过冻结旧模型副本、添加可训练映射层及空文本训练和两阶段去噪策略,使预训练插件无需重训练即可兼容升级版扩散模型并协同工作。

摘要:

我们引入了X-Adapter,这是一种通用升级器,使预训练的即插即用模块(如ControlNet、LoRA)能够直接与升级版的文本到图像扩散模型(如SDXL)配合工作,而无需进一步重新训练。我们通过训练一个额外的网络,利用新的文本-图像数据对来控制冻结的升级版模型来实现这一目标。具体而言,X-Adapter保留了旧模型的冻结副本,以保留不同插件的连接器。此外,X-Adapter添加了可训练的映射层,这些映射层桥接了不同版本模型的解码器,用于特征重映射。重映射后的特征将作为升级版模型的指导。为了增强X-Adapter的指导能力,我们对升级版模型采用了空文本训练策略。在训练之后,我们还引入了两阶段去噪策略,以对齐X-Adapter和升级版模型的初始潜变量。得益于我们的策略,X-Adapter展示了对各种插件的通用兼容性,并使不同版本的插件能够协同工作,从而扩展了扩散社区的功能。为了验证所提出方法的有效性,我们进行了大量实验,结果表明X-Adapter可以促进在升级版基础扩散模型中的更广泛应用。

英文摘要:

We introduce X-Adapter, a universal upgrader to enable the pretrained plug-and-play modules (e.g., ControlNet, LoRA) to work directly with the upgraded text-to-image diffusion model (e.g., SDXL) without further retraining. We achieve this goal by training an additional network to control the frozen upgraded model with the new text-image data pairs. In detail, X-Adapter keeps a frozen copy of the old model to preserve the connectors of different plugins. Additionally, X-Adapter adds trainable mapping layers that bridge the decoders from models of different versions for feature remapping. The remapped features will be used as guidance for the upgraded model. To enhance the guidance ability of X-Adapter, we employ a null-text training strategy for the upgraded model. After training, we also introduce a two-stage denoising strategy to align the initial latents of X-Adapter and the upgraded model. Thanks to our strategies, X-Adapter demonstrates universal compatibility with various plugins and also enables plugins of different versions to work together, thereby expanding the functionalities of diffusion community. To verify the effectiveness of the proposed method, we conduct extensive experiments and the results show that X-Adapter may facilitate wider application in the upgraded foundational diffusion model.

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

↑