VISIBLE The memory field — 8 × 8 visible units
Tap or drag across cells to occlude them (they become free units the sampler must rebuild), or tap a free cell to clamp it back. Solid border = clamped and trusted. Dashed border = free, up for grabs.
CONTROL Set up the recall
Stored prototype
How much of the pattern is hidden before recall starts. More occlusion = a harder memory test.
Hotter sampling is softer and wanders longer before settling; colder snaps straight to the nearest memory.
LIVE Recall readouts — your run, in this browser
visible layer right now
and the stored prototype
Ready.
HIDDEN The hidden layer — 32 units, four memory groups
Each group of eight hidden units is tuned to one stored prototype. Whichever group lights up is the memory the machine believes it is seeing — and that belief is what rebuilds the free visible units.
BASINS Attractor basins — which memory is pulling?
Live correlation of the current visible state with each stored prototype. Associative memory works because the right basin pulls hardest. Tap a row to load that prototype.
How completion works
- 1Clamp what you know. The visible units you can see are locked to the partial pattern. The rest start unknown.
- 2Alternate. A Gibbs sweep passes the visible state up to the 32 hidden units, then passes their answer back down to rebuild only the free units.
- 3Settle into a memory. Each sweep sharpens the reconstruction until it locks onto a stored prototype — the blanks are filled by the memory itself.
The machine
- Visible units
- 64 (8 × 8)
- Hidden units
- 32 (4 × 8)
- Connections
- visible ↔ hidden only
- Trained on
- prototype patterns
- Recall method
- clamp + Gibbs sweeps
- Experiment
- thrml-bench · exp 6
No connections within a layer — that restriction is what forces the hidden layer to learn the patterns' structure instead of copying neighbours.
Run the benchmark
$ uv run thrml-bench run --exp 6
Published result of that run: 100% overlap, 100% occluded-bit recovery, 0.583s.
simulated benchmark result, results may vary (not customer results)