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

通过自适应特征聚合集成扩散模型

Ensembling Diffusion Models via Adaptive Feature Aggregation

State Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);Tencent AIPD(腾讯 AIPD)

Cong Wang, Kuan Tian, Yonghang Guan, Fei Shen, Zhiwei Jiang, Qing Gu, Jun Zhang

AI总结:

提出自适应特征聚合(AFA)方法,通过轻量级空间感知块级聚合器动态融合多个扩散模型的特征,保留优势抑制劣势,实验验证其有效性。

摘要:

文本引导扩散模型的成功激发了开源社区中众多强大扩散模型的开发和发布。这些模型通常在各种专家数据集上进行微调,展现出多样化的去噪能力。利用多个高质量模型来产生更强的生成能力是有价值的,但尚未得到广泛研究。现有方法主要采用参数合并策略来生成一个新的静态模型。然而,它们忽略了这样一个事实:模型的发散去噪能力可能在不同的状态下动态变化,例如当遇到不同的提示、初始噪声、去噪步骤和空间位置时。在本文中,我们提出了一种新颖的集成方法——自适应特征聚合(Adaptive Feature Aggregation, AFA),它根据各种状态(即提示、初始噪声、去噪步骤和空间位置)在特征层面动态调整多个模型的贡献,从而保留多个扩散模型的优势,同时抑制其劣势。具体来说,我们设计了一个轻量级的空间感知块级(Spatial-Aware Block-Wise, SABW)特征聚合器,它将来自多个U-Net去噪器的块级中间特征自适应地聚合为一个统一特征。核心思想在于通过综合考虑各种状态,为每个模型的特征动态生成一个单独的注意力图。值得注意的是,只有SABW是可训练的,参数量约为5000万,而其他模型保持冻结。定量和定性实验均证明了我们提出的自适应特征聚合方法的有效性。

英文摘要:

The success of the text-guided diffusion model has inspired the development and release of numerous powerful diffusion models within the open-source community. These models are typically fine-tuned on various expert datasets, showcasing diverse denoising capabilities. Leveraging multiple high-quality models to produce stronger generation ability is valuable, but has not been extensively studied. Existing methods primarily adopt parameter merging strategies to produce a new static model. However, they overlook the fact that the divergent denoising capabilities of the models may dynamically change across different states, such as when experiencing different prompts, initial noises, denoising steps, and spatial locations. In this paper, we propose a novel ensembling method, Adaptive Feature Aggregation (AFA), which dynamically adjusts the contributions of multiple models at the feature level according to various states (i.e., prompts, initial noises, denoising steps, and spatial locations), thereby keeping the advantages of multiple diffusion models, while suppressing their disadvantages. Specifically, we design a lightweight Spatial-Aware Block-Wise (SABW) feature aggregator that adaptive aggregates the block-wise intermediate features from multiple U-Net denoisers into a unified one. The core idea lies in dynamically producing an individual attention map for each model's features by comprehensively considering various states. It is worth noting that only SABW is trainable with about 50 million parameters, while other models are frozen. Both the quantitative and qualitative experiments demonstrate the effectiveness of our proposed Adaptive Feature Aggregation method.

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

↑