4. A small network and the raster plot
From one neuron to a network
When a neuron spikes, the spike travels along its connections to other neurons. Each connection has a weight. A positive weight pushes the target toward firing (excitatory). A negative weight pulls it away (inhibitory).
The network playground uses 50 neurons: 40 excitatory and 10 inhibitory. Each possible connection exists with a 10% chance, chosen at random but fixed by the seed. That gives each neuron about five incoming connections. There is no learning in this model.
Two rules worth noticing
- Spikes arrive one step later. A spike at step t affects its targets at step t + 1.
- Only spikes do work. A neuron adds a connection weight only if the sender spiked in the previous step. If nothing spikes, nothing is added. This event-driven behaviour is the main reason neuromorphic hardware can be efficient.
Reading a raster plot
A raster plot shows time on the horizontal axis and neuron number on the vertical axis. Every dot is one spike.
- A row with many dots is a busy neuron. An empty row is a silent one.
- A tall vertical stripe means many neurons fired together.
- The purple bars at the bottom count spikes per step.
- In the playground, green dots are excitatory neurons and orange dots are inhibitory ones.
Why inhibition matters
With the default settings, about 4.2% of neurons fire per step in a 1,000-step run (seed 42). Raise the excitatory weight to 0.8 and the activity runs away: about 77.4% of neurons fire per step. Inhibitory neurons help keep activity balanced. Try raising the inhibitory weight and watch the activity fall.
Exercise
Keep the defaults and change only the random seed. The wiring and the input change, but the overall firing rate should stay in a similar range. Does it? What does that tell you about the network?
Limits
This is a small random network for learning. It does not learn anything and it is not a model of a specific brain region or chip.