THERMALBITS · STATION 06 — RESTRICTED BOLTZMANN MACHINE

A memory that fills in its own blanks.

A restricted Boltzmann machine (64 visible, 32 hidden) trained on prototype patterns. Clamp part of a pattern, and alternating Gibbs sweeps complete the rest — the visible layer proposes, the hidden layer answers, and the pattern settles into the memory it most resembles. Occlude the grid below and watch it happen.

100%
Overlap with the stored prototype

simulated benchmark result, results may vary (not customer results)

100%
Occluded-bit recovery

simulated benchmark result, results may vary (not customer results)

0.583s
Runtime for the benchmark run

simulated benchmark result, results may vary (not customer results)

$ uv run thrml-bench run --exp 6

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.

Clamped on Clamped off Occluded — unknown Free — being rebuilt

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

0%
overlap between the
visible layer right now
and the stored prototype
—
occluded-bit recovery so far
0
Gibbs sweeps taken
64 / 64
units clamped / free
0.00
demo energy — falls as the pattern settles
overlap per sweepdashed = 100%

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

  1. 1Clamp what you know. The visible units you can see are locked to the partial pattern. The rest start unknown.
  2. 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.
  3. 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

# the published Station 6 run
$ 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)