Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Distillation in Iterative Generative Models for Improved Sampling Speed

Eric Luhman, Troy Luhman|arXiv (Cornell University)|Jan 7, 2021
Generative Adversarial Networks and Image SynthesisComputer Science40 references62 citations
TL;DR

The paper introduces a knowledge distillation approach to compress a multi-step, deterministic DDIM sampling process into a single-step Denoising Student, achieving GAN-like sampling speed with high-quality samples on CIFAR-10, CelebA, and LSUN without adversarial training.

ABSTRACT

Iterative generative models, such as noise conditional score networks and denoising diffusion probabilistic models, produce high quality samples by gradually denoising an initial noise vector. However, their denoising process has many steps, making them 2-3 orders of magnitude slower than other generative models such as GANs and VAEs. In this paper, we establish a novel connection between knowledge distillation and image generation with a technique that distills a multi-step denoising process into a single step, resulting in a sampling speed similar to other single-step generative models. Our Denoising Student generates high quality samples comparable to GANs on the CIFAR-10 and CelebA datasets, without adversarial training. We demonstrate that our method scales to higher resolutions through experiments on 256 x 256 LSUN. Code and checkpoints are available at https://github.com/tcl9876/Denoising_Student

Motivation & Objective

  • Motivate faster sampling for iterative generative models (e.g., DDPMs, NCSNs) by reducing the number of denoising steps.
  • Propose a knowledge distillation framework where a fast student learns to match the teacher's DDIM outputs.
  • Provide a simple, non-adversarial objective that enables distillation without changing architecture or training dynamics.
  • Demonstrate scalability to higher resolutions (e.g., 256x256 LSUN) while retaining meaningful latent representations.

Proposed method

  • Model the teacher as a DDIM with a deterministic, multi-step generative process.
  • Define a student that outputs a Gaussian approximation of p(x0|xT) with trainable mean F_student(xT) and unit variance.
  • Train the student by minimizing KL(p_teacher(x0|xT) || p_student(x0|xT)) which simplifies to a regression loss between F_student(xT) and the teacher’s output F_teacher(xT).
  • Initialize the student with the same architecture/weights as the teacher’s noise predictor to transfer knowledge.
  • Add Gaussian noise to the teacher’s output to ensure a nonzero output distribution for training.
  • Condition both teacher and student on the timestep T (highest noise level).
  • Leverage the deterministic nature of DDIM so that sampling from xT to x0 can be collapsed into a single evaluation by the student.

Experimental results

Research questions

  • RQ1Can knowledge distillation transfer the multi-step DDIM denoising process into a single-step model without adversarial training?
  • RQ2How does a single-step denoising student perform in terms of sample quality (FID/IS) and speed on standard benchmarks (CIFAR-10, CelebA) and higher-resolution datasets (LSUN 256x256)?
  • RQ3Is the distilled model capable of preserving latent space structure and enabling meaningful interpolations?

Key findings

  • Denoising Student achieves competitive FID and IS on CIFAR-10 (FID 9.36, IS 8.36) with only 1 step.
  • On CelebA, the model achieves a competitive FID of 10.68 (IS not reported in text).
  • For higher resolution LSUN (256x256), the model demonstrates coherent structure and color but some texture blur remains due to pixel-wise replication objective.
  • Sampling speed is greatly accelerated: about 100x faster than the teacher and 1000x faster than a DDPM for CIFAR-10, with timing 51.5 seconds to generate 50k images.
  • The approach scales to 256x256 LSUN images and learns latent representations enabling meaningful interpolations, as shown by spherical interpolation results.
  • The method does not rely on adversarial training and retains the ability to perform latent-space manipulations similar to implicit models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.