# README
DeepLeabra
Package deep provides the DeepLeabra variant of Leabra, which performs predictive learning by attempting to predict the activation states over the Pulvinar nucleus of the thalamus (in posterior sensory cortex), which are driven phasically every 100 msec by deep layer 5 intrinsic bursting (5IB) neurons that have strong focal (essentially 1-to-1) connections onto the Pulvinar Thalamic Relay Cell (TRC) neurons.
This package allows you to specify layer types as Deep
or TRC
(e.g., Pulvinar) which in turn drives specific forms of computation associated with each of those layer types. Standard leabra layer types are all effectively Super.
Wiring diagram:
Super Layer --BurstTRC--> Pulv
| ^ ^
BurstCtxt | - Back -/
| [DeepAttn] /
v | /
Deep Layer ----- (typically only for higher->lower)
DeepLeabra captures both the predictive learning and attentional modulation functions of the deep layer and thalamocortical circuitry.
-
Super layer neurons reflect the superficial layers of the neocortex, but they also are the basis for directly computing the Burst activation signal that reflects the deep layer 5 IB bursting activation, via thresholding of the superficial layer activations (Bursting is thought to have a higher threshold).
-
The alpha-cycle quarter(s) when
Burst
is updated and broadcast is set inBurstParams.BurstQtr
(defaults to Q4, can also be e.g., Q2 and Q4 for beta frequency updating, used inpbwm
). During this quarter(s), the Burst from Super layers is continuously sent viaBurstTRC
projections toTRC
layers (using efficient delta-based computation) to drive plus-phase outcome states in those layers. At the end of the burst quarter(s),BurstCtxt
projections convey the Burst signal toDeep
layer neurons, where it is integrated into theCtxt
value representing the temporally-delayed context information. Note: Deep layers also compute aBurst
value themselves, which can be sent via self projections to relfect the extensive deep-to-deep lateral connectivity that provides more extensive temporal context information. -
Deep
layer neurons reflect the layer 6 regular spiking CT corticothalamic neurons that project into the thalamus, and back up to all the other lamina within a microcolumn, where they drive a multiplicative attentional modulation signal. These neurons receive theBurst
activation via aBurstCtxt
projection type, typically once every 100 msec, and integrate that in theCtxt
value, which is added to other excitatory conductance inputs to drive the overall activation (Act) of these neurons. Due to the bursting nature of the Burst inputs, this causes these Deep layer neurons to reflect what the superficial layers encoded on the previous timestep -- thus they represent a temporally-delayed context state. -
Deep
layer neurons project to theTRC
(Pulvinar) neurons via standard Act-driven projections that integrate into standardGe
excitatory input in TRC neurons, to drive the prediction aspect of predictive learning. They also can project back to theSuper
layer neurons via aDeepAttn
projection to drive attentional modulation of activity there (inAttnGe
,DeepAttn
, andDeepLrn
Neuron vars). -
TRC
layer neurons receive aBurstTRC
projection from the Super layer (typically aprjn.OneToOne
projection), which drives the plus-phase outcome activation state of these Pulvinar layers (Super actually computes the 5IB Burst activation). These layers also receive regular connections from Deep layers, which drive the prediction of this plus-phase outcome state, based on the temporally-delayed deep layer context information. -
The attentional effects are implemented via
DeepAttn
projections from Deep to Super layers, which are typically fixed, non-learning, one-to-one projections, that drive theAttnGe
excitatory condutance in Super layers.AttnGe
then drives the computation ofDeepAttn
andDeepLrn
values that modulate (i.e., multiply) the activation (DeepAttn
) or learning rate (DeepLrn
) of these superficial neurons.
All of the relevant parameters are in the params.go
file, in the Deep*Params classes, which are then fields in the deep.Layer
.
-
BurstParams
(layer field:DeepBurst
) has the BurstQtr when Burst is updated, and the thresholding parameters. -
CtxtParams
(layer field:DeepCtxt
) has parameters for integrating DeepCtxt input -
TRCParams
(layer field:DeepTRC
) has parameters for how to compute TRC plus phase activation states based on the TRCBurstGe excitatory input from the BurstTRC projections. -
AttnParams
(layer field:DeepAttn
) has the parameters for computing DeepAttn and DeepLrn from AttnGe
See pbwm for info about Prefrontal-cortex Basal-ganglia Working Memory (PBWM) model that builds on this deep framework to support gated working memory.