Diffusion Models and Brownian Motion
- 71Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
71 questions
- 1Modern image and video generation models often transform random noise into realistic content through a process called_____.
Hint
It is named after a physical process involving particles spreading out.
Answer
diffusion
Explanation
Diffusion models begin with noise and iteratively transform it into an image or video that resembles the data on which the model was trained.
- 2The process used by diffusion models is closely related to Brownian motion, but it runs_____in time.
Hint
The model reverses the direction of the physical process.
Answer
backwards
Explanation
Forward diffusion adds noise, while generation uses a learned process that moves from noisy states toward less noisy data.
- 3Diffusion models can be understood as reversing Brownian motion in a_____-dimensional space.
Hint
Image data has many pixel values, so its representation has many dimensions.
Answer
high
Explanation
An image can be treated as a point in a space with one dimension for each pixel intensity value; realistic images therefore occupy a high-dimensional space.
- 4In the described video-generation procedure, a random number generator first creates a video of pure_____.
Hint
At this initial stage, pixel values are chosen randomly.
Answer
noise
Explanation
The generation process begins by randomly selecting pixel intensity values, producing a pure-noise video.
- 5After initialization, a_____processes the noisy video and outputs a new video with slightly more structure.
Hint
It is the same broad type of AI model used in large language models.
Answer
transformer
Explanation
The transformer repeatedly processes the current video and produces a version that is intended to be less noisy.
- 6In iterative video generation, each newly produced video is fed back into the model, gradually shaping noise into a realistic_____.
Hint
The repeated outputs are the same media type as the desired result.
Answer
video
Explanation
The model applies the denoising process repeatedly; over many iterations, structure emerges and the result becomes a realistic video.
- 7A text prompt guides a diffusion model toward the content described by the_____.
Hint
It is the language input that specifies what the user wants generated.
Answer
prompt
Explanation
Text guidance connects the words in a prompt to the image or video content the diffusion process should produce.
- 8The DDPM paper demonstrated that a diffusion process could generate high-quality images by transforming pure noise step by step into_____images.
Hint
The generated images should resemble plausible examples from the training data.
Answer
realistic
Explanation
The DDPM result established diffusion as a viable method for producing realistic, high-quality images from noise.
- 9Reducing an image to two pixels lets researchers visualize it as a point in a_____-dimensional space.
Hint
Each pixel intensity supplies one coordinate.
Answer
two
Explanation
With two pixel values, an image can be represented by two coordinates and plotted in a two-dimensional plane.
- 10In the two-pixel visualization, an image with a black first pixel and a white second pixel is located at coordinates_____and one.
Hint
Black is represented by the lowest intensity value in the example.
Answer
zero
Explanation
The example assigns intensity zero to the black first pixel and intensity one to the white second pixel, placing the point at zero and one.
- 11A model trained on image-caption pairs can learn a shared representation that maps both kinds of input into a common_____.
Hint
It is a vector space in which related image and text representations can be compared.
Answer
embedding space
Explanation
CLIP maps text and images into a shared embedding space so that corresponding captions and images have similar vectors.
- 12CLIP consists of a model that processes text and a separate model that processes_____.
Hint
The two encoders handle the two modalities in image-caption pairs.
Answer
images
Explanation
CLIP is composed of a text model and an image model, each of which produces a vector representation.
- 13The output vector from each of CLIP's two models has length_____.
Hint
This is the dimensionality specified for both encoder outputs.
Answer
512
Explanation
The text and image models each produce a vector of length 512.
- 14The CLIP model was trained on a dataset of 400 million image and_____pairs.
Hint
Each image was associated with a textual description.
Answer
caption
Explanation
The OpenAI CLIP model was trained on 400 million image-caption pairs collected from the internet.
- 15CLIP's training objective encourages vectors for matching image-caption pairs to be_____while pushing non-matching pairs apart.
Hint
Think about the desired relationship between representations of related content.
Answer
similar
Explanation
CLIP learns to maximize similarity for corresponding pairs and minimize similarity for non-corresponding pairs in a batch.
- 16CLIP is described as_____because its training contrasts matching pairs with non-matching pairs.
Hint
The name emphasizes comparing positive and negative examples against one another.
Answer
contrastive
Explanation
The C in CLIP stands for contrastive: the learning objective contrasts matching image-caption pairs with mismatched pairs.
- 17CLIP measures the alignment between vectors using a metric called_____similarity.
Hint
Geometrically, this metric depends on the angle between vectors.
Answer
cosine
Explanation
Cosine similarity measures the cosine of the angle between two vectors and is used in CLIP to compare image and text representations.
- 18When an image vector and its matching text vector point in the same direction, their cosine similarity is_____.
Hint
This is the maximum possible score for the described alignment.
Answer
1
Explanation
Vectors pointing in the same direction have an angle of zero, giving a cosine similarity of one.
- 19In CLIP's batch training setup, pairs on the matrix_____correspond to matching images and captions.
Hint
Matching pairs occupy the main line running across the arranged similarity matrix.
Answer
diagonal
Explanation
When image vectors are arranged as columns and text vectors as rows, matching pairs lie on the diagonal; off-diagonal pairs are mismatches.
- 20Subtracting the CLIP vector for a person without a hat from the vector for the same person wearing a hat produces a vector associated most strongly with the concept of a_____.
Hint
The difference isolates what changed between the two images.
Answer
hat
Explanation
In the described example, searching text vectors by cosine similarity ranked “hat” highest for the difference vector, followed by cap and helmet.
- 21CLIP can classify an image by comparing its image vector with candidate caption vectors and selecting the label with the highest_____similarity.
Hint
The classification rule uses the same vector-comparison metric as CLIP training.
Answer
cosine
Explanation
The image is assigned the label whose candidate caption has the greatest cosine similarity to the image vector.
- 22CLIP can map text and images into an embedding space, but its encoders do not themselves generate images or text back from those_____.
Hint
The limitation concerns reversing the encoder's representation output.
Answer
vectors
Explanation
CLIP's text and image models map inputs into a shared embedding space; they do not provide a way to generate text or images from those vectors.
- 23The forward part of a diffusion model gradually adds noise to training images until the original image is completely_____.
Hint
The image's recognizable structure is eventually lost.
Answer
destroyed
Explanation
The forward process adds noise step by step until the image is overwhelmed and no longer recognizable.
- 24A diffusion model is trained to reverse the process that adds_____to images.
Hint
The network learns to undo the corruption introduced during the forward process.
Answer
noise
Explanation
The model learns to recover image structure from noisy inputs, reversing the forward noising process.
- 25A naive diffusion approach would train a model to predict the image at one step from the image at the next, noisier_____.
Hint
The proposed method removes corruption incrementally rather than all at once.
Answer
step
Explanation
The naive approach trains the model to reverse a single step of noise addition at a time, but this is not how virtually all modern diffusion models operate.
- 26In DDPM image generation, random noise is added after the model predicts a less noisy image at each_____.
Hint
The added randomness occurs repeatedly during generation, not just during training.
Answer
step
Explanation
DDPM sampling adds random noise to the predicted image before passing it back into the model, and this noise is important for image quality.
- 27Removing the random noise additions from the described DDPM generation process produced a small, blurry_____.
Hint
This was the subject in the example of a prompt about a desert.
Answer
tree
Explanation
In the tree-in-the-desert example, removing the noise addition at each step resulted in a tiny, blurry tree rather than the sharper result.
- 28Rather than predicting each intermediate image, DDPM training asks the model to predict the total noise added to the original image, called_____.
Hint
The source uses a Greek-letter name for the added random noise.
Answer
epsilon
Explanation
The training procedure adds scaled random noise, called epsilon, to a clean image and trains the model to predict that total noise.
- 29The clean starting image in the DDPM description is denoted by_____.
Hint
It is the original image before noise is added.
Answer
X0
Explanation
The source denotes the initial clean image as X0 and the added scaled random noise as epsilon.
- 30Predicting total noise instead of learning every intermediate denoising step reduces the variance of training examples, helping the model learn more_____.
Hint
The benefit is that the learning task becomes less variable and easier to optimize.
Answer
efficiently
Explanation
The total-noise prediction target is mathematically equivalent to a scaled final-step noise target, but has lower variance and supports more efficient learning.
- 31Even when trained to predict total noise, the model's learned direction ultimately points back toward the original data, denoted by_____.
Hint
This symbol identifies the starting clean example in the forward process.
Answer
x0
Explanation
The noise-prediction objective is equivalent to learning a direction that points back toward the original clean image, x0.
- 32The learned direction that points toward more likely, less noisy data is also called a_____function.
Hint
Its name describes a function that indicates where data is more probable.
Answer
score
Explanation
The score function points toward regions of higher likelihood and less noise in the data distribution.
- 33Because the reverse process is modeled as a Gaussian distribution, the diffusion model learns its_____.
Hint
This is the central value of a probability distribution.
Answer
mean
Explanation
For sufficiently small forward-process steps, the reverse distribution is Gaussian, and the model learns the mean of that distribution.
- 34To sample from the learned reverse Gaussian distribution, DDPM adds zero-mean_____noise to the model's predicted value.
Hint
The added random variable follows the same distribution family as the reverse process.
Answer
Gaussian
Explanation
The model predicts the Gaussian mean, so random zero-mean Gaussian noise is added to sample from the distribution rather than always returning its average.
- 35In a two-pixel toy dataset, adding random noise changes each coordinate by a random amount, which is equivalent to taking a step in a randomly chosen_____.
Hint
The point moves through the plane as its pixel intensities change.
Answer
direction
Explanation
Each coordinate corresponds to a pixel intensity, so random changes to the pixels move the point in a random direction in the toy space.
- 36Repeatedly adding noise to a point produces a random walk that corresponds to_____motion in physics.
Hint
This is the motion of particles undergoing random fluctuations in a fluid.
Answer
Brownian
Explanation
The sequence of random steps is equivalent to Brownian motion, the physical process that motivates the name diffusion models.
- 37In the toy example, diffusion learning asks a model to reverse the random walk and recover the original structure of the_____.
Hint
The model should reconstruct the organized point distribution from noisy locations.
Answer
dataset
Explanation
The model sees noisy trajectories from starting points in the data and learns to reverse them toward the dataset's original structure.
- 38A point at the end of a 100-step random walk in the naive training formulation is used to predict the point at step_____.
Hint
The naive method reverses only the most recent step.
Answer
99
Explanation
Single-step denoising would use the 100th point to predict the preceding, 99th point.
- 39Although an individual final random step has an arbitrary direction, many diffusion paths pass through the same neighborhood, allowing the model to learn an average direction back toward the_____.
Hint
It is the organized shape used as the toy data distribution.
Answer
spiral
Explanation
Across many paths, points tend overall to diffuse away from the starting spiral, providing a learnable signal that points back toward it.
- 40In the toy dataset, the learned vector field gives each point a direction that leads back toward the original data_____.
Hint
It describes the overall arrangement of likely data points.
Answer
distribution
Explanation
The model learns directions that move noisy points toward the original distribution, rather than merely toward a specific individual training point.
- 41A diffusion model can be conditioned on the number of steps taken in the random walk by supplying a time_____.
Hint
This extra input tells the model how far along the diffusion process it is.
Answer
variable
Explanation
Adding a time variable lets the model distinguish examples with different amounts of added noise and learn time-dependent directions.
- 42In the example where the 100th step corresponds to time one, the 99th step corresponds to time_____.
Hint
The time value changes by one hundredth for each step in this example.
Answer
0.99
Explanation
If time is one at step 100, it is 0.99 at step 99 and decreases as the walk is traced backward.
- 43Conditioning on time lets a model learn coarse vector fields at large time values and more refined structures as time approaches_____.
Hint
This is the endpoint associated with the original, less-noisy data.
Answer
0
Explanation
Large time values correspond to heavily diffused points, while times close to zero allow the model to represent finer data structure.
- 44In the spiral example, the learned vector field changes from pointing toward the center to pointing toward the spiral as time approaches approximately_____.
Hint
The source describes this transition as feeling like a phase change.
Answer
0.4
Explanation
Around time 0.4, the model's vector field shifts from the average center toward the more detailed spiral structure.
- 45For large diffusion times, when points are far from the data spiral, the learned vector field tends to point toward the dataset's center or_____.
Hint
It is the central representative value of the distribution.
Answer
average
Explanation
Far from the spiral, the model's predictions tend toward the center or average of the data distribution; finer structure appears closer to time zero.
- 46When a model predicts only the mean of the reverse distribution, generated samples can collapse toward an average, which in image space often appears_____.
Hint
Averaging different sharp images can obscure their details.
Answer
blurry
Explanation
Averaging different plausible images can combine their features into an indistinct result, explaining why generation without suitable random sampling can look blurry.
- 47The DDPM generation process can be expressed as a stochastic differential equation, whose random component represents the point's random_____.
Hint
It describes the component that moves the point unpredictably.
Answer
motion
Explanation
The stochastic differential equation combines motion driven by the learned vector field with random motion.
- 48The DDPM equation's model-driven component describes motion along the learned vector_____.
Hint
It assigns a direction of motion at each point in the data space.
Answer
field
Explanation
One term in the stochastic differential equation moves points according to the model's learned vector field; another term accounts for randomness.
- 49The Fokker-Planck equation was used to show that a stochastic process has a corresponding ordinary differential equation with the same final point_____.
Hint
The result concerns the overall arrangement of samples, not necessarily each individual path.
Answer
distribution
Explanation
The ordinary differential equation can produce the same final distribution as the stochastic differential equation, despite containing no random component.
- 50The deterministic image-generation method derived from this ordinary differential equation is generally called_____.
Hint
It is the name of the sampling approach contrasted with DDPM.
Answer
DDIM
Explanation
DDIM uses a deterministic process with appropriately scaled step sizes to generate images without random noise additions at every step.
- 51Unlike DDPM sampling, DDIM does not require adding random_____at every generation step.
Hint
The missing component is the source of random motion in the DDPM process.
Answer
noise
Explanation
DDIM follows a deterministic trajectory and does not add the random noise used by DDPM at each step.
- 52DDIM can generate high-quality images in significantly fewer steps without changing the model's_____.
Hint
The improvement is achieved during generation rather than by retraining the network.
Answer
training
Explanation
DDIM changes the sampling procedure, not the training procedure, and can generate high-quality images with fewer model evaluations.
- 53The scaling of DDIM step sizes matters because suitable steps help trajectories follow the contour lines of the learned vector field and reach the correct_____.
Hint
The goal is to reproduce the structure of the full data population.
Answer
distribution
Explanation
Unlike simply removing DDPM's random steps, DDIM uses a different scaling of step sizes that can guide samples to the correct data distribution.
- 54The WAN video model uses a generalization of DDIM called_____.
Hint
This approach is related to learning and following time-varying vector fields.
Answer
flow matching
Explanation
The described WAN model uses flow matching, a generalization of the DDIM approach.
- 55Diffusion models can be trained to learn a time-varying vector field, a perspective that also motivates the broader family of_____-based models.
Hint
The model family is named for following a learned field of motion.
Answer
flow
Explanation
Viewing diffusion as learning time-dependent motion leads to flow-based models, which are another approach to generative modeling.
- 56A text vector supplied as an additional input to a diffusion model to influence its denoising process is an example of_____.
Hint
The model's output depends on extra information provided with its input.
Answer
conditioning
Explanation
Conditioning gives the diffusion model context, such as text, so it can denoise toward content matching that information.
- 57In the described unCLIP approach, a diffusion model is trained to invert the CLIP_____encoder.
Hint
This encoder maps pictures into CLIP's shared representation space.
Answer
image
Explanation
OpenAI's unCLIP method, commercially known as DALL-E 2, trained a diffusion model to invert the CLIP image encoder and generate images from representations.
- 58The unCLIP method is better known by its commercial name,_____.
Hint
It is OpenAI's image-generation model described in the content.
Answer
DALL-E 2
Explanation
The OpenAI team called its approach unCLIP; the resulting model is better known by its commercial name, DALL-E 2.
- 59When text and image-caption pairs are used to train a diffusion model, the text information can help the model remove noise by providing extra_____about the image.
Hint
The text tells the model more about what the image should contain.
Answer
context
Explanation
A caption supplies contextual information that can help the model denoise an image in a way that matches its description.
- 60One method for coupling image and text information inside a diffusion model is called_____-attention.
Hint
The mechanism connects information from different modalities.
Answer
cross
Explanation
Some conditioning methods use cross-attention to couple image and text information within the diffusion model.
- 61A diffusion model can also receive embedded text by adding or appending the text vector to its_____.
Hint
This is the data the model processes to make its prediction.
Answer
input
Explanation
Besides cross-attention, some approaches add or append the embedded text vector to the diffusion model's input.
- 62Classifier-free guidance can be trained efficiently by omitting class or text information for a subset of training_____.
Hint
The model sees some training cases without their conditioning signal.
Answer
examples
Explanation
Rather than training two separate models, classifier-free guidance commonly leaves out class information for some examples so one model can provide both conditioned and unconditioned outputs.
- 63A diffusion model run without class or text information provides an_____vector field that points toward the data in general.
Hint
This output lacks a specific class or prompt signal.
Answer
unconditioned
Explanation
The unconditioned model represents the general direction toward the data distribution, rather than toward a particular class.
- 64Classifier-free guidance creates a class-specific direction by subtracting the unconditioned vector from the_____vector.
Hint
This vector field includes the class or prompt information.
Answer
conditioned
Explanation
Subtracting the unconditioned output from the conditioned output isolates a direction associated more specifically with the requested condition.
- 65In classifier-free guidance, the difference between conditioned and unconditioned vectors is amplified using a scaling factor called_____.
Hint
The source uses a Greek-letter name for the guidance strength.
Answer
alpha
Explanation
Multiplying the difference direction by alpha increases how strongly generation is steered toward the desired class or prompt.
- 66At large diffusion times, conditioned and unconditioned vector fields often point in roughly the same direction toward the data's_____.
Hint
At this stage, fine-grained class structure has not yet become prominent.
Answer
average
Explanation
When points are far from the data spiral, both vector fields tend to point generally toward its center or average; they diverge as time approaches zero.
- 67In the toy spiral example, classifier-free guidance helps a point reach the_____part of the spiral when the requested class is cat.
Hint
The toy example assigns cats to the portion farthest from the center.
Answer
outer
Explanation
The toy classes are assigned to different spiral regions: people to the inner part, dogs to the middle, and cats to the outer part. Guidance amplifies the cat-specific direction.
- 68In the tree-in-the-desert example, a guidance scale of around two begins to produce a tiny_____.
Hint
It is the object requested in the prompt but missing with conditioning alone.
Answer
tree
Explanation
Conditioning alone produced a desert and shadow without a tree; adding classifier-free guidance at a scale around two made a small tree appear.
- 69Increasing the classifier-free guidance scale can increase the size and detail of the requested tree in the generated_____.
Hint
The stronger guidance changes the generated visual output.
Answer
images
Explanation
As the guidance scale increases, the model is steered more strongly toward the prompt, and the tree becomes larger and more detailed.
- 70The WAN model's negative prompt specifies features the user does not want, and its vector is subtracted from the model's_____output.
Hint
This output reflects the positive text prompt and desired content.
Answer
conditioned
Explanation
WAN uses a negative prompt to describe unwanted features, subtracts the resulting vector from the conditioned output, and amplifies the result to steer away from those features.
- 71In the described WAN implementation, the standard negative prompt is passed into the text encoder in_____.
Hint
This is the language used for the negative-prompt text in the example.
Answer
Chinese
Explanation
The content notes that WAN's standard negative prompt, which includes features such as extra fingers and walking backwards, is passed to its text encoder in Chinese.

Ask anything
We've read this whole study set, so questions about it get the best answers.