LightMySky
به انگلیسی

Diffusion Models: Learning to Undo Noise

Training adds noise to a sample in small steps and asks the network to predict the noise mixed into the result. Generation runs that chain backwards from pure noise, so one hard sampling problem becomes a long series of easy denoising ones.

شروع یادگیری این موضوعبه حساب کاربری نیازی نیست. پیشرفت در همین مرورگر ذخیره می‌شود.

کارهایی که یادگیرنده بعد از این درس می‌تواند انجام دهد

  • Describe the forward corruption process and say why it needs no training
  • State what the network predicts at each step and how repeating it yields a sample
  • Say what more sampling steps buy and what they cost

۱ · بخوان

A diffusion model is a generative model whose hidden code is a noisy version of the sample itself. Training starts by wrecking a sample on purpose. Noise is added in small steps until nothing but static remains. This forward corruption is a fixed recipe, so it needs no training at all.

Try it together

Every forward step mixes in fresh noise, so the noisy sample at any level is the clean sample blended with one lump of noise. At each level the network is shown the noisy sample and predicts that whole lump: the noise mixed in so far, not just the last small dose. Generation runs the chain backwards: start from pure noise, remove a small part of the predicted noise, and repeat until a clean sample stands, with the usual recipe stirring a little fresh noise back in at every step but the last. One hard sampling problem becomes a long series of easy denoising ones.

More sampling steps usually buy a cleaner sample and always cost more waiting. Fewer steps run fast but can leave rough edges and odd textures.

Good to know

When results look noisy, add steps before touching anything else. When results look fine but slow, trim steps first.

Learn each denoising step, then walk backwards from noise to sample.

۲ · ببین

به انگلیسی

دور از صفحه‌نمایش

چاپ کاربرگکاغذ A4، با یک صفحهٔ جواب‌ها برای بزرگ‌ترها. بدون صفحه‌نمایش، بدون اینترنت.

جایگاه این موضوع

اول این‌ها را یاد بگیر

این موضوع راه این‌ها را باز می‌کند

هنوز چیزی بر آن بنا نمی‌شود.

سپس تمرین

۸ سؤال پشت این درس منتظرند، هر کدام با پاسخ توضیح‌داده‌شده. هر پاسخ آسمان را پر می‌کند: ستاره‌ها هنگام یادگیری روشن می‌شوند و وقتی زمان برگشتن است کمرنگ می‌شوند.

شروع یادگیری این موضوع