Hopfield Networks

We can often recognise a familiar pattern even when part of it is damaged. A Hopfield network stores patterns in its connections and uses repeated updates to try to recover a stable pattern from a noisy input.

16 sections · 15 questions · 4 coding challenges

1 / 16

Could a Damaged Pattern Lead Us Back to a Stored One?

BOTIE

We can often recognise a familiar pattern when part of it is missing or corrupted. An exact lookup cannot do this: it expects the complete stored address. Associative memory asks whether the available fragments can instead guide us toward a complete pattern.

Hopfield's 1982 paper connected networks of interacting units with the behaviour of physical systems that settle into stable states. Stored patterns could be represented as attractors, states toward which nearby starting configurations tend to move.

The units repeatedly adjust in response to one another. With the appropriate symmetric connections and update conditions, an energy measure decreases until the network settles. Think of a noisy pattern starting within reach of a stored arrangement. The settling process may recover it, but competing memories and unwanted stable states mean that recovery is not guaranteed from every starting point.

Sources for this history