26.12.2013 Views

AI - a Guide to Intelligent Systems.pdf - Member of EEPIS

AI - a Guide to Intelligent Systems.pdf - Member of EEPIS

AI - a Guide to Intelligent Systems.pdf - Member of EEPIS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

THE HOPFIELD NETWORK<br />

195<br />

The Hopfield network will always converge <strong>to</strong> a stable state if the retrieval is<br />

done asynchronously (Haykin, 1999). However, this stable state does not<br />

necessarily represent one <strong>of</strong> the fundamental memories, and if it is a fundamental<br />

memory it is not necessarily the closest one.<br />

Suppose, for example, we wish <strong>to</strong> s<strong>to</strong>re three fundamental memories in the<br />

five-neuron Hopfield network:<br />

X 1 ¼ðþ1; þ1; þ1; þ1; þ1Þ<br />

X 2 ¼ðþ1; 1; þ1; 1; þ1Þ<br />

X 3 ¼ð 1; þ1; 1; þ1; 1Þ<br />

The weight matrix is constructed from Eq. (6.20),<br />

2<br />

W ¼<br />

6<br />

4<br />

3<br />

0 1 3 1 3<br />

1 0 1 3 1<br />

3 1 0 1 3<br />

7<br />

1 3 1 0 1 5<br />

3 1 3 1 0<br />

Assume now that the probe vec<strong>to</strong>r is represented by<br />

X ¼ðþ1; þ1;<br />

1; þ1; þ1Þ<br />

If we compare this probe with the fundamental memory X 1 , we find that these<br />

two vec<strong>to</strong>rs differ only in a single bit. Thus, we may expect that the probe X will<br />

converge <strong>to</strong> the fundamental memory X 1 . However, when we apply the Hopfield<br />

network training algorithm described above, we obtain a different result. The<br />

pattern produced by the network recalls the memory X 3 , a false memory.<br />

This example reveals one <strong>of</strong> the problems inherent <strong>to</strong> the Hopfield network.<br />

Another problem is the s<strong>to</strong>rage capacity, or the largest number <strong>of</strong> fundamental<br />

memories that can be s<strong>to</strong>red and retrieved correctly. Hopfield showed<br />

experimentally (Hopfield, 1982) that the maximum number <strong>of</strong> fundamental<br />

memories M max that can be s<strong>to</strong>red in the n-neuron recurrent network is<br />

limited by<br />

M max ¼ 0:15n<br />

ð6:26Þ<br />

We also may define the s<strong>to</strong>rage capacity <strong>of</strong> a Hopfield network on the basis<br />

that most <strong>of</strong> the fundamental memories are <strong>to</strong> be retrieved perfectly (Amit,<br />

1989):<br />

M max ¼<br />

n<br />

2lnn<br />

ð6:27Þ

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!