arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.37110cs.CVcs.AI
收藏

第一步偏差恢复扩散模型蒸馏中丢失的多样性

A First-Step Bias Restores Lost Diversity in Diffusion Model Distillation

Graz University of Technology(格拉茨工业大学);Complexity Science Hub(复杂性科学中心);Swiss Data Science Center(瑞士数据科学中心)

Wenwu Tang, Dong Wang, Yun Cheng, Olga Saukh

AI总结:

本研究发现扩散模型蒸馏中多样性丢失的关键在第一步,提出ReSeed方法仅调优学生模型第一步,在多模态生成模型上以极少量参数提升多样性且保持视觉质量。

摘要:

分布匹配蒸馏仅需几步去噪即可实现高质量图像生成,但蒸馏得到的学生模型在相同提示下常将不同初始噪声样本映射为相似输出。为定位多样性丢失的位置,我们沿采样轨迹对比教师模型与学生模型,发现不同初始噪声对应的响应在第一步(高噪声阶段)的降幅最大。当用教师模型的对应轨迹替换第一步,保留后续三步学生步骤不变时,输出多样性大多恢复,这表明第一步是恢复多样性的关键。基于此发现,我们提出ReSeed,一种蒸馏后方法,仅在学生模型第一步添加种子响应偏差适配器,并使其速度与教师模型的第一区间割线速度对齐,学生模型的所有权重及后续去噪步骤保持不变。我们在三个文本到图像模型(SD3-Medium、SD3.5-Medium、FLUX.1-dev)和一个文本到视频模型(Wan2.1-T2V-1.3B)上评估ReSeed。对于蒸馏后的4步FLUX.1-dev模型,ReSeed仅需相对于基础模型0.00196%的额外可训练参数,在8000组提示-噪声对上训练,同时保持蒸馏学生模型完全冻结,无需目标图像、感知损失或对抗损失。它将DINO多样性提升48.3%,同时保持竞争力的视觉质量。这些结果表明,仅对第一步进行轻量、数据高效的调优,无需对整个学生模型微调,即可恢复大量多样性。

英文摘要:

Distribution-matching distillation enables high-quality image generation in only a few denoising steps. However, distilled student models often map different initial noise samples to similar outputs under the same prompt. To locate where diversity is lost, we compare the teacher and student along the sampling trajectory. The largest measured reduction in the response to different initial noises occurs during the first, high-noise step. When we replace the first step with the teacher's corresponding trajectory and leave the final three student steps unchanged, most of the output diversity returns. This suggests that the first step is a key point for restoring diversity. Motivated by this finding, we introduce \emph{ReSeed}, a post-distillation method that adds a seed-response bias adapter only to the first student step and aligns its velocity with the teacher's first-interval secant velocity. All student weights and later denoising steps remain unchanged. We evaluate ReSeed on three text-to-image models (SD3-Medium, SD3.5-Medium, and FLUX.1-dev) and one text-to-video model (Wan2.1-T2V-1.3B). For a distilled 4-step FLUX.1-dev model, \emph{ReSeed} requires only $0.00196\%$ additional trainable parameters relative to the base model and is trained on 8,000 prompt--noise pairs, while keeping the distilled student fully frozen and requiring no target images, perceptual losses, or adversarial losses. It improves DINO diversity by $48.3\%$ while maintaining competitive visual quality. These results show that substantial diversity can be recovered through a lightweight, data-efficient tuning of only the first denoising step, without finetuning the full student model.

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

↑