Skip to main content
QUICK REVIEW

[Paper Review] SDXL-Lightning: Progressive Adversarial Diffusion Distillation

Shanchuan Lin, Anran Wang|arXiv (Cornell University)|Feb 21, 2024
Spectroscopy Techniques in Biomedical and Chemical ResearchBiochemistry, Genetics and Molecular Biology6 citations
TL;DR

SDXL-Lightning introduces progressive adversarial diffusion distillation to produce high-quality one-step/few-step 1024px text-to-image models, open-sourced as LoRA and full UNet weights for SDXL.

ABSTRACT

We propose a diffusion distillation method that achieves new state-of-the-art in one-step/few-step 1024px text-to-image generation based on SDXL. Our method combines progressive and adversarial distillation to achieve a balance between quality and mode coverage. In this paper, we discuss the theoretical analysis, discriminator design, model formulation, and training techniques. We open-source our distilled SDXL-Lightning models both as LoRA and full UNet weights.

Motivation & Objective

  • Advance one-step and few-step text-to-image generation at 1024px by distilling SDXL.
  • Balance image quality with mode coverage via a progressive-adversarial distillation framework.
  • Preserve probability flow to maintain compatibility with LoRA and control plugins.
  • Provide stable training techniques and open-source models for broader research use.

Proposed method

  • Combine progressive distillation with adversarial loss to guide the student along the teacher's diffusion flow.
  • Use a discriminator backbone based on the pre-trained SDXL U-Net encoder operating in latent space.
  • Train with conditional adversarial loss to preserve the flow and unconditional loss to relax mode coverage.
  • Apply a two-stage distillation schedule: start with MSE for initial 128→32 steps, then switch to adversarial distillation for 32→8→4→2→1 steps.
  • Incorporate stabilization techniques including multi-timestep training, conditional/unconditional discriminators, and a schedule fix to align training and inference.
Figure 1 : Illustration of multiple possible flows learned by models with different capacities. Distilled student models for few-step generations do not have the same capacity to match with the teacher models, leading to blurry results with MSE loss.
Figure 1 : Illustration of multiple possible flows learned by models with different capacities. Distilled student models for few-step generations do not have the same capacity to match with the teacher models, leading to blurry results with MSE loss.

Experimental results

Research questions

  • RQ1Can progressive adversarial diffusion distillation yield high-quality one-step/few-step 1024px generation competitive with or superior to SDXL variants?
  • RQ2Does adversarial distillation improve quality without sacrificing mode coverage compared to MSE-based distillation?
  • RQ3How does discriminator design in latent space affect stability and compatibility with LoRA and control plugins?
  • RQ4What training strategies and schedule adjustments are needed to stabilize few-step distillation at high resolution?

Key findings

  • Achieves new state-of-the-art one-step/few-step generation at 1024px resolution compared to prior open-source distillation methods.
  • Progressive distillation preserves probability flow and mode coverage; adversarial loss mitigates blurriness seen with MSE in few-step generation.
  • Discriminator based on pre-trained SDXL U-Net encoder operating in latent space enables efficient, multi-timestep discrimination and improves stability.
  • The method yields competitive FID and CLIP scores, with notably better high-resolution details (FID-patch) than other distillation baselines.
  • LoRA-trained distillations are compatible with other base models and can be deployed as LoRA or full UNet models; method supports ControlNet conditioning.
Figure 2 : “Janus” artifacts appear when the student network does not have the capacity to match the teacher’s sudden changes. This problem can be mitigated by relaxing the mode coverage requirement.
Figure 2 : “Janus” artifacts appear when the student network does not have the capacity to match the teacher’s sudden changes. This problem can be mitigated by relaxing the mode coverage requirement.

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.