DMAD:对抗蒸馏实现快速视觉生成
DMAD: Distribution Matching as Adversarial Distillation for Fast Visual Generation
新方法DMAD通过对抗蒸馏实现快速视觉生成,在多个基准上超越现有方法,代码已开源。
DMAD将分布匹配重新定义为分类问题,直接学习所需的对数密度比率。该方法在ImageNet-64x64上实现一步生成FID为1.04,在COCO-10K上四步生成FID为14.47。在MiniMax-H3-33B上,四步学生模型在音视频生成中分别以79.1%和84.6%的偏好率超越DMD2和rCM。
DMAD: Distribution Matching as Adversarial Distillation for Fast Visual Generation
Distribution Matching Distillation (DMD) trains a few-step student from the difference between separately estimated target and student scores, so it must keep an auxiliary diffusion model fitted to the student's evolving distribution at extra memory and computation cost. We introduce DMAD, Distribution Matching as Adversarial Distillation, which recasts distribution matching as classification and learns the required log-density ratios directly. Two discriminator heads on a shared backbone distinguish real data and teacher samples from the student's, and linear losses on their logits train the student without auxiliary score fitting. We prove that at the discriminator optimum these losses recover the distribution-matching gradient underlying DMD, through the classical identity linking discriminator logits to log-density ratios. We further introduce gap-based reweighting, which adapts teacher supervision across noise levels from the real-data head's empirical logit gap between real and teacher samples. DMAD reaches a Fréchet Inception Distance (FID) of 1.04 with one-step generation on ImageNet-64x64, 14.47 with four-step SDXL on COCO-10K, and a VBench total score of 85.15 with four-step Wan2.1-T2V-14B, the best values among the compared few-step methods and the multi-step teachers. On MiniMax-H3-33B, our four-step student achieves overall human preference rates of 79.1% over DMD2 and 84.6% over rCM for joint audio-video generation, excluding ties. Our code, models and demos are available at https://yzmblog.github.io/projects/DMAD.