技術指南

Adversarial Diffusion Distillation and Turbo Models

Adversarial Diffusion Distillation (ADD) is a training method that turns a slow, many-step diffusion model into a student that generates images in one to four steps.

  • 4 分鐘閱讀
  • 最後更新
本頁4 分鐘閱讀
  1. 概述
  2. 深入探討
  3. 戰略影響
  4. The Future of Adversarial Diffusion Distillation and Turbo Models
  5. 現實世界的實施
  6. 風險與防護欄
  7. 實施路線圖
  8. 不斷探索
  9. 常見問題

概述

It combines an adversarial loss from a discriminator with guidance from the original teacher model. ADD produced SDXL Turbo, and a latent variant was used for fast models such as SD3 Turbo and, according to Black Forest Labs, Flux.1 schnell. The result is near-real-time image generation on ordinary hardware, at some cost in diversity and fine control.

深入探討

A standard diffusion model creates an image by removing noise over many steps, commonly 20 to 50, and each step is a full pass through a large network. Distillation trains a student network to reach a similar result in far fewer steps. Stability AI introduced Adversarial Diffusion Distillation in a November 2023 paper by Axel Sauer and colleagues, released alongside SDXL Turbo. The student starts from the pretrained SDXL weights and is trained with two losses. The adversarial loss comes from a discriminator that tries to tell the student's outputs from real images. In ADD, this discriminator is built on a frozen pretrained vision backbone (DINOv2) with small trainable heads. The distillation loss uses the original SDXL as a teacher. The student's output is noised again, the teacher denoises it, and the student is pushed toward the teacher's prediction, a form of score distillation. The adversarial term keeps single-step images sharp, and the teacher term keeps them faithful to what the large model knows. A later variant, Latent Adversarial Diffusion Distillation (LADD), runs the discriminator in latent space using the teacher's own features, which avoids expensive decoding to pixels. It was used for SD3 Turbo, and Black Forest Labs has said Flux.1 schnell was trained this way. The trade-offs are real. Distilled models usually lose some sample diversity, so different seeds for the same prompt can look alike. Classifier-free guidance is typically built in, so the guidance scale and negative prompts behave differently or barely work. Fine detail, text rendering and unusual compositions may lag behind the teacher. A common misconception is that a turbo model is just the full model run with fewer steps. A normal model run at one step gives a blurry mess, and the speed comes from retraining. Other routes to fast sampling include consistency models, LCM, progressive distillation and SDXL Lightning.

戰略影響

成本與預算

多年來,架構決策決定著效能和營運成本。

更明確的決策

技術教育幫助團隊選擇正確的堆疊,而不僅僅是最新的堆疊。

品質管控

更好的工程選擇可以減少生產中的可靠性事故。

The Future of Adversarial Diffusion Distillation and Turbo Models

Few-step generation has become an expected option for new image models, and similar distillation ideas are being applied to video, where each saved step matters even more. Research continues on closing the gaps in diversity and prompt control, for example by combining adversarial losses with distribution-matching objectives. Whether one-step models can fully match their teachers is still an open question, and the answer depends on how quality is measured. For users, the practical result is more choice: fast distilled models for drafts, previews and interactive tools, and slower full models when detail and control matter most.

現實世界的實施

A live drawing app regenerates the image every time the user types or edits a sketch, using SDXL Turbo at one step so results appear almost instantly.

A game studio prototyping concept art generates hundreds of quick variations with Flux.1 schnell at four steps, then refines the chosen ones with a slower full model.

A developer finds that negative prompts and high guidance values do little on a Turbo model, because guidance was built in during distillation. They adjust the prompt wording instead.

A small nonprofit runs a local image tool on a mid-range GPU and picks a distilled model because four-step generation keeps waits short enough for live workshops.

風險與防護欄

  • 優化一項基準測試可以隱藏更廣泛的系統弱點。

  • 基礎設施和維護成本常常被低估。

  • 隨著系統變得更加複雜,安全性和可觀察性差距可能會擴大。

實施路線圖

  1. 在實施之前定義延遲、品質和成本目標。

  2. 在實際負載和資料條件下進行基準測試。

  3. 儀器監控錯誤、漂移和使用者影響。

  4. 在擴展之前準備回滾和事件回應路徑。

不斷探索

Free newsletter

Get the daily AI briefing

Three verified AI stories every weekday morning, written in plain English. Free forever, no ads.

One email each weekday. Unsubscribe in one click. We never sell or share your address.

Test yourself

Take the Adversarial Diffusion Distillation and Turbo Models quiz

Instant feedback on every answer, and a shareable certificate with a verifiable ID once you pass a course.

開始測驗

Support free AI education. AI Understanding is a 501(c)(3) nonprofit — no ads, no paywall, ever. Make a donation

常見問題

What is Adversarial Diffusion Distillation and Turbo Models?

Adversarial Diffusion Distillation (ADD) is a training method that turns a slow, many-step diffusion model into a student that generates images in one to four steps. It combines an adversarial loss from a discriminator with guidance from the original teacher model. ADD produced SDXL Turbo, and a latent variant was used for fast models such as SD3 Turbo and, according to Black Forest Labs, Flux.1 schnell. The result is near-real-time image generation on ordinary hardware, at some cost in diversity and fine control.

Which two losses does ADD combine?

ADD pairs a discriminator's adversarial loss, which keeps images sharp, with a score-distillation loss from the teacher, which keeps them faithful to the original model.

Which model was released alongside the ADD paper?

Stability AI released SDXL Turbo with the November 2023 ADD paper by Sauer and colleagues.

What backbone does ADD's discriminator use?

The discriminator uses frozen pretrained DINOv2 features and trains only small heads on top of them.

How does LADD differ from ADD?

LADD moves discrimination into latent space using the teacher's own features, which avoids expensive decoding to pixels.

Why do negative prompts often have little effect on turbo models?

Negative prompts act through classifier-free guidance. Distilled models usually absorb guidance during training and run without it, so negative prompts lose their effect.