<p>I think that your intuition about the lower "energy ratio" of spurious states explaining their greater susceptibility to unlearning might be correct.</p>

<p>In a Hopfield Network spurious states are activity patterns that have not been explicitly embedded in the synaptic matrix, but are nonetheless stable. They are in other words "unwanted" attractor states that, by virtue of a finite overlap with the "wanted" attractor states, come about as a local minimum in the energy function. The unlearning rule in Hopfield et al. (1983) consists in modifying the synaptic matrix so as to decrease the energy of the stable states in which the network dynamics settles down, be them spurious or embedded states. Because the spurious states have higher energy than the embedded states, they are more strongly affected by the unlearning step.</p>

<p>Now, why do spurious states have higher energy than the embedded attractor states? Well, this is actually not true in general, but it is the case in a regime where the Hopfield network doesn't exceed its loading capacity, that is when the number of learned patterns over number of units $p/N$ is lower than the critical capacity $\alpha_c\approx0.138$. In this regime, it is possible to estimate the overlap of the spurious states with the learned patterns, and show that is generally lower than $1$ (the overlap of the learned patterns with themselves). Because of how the Hebbian construction of the synaptic matrix in the Hopfield model, this overlaps are terms that appears in the energy function. The energy of a pattern is namely proportional to minus the square root of its overlap with the learned patterns. This means that the spurious patterns have higher energy than the learned ones.</p>

<p>In general this kind of naive considerations has to be supported by more rigorous arguments based on probability theory. These for instance point out that even for the regime below $\alpha_c$ the retrieved patterns are actually spurious states as soon as the number of embedded patterns $p$ exceeds above $\frac{N}{2\ln N}$. Such spurious states have however such a high overlap with the learned patterns ($0.97$) that they basically coincide with them.</p>

<p>This result and generalizations thereof for non-zero temperature (i.e. noise in the dynamics) and beyond critical capacity have been worked out in the following very technical paper:</p>

<ul>
<li>Amit D.J, Gutfreund H and Sompolinsky H (1987) <a href="http://neurophysics.huji.ac.il/~haim/papers/amit-gutfreund-somp-87.pdf">Statistical Mechanics of Neural Networks Near Saturation</a>. Ann. Phys. (NY) 173, 30</li>
</ul>

<p>and in the book:</p>

<ul>
<li>Amit D.J, (1992) <a href="http://www.cambridge.org/gb/knowledge/isbn/item1141854/">Modeling brain function: The world of attractor neural networks</a>. Cambridge University Press, ISBN:9780521421249</li>
</ul>

CC BY-SA 3.0
2012-06-28T17:48:45.220Z
nice answer and references. Welcome to CogSci.SE, glad to have you here!
Artem Kaznatcheev
CC BY-SA 3.0
2012-06-28T21:35:56.390Z
Welcome! I echo @ArtemKaznatcheev's sentiment.
Chuck Sherrington
CC BY-SA 3.0
2012-06-29T16:50:06.983Z
Thanks for this interesting answer, I'll follow up those references.
Peter Helfer
CC BY-SA 3.0
2012-06-28T14:42:52.723Z
2012-06-28T14:42:52.723Z
mrig
<p>A classic "Hopfield network" is a type of artificial neural network in which the units are bi-stable and fully interconnected by symmetrically weighted connections. In 1982, Hopfield showed that such networks are characterized by an "energy function", under which stored memories correspond to local energy minima [1].</p>

<p>In a 1983 paper [2], Hopfield et al further showed that "spurious memories" (local energy minima that are created during training, in addition to the intended target patterns) can be suppressed by an "unlearning procedure", during which the network is repeatedly allowed to relax from random states, and the resulting states then "unlearned" by anti-Hebbian weight adjustments. The procedure affects spurious memories more than the desirable "learned memories", thus improving recall performance. However, the paper offers no explanation for why this should be so.</p>

<p>A 2004 paper by Robins and McCallum [3] demonstrates that spurious memories can be distinguished from learned ones because their "energy profiles" are different. Specifically, the ratio of lowest to highest energy contributions from individual units is significantly smaller in states corresponding to spurious memories than in states corresponding to learned memories. Again, the effect is not accounted for (except for a tentative partial explanation).</p>

<p>My questions are:</p>

<ol>
<li>Is there a relationship between these two findings, i.e. does the lower "energy ratio" of spurious states explain their greater susceptibility to unlearning?</li>
<li>Have any explanations for either or both of these phenomena been put forward since the publication of the papers?</li>
<li>Are there other ways to suppress or detect spurious memories in the Hopfield family of neural networks?</li>
</ol>

<p>[1] Hopfield, J. J. (1982). Neural networks and physical systems with emergent collective computational abilities. Proceedings of the National Academy of Sciences, 79(8), 2554 –2558.</p>

<p>[2] Hopfield, J. J., Feinstein, D. I., &amp; Palmer, R. G. (1983). “Unlearning” has a stabilizing effect in collective memories. Nature, 304(5922), 158–159.</p>

<p>[3] Robins, A. V., &amp; McCallum, S. J. R. (2004). A robust method for distinguishing between learned and spurious attractors. Neural Networks, 17(3), 313–326. doi:10.1016/j.neunet.2003.11.007</p>

