Hopfield networks
What it is
Associative memory stored as an energy landscape where patterns are attractors of the dynamics.
When to use it
Theory: associative memory, energy-based modelling, and the modern continuous Hopfield = attention connection.
Caveats
Classical Hopfield networks store only about 0.14 patterns per neuron before recall fails, and can settle into spurious states that were never stored. They need symmetric weights; modern continuous versions raise the capacity sharply.
Key ideas
- A recurrent network that stores patterns as minima of an energy function
- Recalls a full pattern from a partial or noisy cue
- The modern continuous version has an update rule equivalent to transformer attention
Related architectures
Original paper
Neural networks and physical systems with emergent collective computational abilities. (1982, DOI)