Mathematical Foundations of Generative AI · Quiz 2 · Sep 2025
Mathematical Foundations of Generative AI · Quiz 2 · Sep 2025
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
0 / 14 published solutions
Question 91 MCQ · 3.0 marks
In a Denoising Diffusion Probabilistic Model (DDPM), the sampling process works by running the
reverse diffusion steps:

Are these reverse steps in DDPM usually stochastic (i.e., involve random noise at each step) rather
than purely deterministic?
A published solution is not available for this question yet.
Report a correction for Q91
Question 92 MCQ · 3.0 marks
A DDPM is trained with

time steps. If the initial time step

has a very small

(variance), and the final time step

has a very large

, what is the resulting value of the
total added noise component

at

and

?
6406535902956.
: Close to

;

: Close to

.
6406535902957.
: Close to

;

: Close to

.
6406535902958.
: Close to

;

: Close to

.
6406535902959.
: Close to

;

: Close to

.
A published solution is not available for this question yet.
Report a correction for Q92
Question 93 MCQ · 3.0 marks
6406535902960.The

is fixed because the variance is independent of the data, determined
only by the time step

.
6406535902961.Fixing the variance simplifies the ELBO such that the objective only needs to
predict the noise, which implicitly predicts the mean.
6406535902962.The variance

is not fixed; the U-Net predicts both the mean

and the
variance

simultaneously.
6406535902963.The variance is fixed because the U-Net is designed only to denoise, not to
estimate uncertainty.
A published solution is not available for this question yet.
Report a correction for Q93
Question 94 MCQ · 3.0 marks
In a Vector Quantized VAE, the encoder outputs a continuous vector which is then:
6406535902964.Sent directly to the decoder with no change.
6406535902965.Thresholded element-wise at 0.
6406535902966.Replaced by the nearest code vector from a learned codebook.
6406535902967.Sorted in descending order.
A published solution is not available for this question yet.
Report a correction for Q94
Question 95 MSQ · 3.0 marks
In contrast to a standard VAE, a VQ-VAE does NOT typically include which of the following?
6406535902968.The reparameterization trick (

).
6406535902969.A reconstruction loss term (like MSE or Cross-Entropy).
6406535902970.A decoder network.
6406535902971.A KL Divergence loss term.
A published solution is not available for this question yet.
Report a correction for Q95
Question 96 NAT · 3.0 marks

A published solution is not available for this question yet.
Report a correction for Q96
Question 97 MCQ · 3.0 marks
In the standard VAE graphical model, what is the sequence of dependencies that constitutes the
generative process (Inference)?
6406535902973.Input

Decoder

Latent

Prior

Reconstruction

.
6406535902974.Encoder

Latent

Prior

.
6406535902975.Prior

Latent

Decoder

Sample

.
6406535902976.Input

Encoder

Latent

Decoder

Reconstruction

.
A published solution is not available for this question yet.
Report a correction for Q97
Question 98 MCQ · 3.0 marks
Posterior collapse (where

for all

) is a failure mode in VAEs. Which component of
the VAE loss, when overwhelmingly strong, is the primary mathematical driver of this
phenomenon?
6406535902977.The gradient flow from the decoder to the encoder.
6406535902978.The Reconstruction Loss (expected log-likelihood).
6406535902979.The mean term,

, of the reparameterization trick.
6406535902980.The

-weighted KL Divergence term.
A published solution is not available for this question yet.
Report a correction for Q98
Question 99 MCQ · 4.0 marks
6406535902981.
6406535902982.
6406535902983.
6406535902984.
A published solution is not available for this question yet.
Report a correction for Q99
Question 100 MCQ · 4.0 marks
6406535902985.
6406535902986.
6406535902987.
6406535902988.
A published solution is not available for this question yet.
Report a correction for Q100
Question 101 MCQ · 4.0 marks
6406535902989.
6406535902990.
6406535902991.
6406535902992.
A published solution is not available for this question yet.
Report a correction for Q101
Question 102 MCQ · 4.0 marks
Consider a variance-preserving diffusion process with a variance schedule

, and define

The forward diffusion process is given by

which admits the reparameterization

The reverse process is modeled as

For this linear-Gaussian forward process, what are the correct expressions
for the posterior mean and variance of

?
6406535902993.
6406535902994.
6406535902995.
6406535902996.

A published solution is not available for this question yet.
Report a correction for Q102
Question 103 MSQ · 4.0 marks
In a

-VAE, the Evidence Lower Bound (ELBO) is modified as:

Increasing

(i.e.,

) tends to:
6406535902997.Strengthen disentanglement between latent dimensions.
6406535902998.Encourage sharper image reconstructions. (in case of image dataset)
6406535902999.Reduce mutual information between

and

.
6406535903000.Make the latent posterior

closer to the prior

.
A published solution is not available for this question yet.
Report a correction for Q103
Question 104 MCQ · 3.0 marks
If the KL term

goes to nearly 0 for all

during training the VAE, what situation
might be happening?
6406535903001.The encoder ignores the input

and outputs something close to the prior for
all inputs.
6406535903002.The encoder perfectly memorizes each input in

.
A published solution is not available for this question yet.
Report a correction for Q104