Recurrent Neural Nets Flashcards

1
Q

What is a recurrent neural network?

A

type of neural network that can model sequential data, such as sentences or ball movements in space

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

What is a feed-forward neural network?

A

Takes in a fixed-sized input and returns a fixed-sized output

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

What is the inherent problem with feed-forward neural networks?

A

Cannot handle sequential data and information about the past must be supplied

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

What types of applications are RNN’s well-suited for?

A

applications that involve sequences of data that change over time, such as natural language processing, sentiment classification, DNA sequence classification, speech recognition, and language translation

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

What is a benefit of sharing parameters in a RNN?

A

gives the network the ability to look for a given feature everywhere in the sequence rather than in just a certain area

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

What do RNN’s do that vanilla neural networks dont?

A
  1. Deal with variable length sequences
  2. Maintain sequence order
  3. Keep track of long-term dependencies
  4. Share parameters across the sequence
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What kind of architecture does a RNN use?

A

Uses a feedback loop in the hidden layers and can operate effectively on sequences of data with variable input length

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

How is a RNN trained?

A

Uses backprop algo BUT is applied to every sequence data point and uses what is called a backprop through time (BTT) algo

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

What is a limitation of using RNNs?

A

The vanishing gradient problem which is short-term memory which basically means that it has trouble retaining information from previous steps

It’s like trying to remember all the numbers in PI - you might remember 3.14 but you’re probably going to forget the rest over time

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

During RNN training, what is used to make adjustments to weights and biases?

A

Gradients

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

What are two variants of RNN that can address the short-term memory problem?

A

LSTM (Long Short Term Memory) RNN’s and GRNN’s (Gated RNN’s) because they are capable of learning long-term dependencies using gates

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