Deep Generative Modeling
Explore the foundations of AI capable of creating brand new data.
💡 Frequently Asked Questions (Generative Modeling)
What is the main difference between supervised and unsupervised learning?▼
Supervised learning relies on a dataset where data comes with explicit human-provided labels. Unsupervised learning uses raw data without any labels. Generative modeling is unsupervised.
How does the "Plato's Cave" analogy explain latent variables?▼
Prisoners can only see shadows moving on a wall (the observable data we see, like pixels). The true 3D objects casting shadows represent the latent variables, the hidden features governing the data distribution.
Why do Variational Autoencoders (VAEs) use the Reparameterization Trick?▼
VAEs introduce randomness. This pure randomness breaks the predictable math required for backpropagation. The trick solves this by isolating randomness into a separate constant called epsilon.
How do Generative Adversarial Networks (GANs) learn to create realistic data?▼
GANs employ a Generator (the "forger") and a Discriminator (the "detective"). The competing objective forces the generator to continuously improve its fakes until it can completely fool the discriminator.
If the GAN "Discriminator" judges real vs. fake, isn't that just supervised learning? How does it get its knowledge?▼
It feels like supervised learning because the Discriminator acts as a classifier, but the key difference is that no human had to manually label the data. The Discriminator gets its knowledge automatically by comparing two distinct buckets: the raw training dataset (which the network automatically tags as "Real") and the output coming from the Generator (which the network automatically tags as "Fake"). It is a clever trick that pits two neural networks against each other to achieve an unsupervised goal without needing a human "Watchman" .
Does training stop when the fake data perfectly matches the real data and fools the Discriminator?▼
Yes! In the lecture, this is referred to as the "Global Optimum". The two networks compete in a loop until the Generator perfectly reproduces the true data distribution. Visually, this means the generated fake data exactly overlaps the locations of the real data. At this point, the Discriminator is completely fooled and can no longer tell the difference, meaning the Generator has successfully learned how to create perfect new samples and training has achieved its goal.