CC BY-SA 3.0
2012-05-18T18:14:18.720Z
Thanks for asking this question! Minor comment: question 3 is a pretty big question on its own, and not as closely related to question 1 and 2. It might be worthwhile to ask it as a separate question, but it is up to you.
Artem Kaznatcheev
CC BY-SA 3.0
2012-05-18T18:42:46.063Z
Argeed, 3 might be better as a separate, linked question
Zelda
<computational-modeling><neural-network><connectionism>
Spurious attractors in Hopfield networks
Peter Helfer
# Spurious attractors in Hopfield networks

(Asked by: username_0 on 2012-05-18)

A classic "Hopfield network" is a type of artificial neural network in which the units are bi-stable and fully interconnected by symmetrically weighted connections. In 1982, Hopfield showed that such networks are characterized by an "energy function", under which stored memories correspond to local energy minima [1].

In a 1983 paper [2], Hopfield et al further showed that "spurious memories" (local energy minima that are created during training, in addition to the intended target patterns) can be suppressed by an "unlearning procedure", during which the network is repeatedly allowed to relax from random states, and the resulting states then "unlearned" by anti-Hebbian weight adjustments. The procedure affects spurious memories more than the desirable "learned memories", thus improving recall performance. However, the paper offers no explanation for why this should be so.

A 2004 paper by Robins and McCallum [3] demonstrates that spurious memories can be distinguished from learned ones because their "energy profiles" are different. Specifically, the ratio of lowest to highest energy contributions from individual units is significantly smaller in states corresponding to spurious memories than in states corresponding to learned memories. Again, the effect is not accounted for (except for a tentative partial explanation).

My questions are:

1. Is there a relationship between these two findings, i.e. does the lower "energy ratio" of spurious states explain their greater susceptibility to unlearning?
2. Have any explanations for either or both of these phenomena been put forward since the publication of the papers?
3. Are there other ways to suppress or detect spurious memories in the Hopfield family of neural networks?

[1] Hopfield, J. J. (1982). Neural networks and physical systems with emergent collective computational abilities. Proceedings of the National Academy of Sciences, 79(8), 2554 –2558.

[2] Hopfield, J. J., Feinstein, D. I., & Palmer, R. G. (1983). “Unlearning” has a stabilizing effect in collective memories. Nature, 304(5922), 158–159.

[3] Robins, A. V., & McCallum, S. J. R. (2004). A robust method for distinguishing between learned and spurious attractors. Neural Networks, 17(3), 313–326. doi:10.1016/j.neunet.2003.11.007

**Tags:** computational-modeling, neural-network, connectionism

> **Comments:**
> **username_1**: Thanks for asking this question! Minor comment: question 3 is a pretty big question on its own, and not as closely related to question 1 and 2. It might be worthwhile to ask it as a separate question, but it is up to you.  
> **username_2**: Argeed, 3 might be better as a separate, linked question  

---

## 1 answers

### Answer by username_3 on 2012-06-28. Score: 8

I think that your intuition about the lower "energy ratio" of spurious states explaining their greater susceptibility to unlearning might be correct.

In a Hopfield Network spurious states are activity patterns that have not been explicitly embedded in the synaptic matrix, but are nonetheless stable. They are in other words "unwanted" attractor states that, by virtue of a finite overlap with the "wanted" attractor states, come about as a local minimum in the energy function. The unlearning rule in Hopfield et al. (1983) consists in modifying the synaptic matrix so as to decrease the energy of the stable states in which the network dynamics settles down, be them spurious or embedded states. Because the spurious states have higher energy than the embedded states, they are more strongly affected by the unlearning step.

Now, why do spurious states have higher energy than the embedded attractor states? Well, this is actually not true in general, but it is the case in a regime where the Hopfield network doesn't exceed its loading capacity, that is when the number of learned patterns over number of units $p/N$ is lower than the critical capacity $\alpha\_c\approx0.138$. In this regime, it is possible to estimate the overlap of the spurious states with the learned patterns, and show that is generally lower than $1$ (the overlap of the learned patterns with themselves). Because of how the Hebbian construction of the synaptic matrix in the Hopfield model, this overlaps are terms that appears in the energy function. The energy of a pattern is namely proportional to minus the square root of its overlap with the learned patterns. This means that the spurious patterns have higher energy than the learned ones.

In general this kind of naive considerations has to be supported by more rigorous arguments based on probability theory. These for instance point out that even for the regime below $\alpha\_c$ the retrieved patterns are actually spurious states as soon as the number of embedded patterns $p$ exceeds above $\frac{N}{2\ln N}$. Such spurious states have however such a high overlap with the learned patterns ($0.97$) that they basically coincide with them.

This result and generalizations thereof for non-zero temperature (i.e. noise in the dynamics) and beyond critical capacity have been worked out in the following very technical paper:

* Amit D.J, Gutfreund H and Sompolinsky H (1987) [Statistical Mechanics of Neural Networks Near Saturation](http://neurophysics.huji.ac.il/~haim/papers/amit-gutfreund-somp-87.pdf). Ann. Phys. (NY) 173, 30

and in the book:

* Amit D.J, (1992) [Modeling brain function: The world of attractor neural networks](http://www.cambridge.org/gb/knowledge/isbn/item1141854/). Cambridge University Press, ISBN:9780521421249

> **Comments:**
> **username_1**: nice answer and references. Welcome to CogSci.SE, glad to have you here!  
> **username_4**: Welcome! I echo @ArtemKaznatcheev's sentiment.  
> **username_0**: Thanks for this interesting answer, I'll follow up those references.  

---

