0% found this document useful (0 votes)
21 views2 pages

Understanding Feedback in Neural Networks

Local feedback occurs within the hidden layer and produces a simpler, more stable training process than global feedback, which connects the network output to the input. Autoassociative memory finds the stored pattern most similar to the current input pattern, with the output being the same as the input, as in Hopfield networks. Heteroassociative memory retrieves a different pattern than the input, as in Bidirectional Associative Memory (BAM) networks, which have two neuron layers and can store associations up to the size of the smaller layer. BAM was developed to store patterns bidirectionally between its two layers. Recurrent neural networks involve three stages - storage, testing, and retrieval through repetition until stability. The maximum memories stored differs

Uploaded by

ilyakhad08
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views2 pages

Understanding Feedback in Neural Networks

Local feedback occurs within the hidden layer and produces a simpler, more stable training process than global feedback, which connects the network output to the input. Autoassociative memory finds the stored pattern most similar to the current input pattern, with the output being the same as the input, as in Hopfield networks. Heteroassociative memory retrieves a different pattern than the input, as in Bidirectional Associative Memory (BAM) networks, which have two neuron layers and can store associations up to the size of the smaller layer. BAM was developed to store patterns bidirectionally between its two layers. Recurrent neural networks involve three stages - storage, testing, and retrieval through repetition until stability. The maximum memories stored differs

Uploaded by

ilyakhad08
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Ilya Khadija Binti Rosli 2022780489 CS2424A

Question 1

Local feedback is when there is an introduction of feedback within the hidden layer.
The training process is simpler and more stable compared to global feedback. On the
other hand, global feedback can be produced by connecting the network output to the
network input. This feedback has a sensitive dependence and unstable training
process.

Question 2

Autoassociative memory is used to find a previously stored pattern that resembles the
current pattern the most, s = t. One example of autoassociative memory is the Hopfield
Network. The output pattern is the same as the input pattern because Hopfield network
is a single-layer network. One feature of Hopfield network is training patterns will
become stable due to weight updates that minimize energy.

Meanwhile, heteroassociative memory is when the retrieved pattern is not the same
as the previously stored patter, s /= t. Bidirectional Associative Memory (BAM) is an
example of heteroassociative memory. BAM consists of two layers of neurons and is
unconditionally stable, so there is no risk of instability when learning any set of
associations. However, the maximum number of stored associations in the BAM must
not be more than the number of neurons in the smaller layer.

Question 3

Bidirectional associative memory (BAM) is an example of heteroassociative memory.


It consists of two layers of neurons that are connected by directional weighted
connection paths. BAM was developed by Kosko in 1988 for the purpose of storing a
set of patterns. BAM network works by passing signals back and forth between the
two layers and repeats the process until all neurons reached equilibrium. BAM can
respond to the inputs in either layer since the weights associated with the network are
bidirectional.
Question 4

There are 3 main stages in the Recurrent Neural Network. The first step is storage
where a set of M fundamental memories must be stored in the n-neuron Hopfield
network and calculate the weight matrix. The second step is testing. We need to test
if the Hopfield network can recall any fundamental memory when presented with it as
an input. The last step is retrieval where an unknown n-dimensional vector or also
known as probe is presented to the network. This step is repeated until a stable state
is achieved.

Question 5

The maximum number of fundamental memories that can be stored in Hopfield


network is limited by Mmax = 0.15n. However, for BAM, the maximum number of
associations stored must not exceed the number of neurons in the smaller layer.

Common questions

Powered by AI

Local feedback in neural networks is introduced within the hidden layers, making the training process simpler and more stable compared to global feedback. Global feedback involves connecting the network's output back to its input, which leads to a sensitive dependence and an unstable training process .

In Hopfield networks, stability is achieved by updating weights to minimize energy, ensuring that training patterns become stable over time. In contrast, BAM is unconditionally stable, meaning it inherently lacks the risk of instability when learning associations, due to its bidirectional structure and design .

Bidirectional Associative Memory (BAM) operates with two layers of neurons connected by directional weighted paths. It achieves stability by passing signals back and forth between these two layers until an equilibrium state is reached for all neurons. This bidirectional nature allows BAM to respond to inputs from either layer, thereby stabilizing during the process of reaching equilibrium .

The operation of a Recurrent Neural Network (RNN) involves three main stages: storage, testing, and retrieval. In the storage stage, fundamental memories are stored in the network by calculating the weight matrix. During the testing stage, the network's ability to recall any fundamental memory when presented with it as input is evaluated. Finally, in the retrieval stage, the network processes an unknown vector (probe) repeatedly until a stable state is reached, thereby facilitating the learning and recall of data .

The sensitivity of global feedback in neural networks can lead to an unstable training process due to feedback loops that amplify errors. However, global feedback might be beneficial in scenarios requiring adaptive learning where network outputs influence future inputs, enabling dynamic responses to changing environments or situations that require complex dependency modeling .

The directional nature of connections in Bidirectional Associative Memory (BAM) enables pattern retrieval from either layer because the weights associated with the network are bidirectional. This allows signals to be passed in both directions, facilitating the retrieval of patterns regardless of which layer receives the input .

The Hopfield network uses autoassociative memory to find a previously stored pattern that closely resembles the current input pattern. Its uniqueness lies in the fact that the output pattern is identical to the input pattern because it is a single-layer network. The network stabilizes training patterns by updating weights to minimize energy .

Pattern associations in Bidirectional Associative Memories (BAM) are limited by the number of neurons in the smaller layer of the network. This constraint affects its application by restricting the number of stored associations, potentially limiting the complexity or size of the datasets that BAM can effectively handle .

The memory storage capacity of a Hopfield network is limited by 0.15 times the number of neurons, Mmax = 0.15n. In contrast, BAM's storage capacity is restricted by the number of neurons in its smaller layer. BAM's structure, which includes two layers of neurons connected by directional weighted paths, allows it to store patterns as bidirectional associations, thus limiting the maximum number of associations to the size of the smaller layer .

Hopfield networks are effective in handling static patterns due to their energy-minimizing nature, making them less suited for dynamic changes. Conversely, heteroassociative memory networks like BAM can handle dynamic changes better because they operate with bidirectional weights, allowing them to associate different input and output patterns and adjust more flexibly to changes .

You might also like