Lecture 4
ASSOCIATIVE MEMORY
Introduction
Associative memories/CAM can be implemented either by using feedforward or recurrent neural networks. Here we will only see feed forward implementation.
Some Terminologies
April 2007
4
Hamming Distance
April 2007
5
HEBB RULE: Used for finding weights of an associative memory neural net. The training vector pairs are denoted as s:t�
April 2007
HEBB RULE ALGORITHM
April 2007
7
Outer Products Rule: alternative method for finding weights of an associative net
April 2007
8
Comparing the results of Hebb Rule and Outer Product Rule
April 2007
9
TYPES OF ASSOCIATIVE MEMORY NETWORKS
Definitions
In the case of an autoassociative neural net, the training input and the target output vectors are the same.
In case of a heteroassociative neural net, the training input and the target output vectors are different.
Architectures of associative memory:�
AUTO-ASSOCIATIVE MEMORY
HETERO-ASSOCIATIVE MEMORY
Flowchart for�training process�(same for both� types)
April 2007
12
Training Algorithm: AUTO-ASSOCIATIVE MEMORY�
April 2007
13
Testing Algorithm: AUTO-ASSOCIATIVE MEMORY�
April 2007
14
EXAMPLE
April 2007
15
April 2007
16
Training Algorithm: HETERO-ASSOCIATIVE MEMORY�
April 2007
17
Testing Algorithm: HETERO-ASSOCIATIVE MEMORY�
April 2007
18
EXAMPLE
April 2007
19
April 2007
20