LN 10 Generative Models GANs & AEs

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:27 AM on 5/1/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

16 Terms

1
New cards

Discriminative Model

  • Learns the boundary between classes

  • Goal: Estimate P(Y|X)

  • Examples: Logistic Regression, SVMs, CNNs


2
New cards

Generative Model

  • Learn the distribution of data itself

  • Goal: Estimate P(X) or (X,Y)

  • Examples: Naive Bayes, GANs, VAEs


3
New cards

Goal of Generative Modeling

Take as input training samples from some distribution and learn a model that represents that distribution

4
New cards

Why Generative Models?

  • Generative models learn probability distributions

  • Sampling (new data instances)

  • Backbone of Generative AI


5
New cards

Latent Variable Models

  1. Autoencoders & Variational Autoencoders (VAEs)

  2. Generative Adversarial Networks (GANs)


6
New cards

Autoencoder

  • Unsupervised deep learning method that learns a compressed embedding for a data input.

  • Goal is to reproduce the input data at the output layer


7
New cards

Autoencoder uses

Commonly used for dimensionality reduction or generating an embedding for input into other classification or clustering methods.

8
New cards

Autoencoder components

  1. Encoder

  2. Compressed embedding

  3. Decoder


9
New cards

Autoencoder process steps:

  1. Encoder encodes input data into an embedding using non-linear activation functions

  2. Decoder reconstructs output by using non-linear layers to decode embedding

  3. MSE is calculated between reconstructed output and original input

  4. Backpropagation of error to adjust autoencoder weights.

  5. Repeat until MSE is minimised


10
New cards

Autoencoder variations

  1. Denoising

  2. Sparsing


11
New cards

Denoising

Corrupts input data by injecting Gaussian noise.

12
New cards

Sparse

Restricts the number of active nodes in the training process

13
New cards

Autoencoder variations intuition

Injecting noise or restricting active nodes forces autoencoder to learn the most important features.

14
New cards

Variational Autoencoders

  1. Compress representation of world to something we can use to learn

  2. Reconstruct for unsupervised learning

  3. Reparameterization trick to train end-to-end

  4. Interpret hidden latent variables using perturbation

  5. Generate new examples


15
New cards

Generative Adversarial Networks

Machine learning framework where two neural networks, a generator and a discriminator, compete against each other to create realistic, synthetic data

16
New cards

How to train a GAN

  1. Train the discriminator using current ability of the generator

  2. Train the generator to beat the discriminator

  3. Feedback loop