arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.10637cs.GRcs.CV
收藏

扩散模型中的多样性与控制蒸馏

Distilling Diversity and Control in Diffusion Models

Northeastern University(东北大学)

Rohit Gandikota, David Bau

AI总结:

本文发现蒸馏扩散模型多样性下降源于其在第一个时间步过早确定图像结构,并提出仅在首步使用基础模型的多样性蒸馏方法,在保持效率的同时恢复样本多样性。

摘要:

蒸馏扩散模型能够以远少于原始模型的采样步数生成图像,但在使用相同提示生成多个输出时,其样本多样性会下降。为了理解这一现象,我们首先研究蒸馏是否损害了概念表示,具体方法是检查所需的多样性是否被正确学习。令人惊讶的是,蒸馏模型保留了基础模型的表示结构:Concept Sliders 和 LoRA 等控制机制无需重新训练即可无缝迁移,并且 SliderSpace 分析表明蒸馏模型具备产生多样性所需的变分方向,但未能激活这些方向。这一发现将我们的研究引向理解基础模型与蒸馏模型之间生成动态的差异。通过 $\hat{\mathbf{x}}_{0}$ 轨迹可视化,我们发现蒸馏模型几乎在第一个时间步就立即确定了最终图像结构,而基础模型则将结构决策分布在多个步骤中。为了检验这种第一步即确定结构的行为是否导致了多样性损失,我们引入了多样性蒸馏方法,这是一种混合方法,仅在第一个关键时间步使用基础模型,然后切换到蒸馏模型。这一单一干预措施在保持计算效率的同时恢复了样本多样性。我们提供了因果验证和理论支持,说明为什么第一个时间步集中了蒸馏模型的多样性瓶颈。我们的代码和数据可在 https://distillation.baulab.info/ 获取。

英文摘要:

Distilled diffusion models generate images in far fewer timesteps but suffer from reduced sample diversity when generating multiple outputs from the same prompt. To understand this phenomenon, we first investigate whether distillation damages concept representations by examining if the required diversity is properly learned. Surprisingly, distilled models retain the base model's representational structure: control mechanisms like Concept Sliders and LoRAs transfer seamlessly without retraining, and SliderSpace analysis reveals distilled models possess variational directions needed for diversity yet fail to activate them. This redirects our investigation to understanding how the generation dynamics differ between base and distilled models. Using $\hat{\mathbf{x}}_{0}$ trajectory visualization, we discover distilled models commit to their final image structure almost immediately at the first timestep, while base models distribute structural decisions across many steps. To test whether this first-step commitment causes the diversity loss, we introduce diversity distillation, a hybrid approach using the base model for only the first critical timestep before switching to the distilled model. This single intervention restores sample diversity while maintaining computational efficiency. We provide both causal validation and theoretical support showing why the very first timestep concentrates the diversity bottleneck in distilled models. Our code and data are available at https://distillation.baulab.info/

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

↑