Reducing Spatial Fitting Error in Distillation of Denoising Diffusion Models

Shengzhe Zhou, Zejian Lee, Shengyuan Zhang, Lefan Hou, Changyuan Yang +3 more
11/7/2023
cs.CVcs.AI

Official code: Sainzerjj/SFERD (4 stars, MIT, last commit 2023-12-19).

Abstract

Denoising Diffusion models have exhibited remarkable capabilities in image generation. However, generating high-quality samples requires a large number of iterations. Knowledge distillation for diffusion models is an effective method to address this limitation with a shortened sampling process but causes degraded generative quality. Based on our analysis with bias-variance decomposition and experimental observations, we attribute the degradation to the spatial fitting error occurring in the training of both the teacher and student model. Accordingly, we propose $\textbf{S}$patial $\textbf{F}$itting-$\textbf{E}$rror $\textbf{R}$eduction $\textbf{D}$istillation model ($\textbf{SFERD}$). SFERD utilizes attention guidance from the teacher model and a designed semantic gradient predictor to reduce the student's fitting error. Empirically, our proposed model facilitates high-quality sample generation in a few function evaluations. We achieve an FID of 5.31 on CIFAR-10 and 9.39 on ImageNet 64$\times$64 with only one step, outperforming existing diffusion methods. Our study provides a new perspective on diffusion distillation by highlighting the intrinsic denoising ability of models. Project link: \url{https://github.com/Sainzerjj/SFERD}.

View on arXivView PDF

Code Implementations(1)

Sainzerjj/SFERDOfficial100%
MIT

Official implementation for paper: "Reducing Spatial Fitting Error in Distillation of Denoising (AAAI2024) Diffusion Models".

40PythonOct 19, 20232 years agoMIT

Similar Papers

Cite this paper

@article{zhou2023reducing,
  title  = {Reducing Spatial Fitting Error in Distillation of Denoising Diffusion Models},
  author = {Shengzhe Zhou and Zejian Lee and Shengyuan Zhang and Lefan Hou and Changyuan Yang and Guang Yang and Zhiyuan Yang and Lingyun Sun},
  year   = {2023},
  eprint = {2311.03830},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.03830v2}
}

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/2311.03830.svg)](https://codeofpaper.com/paper/2311.03830)

Discussion