[论文解读] Ensembling Diffusion Models via Adaptive Feature Aggregation
本文提出自适应特征聚合(AFA),一种动态集成方法,通过轻量级空间感知块级(SABW)聚合器,在提示词、去噪步数、初始噪声和空间位置等多状态条件下,自适应地融合多个文本到图像扩散模型的中间特征,实现块级动态注意力图生成。AFA在保持极低计算开销的同时,实现了最先进的图像质量和上下文对齐性能,优于基础模型和静态集成基线。
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.
研究动机与目标
- 为解决静态模型集成方法无法考虑不同生成状态下去噪能力动态变化的局限性。
- 实现对多个预训练扩散模型的动态、特征级融合,使其能根据提示词、噪声水平、去噪步数和空间位置自适应地发挥各模型的优势。
- 设计一个轻量级、可训练的聚合器(SABW),学习为多个U-Net去噪器的特征分配动态注意力权重,而无需微调基础模型。
- 在保持与单模型推理相当的计算效率的同时,实现更优的图像生成质量和上下文对齐性能。
提出的方法
- AFA使用空间感知块级(SABW)特征聚合器,动态聚合来自多个U-Net去噪器的块级中间特征,为每个模型生成独立的注意力图。
- SABW聚合器综合考虑多种状态——提示词、去噪步数、初始噪声和空间位置——以生成每个模型特征的自适应注意力权重。
- 注意力图通过可学习机制计算,融合文本、步数和空间条件信号,以调节特征贡献。
- 仅SABW模块可训练(约5000万参数),所有基础扩散模型均冻结,以保留其预训练能力。
- 该方法在反向去噪过程中运行,在每个块的最终预测前融合特征,实现上下文感知的动态模型组合。
- 该框架支持定量与定性评估,消融研究验证了各组件的贡献。

实验结果
研究问题
- RQ1与静态集成或单个模型相比,跨多个扩散模型进行动态、状态感知的特征融合是否能提升图像生成质量和对齐性能?
- RQ2提示词、初始噪声、去噪步数和空间位置等不同生成状态如何影响单个扩散模型的相对性能?
- RQ3为特征聚合学习空间感知注意力图是否能带来优于标量或均匀加权方案的性能提升?
- RQ4尽管融合了多个模型,所提出的AFA方法在多大程度上保持了计算效率?
- RQ5将时间步和文本条件信号整合到注意力机制中,对动态模型集成有何影响?
主要发现
- AFA在FID和CLIP分数上均达到最先进性能,Group I的FID为0.4388,Group II为0.4892,显著优于基础模型和静态集成基线。
- 消融研究显示,若移除空间位置建模,性能下降至0.4044 FID(Group I),表明空间感知对有效特征融合至关重要。
- 若排除时间步或文本条件信号,性能分别下降至0.4235和0.4163 FID(Group I),证实其在动态加权中的重要性。
- 即使仅使用20次推理步(总时间8.8秒),AFA仍保持优异性能,表明其对减少推理步数具有高度容忍性,优于标准集成方法。
- 尽管单次推理时间因多模型运行而成比例增加,但由于高效的推理容忍能力,完整生成的总时间仍与基础模型相当。
- 块级平均和仅最后一块集成的性能较低(FID ≥ 0.4176),证实通过SABW实现全块、自适应融合的必要性。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。