NEF–SPA CIRCUIT LAB

EXAMPLE 06 · §2.3.7 · FIXED KNOWLEDGE, RENEWED ACTIVITY

Retrieving the same lemma after clearing

● Same recorded Nengo simulation

The recurrent concept buffer also supplies a concept-to-lemma associative memory. Clearing the concept activity removes the drive for its lemma. When Tasse is cued again, the same association becomes active again. The lexical correspondence remains in the fixed connections between episodes.

Read §2.3.7 in the teaching script →

MAINTAINED CONCEPTRecurrent concept bufferfeedback = 1.0 · receives clear current
LEXICAL ASSOCIATIONCompetitive entry populations8 × 100 LIF neurons · fixed mapping
RETRIEVED IDENTITYInput-driven lemma bufferfeedback = 0.0 · 512 × 50 LIF neurons

The clear command reaches the recurrent concept buffer only. Entry and lemma activity then subside as their incoming drive disappears. Continued lemma activation during a holding interval depends on that upstream drive.

— / 2.050 s

Loading the recorded circuit…

Inspect:
AT THE CURSOR—

TASSE ASSOCIATIVE ENTRYCells 1–20 of 100 · content-selective entry
LEMMA BUFFERCoordinate 1 · cells 1–20 of 50

Dots use the same 25-ms visual highlight. An associative entry population responds to a candidate match; the lemma coordinate population contributes to the distributed description of every lemma.

A The same external cue and clearing scheduleBlue: Tasse cue · purple background: concept clearing
B Selected associative entryDecoded entry outputs, not buffer similarities
TasseKanne (dashed)Six other entries
C Tasse entry populationCells 1–20 of 100 LIF neurons
D Retrieved lemma identityDot products of the decoded lemma vector
TasseKanne (dashed)Six other references
E Lemma buffer populationCoordinate 1 · cells 1–20 of 50 LIF neurons

These panels show the downstream part of Example 05’s recording. Shading marks the supplied interventions, not exact neural response boundaries: neurons and synaptic filters take time to respond. All readouts use a 20-ms low-pass filter.

ACTIVATION IS TEMPORARY

The association remains available

During the settled clear window, the Tasse entry stops spiking and the lemma readout returns close to zero. The later cue retrieves the same lemma because the concept-to-lemma connection structure persists.

The maintained concept has a positive similarity to Kanne, but the competitive memory selects Tasse. The resulting lemma identity has its own distinct vector.

Readout at —
ObservationValue

TWO USES OF THE SAME KNOWLEDGE

First hold · 0.40–0.65 s0.973mean Tasse lemma similarity
Second hold · 1.75–2.00 s0.972mean Tasse lemma similarity

The original simulation checked 2,069 connection-weight arrays before and after the run. Their hashes were identical, and no learning rules were attached. This is a check of fixed parameters across the run, not an additional neural measurement or a model of learning.

How this example was recorded

This is the same 2.05-s, 149,280-neuron recording as Example 05. Only the observed populations differ. The Tasse cue occurs at [0.10, 0.20) s and [1.45, 1.55) s; the recurrent concept buffer receives the clear intervention at [0.80, 1.35) s.

Associative memory
Eight candidates × 100 LIF neurons · threshold 0.3 · winner-take-all competition
Selected output
Constant-one function · approximately unit output for the selected entry
Lemma buffer
512 ensembles × 50 LIF neurons · no recurrent feedback
Filters
Concept → memory → lemma: 10 ms · WTA inhibition: 5 ms, strength 1 · decoded probes: 20 ms
Seeds
Network 220 · associative memory 223 · lemma state 224
Recorded spikes
All 100 cells in all eight entries; all 50 cells in lemma coordinate 1. Cells 1–20 are displayed.

The three vocabularies are the same stored references used in the earlier lexical examples. This circuit instantiates concept and lemma domains only. Phonological retrieval is not part of this recording. Similarity scores are derived from saved float32 states, while the archive’s weight-hash check was performed during the original run.

Replay data (JSON) · Complete original arrays (NPZ, 12.1 MB) · Complete Nengo circuit (Python) · Runnable code and lexical builder (ZIP)

The associative Nengo circuit in a few lines

The maintained concept is connected to a competitive memory. Its output supplies a separate lemma state. mapping="by-key" pairs concept and lemma reference vectors during construction.

# The recurrent concept buffer is the memory State above.
c2l = spa.WTAAssocMem(
    threshold=0.3, input_vocab=concept_vocab,
    output_vocab=lemma_vocab, mapping="by-key",
    n_neurons=100, function=lambda x: 1.0, seed=223)
lemma = spa.State(lemma_vocab, subdimensions=1,
    neurons_per_dimension=50, represent_cc_identity=False,
    feedback=0.0, seed=224)
nengo.Connection(memory.output, c2l.input, synapse=0.01)
nengo.Connection(c2l.output, lemma.input, synapse=0.01)
entry_readout = nengo.Probe(c2l.selection.output, synapse=0.02)
lemma_readout = nengo.Probe(lemma.output, synapse=0.02)

All populations use LIF neurons. The complete program constructs the lemma state before the memory, as in the archived run. Its weight_hash function reads each built connection’s weight array before and after simulation and verifies that the combined hashes agree.

The ZIP includes the same lexical builder introduced in §2.3.3. Run build_lexicon.py first, then memory_example.py. This constructs and simulates the full local maintenance-and-retrieval circuit.