Skip to main content
Independent Digital Museum of Artificial IntelligenceELEL

Exhibit 4.12 · MTN-0129

1982 · neural network model

The Hopfield network: a memory that recalls from a fragment

In April 1982 the physicist John Hopfield published, in the Proceedings of the National Academy of Sciences, a model of memory built from simple neurons. Give it a corrupted or incomplete pattern and the network often settles by itself on the stored pattern it most resembles. We then say it has “recalled” it.

Original scientific diagramMuseum diagram: on the left a grid with a corrupted letter T, in the middle the same grid as neurons change one by one, on the right the clean T. Below, an energy curve that steps down and levels off.25% corruptionhalfway through recallfinal state-13.4-51.2energyneuron changes: 0–25
Original scientific diagram by the Museum of AI, computed with the interactive’s own code: recall of the pattern T from 25% corruption in a network of 100 neurons storing three patterns.

Why it is in the museum

A computer finds a piece of information from its address. People often find it from a fragment: a few notes bring back the whole song. Hopfield called this kind of memory “content-addressable” and showed that it can emerge from the collective behaviour of many simple units. His paper gave neural networks a new impetus in the early 1980s.

A Hopfield network you can train

Draw patterns on the grid or load ready-made ones and store them in the network. Then corrupt a pattern and follow the recall neuron by neuron, together with the energy chart. Three patterns are already stored.

The interactive needs JavaScript. The exhibit texts can be read as usual.

How it works

Each neuron is active (+1) or inactive (−1). Each pair of neurons is joined by a weight that is the same in both directions, and no neuron is connected to itself. To store a pattern, the weights change according to a Hebb-type rule: the connection between two neurons is strengthened when they share a state in the pattern and weakened when their states are opposite.

During recall the neurons are updated one at a time, in random order. Each neuron adds up the influence of the others and takes the state the sum points to. Hopfield defined a quantity, the network’s “energy”, that never increases under this rule. That is why the network eventually stops in a stable state, a local minimum of the energy, called an attractor.

The limits of the model

Recall is not guaranteed. If the corruption is large, the network may end up in a different stored pattern. It may also settle in a state that was never stored, a spurious attractor, often a mixture of patterns or the inverse of one.

Capacity is limited. Hopfield estimated that a network of N neurons reliably recalls about 0.15N patterns. A later analysis by Amit, Gutfreund and Sompolinsky gave a limit close to 0.14N for random patterns. Patterns that resemble each other, such as many letters, get confused even sooner. You can see this for yourself in the interactive.

From 1982 to the Nobel Prize

Linking the network to the physics of magnetic materials, where neurons play the role of spins and the energy is defined in a similar way, led many physicists to study learning and memory. In 2024 John Hopfield received the Nobel Prize in Physics together with Geoffrey Hinton. The prize is presented in a separate exhibit in this room.

What the 3D visualisation shows

The 100 neurons appear as spheres on a 10 × 10 grid: active ones rise and light up, inactive ones sink. Lines show the strongest connections of the neuron that changed last. Beside it, the “energy landscape” is a simplified scientific visualisation: the real state of a 100-neuron network lives in a hundred-dimensional space and cannot be drawn in three. The whole interactive also works in two dimensions.

The scientific visualisation

The 3D visualisation is an original creation by the museum and takes every value from the simulation. The energy landscape is a two-dimensional simplification, not a picture of the real state space.

What supports the exhibit

Primary scientific publication (PNAS, 1982) · original diagram and scientific visualisation by the museum

Binary neurons, symmetric connections, asynchronous updating, the energy function and the capacity estimate.

Primary source: 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.

Open the source

What to bear in mind: The interactive is a real simulation, not a reproduction of 1982 code. The energy landscape is schematic.

Sources

  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. Open the source
  2. Amit, D. J., Gutfreund, H., & Sompolinsky, H. (1985). Storing infinite numbers of patterns in a spin-glass model of neural networks. Physical Review Letters, 55(14), 1530–1533. Open the source
  3. Hebb, D. O. (1949). The Organization of Behavior. Wiley.
  4. Royal Swedish Academy of Sciences (2024). Scientific background to the Nobel Prize in Physics 2024. Open the source

Links to the school curriculum

Physics: energy and equilibrium · Biology: nervous system and memory · Computer science: matrices.

England · Independent educational suggestion by the Museum, not an official curriculum mapping or endorsement. The suggested topics are enrichment activities, not a statement of statutory coverage. Department for Education – Computing · Museum in the classroom.

Related exhibits

Rights and credits

Texts, interactives, 3D models, diagrams and renders: original works by the Museum of AI (2026). No third-party photographs, models, textures, sounds or code are used. The 3D rendering uses the three.js library (MIT licence), already hosted by the museum. Links to sources lead to material belonging to its holders, which is not republished here.

Full documentation
Accession number
MTN-0129
Position in the exhibition
4.12
Title
The Hopfield network: a memory that recalls from a fragment
Date
1982
Creator / responsible body
John J. Hopfield · California Institute of Technology & Bell Laboratories
Type of evidence
Primary scientific publication (PNAS, 1982) · original diagram and scientific visualisation by the museum
Nature of the image
Original scientific diagram · Scientific visualisation
Main documentary source
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.
Image and model rights
Texts, interactives, 3D models, diagrams and renders: original works by the Museum of AI (2026).
Last curatorial review
2026-12-02
Next review
2028-12
Citation & curatorial transparency

Suggested citation

Independent Digital Museum of Artificial Intelligence. (2026). «The Hopfield network: a memory that recalls from a fragment». https://www.mouseiotn.eu/en/exhibits/hopfield-network/

Curator: Konstantinos Koustas · Accession number: MTN-0129 · Position in the exhibition: 4.12 · Last curatorial review: 2026-12-02.

Licence of the original curatorial text: CC BY-SA 4.0. The licence does not cover third-party material credited separately.