Stable activation
Trial
Loops
Stacks
Envs
1 envs
Net update
Test Cycle Plot
Test Trial Plot
Init
Current
Settings
Weights
Params
Net Data
Paths
Di:
Raster
X
Min
Max
ZeroCtr
Act
Learn
Excite
Inhib
Gmisc
Avg
Trace
Wts
Spike
Spiked
Act
ActInt
Ge
Gi
Gk
Inet
Vm
VmDend
ISI
ISIAvg
Ext
Target
ActM
ActP
Beta1
Beta2
CaPMax
CaPMaxCa
Counters:
Rot:
Pan:
Save:
1
2
3
4
Time:
-1
Update
Style
Table
Save
Open CSV
Filter
Unfilter
Clear
Search
Epoch
Trial
Cycle
RunName
Layer1_Spikes
Layer1_Ge
Layer1_Act
Layer1_Gi
Layer2_Spikes
Layer2_Ge
Layer2_Act
Layer2_Gi
Clear
Search
Epoch
Trial
RunName
TrialName
Layer1_Spikes
Layer1_Ge
Layer1_Act
Layer1_Gi
Layer2_Spikes
Layer2_Ge
Layer2_Act
Layer2_Gi
Introduction
The key development that finally enabled use of discrete spiking neurons within the context of the Leabra framework (resulting in the Axon framework that is the focus of this content), was adding relatively weak conductances of NMDA and GABA-B voltage-gated channels. This resulted in the emergence of relatively stable patterns of neural activity over time. The present simulation demonstrates this effect by simply presenting an input pattern and observing the resulting stability of the network response, while varying the strength of the NMDA and GABA-B channel conductances.
There is a long history of theorizing about the importance of NMDA channels for stabilizing neural activity in the context of working memory supported by the prefrontal cortex (PFC) (Goldman-Rakic, 1995; Lisman et al., 1999; Brunel & Wang, 2001). Sanders et al. (2013) further showed that the long time constants and inward rectification of the GABA-B inhibitory channel provide an important additional stabilizing force. In the context of implementing these mechanisms in Leabra for PFC working memory models, it became clear that these same dynamics in weaker form would solve the longstanding problem with all prior attempts to use spiking in Leabra: the representations were too unstable and constantly shifted over time.
A stable pattern of neural activity over roughly 200 ms in response to a given input stimulus is essential for predictive learning based on a temporal derivative, because the learning mechanism is essentially comparing activity patterns across this 200 ms interval. If these patterns are unstable and constantly shifting, then this comparison is meaningless, and learning fails.
It is also the case that almost all theories of conscious awareness include a critical contribution for the stable integration of information across this same time scale (e.g., Lamme, 2006), and NMDA receptor agonists such as ketamine (a PCP analog) have significant effects on the state of consciousness and cortical function more generally, including inducing psychosis and hallucinations (Driesen et al., 2013; Newcomer et al., 1999; Krystal et al., 2017). These NMDA manipulations affect both excitatory and inhibitory neurons throughout the brain, so they are a relatively “blunt” instrument, but nevertheless the effects are consistent with the current model.
The fact that these stabilizing mechanisms were not needed with the rate-code activation used in Leabra is also indicative of the critical differences between discrete spiking and rate codes: because rate code neurons continuously send their activation state, they are intrinsically more stable. However, this stability can actually be a liability because it prevents a network from representing different interpretations of a given input stimulus.
Exploration
The Network has three layers, which are functionally organized as an Input layer and 2 Hidden layers that represent internal cortical processing levels. There are actually many more such layers in the cortex of most mammals, but we can see the issues already with just these two.
- • Click sim-stability:Step to run one trial of 200 ms cycles for a single randomly generated input pattern.
You will see a pattern of neural activity across the layers, which has a very clear differentiation between active and inactive neurons in the first, input layer, that gets more diffuse and graded in higher layers. The active neurons have progressively brighter, saturated, and more yellow colors, with the height of the neuron-level cubes set in proportion to their activity, while inactive ones are grey and flat. The synaptic connections in this network are completely random, so it is expected that the clear signal in the input is diluted as it progresses through this untrained network.
- • Click sim-stability:Network/Raster in the Network toobar to see a raster plot of neural activity over time, and do sim-stability:Step to see the results.
Now you will see “streaks” of activity going from the front to back of each layer for each neuron that got active, which plot each of the 200 1 ms cycle steps of updating for each neuron, with the neurons arrayed horizontally across the layer. Switch to viewing sim-stability:Network/Spike to see individual spikes, which will give you a better sense of the time dimension.
Hopefully you can see that overall there is a relatively consistent pattern of activity over time (i.e., from front to back of each layer), with more variability in the top-most layer.
- • Now let’s see what happens when we eliminate NMDA and GABA-B channels. Set sim-stability:Nmda ge and sim-stability:Gabab gk to 0, then do sim-stability:Init and sim-stability:Step again, while still viewing
Spikestate.
You should see a row of spiking activity at almost the same cycle in the top layer for most of the neurons, followed by a long pause and then some sporadic spiking after that. This increase in neural synchrony is also characteristic of unconscious states, whereas waking, conscious brain states are characterized by much weaker levels of synchrony and sparser overall activity levels, with only a fraction of the excitatory neurons active (10-15% in general).
Because the NMDA channels provide additional excitation (as you can see in the neuron simulation), we can try reducing the inhibition level, to allow more overall excitation.
- • Set sim-stability:Inhib gi to 0.8 instead of 0.85, which reduces the strength of the GABA-A conductance computed as described in inhibition. Then do
InitandStepagain. Keep reducing it, and also try doing multipleSteps to see what happens over different input patterns. The network activity state carries over across different inputs, which will sometimes disrupt the synchronous firing.
Were you able to find a level of inhibition that resulted in level of activity and sparseness that was comparable to the state with NMDA and GABA-B conductances at their default values? Were you able to get it to exhibit a stable pattern of activity, where the same sparse subset of neurons remains active across the 200 ms trial?
In summary, you should have observed that NMDA and GABA-B conductances are critical for supporting a stable activity pattern. This effect is especially critical as activity cascades across multiple layers, due to a diffusion-like process where activity spreads out as a result of the random initial synaptic weights. Thus, we saw in this model that the diffuse activity patterns were more pronounced the 2nd hidden layer.
If you repeat this experiment in any of the other learning models explored on other pages here, you’ll readily see that turning off NMDA and GABA-B dramatically impairs learning, because these diffuse, unstable activity patterns undermine the learning signals.