Associative Memory Associative Memory Network (Amn) Network (Amn) Network (Amn) Network (Amn)
Associative Memory Associative Memory Network (Amn) Network (Amn) Network (Amn) Network (Amn)
NETWORK (AMN)
AMN
Stores a set of patterns as memories.
When a key pattern is presented to AMN, it responds by
producing a stored pattern which closely resembles or
related the key pattern.
Recall is through the association of the key pattern with the
help of information memorized.
Also called as content – addressable memories (CAM) in
contrast to the address – addressable memories.
Stored patterns should be unique i.e., different patterns in
each location.
If same patterns exist in more than one location, even though
the correlation exist, the address is note to be ambigous.
AMN
Makes the parallel search within the stored data file.
Produces the output of one or all stored items which match
the given search argument and also retrieves the stored data
either completely or partially.
Feed forward or iterative network
AMN
Two types:
Auto associative memory network
Each of the output vectors is same as the input vector with which it is
associated.
Hetero associative memory network
Output vectors are different from the input vectors.
Both these networks are single layer networks, in which the
weights are determined in a manner so that the network
stores a set of pattern association.
Number of mismatched components between two vectors is
determined using Hamming distance (HD).
Training vectors are denoted as s:t
AMN
Hamming distance (HD)
Consider two vectors
Denoted as H[ x, x’ ]
Now, the hamming distance is defined as the number of mismatched
components of these two vectors and is given by
Solution:
Hamming distance, H[ X, X’ ] = 8
Length of the vector is 12
Therefore, the average hamming distance is 8 / 12 = 2 / 3
Training algorithm for pattern
association
Two training algorithms are used to find the weights of an
associative memory network
Hebb rule
Solution
Input vector:
Output vector:
Initial weight vector:
W=