Posterior Matching Distillation 以四步擴散匹配完整模型品質,延遲最多降低六倍
Four‑step diffusion matches full models with reduced latency
Posterior Matching Distillation(PMD)以四步去噪達到完整預算擴散採樣器的保真度,生成延遲最多降低六倍,且不需輔助評分網絡。SDXL 和 FLUX.2 4B 的實驗中,PMD 在兩款模型的四步方法中取得最佳 FID。相同訓練後的學生模型亦可用四步或兩步推理生成多樣樣本。
Four denoising steps now match the fidelity of full‑budget diffusion samplers, slashing generation latency by up to six times. Posterior Matching Distillation makes that possible without auxiliary score networks.
Before PMD, diffusion distillation relied on reverse‑KL objectives that favored dominant teacher modes and required many sampling steps to preserve diversity. Practitioners therefore accepted a trade‑off: fewer steps meant noticeable quality loss.
"Experiments on SDXL and FLUX.2 4B demonstrate that PMD achieves the best FID among 4-step methods on both models, while maintaining competitive or leading performance across prompt-alignment and perceptual-quality metrics."[1] By matching exponentially reweighted student averages to tilted teacher means, the stochastic student learns the full posterior at each noise level, eliminating the mode‑seeking bias that plagued earlier distillation approaches.
"The figure also demonstrates PMD’s any-step capability: the same trained student generates diverse samples with four and two inference steps."[1] Because the student’s distribution is conditioned on a fixed noisy state rather than a fixed step count, practitioners can flexibly trade latency for quality without retraining the model.
The study reports results only on SDXL and FLUX.2 4B, leaving performance on larger checkpoints or text‑to‑image pipelines untested; absolute latency reductions are reported as up to sixfold speedup, though exact wall‑clock seconds are not provided. Consequently, it remains an open question how PMD scales to models exceeding 10 B parameters or to multimodal generation tasks.
Benchmarks for few‑step diffusion should now include PMD as the default four‑step reference, and production pipelines can safely drop step counts from dozens to four, cutting GPU hours dramatically.
References
來源:DEV Community · dev.to