EXAMPLE 09 · §2.5.1 · ACTION SELECTION
Help the listener find the red cup
You can name the kind of object (“a cup”) or its colour (“something red”). Which clue helps most? Change the three distractors and follow how one spiking circuit selects each clue from the objects that still fit what the listener has heard.
Read Example 09 in the manuscript · pp. 60–61 · Inside a cortical slot · Memory and utilities · Inside the selector
Loading the neural recordings…
What the speaker could say
| Action | Rules out now |
|---|---|
| Name the kind · “a cup” | — |
| Name the colour · “something red” | — |
Clues received
From cortical memory to selection and back
The speaker’s cortical memory tracks the listener’s possible referents. Four recurrent populations hold one state per object. Both clue utilities are evaluated together from that memory. The selected basal-ganglia channel reduces its inhibition, and the corresponding thalamic population drives the clue receiver.
When the receiver acknowledges a clue, a write signal removes incompatible objects from cortical memory. The surviving populations keep their state through recurrent connections. This changes how many candidates the next clue could eliminate. Follow the first clue received event and then the memory updated event to see the difference.
Figure 2.28A · The complete circuit
Figure 2.28B · Activity in the selected scene
Figure 2.29 · How a cortical slot holds and changes its state
This recording follows the red kettle in slot C in the opening scene, Kind is more informative. Each of the four slots contains 160 spiking neurons. A filtered connection takes their activity back to the same population and stabilises two states, possible and excluded.
Figure 2.30 · How the first clue changes the next choice
Figure 2.31 · How the basal ganglia release one thalamic action
How the circuit and recordings work
All scenes use the same target, goal, weights and random seed. An object can match the target in kind, colour, both or neither. The three distractors give 20 distinct unordered combinations of those relations. Each was run with the same Nengo simulator after a reset. The editor maps your objects to the matching recording and reorders the memory traces for the displayed slots.
Each cortical slot uses 160 recurrent LIF neurons with two stable states. One common 60-ms input loads the scene. The rule for reading a slot switches to present above +0.35 and to eliminated below −0.35. For each clue the model counts the surviving objects it would rule out. Its input utility is 0.35 + 0.30 × that count. When positive counts tie, a fixed 0.18 preference favours kind. The finish channel has input 0.25 while an informative clue remains and 1.15 otherwise. If indistinguishable candidates remain, the result explicitly reports ambiguity.
The Nengo basal-ganglia network has three channels in each of five populations (D1, D2, STN, GPe and GPi), with 100 LIF neurons per population per channel. The thalamus uses 90 LIF neurons per action. A simplified receiver integrates exclusive thalamic drive above 0.60 and acknowledges it when its filtered response exceeds 0.83 (40-ms time constant). Acknowledgement initiates the cortical write. The next selection depends on the resulting memory state. Object features, utility arithmetic, receiver and write command are implemented as explicit model functions. The words on screen label the received clue; speech acoustics and a separate listener brain are outside this model.
The model has 2,410 LIF neurons, a 1-ms integration step and 5-ms recording intervals. Circuit seed 49, Nengo 4.1.0, NumPy 2.5.4. This run used Nengo’s default L2 decoder fallback with SciPy absent. The downloadable Python source regenerates the recordings and checks every action sequence.
Download the Nengo source · Download all recordings and event times