arXiv(opens in a new tab)cs.CVOct 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2610.02188

DMAD: Distribution Matching as Adversarial Distillation for Fast Visual Generation

Zhengming Yu, Junkun Yuan, Haotian Yang, Gordon Guocheng Qian, Yizhi Wang, Angtian Wang, Yiding Yang, Bo Liu, Xin Li, Wenping Wang, Chongyang Ma

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

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-64×64, 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.

1 Introduction

Diffusion models generate high-quality images and videos [11, 29, 38, 40], but sampling requires many sequential denoising steps. Step distillation reduces this cost by training a few-step generator from a pretrained teacher. Existing approaches supervise the student along the teacher's sampling trajectories [16, 31, 39] or match distributions [47, 48]. Distribution matching lets the student learn its own mapping from noise to samples while preserving the target distribution.

Distribution Matching Distillation (DMD) [48] trains the student on the difference between target and student scores. A frozen teacher supplies the target score, while an auxiliary diffusion model, the critic, tracks the evolving student distribution. When the critic lags behind, its score estimate carries error and training destabilizes. DMD2 [47] mitigates this with a two time-scale update rule (TTUR) that runs five critic updates.

Figure

Figure 1 Samples of our four-step student distilled from MiniMax-H3. Zoom in for details.

per student update. Stability improves, but the student score is still only approximated, and each student update costs five critic passes. Beyond the critic, DMD2 evaluates the teacher online during training, adding further memory and computation cost. Its denoising task also constrains the architecture of the discriminator.

We introduce DMAD, Distribution Matching as Adversarial Distillation, which replaces separate score estimation with two classification tasks, one against teacher samples and one against real data. Two discriminator heads distinguish these targets from student samples, and linear losses on their logits drive the updates. At the discriminator optimum, this loss yields the distribution-matching gradient underlying DMD (Proposition 1). DMAD eliminates auxiliary score fitting. In our experiments, we use one discriminator update per student update. Freed from the denoising task, the discriminator can build on diffusion encoders or pretrained classification features. The teacher now only supplies samples, so we generate them once and cache them, removing online teacher evaluation from training.

Errors in separately estimated scores can be large relative to their difference, which drives the student update. We examine this in a controlled experiment on two nearby Gaussian mixtures with known gradients, holding the student distribution fixed and giving both estimators the same teacher pretraining and seed. Figure 2 compares DMD's score difference with our single-head logit gradient. In this setting, our estimate follows the ground-truth field more closely, with normalized mean squared error of 0.144, compared with 1.539 for DMD. Section B.2 gives the setup and the analytic gradients.

DMAD draws on two targets, the teacher's samples and real data, which play complementary roles. Previous methods, including DMD2 [47], SiDA [52], and SenseFlow [6], add adversarial supervision on top of a score-based objective. In contrast, our discriminator heads carry the distribution-matching gradient themselves. Each head compares student samples with one target, and a linear loss on their logits trains the generator. The real-data head supplies supervision beyond the teacher's sampled distribution. Teacher samples alone would bound the student by the teacher's own fidelity; training against real data lifts that bound, and our students outperform their teachers on both ImageNet and COCO. Our ablations in Table 4 demonstrate the complementary roles of the two targets: removing the real-data head raises four-step FID from 14.47 to 21.37 on COCO-10K, while removing teacher supervision reduces semantic fidelity and visual quality, dropping VBench total score from 84.70 to 82.20 and semantic score from 79.55 to 75.36.

The balance between the two targets can vary across noise levels. During training, the real-data head assigns different mean logits to real and teacher samples (Figure 7(a)). This gap varies across noise levels and depends on the current student and discriminator. We use it as an empirical signal for gap-based reweighting, assigning larger teacher weights to noise bands with lower gaps. This adaptive allocation improves performance for both image and video generation (Table 4).

Our contributions are:

• We introduce DMAD, a distribution-matching distillation framework that jointly learns from teacher-generated samples and real data through two binary classification tasks, eliminating auxiliary score fitting and online teacher evaluation.

• We develop gap-based reweighting, which uses the real-data head’s mean responses to teacher and real samples within each noise band to adapt the teacher’s supervision as training proceeds.

• DMAD achieves 1.04 FID with one-step generation on ImageNet-64×64 and 14.47 with four-step SDXL on COCO-10K, where one step reaches 16.11. Four-step Wan2.1-T2V-1.3B and -14B reach VBench total

Figure

Target and Student

— Target — Student

Ground-truth Gradient

Figure

DMD Gradient

NMSE = 1.539

Ours Gradient

NMSE = 0.144

Figure 2 Gradient estimation on two Gaussian mixtures with a fixed student. Our logit gradient more closely matches the ground-truth field than DMD's score difference.

scores of 84.70 and 85.15. These are the best values among the compared few-step methods and the multi-step teachers. On the 33B MiniMax-H3 [28], human raters prefer our four-step student to DMD2 in 79.1% and to rCM [51] in 84.6%, excluding ties.

References (56)