通过教师对齐修复弥合扩散剪枝与步长蒸馏
Bridging Diffusion Pruning and Step Distillation with Teacher-Aligned Repair
AI总结:
研究扩散模型推理成本高的问题,提出用教师对齐修复阶段连接剪枝与步长蒸馏,解决剪枝后重新训练难题,在ImageNet-512上实验,不同剪枝比例下模型参数减少、评估次数降低,FID有相应变化。
摘要:
扩散模型能生成高质量图像,但推理成本源于大型去噪网络和重复去噪步骤。现有压缩管道通常分别处理这些成本。剪枝可减少网络,但多数剪枝方法仍依赖长时间的剪枝后重新训练阶段来恢复多步采样器。步长蒸馏可减少去噪步骤数量,但通常假设学生模型能很好地跟随教师模型以接收有用的蒸馏梯度。本文探讨能否用步长蒸馏取代剪枝后的重新训练。研究发现直接替换不可行,引入了一个短的教师对齐修复阶段作为剪枝和步长蒸馏之间的桥梁。在ImageNet-512上,原始EDM2-XS基线使用124.713M参数和63次网络评估,FID为3.53。使用合适的蒸馏目标,20%剪枝的一步生成器使用98.826M参数和一次网络评估,FID为3.12;30%剪枝时,模型使用88.029M参数和一次网络评估,FID为4.26。
英文摘要:
Diffusion models generate high-quality images, but their inference cost comes from two sources: large denoising networks and repeated denoising steps. Existing compression pipelines usually attack these costs separately. Pruning reduces the network, but most pruning methods still rely on a long post-pruning retraining stage to recover a many-step sampler. Step distillation reduces the number of denoising steps, but it usually assumes a student that can already follow the teacher well enough to receive useful distillation gradients. This paper asks whether post-pruning retraining can be replaced by step distillation. We find that the direct replacement fails: after pruning an EDM2-XS teacher, starting SiDA from the pruned checkpoint produces unusable samples. We introduce a short teacher-alignment repair stage as a bridge between pruning and step distillation. The bridge matches the pruned generator to the teacher on noisy real-image latents, then hands the repaired checkpoint to one-step distillation. On ImageNet-512, the original EDM2-XS baseline uses 124.713M parameters and 63 network evaluations, reaching an FID of 3.53. With a suitable distillation objective, our 20% pruned one-step generator uses 98.826M parameters and one network evaluation, reaching an FID of 3.12. With 30% pruning, the model uses 88.029M parameters and one network evaluation, with an FID of 4.26.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。