Generation is the forward process run backwards: the network predicts the noise, you subtract most of it, and you have moved one step back along the chain. With guidance switched on, the network is run twice at every step — once with the prompt attached, once with nothing — and the two predictions are combined before anything gets subtracted.
Follow a single number inside the latent through two steps of a toy sampler. Write for the unconditioned prediction and for the conditioned one. Each step is two operations, in this order:
The latent value starts at , the guidance scale is , and the sampler takes two steps:
| step | |||
|---|---|---|---|
| first | |||
| second |
What is after the second step?
Round your answer to 2 decimal places.
The difference between the two predictions points in the direction the condition is asking for. Exaggerate that direction and the condition gets obeyed harder.
Once you get it right, the reasoning behind the answer shows up here.