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
- 28%
- Gate stays open after a jump for
- 10.0 steps
- Mean size of the error
- 0.30
- 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: test suite
Schematic: cortical columns of Verace Neocortex, marked with the layers whose initial states and local learning rules the test suite specifies. The suite defines contracts and records no run results.
- Top-down error
- Drives the no-grad local updates
- L2/3 output
- Frozen to backprop, learns through a local rule
- L4 projection
- Starts small-random, standard deviation near 0.02
- L5 SwiGLU
- Local updates kept finite by weight-norm caps
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