Skip to content
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
26%
Gate stays open after a jump for
9.3 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

Schematic: an illustration of the cortical column that Verace Neocortex uses in place of a transformer block, with input landing in L4, top-down prediction, lateral links and L6 thalamic feedback.

L4 input
Where each column receives its input
L1 top-down modulation
Context arriving from above the column
L5 output and prediction
Emits activation and a top-down prediction
L6 thalamic feedback
Sends feedback back to the thalamus

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