Rust in Everything
← Papers

Posterior Matching Distillation

Hidir Yesiltepe, Julius Berner, Arash Vahdat, Pinar Yanardag

2026-11-20▲ 33arXiv 2611.26629v1Hugging FaceCode

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

Posterior Matching Distillation trains a stochastic few-step student to match a family of exponentially tilted teacher posterior means, which provably identifies the teacher's full conditional posterior at each noise level while each target costs only one frozen-teacher evaluation.

Problem

Few-step diffusion distillation must decide what information about the teacher's generative distribution the student should preserve. Distribution-based methods driven by reverse-KL objectives are mode-seeking and can favor dominant modes at the expense of sample diversity, and matching marginals does not guarantee that the student learns the teacher's conditional distribution of clean images given each noisy state. Moment Matching compares conditional means but at a re-noised student prediction rather than at the original noisy input, and it needs an auxiliary denoiser or parameter-space optimization.

Method

PMD exponentiates the teacher posterior by exp(lambda^T x) and targets the resulting tilted posterior means from a frozen teacher. Its Tilt=Shift Identity shows that under Gaussian corruption q_lambda(x|z_t) = q(x|z_t + rho_t lambda) with rho_t = sigma_t^2/alpha_t, so each tilted mean equals a single denoiser evaluation D_t(z_t + rho_t lambda). A stochastic student, made stochastic by concatenating noise-mixed and original latent tokens (doubling the input projection), produces M independent clean predictions per noisy state; their softmax-weighted mean is regressed onto the teacher's tilted mean by a squared residual loss. Because matching tilted means over an open neighborhood of lambda = 0 uniquely identifies the full posterior, zero population loss recovers the teacher's conditional posterior, including modes and their probabilities. Training uses on-policy detached rollouts, four student draws and four tilt queries per state, and adds a non-saturating logistic GAN loss with weight 0.75. A finite-sample bias correction uses delete-one jackknife residuals cross-fitted over balanced partitions of the draws.

Results

  • PMD achieves the best FID among compared four-step methods on both SDXL and FLUX.2 [klein] 4B. §5
  • On intra-prompt diversity over PartiPrompts, PMD improves over the strongest baseline per metric on SDXL and on FLUX.2 [klein] 4B. §5
  • The PMD-only variant has the highest diversity but the weakest quality and alignment, while Stochastic DMD has the best quality but about half the diversity; the full model lies in between. §E.1
  • In a 50-participant user study, PMD received higher diversity ratings than SMD, RTDMD, and FLUX.2 [klein] in most comparisons, with few losses, and mostly ties on realism and prompt alignment. §F
  • On Wan 2.1 1.3B four-step text-to-video generation, PMD reaches a VBench Overall score close to AnyFlow's and surpassing the 50-step teacher, and has the highest VideoMAE V2 diversity. §H
  • Larger tilt radii improve diversity while a broader radius range gives the best FID, indicating a trade-off. §D.2

Limitations

  • The paper states that PMD requires multiple student draws during training and still relies on an auxiliary adversarial loss to further improve visual realism (§6).
  • The tilt-radius ablation shows a trade-off: larger tilts improve diversity but a broader range gives the best FID, and excessively large tilts concentrate exponential weights on few samples, making finite-sample estimation less stable (§D.2).
  • The targets are evaluations of the frozen teacher at guidance scale 1, so the identified distribution is the teacher's unguided conditional posterior, which is broad but low-fidelity and weakly prompt-aligned; this is why the PMD-only variant has poor ImageReward and CLIP-S (§E.1).
  • The softmax-weighted mean is a self-normalized ratio estimate that is biased with finitely many draws, and squaring a single residual adds a variance term; the jackknife cross-fitting estimator is stated not to be generally unbiased at nonzero tilt (Appendix C.1).

Key points

  • Reverse-KL distribution matching is mode-seeking and can favor dominant teacher modes, reducing sample diversity. §1
  • Tilt=Shift Identity: for rho_t = sigma_t^2/alpha_t, the exponentially tilted posterior equals the posterior at a shifted noisy input, so its mean is D_t(z_t + rho_t lambda). §4.1
  • Posterior Identification Theorem: matching tilted means for all tilts in an open neighborhood of zero implies the student's conditional distribution equals the teacher posterior. §4.2
  • The loss is the expected squared residual between the student's softmax-weighted sample mean and the teacher's shifted evaluation, with expectations taken over student draws before squaring. §4.3
  • PMD trains on detached on-policy rollout states and adds a GAN loss with fixed weight 0.75 on caption-conditioned frozen-teacher features. §4.4
  • A stochastic student supports any-step sampling within the trained timestep grid by predicting a clean image, re-noising to the next level, and evaluating again, without retraining. §4.5
  • Ablating components shows the stochastic architecture alone does not yield diversity: the GAN-only variant is least diverse, so coverage comes from the posterior-matching objective. §E.1
  • Coarse spatially correlated tilt directions consistently yield better diversity than isotropic tilts. §5

Mind map

Posterior Matching Distillation
Problem
Few-step distillation needs many NFE
Reverse-KL matching is mode-seeking
Marginal matching ignores conditionals
Tilt=Shift Identity
Exponential tilt of posterior
Shift z_t by rho_t lambda
Single frozen-teacher evaluation
Theory
Posterior Identification Theorem
Open neighborhood of tilts
Conditional MMD and CGF views
Training
Stochastic student via doubled input
M draws, softmax-weighted mean
Auxiliary GAN loss weight 0.75
Jackknife bias correction
Results
Best FID among 4-step methods
Best intra-prompt diversity
Any-step 4 and 2 step sampling
Video results on Wan 2.1 1.3B
Limitations
Multiple student draws per state
Needs adversarial loss
Unguided posterior target