CNN and RNN Flashcards

(30 cards)

1
Q

What is deep learning?

A

A subset of machine learning using multi-layered neural networks to learn hierarchical representations from data.

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

What are the three historical waves of neural networks?

A

Cybernetics (1940–1970), Connectionism (1980–2000), and Deep Learning (2006–present).

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

What was the major contribution of the 1986 backpropagation paper?

A

An efficient algorithm to compute gradients in multi-layer neural networks, enabling end-to-end training.

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

What is the purpose of LSTM networks?

A

To handle long-term dependencies in sequences by mitigating vanishing gradients through gated memory units.

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

What problem did LSTM solve?

A

Vanishing gradients in standard RNNs during long sequence learning.

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

What is LeNet-5?

A

An early convolutional neural network developed in 1998 for handwritten digit recognition.

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

What were the key features of LeNet-5?

A

Convolutional layers, pooling, and fully connected layers to achieve spatial invariance.

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

What was AlexNet?

A

A deep CNN that won the 2012 ImageNet competition and popularized deep learning.

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

What innovations did AlexNet introduce?

A

ReLU activation, GPU training, data augmentation, and dropout regularization.

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

What is supervised learning in the context of deep learning?

A

Learning from labeled input-output pairs to minimize a loss function.

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

What are CNNs used for?

A

Visual recognition tasks like image classification, object detection, and segmentation.

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

What are the key ideas behind CNNs?

A

Local receptive fields, weight sharing, and hierarchical feature extraction.

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

What makes CNNs efficient for images?

A

They reuse the same filters across space and reduce spatial dimensions via pooling.

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

What does a typical CNN architecture consist of?

A

Convolutional layers, ReLU activation, pooling layers, and fully connected layers.

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

What is a recurrent neural network (RNN)?

A

A neural network designed to process sequences by maintaining hidden state across time steps.

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

What are common applications of RNNs?

A

Text generation, speech recognition, image captioning, and video analysis.

17
Q

Why do RNNs struggle with long sequences?

A

Because gradients can vanish or explode over time, making learning difficult.

18
Q

What are LSTM and GRU used for?

A

They are variants of RNNs that solve the vanishing gradient problem with gating mechanisms.

19
Q

What is image captioning?

A

A task where a model generates a natural language description of an image.

20
Q

How does image captioning work?

A

A CNN encodes the image and an RNN decodes it into a sentence.

21
Q

What are some failure modes of image captioning systems?

A

Incorrect object identification, hallucinated relationships, or vague descriptions.

22
Q

What is the function of softmax in a classification network?

A

It converts the final layer’s outputs into class probabilities.

23
Q

What role do benchmarks like ImageNet and COCO play in deep learning?

A

They provide standardized datasets and evaluation metrics for comparing models.

24
Q

What is the significance of the ImageNet 2012 competition?

A

It demonstrated the power of deep CNNs with AlexNet outperforming previous methods by a large margin.

25
What is AlphaGo?
A system that combined deep neural networks with tree search to defeat world champions at Go.
26
What are transformers in deep learning?
Architectures based on self-attention mechanisms, replacing RNNs for many sequence tasks.
27
What is BERT?
A bidirectional transformer model trained on masked language modeling and next sentence prediction.
28
What is GPT-3?
A large autoregressive language model with 175 billion parameters capable of few-shot learning.
29
What is Semi-Supervised Learning?
Learning that uses a small amount of labeled data combined with a large amount of unlabeled data.
30
What is synthetic data and how is it used in deep learning?
Artificially generated data used to pretrain or augment training sets, especially when real data is scarce or expensive to annotate.