Answer: No. Components of vectors in discrete Hopfield nets must be +1 or –1.
Answer:
| 0 | –1 | 1 | –1 | 1 | 1 |
| –1 | 0 | –1 | 1 | –1 | –1 |
| 1 | –1 | 0 | –1 | 1 | 1 |
| –1 | 1 | –1 | 0 | –1 | –1 |
| 1 | –1 | 1 | –1 | 0 | 1 |
| 1 | –1 | 1 | –1 | 1 | 0 |
| 0 | 1 | 1 | –1 | –1 | –1 |
| 1 | 0 | 1 | –1 | –1 | –1 |
| 1 | 1 | 0 | –1 | –1 | –1 |
| –1 | –1 | –1 | 0 | 1 | 1 |
| –1 | –1 | –1 | 1 | 0 | 1 |
| –1 | –1 | –1 | 1 | 1 | 0 |
The weight matrix W is (1/6)×(W1 + W2) = (1/3)×
| 0 | 0 | 1 | –1 | 0 | 0 |
| 0 | 0 | 0 | 0 | –1 | –1 |
| 1 | 0 | 0 | –1 | 0 | 0 |
| –1 | 0 | –1 | 0 | 0 | 0 |
| 0 | –1 | 0 | 0 | 0 | 1 |
| 0 | –1 | 0 | 0 | 1 | 0 |
We have to show that the original two vectors are stable states.
| sgn(W.[1, –1, 1, –1, 1, 1]) | = | sgn((2/3)×[1, –1, 1, –1, 1, 1]) |
| = | [1, –1, 1, –1, 1, 1]) | |
| so this one is stable. Similarly, | ||
| sgn(W.[1, 1, 1, –1, –1, –1]) | = | sgn((2/3)×[1, 1, 1, –1, –1, –1]) |
| = | [1, 1, 1, –1, –1, –1] | |
| so this one is stable too. | ||
| 0.0 | –0.2 | 0.2 | –0.2 | –0.2 |
| –0.2 | 0.0 | –0.2 | 0.2 | 0.2 |
| 0.2 | –0.2 | 0.0 | –0.2 | –0.2 |
| –0.2 | 0.2 | –0.2 | 0.0 | 0.2 |
| –0.2 | 0.2 | –0.2 | 0.2 | 0.0 |
Answer:
Case A: W.[1, –1, 1, 1, –1] = [0.4, 0, 0.4, –0.8, 0]. Hence, if neurons 1, 2, 3, or 5 update first, there is no stage change. If neuron 4 updates first, it flips, and the new state is [1, –1, 1, –1, –1].
W.[1, –1, 1, –1, –1] = [0.8, –0.8, 0.8, –0.8, –0.8]. So no matter which neuron updates, there is no change. This is a stable state.
Case B: W.[1, 1, 1, –1, –1] = [0, –0.8, 0.4, –0.4, –0.4]. Hence, if neurons 1, 3, 4 or 5 update first, there is no stage change. If neuron 2 updates first, it flips, and the new state is [1, –1, 1, –1, –1].
This is the same state as that reached in case A, and as seen in case A, it is a stable state.
Copyright © Bill Wilson, 2008.
Bill Wilson's contact info
UNSW's CRICOS Provider No. is 00098G