Deep Learning Models Flashcards

1
Q

What is the primary function of a Convolutional Neural Network (CNN)?

A

CNNs are designed for processing grid-like data, such as images. They use convolutional layers to automatically extract spatial features and reduce the need for manual feature engineering.

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

How do RNNs differ from traditional neural networks?

A

RNNs use the same NN each time with a hidden state the persists to the future. They are using the same NN over and over again allowing to produce results on varying sequences. traditional NNs are forward feed options for prediction

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

What is the role of Fully Connected layers in deep learning models?

A

Fully Connected layers connect every neuron from one layer to every neuron in the next, enabling the network to learn complex non-linear relationships.

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

What makes LSTMs more effective than standard RNNs for long sequences?

A

LSTMs (Long Short-Term Memory networks) include a gating mechanism that helps retain long-term dependencies while mitigating vanishing gradient issues in RNNs.

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

What are Transformers commonly used for?

A

Transformers are used for tasks involving sequential data, such as natural language processing, by using self-attention mechanisms to model dependencies between tokens.

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

What is the purpose of Autoencoders in deep learning?

A

Autoencoders are used for unsupervised learning to encode data into a compressed representation and then reconstruct the input, often for dimensionality reduction or anomaly detection.

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

What distinguishes Reinforcement Learning from supervised learning?

A

Reinforcement Learning involves an agent learning to make decisions by interacting with an environment and receiving feedback in the form of rewards, rather than relying on labeled data.

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

What is a Generative Adversarial Network (GAN)?

A

GANs consist of a generator and a discriminator competing in a zero-sum game, where the generator creates data and the discriminator tries to distinguish it from real data.

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

How in GraphML information moves from edges to nodes in vice versa?

A

Using a pooling layer from edges to nodes

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

How do CNNs handle spatial hierarchies in images?

A

CNNs use pooling layers to progressively reduce the spatial dimensions, capturing hierarchical features from edges to complex patterns.

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

What is the main drawback of standard RNNs?

A

Standard RNNs struggle with long-term dependencies due to vanishing or exploding gradient problems. + Due to sequential nature they can’t be parallelised.

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

What is the input-output structure of Fully Connected networks?

A

Fully Connected networks take a fixed-size vector as input and produce a fixed-size vector as output, making them suitable for dense data representations.

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

What problem do LSTMs address compared to vanilla RNNs?

A

LSTMs address the issue of vanishing gradients in RNNs by introducing gates that control the flow of information.

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

What is the role of the self-attention mechanism in Transformers?

A

Compute relationships between data doesn’t matter their distance in the input.
Use the data to get attention and figure out what to focus on

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

What is the bottleneck layer in Autoencoders?

A

The bottleneck layer is the compressed, low-dimensional representation of the input data, capturing its most essential features.

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

How is exploration vs. exploitation balanced in Reinforcement Learning?

A

Reinforcement Learning algorithms balance exploration (trying new actions) and exploitation (leveraging known rewards) to optimize long-term outcomes. They do that with a temperature which affects the probability to choose the most probable way forward or another option.

17
Q

What is the discriminator’s role in a GAN?

A

The discriminator evaluates whether a given data sample is real (from the training set) or fake (generated by the generator).

18
Q

What are Graph Convolutional Networks (GCNs)?

A

GCNs are a type of GNN that generalizes the concept of convolution to graph-structured data, aggregating information from neighboring nodes.

19
Q

What are CNNs particularly suited for in computer vision?

A

CNNs are particularly effective for tasks like image classification, object detection, and semantic segmentation.

20
Q

What kind of data is ideal for Graph Machine Learning?

A

Graph Machine Learning is ideal for data with interconnected elements, such as social networks, molecular structures, or recommendation systems.