Play

Balance a pole with neurons

A small spiking network is driving the cart. The pole's angle goes in as stimulation, and spikes come out as a push. It's bad at this to start. Click two of the outer neurons to send a training pulse, and watch whether the runs get longer.

Arrow shows the decoded push. Green helps, orange hurts.
Click two outer neurons to send a training pulse.

This run

0.0 s

Last run

0.0 s

Avg of last 5

0.0 s

Best

0.0 s

Pulses

0

Run lengths, last 60. Green line is the 5-run average, dots mark runs that got a pulse.

The real version

In the Braingeneers lab at UC Santa Cruz we ran this same loop on cortical organoids sitting on multi-electrode arrays. Pole angle became stimulation, recorded spikes became force, and training pulses went in when the runs got worse. This page is a cartoon version built from leaky integrate-and-fire neurons. A training pulse strengthens whichever outputs a neuron was recently helping.