Understanding NEF–SPA Circuits in Speech Processing Models
Defining Temporal Dynamics in NEF-SPA models
Synapses in Nengo have their own temporal dynamics. The timing of a network built using the Neural Engineering Framework (NEF) and the Semantic Pointer Architecture (SPA) emerges from the interaction of cell dynamics, synaptic dynamics and connectivity, particularly feedback connections.
Membrane dynamics and spike generation
First, an important distinction: in the usual leaky integrate-and-fire (LIF) model, it is the subthreshold membrane voltage that decays. The time course of the action potential itself is not explicitly modelled. Crossing the threshold produces a spike event, after which the voltage is reset.
The membrane time constant , called tau_rc in Nengo, determines how quickly this voltage changes. A smaller time constant means faster decay. Thinking of a limited time window for summation is therefore useful. However, a smaller time constant alone does not necessarily mean that more incoming spikes are needed: in Nengo’s LIF equation, it also speeds up the voltage rise. With an unchanged, constant suprathreshold current, the cell can therefore fire sooner. It is necessary to specify which input quantities are being held constant.
Source: Nengo LIF implementation.
Which parameters determine timing?
| Influence | What it determines over time |
|---|---|
Membrane time constant tau_rc | How quickly membrane voltage responds to input currents; for example, 20 ms in the standard LIF model. |
Refractory period tau_ref | How long after a spike no new spike can occur; for example, a default of 2 ms. |
| Synaptic filter and its time constant | How long a presynaptic spike continues to affect the receiving cell. |
| Strength and structure of feedback | Whether activity decays, persists, grows or oscillates. |
| Input strength, neuronal gain and thresholds | How quickly a state or firing threshold is reached. |
| Additional mechanisms, when included | For example, adaptation, explicit delays or time-dependent learning rules. |
The millisecond values given here are software defaults, not biological constants prescribed for every NEF–SPA model.
Source: Nengo parameter reference.
Synaptic dynamics
Synaptic modelling is particularly important. In a commonly used model, a spike produces a contribution to the postsynaptic current that begins immediately and then decays exponentially:
Synaptic weights scale this contribution. A larger spreads its effect over a longer period; contributions from successive spikes can overlap. Nengo also offers alpha synapses, for example, whose effect first rises and then falls. These are simplified temporal filters, not complete biochemical models of synapses.
Source: Nengo synapse models.
Different synaptic time constants can be used within the same network. For example, the documented Nengo basal ganglia implementation uses 2 ms for certain excitatory AMPA connections and 8 ms for inhibitory GABA connections.
Source: Nengo basal ganglia implementation.
Longer timescales through feedback
Feedback is especially important for producing longer time courses. A population can receive part of its own activity back, compensating for its decay. A simplified linear example with no external input is:
With a synaptic time constant of 10 ms and feedback of , the represented state decays with an effective time constant of 1 second.
At , the state persists in the idealised system. This is the basis of an integrator or a simple working memory; actual spiking implementations show deviations and drift.
Source: NEF integrator.
In an oscillator, feedback between several state variables similarly determines the frequency. A syllable oscillation at, for example, 2 Hz therefore does not require an individual cell with a time constant of 500 ms. The slow dynamics emerge at the network level. Implementing desired dynamics through neural connectivity is precisely the subject of the third NEF principle.
Source: NEF oscillator.
Connection filters and measurement filters
One more distinction is useful when interpreting simulations: a filter time constant on a connection changes network behaviour. A filter on a measurement probe (Probe) only smooths the recorded signal and can make its displayed response appear more sluggish.
Source: Nengo probes.