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.31
- 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: production package
Schematic: stacked six-layer cortical columns that replace transformer blocks and learn by local rules. Implemented as a prototype; the package's own records hold no training result.
- L1 top-down modulation
- Context arriving from above into the column
- Windowed Hebbian association
- Replaces attention over a causal window
- L5 output with precision
- Carries a precision estimate for the column
- L6 feedback
- Enters thalamic gating with weight 0.1
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