AutoEncoders Flashcards

1
Q

AutoEncoder

Components and loss function

A

An autoencoder is a model designed to encode objects in a low dimensiona space - the latent space.
1. Encoder: reduces the dimensionality of the input while retaining its most valuable features.
2. Bottleneck: the latent vector.
3. Decoder: expands the dimension back using the latent vector so to approximate the original input with the best fidelty.

The loss function is the reconstruction loss.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Reconstruction Loss

A

The l2 norm between the decoded output and the original input.

Insensitive to blurring.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How can AutoEncoders be used as generative models?

A

Decode the interpolation of two encoded latent vectors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why are VAEs required? Why can’t we use regular AEs to generate?

A

The latent space isn’t necessairly continuous

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

VAE

Variational AutoEncoder

A

An autoencoder model designed to encode each input as a distribution (paramaterized by mean and variance) which the decoder will later sample to generate the decoded output.
We can also sample from the distribution to generate new samples.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the loss functions of VAE

A
  1. Reconstruction Loss
  2. KL Divergence between the encoded distribution and the N(0, 1) distribution.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Downside of VAEs

A

Generations are blurry, low fidelity. The average of real samples often is out-of-distribution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly