Hippocampal Pattern Separation & Completion (2D)
Interactive 2D model of the hippocampal memory circuit: watch the dentate gyrus orthogonalize overlapping inputs into sparse codes (pattern separation), then watch CA3's recurrent attractor network reconstruct a full memory from a noisy, partial cue (pattern completion). Pan and zoom the three flattened rings yourself.
The hippocampus solves a paradox: it must keep near-identical memories from blurring together, yet still recall a whole memory from a scrap of a cue. This flattened, top-down view renders the two circuits that do it as three concentric rings of cells. The dentate gyrus ring takes two overlapping cortical input patterns and, through sparse expansive coding with a competitive winner-take-all rule, recodes them into almost uncorrelated sparse codes — pattern separation. The CA3 ring's recurrent collateral network then stores those codes as attractor states of a Hebbian associative memory and, given a noisy or partial cue, converges back to the full stored pattern step by step — pattern completion. Drag the input-overlap and sparsity sliders to see separation strengthen or fail, corrupt the recall cue and watch the attractor dynamics claw the memory back, and read the live overlap statistics at each stage of the circuit. Pan and zoom the rings to inspect individual cells.
Interactive 2D model of the hippocampal memory circuit, drawn as three flattened concentric rings of cells. Watch the dentate gyrus orthogonalize overlapping cortical inputs into sparse codes (pattern separation), then watch CA3's recurrent attractor network reconstruct a full memory from a noisy, partial cue (pattern completion). Pan and zoom to inspect individual cells.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install