Score identity Distillation: Exponentially Fast Distillation of Pretrained Diffusion Models for One-Step Generation

Mingyuan Zhou, Huangjie Zheng, Zhendong Wang, Mingzhang Yin, Hai Huang
4/5/2024
cs.LGcs.AIcs.CV

Official code: mingyuanzhou/SiD (155 stars, Apache-2.0, last commit 2025-03-29). 1 more implementation below.

Abstract

We introduce Score identity Distillation (SiD), an innovative data-free method that distills the generative capabilities of pretrained diffusion models into a single-step generator. SiD not only facilitates an exponentially fast reduction in Fréchet inception distance (FID) during distillation but also approaches or even exceeds the FID performance of the original teacher diffusion models. By reformulating forward diffusion processes as semi-implicit distributions, we leverage three score-related identities to create an innovative loss mechanism. This mechanism achieves rapid FID reduction by training the generator using its own synthesized images, eliminating the need for real data or reverse-diffusion-based generation, all accomplished within significantly shortened generation time. Upon evaluation across four benchmark datasets, the SiD algorithm demonstrates high iteration efficiency during distillation and surpasses competing distillation approaches, whether they are one-step or few-step, data-free, or dependent on training data, in terms of generation quality. This achievement not only redefines the benchmarks for efficiency and effectiveness in diffusion distillation but also in the broader field of diffusion-based generation. The PyTorch implementation is available at https://github.com/mingyuanzhou/SiD

View on arXivView PDF

Code Implementations(2)

mingyuanzhou/SiDOfficial100%
Apache-2.0

PyTorch code and model checkpoints for Score identity Distillation (SiD) and its adversarial version (SiDA)

15511C++, CudaApr 22, 20241 years agoApache-2.0
Apache-2.0

Score identity Distillation with Long and Short Guidance for One-Step Text-to-Image Generation

966C++, CudaJun 19, 202410 months agoApache-2.0

Similar Papers

Cite this paper

@article{zhou2024score,
  title  = {Score identity Distillation: Exponentially Fast Distillation of Pretrained Diffusion Models for One-Step Generation},
  author = {Mingyuan Zhou and Huangjie Zheng and Zhendong Wang and Mingzhang Yin and Hai Huang},
  year   = {2024},
  eprint = {2404.04057},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.04057v3},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.04057.svg)](https://codeofpaper.com/paper/2404.04057)

Discussion