One-Step Diffusion Distillation via Deep Equilibrium Models

Zhengyang Geng, Ashwini Pokle, J Zico Kolter

TL;DR

This paper introduces the Generative Equilibrium Transformer (GET), a novel architecture that distills complex, multi-step diffusion models into a single-step generator. By leveraging Deep Equilibrium (DEQ) models to solve for a "fixed point" in the image generation process, the authors achieve state-of-the-art one-step performance. GET matches the image quality of models five times larger while utilizing a significantly simpler training pipeline.

The Challenge: The Diffusion "Speed Limit"

Diffusion models are the current gold standard for high-quality image generation, but they suffer from a major bottleneck: they typically require hundreds or thousands of iterative denoising steps to produce a single image. This makes them highly impractical for real-time applications.

To solve this, researchers often use distillation, where a smaller "student" model learns to mimic the "teacher" diffusion model in fewer steps. However, existing distillation methods (like Progressive Distillation or Consistency Models) are often complex, requiring multiple training stages, dual model copies, and massive computational budgets. Furthermore, most distilled models still struggle to maintain high image quality when pushed to just a single inference step.

Methods: The GET Architecture

The authors propose a two-pronged solution: a simplified training strategy and a specialized architecture.

1. Direct Offline Distillation

Instead of complex multi-stage training, the authors generate a dataset of 1 million noise-to-image pairs using a high-quality teacher model (EDM). The student model is then trained "offline" to map the initial Gaussian noise directly to the final image using a simple $L_1$ reconstruction loss. This fully offline training is vastly more resource-efficient than traditional online distillation.

2. Generative Equilibrium Transformer (GET)

The core innovation is the use of a Deep Equilibrium (DEQ) architecture. Unlike standard Vision Transformers (ViTs) that have a fixed number of distinct layers, a DEQ uses weight-tied layers to solve for a "fixed point."

Architecture of the Generative Equilibrium Transformer (GET)

Think of it as an "infinite-depth" network where the representation is refined iteratively until it stabilizes: $z^* = f_\theta(z^*; x)$. This allows the model to adaptively allocate computation during inference—more iterations lead to better quality without increasing the number of parameters.

3. Additive Injection Interface

To feed noise and class labels into the transformer blocks efficiently, the authors developed a parameter-free injection mechanism. This mimics cross-attention but operates with much lower computational overhead.

Datasets

The study focuses on the CIFAR-10 dataset for both unconditional and class-conditional image generation. To facilitate offline distillation, the authors introduced two new synthetic benchmarks:

  • EDM-Uncond-1M: 1 million noise/image pairs generated from an unconditional EDM teacher.
  • EDM-Cond-1M: 1 million noise-label/image pairs generated from a conditional EDM teacher.

Key Results & Insights

GET demonstrates that implicit models (like DEQs) can follow better scaling laws than classic explicit networks for generative tasks. Because GET uses the same weights across its internal iterations, it acts as a natural regularizer, making the model incredibly parameter-efficient.

Performance and Parameter Scaling of GET vs. ViT
  • Superior Efficiency: GET-Base (62M parameters) achieved an FID score of 6.91 on CIFAR-10. For context, this outperforms Progressive Distillation (FID 9.12) and Knowledge Distillation (FID 9.36) while being much simpler to train.
  • 5x Parameter Advantage: The GET architecture matches the performance of a ViT that is five times larger in terms of parameter count. A 19M parameter GET model can outperform an 85M parameter ViT.
  • Speed & Memory: GET-Mini (19.2M params) is not only faster at sampling than ViT-Base (85.2M params) but also uses less training memory, making it highly suitable for resource-constrained environments.

Ultimately, the authors show that you don't need complex adversarial losses or multi-step schedules if your architecture is capable of internal refinement. A simple mapping from noise to image is sufficient when using the fixed-point approach of a DEQ.

Limitations and Future Work

  • Deterministic Constraint: The current method relies on a deterministic mapping between noise and images. It works best with ODE-based diffusion samplers (like EDM) and cannot be directly applied to stochastic samplers that introduce randomness at every step.
  • Scaling to High Resolution: While the results on CIFAR-10 ($32 \times 32$ pixels) are compelling, testing on larger scales (like ImageNet $256 \times 256$) was limited by available GPU resources. Future work will explore how GET handles the increased complexity of high-resolution textures.
  • Root-Finding Stability: DEQs rely on black-box root-finding algorithms (like Anderson Acceleration). Ensuring these remain stable during the training of even larger generative models remains an open research area.

Summary updated

BibTeX
@inproceedings{geng2023one,
  author = {Zhengyang Geng and Ashwini Pokle and J Zico Kolter},
  title = {{One-Step Diffusion Distillation via Deep Equilibrium Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=b6XvK2de99},
}
Figure