Recurrent Neural Networks Flashcards
When is a neural network recurrent?
When neurons in the network can form loops (1 sends to 2 and 2 sends to 1).
Note: a single artificial model neurons can also be recurrently connected to itself.
What are Hopfield Networks?
Recurrent neural networks where the weights are symmetric and the activity of units is either on or off.
Hopfield networks can learn patterns via Hebbian Plasticity.
Can a Random Recurrent Neural Network have spontaneous dynamics?
Yes.
What are the content-addressable memories (CAM)?
Memories that can be retrieved based on incomplete/partial stimuli.
Thus, in the case of CAM memories, your mother’s phone number is not retrieved by providing the address of the memory location in the storage, but rather, memory uses the input information (name of your mother) to retrieve the number. This is an example of an auto-associative CAM.
How is the term ‘energy’ used in Hopfield networks?
Hopfield networks have a scalar value associated with each neuron of the network that resembles the notion of energy. The sum of these individual scalars gives the “energy” of the network.
If we update the network weights to learn a pattern, this value will either remain the same or decrease, hence justifying the name “energy.”
What is the function of a Hopfield network?
A Hopfield network retrieves patterns stored as fixed-point attractors. It is a model of associative memory.
It is a ‘content addressable memory’. Input patterns that look sufficiently similar to a stored memory will evoke the trained pattern.
What are the assumptions underlying Hopfield networks?
- The activation of each neuron is either +1 or -1
- All of the connections are reciprocal (wij = wji)
What are the possible states of a neuron in a Hopfiled network?
It is a binary neuron (Mc Culloch-Pitts)
(0 or 1) or sometimes (-1 1)
How are Hopfield networks trained?
Via Hebbian Learning: neurons that are co-active during a pattern are more strongly connected.
Why do recurrent neural networks produce spontaneous dynamics?
Because of recurrent connections previous outputs become inputs again, and so on in a sequence.
What are time-series?
In general, a sequence of numbers representing a certain variable acquired through time.
In the case of neural network activity, a sequence of activations values.
How do we train read-outs from attractors in Echo State Networks?
Via linear regression of the output weights
What kinds of tasks are typical for an RNN?
In general RNN’s are competent in tasks where the output has history dependence.
Sequence Learning (e.g. word sequences), Sequence Generation, Sequence Classification (e.g., Language Parsing), Sensorimotor Transformations (for robot control).
What is an Echo-State Network?
A Recurrent Neural Network with Random weights, where the output is trained to produce desired time-series.
What is a dynamical repository?
It is a network that can have many different attractors that can be accessed via multiple parameterizations.