SimulatorCortical computation
A gate that passes only surprise
A made-up signal jumps a few times. A running prediction follows it, and a gate passes the prediction error upwards only when it is large for the precision it is given.
- signal (white) and prediction (colour), synthetic data
- prediction error: passed upwards (colour) or held (faint)
- Steps passed upwards
- 27%
- Gate stays open after a jump for
- 10.0 steps
- Mean size of the error
- 0.33
- Jumps in the signal
- 4
Raise the precision and small errors pass as well. Lower the learning rate and the prediction takes longer to catch up after a jump.
What the simulator does
- The prediction moves towards the signal by the learning rate times the error at every step.
- The gate is open when the precision times the size of the error is above 1: after a jump it opens, and it closes again as the prediction catches up.
- With a high precision even small noise passes; with a low one only the jumps do.
In Verace Neocortex: Rust port
Schematic: cortical columns of Verace Neocortex in cross-section, with the layers that stand in for a transformer block. The Rust port implements them and passes a smoke test, but no training result is recorded.
- Top-down context
- Workspace broadcast plus the prediction from above
- Windowed Hebbian association
- Replaces self-attention over a backward window of 16
- Lateral links
- Low-rank messages between neighbouring columns
- L5 dendritic SwiGLU
- Replaces the feedforward block, gated by dendrites
What this is not
This simulator is an illustration of the principle, with made-up numbers. It does not run the lab's code or show the lab's data, and nothing in it is a measurement.
Read the write-up