Memory Attractors and a Persistent Self-Model: Hopfield Network Recall Lab

2D Canvas - how a network can keep an identity pattern alive after corruption (a metaphor, not a soul)

Presets & run

Controls

Live readouts

Independent checks

The science

Model. N=144 binary neurons si=±1. Hebbian weights Wij = (1/N) Σμ ξiμ ξjμ, Wii=0. Energy E = -½ Σ Wij si sj. Asynchronous update si = sign(Σj Wij sj) never increases E (Hopfield 1982), so the state falls into a local minimum. With T>0 each neuron fires with Glauber probability 1/(1+exp(-2h/T)).

Capacity. For random patterns, recall breaks down near P ≈ 0.138 N (Amit, Gutfreund & Sompolinsky 1985): about 20 memories for N=144. The four glyphs are correlated with each other, so the practical limit is lower.

Overlap m = (1/N) Σ ξi si: 1 means identical, -1 the inverted twin (also a stable state).

Honest simplification. A "soul" or self is not modelled; this shows only how a stable memory pattern can persist and be restored from a damaged cue, a standard model of content-addressable memory. Everything is seeded and repeatable.