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
28%
Gate stays open after a jump for
10.3 steps
Mean size of the error
0.35
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: design documents

Schematic: cortical columns in cross-section, standing for the V11 column network. The columns learn by predictive coding and local rules, and nothing is backpropagated through them.

Predictive coding
Prediction errors weighted by a learned precision
Language model output head
The only part given an error-driven delta rule update

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