One Decode, Fifty Denoises

Diffusion ModelsHard+30 XP+30

One Decode, Fifty Denoises

Two systems produce the same 512×512512 \times 512512×512 image from the same prompt.

  • Pixel diffusion runs the denoiser directly on the 512×512512 \times 512512×512 grid, so what comes out of the last step is already the image.
  • Latent diffusion runs the same denoiser on a 64×6464 \times 6464×64 latent grid, then decodes that final latent into pixels once.

Both run 50 sampling steps, and both encode the prompt once. Take the denoiser's cost to be proportional to the number of cells in the grid it runs on.

partwhen it runscost
text encoderonce per image, both systems222
denoiser on the 64×6464 \times 6464×64 latentonce per sampling step111
denoiser on the 512×512512 \times 512512×512 pixel gridonce per sampling stepderive it
decoder, latent →\to→ pixelsonce per image, latent system only202020

Counting every part of each system, how many times cheaper is the latent pipeline than the pixel one? Choose the closest value.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.