Autoencoders and their applications Flashcards

1
Q

What is dimensionality reduction?

A

A technique for representing multi-dimensional data in a lower-dimensional space while preserving key information.

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

Why is dimensionality reduction important?

A

It helps address the curse of dimensionality, where increased dimensions make data sparse and models prone to overfitting.

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

What causes the curse of dimensionality?

A

Adding features without increasing training samples makes the feature space sparse, leading to overfitting.

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

What is an autoencoder?

A

An unsupervised artificial neural network that learns to encode input data into a lower-dimensional representation and reconstructs the original input.

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

What are the key components of an autoencoder?

A

Encoder, Decoder, Latent Space, and Objective Function.

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

What does the encoder do?

A

Compresses input data into a lower-dimensional representation.

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

What does the decoder do?

A

Reconstructs the original input from the latent representation.

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

What is the latent space?

A

The compressed representation (code) learned by the encoder.

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

What is the objective function of an autoencoder?

A

To minimize the reconstruction error, often using Mean Squared Error (MSE).

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

What loss function is typically used in autoencoders?

A

Mean Squared Error (MSE).

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

What is a sample structure of a simple autoencoder?

A

Input → Dense (hidden) → Dense (code) → Dense (hidden) → Output.

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

What activation functions are commonly used in AE layers?

A

ReLU for hidden/code layers, and Sigmoid for the output layer.

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

What does training an autoencoder involve?

A

Using input data as both input and target for training.

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

How do we visualize an autoencoder’s performance?

A

By comparing the input images with the reconstructed outputs.

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

What is a denoising autoencoder?

A

An autoencoder trained to reconstruct clean data from noisy input.

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

What is a convolutional autoencoder?

A

An autoencoder that uses convolutional layers for encoding and decoding images.

17
Q

What does the encoder in a CAE do?

A

Applies Conv2D layers with activation (e.g., ReLU) followed by MaxPooling to compress spatial dimensions.

18
Q

What does the decoder in a CAE do?

A

Applies Conv2D and UpSampling (or Conv2DTranspose for learnable upsampling) layers to reconstruct the image.

19
Q

What is the benefit of using Conv2DTranspose over UpSampling?

A

Conv2DTranspose performs learnable upsampling, allowing the model to better reconstruct spatial details.

20
Q

How is the convolutional autoencoder trained?

A

By minimizing the MSE between input and output images using optimizers like Adam.

21
Q

What are typical training parameters for CAEs?

A

Examples include 200 epochs, batch size 2, learning rate decay, and MSE loss.

22
Q

Name some applications of autoencoders.

A

Denoising images

Image colorization

Anomaly detection

Dimensionality reduction

Feature learning

23
Q

How are autoencoders used in denoising?

A

By training on noisy inputs and clean targets, the model learns to remove noise.

24
Q

How are autoencoders used in colorization?

A

Train the model to convert grayscale images into color versions.