Chapter 4 - Recurrent Neural Networks: Hopfield & BAM Networks Flashcards

1
Q

What is the primary function of Recurrent Neural Networks (RNNs)?

A

RNNs are designed to process sequential data by maintaining a memory of previous inputs

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

What is a key difference between RNNs and feedforward neural networks?

A

RNNs have feedback loops, allowing the output of a neuron to be fed back into the network as input for the next time step, whereas feedforward networks do not.

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

What is the “hidden state” in an RNN?

A

The hidden state is the “memory” of the network that captures information from previous time steps, updated with each new input.

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

How do RNNs handle variable-length input sequences?

A

RNNs use shared weights across time steps to generalize across different sequence lengths and handle variable-length input.

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

What does “unfolding in time” mean in the context of RNNs?

A

“Unfolding in time” is a way to visualize an RNN as a series of layers, each representing a time step in the input sequence.

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

What is Backpropagation Through Time (BPTT)?

A

BPTT is a variant of backpropagation used to train RNNs by adjusting weights based on gradients calculated over all time steps.

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

What is a limitation of standard RNNs regarding long-term dependencies?

A

Standard RNNs struggle to capture long-term dependencies due to vanishing gradients.

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

How do LSTMs and GRUs address the limitation of standard RNNs?

A

LSTMs and GRUs use gating mechanisms to control the flow of information, allowing them to remember and forget information over longer periods.

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

How do Hopfield Networks work as recurrent networks?

A

Hopfield networks are fully connected, with neurons feeding back to each other, creating a recurrent structure and the network iterates over states until it converges to a stored pattern.

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

What is the main function of a Hopfield network?

A

Hopfield networks are designed to store and retrieve memory patterns, acting as a form of associative memory.

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

How does a Hopfield Network reach a stable state?

A

Hopfield networks adjust their states by minimizing an energy function, iterating until the network reaches a stable state corresponding to a stored pattern.

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

What is a key difference between Hopfield networks and modern RNNs like LSTMs or GRUs?

A

Hopfield networks are static, settling into an equilibrium point, while modern RNNs process sequences of data over time, maintaining evolving hidden states.

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

What is the primary use of Hopfield Networks?

A

Hopfield networks are mainly used for associative memory.

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

What is the “memory problem” in the context of neural networks?

A

The memory problem refers to the challenge of storing and recalling data efficiently without confusion or interference.

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

What is a limitation of Hopfield networks?

A

Hopfield networks have low capacity, and they primarily focus on auto-association (storing and recalling the same pattern).

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

What is Bidirectional Associative Memory (BAM)?

A

BAM is a type of recurrent neural network that acts as a form of associative memory, storing and retrieving pattern pairs.

17
Q

What is a key difference between BAM and Hopfield networks?

A

BAM can retrieve one pattern from a related pattern in another domain, while Hopfield networks retrieve a pattern from the same domain.

18
Q

What is Hetero-Associative Memory?

A

BAM performs hetero-association, meaning it can associate one pattern with a different, complementary pattern, unlike Hopfield networks which perform auto-association.

19
Q

How does BAM help with error in associative memory?

A

BAM reduces the chance of errors in associative memory by focusing on relating two sets of patterns rather than just self-association.

20
Q

What type of pattern mapping does BAM allow for?

A

BAM allows for pattern mapping between two datasets, making it flexible in tasks requiring complex mappings, such as translation from one set of data to another.

21
Q

What are some potential applications of Hopfield Networks and BAM?

A

The sources suggest exploring real-world applications and variations of input-output patterns, but do not specify exact applications, beyond general mentions of associative memory.