4.5.12 · D1Generative Models

Foundations — Noise scheduling

3,452 words16 min readBack to topic

This page assumes you know nothing beyond middle-school arithmetic. We will earn every symbol the parent note Noise scheduling uses, one at a time, each anchored to a picture. Read top to bottom; nothing is used before it is built.


0. The characters in the story

Before any formula, meet the three things that get mixed at every step:

Figure — Noise scheduling

The picture shows the whole journey: a fully clean image on the left, pure static on the right, and a series of blends in between. Everything else on this page is just precise vocabulary for describing that fade.


1. Time steps: , , and the subscript notation

The picture: think of as the number of frames in a slow-motion "dissolving" video. is which frame you paused on — always a whole frame number, never halfway between frames.

Why the topic needs this: the whole schedule is a list of instructions indexed by — one instruction per frame. Without a time label there is no "schedule".


2. The ordered-list notation:

The picture: a row of pigeonholes laid left to right, one per frame, each holding one number. Their left-to-right order is the timeline. The next section says what number goes in each hole.


3. — the "how much static" knob

The picture: a volume dial. Turning it up pours more static into the current frame. The schedule is the plan for how this dial moves across all frames.


4. Scientific notation:

Why the topic needs it: the smallest noise amounts (like ) and, later, the tiny leftover-signal numbers are very small, and scientific notation keeps them readable.


5. — the "how much signal survives one step"

The picture: a see-saw. Push up and automatically goes down — they always sum to the full amount, .


6. The one-step forward rule:

We now have every piece needed to write down the central transition equation — the single move that takes one frame to the next. (The bar and the bell-curve symbol are fully unpacked below in §11–12; for now read them as "given" and "bell-curve draw".)


7. The product symbol and the cumulative signal

Surviving one step keeps a fraction . But how much of the original image survives after many steps? You multiply the survival fractions together, the same way three "half-off" discounts in a row leave you paying .

Figure — Noise scheduling

The curve above is the single most important object in the whole topic: it shows sliding from 1 down to 0 as grows. Every schedule is really a choice about the shape of this curve — that is exactly what the parent's Linear vs Cosine comparison is arguing about.


8. From one step to the whole jump: why has a closed form

Applying the one-step rule times in a row looks like a nightmare of nested noise. The magic is that it collapses into a single Gaussian — you can jump straight from the clean image to any frame in one shot. Here is the "why", step by step, using only tools we already built.

The rule "two independent bell curves add to one whose spread is the sum of their spreads" is used twice above; the next sections build the and notation those steps lean on.


9. The square root and why it appears

Both the one-step rule and the closed form multiply the image by (and the noise by ). Why square roots?


10. Greek letter and the noise picture

The picture: a screen of black-and-white snow, different every time you look.


11. — the bell curve

The noise isn't any random numbers; it is Gaussian. This is the notation the transition equations above lean on.

Figure — Noise scheduling

So the closed-form line now translates fully to plain English: "frame is a bell-curve draw centred on the faded image , with spread ." The center is the surviving signal; the spread is the noise that replaced it. They always sum to 1 — the seesaw again.


12. — the conditional bar

Why the topic needs it: noise scheduling defines this — see 4.5.11-Forward-and-reverse-diffusion-process.


13. SNR and the exponential (why they appear later)

The parent's "design principles" section introduces two more tools. Here is their zero-level meaning so nothing is a surprise.

Why the topic needs these: designers prefer to change smoothly and evenly across frames, because that keeps each denoising step "equally hard" — the idea behind SNR-based schedules and denoising loss weighting.


How the foundations feed the topic

Read this as a build-up chain — each rung stands on the one before it:

  1. Time steps (from to ) let us index a list of noise dials.
  2. The noise dial sets how much static enters at each frame.
  3. The survival is the flip side: what is kept.
  4. The one-step rule fades and re-noises one frame at a time (a Markov step).
  5. The product multiplies many survivals together into the cumulative .
  6. Composing the one-step Gaussians collapses the chain into the closed form .
  7. The SNR view (with and sigmoid) lets us design the whole fade smoothly.

All of these together are the noise schedule. The related pages 4.5.11-Forward-and-reverse-diffusion-process, 4.5.13-Denoising-objective, 4.5.15-Score-matching, and 4.5.18-Fast-sampling each build on this same vocabulary.

time step t from 0 to T

noise dial beta_t

survival alpha_t = 1 - beta_t

one-step rule q of x_t given x_t-1

product Pi of alphas

cumulative signal alpha-bar_t

compose the one-step Gaussians

closed form q of x_t given x_0

SNR and log-SNR view

NOISE SCHEDULE


Equipment checklist

Cover the right side and answer aloud; reveal to check.

What is the domain of the time index ?
The whole numbers (integers) from to : — never a fraction like .
What does the subscript in mean?
A name tag for "which frame / time step" — it is not multiplication.
Is a set or an ordered list?
An ordered list (sequence): order matters and repeats are allowed.
What is in one sentence?
The fraction of fresh static added when moving from frame to frame .
How are and related?
; they always sum to 1 (kept + destroyed = whole).
Write the one-step forward rule.
, i.e. .
Why is the forward process called Markov?
Each frame depends only on the immediately previous frame , never on earlier ones.
What does the bar in signify?
Accumulation — it is the product , the total signal surviving from to frame .
What does tell you to do?
Multiply all of through together.
Why does ?
Empty product convention: multiplying no factors gives , the "do-nothing" number for multiplication.
How does follow from the one-step rule?
Compose the one-step Gaussians: survival factors multiply into , and the independent noise spreads add up to .
Why do square roots appear in the mixture ?
We fade amplitudes, and amplitude is the square root of power/variance, so total loudness stays balanced.
Read in words.
A bell curve centred at with spread (variance) .
What do and mean?
= "is drawn from"; = independent unit-spread noise on every pixel.
Translate .
The forward recipe for the next frame, given the current one.
What is intuitively?
A single "clarity" number: signal amount divided by noise amount at frame .
Why is undefined, and how is it fixed?
At , so the denominator (division by zero, ); fix by starting at or capping .
Why prefer to change smoothly across frames?
It keeps every denoising step equally hard, which stabilises training.
What are the two boundary targets and ?
(clean start) and (pure noise end).