2025-03-14 · 专家 · 机器学习 · 计算机视觉

Distilling Diversity and Control in Diffusion Models

这篇论文提出了一种名为“多样性蒸馏”的方法,通过在扩散模型中结合基模型和蒸馏模型,在保持计算效率的同时,提高了样本多样性。

更新于 2025-03-14。作者:Rohit Gandikota、David Bau。

中文摘要

蒸馏扩散模型存在一个关键限制:与基础模型相比,样本多样性降低。在这项工作中,我们发现尽管存在多样性损失,蒸馏模型仍然保留了基础模型的基本概念表示。我们展示了控制蒸馏——即在基础模型上训练的控制机制(如概念滑块和LoRAs)可以无缝地转移到蒸馏模型,反之亦然,从而有效地蒸馏控制,无需重新训练。这种表示结构的保留促使我们调查了在蒸馏过程中多样性崩溃的机制。为了了解蒸馏如何影响多样性,我们引入了扩散目标(DT)可视化,这是一个分析和调试工具,揭示了模型在中间步骤预测最终输出的方式。通过DT-Visualization,我们识别了生成伪影、不一致性,并证明初始扩散时间步不比例地决定了输出多样性,而后续步骤主要细化细节。基于这些见解,我们引入了多样性蒸馏——一种混合推理方法,在仅对第一个关键时间步使用基础模型后,切换到高效的蒸馏模型。我们的实验表明,这种简单的修改不仅恢复了从基础模型到蒸馏模型的多样性能力,而且出人意料地超过了它,同时保持了蒸馏推理的近似的计算效率,所有这些都不需要额外的训练或模型修改。我们的代码和数据可在https://distillation.baulab.info获取。

英文摘要

Distilled diffusion models suffer from a critical limitation: reduced sample diversity compared to their base counterparts. In this work, we uncover that despite this diversity loss, distilled models retain the fundamental concept representations of base models. We demonstrate control distillation - where control mechanisms like Concept Sliders and LoRAs trained on base models can be seamlessly transferred to distilled models and vice-versa, effectively distilling control without any retraining. This preservation of representational structure prompted our investigation into the mechanisms of diversity collapse during distillation. To understand how distillation affects diversity, we introduce Diffusion Target (DT) Visualization, an analysis and debugging tool that reveals how models predict final outputs at intermediate steps. Through DT-Visualization, we identify generation artifacts, inconsistencies, and demonstrate that initial diffusion timesteps disproportionately determine output diversity, while later steps primarily refine details. Based on these insights, we introduce diversity distillation - a hybrid inference approach that strategically employs the base model for only the first critical timestep before transitioning to the efficient distilled model. Our experiments demonstrate that this simple modification not only restores the diversity capabilities from base to distilled models but surprisingly exceeds it, while maintaining nearly the computational efficiency of distilled inference, all without requiring additional training or model modifications. Our code and data are available at https://distillation.baulab.info

解读

一句话总结

这篇论文提出了一种名为“多样性蒸馏”的方法,通过在扩散模型中结合基模型和蒸馏模型,在保持计算效率的同时,提高了样本多样性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt