3.1. Derivation of input currents
Although the synaptic conductances and currents depend on time-varying postsynaptic membrane potentials, we simplify the self-consistency calculations of [
13,
35] by employing a fixed average voltage

= (
Vreset+
Vthresh)/2 to estimate synaptic currents that enter each of the four cell populations as follows:
(multiplication of
gtype,k in (
nS) and (

−
Vtype) in (
mV) requires division by 1000 to convert
Jtype,k to
nA, the unit of choice for currents). These effective currents to populations replace the currents into individual cells in (
9). Different
Jtype,k’s are used for pyramidal populations (
j = 1, 2, 3, also written
Jtype,p) and interneurons (
Jtype,I), because
gtype,p ≠
gtype,I. Since (

−
VGABA < 0) the inhibitory currents are negative, as expected. We include in
JNMDA,k the factor [1 + (1/3.57) exp(− 0.062

)]
−1 ≈ 0.12 to incorporate the effects of
Mg2+ block (cf. (
9)). Neuromodulation is now accomplished by
γE and
γI scaling the
Jtype,k’s which contain the
gtype,k’s that were previously scaled in section 2.2.
Due to all-to-all connectivity, input currents are calculated by summing the presynaptic contributions from each population multiplied by the number of cells in that population:
Here
ωj,k is the weight from population
j to population
k, being
ω+ for recurrent connections within a selective population,
ω− from one selective population to another excitatory population, and
ωj,k = 1 otherwise.
Nj is the number of excitatory cells in population
j and
NI the number of interneurons. External inputs
IAMPA,ext,k are given by
where
Next is the number of connections per cell from presynaptic neurons external to the network (here 800),
νext is their average firing rate (3 Hz), and conversion between time constants (ms) and firing rates (Hz) requires division by 1000.
Inoise,k is calculated below in section 3.3 and
Appendix B. Finally,
Istim,k =
JAMPA,ext,p μ0 (1 ±
E) for the selective populations when stimuli are present.
Following [
13,
49], we account for the rise in
SNMDA,j due to presynaptic spikes by including a term
F(
ψ(
νj)) =
ψj/[
TNMDA(1 −
ψj)], where
ψj is the steady state of
SNMDA,j. For a Poisson spike train, this is well approximated by
[
49], which yields
F (
ψ (
νj))
![[equivalent]](/corehtml/pmc/pmcents/equiv.gif)
0.641
νj/1000.
Equipped with these definitions and the currents (
11)-(
15), we can now state the reduced ODEs. The synaptic variables are determined by
and the firing rates obey
Here
j = 1, 2, 3,
I, and the input-output functions or f-I (firing rate-current) curves
ϕj(
Isyn,j) model the relationships between input currents and quasi–steady-state firing rates for each population, which all four
νj’s approach with time constant
TAMPA = 2 ms [
12]. We next describe several different f-I curves, distinguishing pyramidal cells and interneurons in each case.
3.2. Single neuron input-output functions
We develop a variety of simple analytic expressions for the relationships between input currents and firing rates by following both a semianalytical derivation and an empirical study that better matches the spiking network behavior. For a leaky integrate-and-fire model [
14] such as (
2), the expected average interspike interval for solutions to travel from reset voltage
Vreset to threshold
Vthresh may be calculated analytically, given a mean input current
Isyn with white noise fluctuations [
36,
4,
35]. The expected firing rate is the reciprocal of this interval plus the absolute refractory period
τref:
where
Vss =
VL +
Isyn/gL and
σV is the standard deviation in the membrane potential due to the current fluctuations.
Equation (21) is plotted in as the black curve labeled Amit–Tsodyks.
At low firing rates
ϕLIF (
Isyn) approaches the reciprocal of the integral in (
21) alone and can be approximated by a simpler expression [
1], except at asymptotically low input currents, where the denominator changes sign:
This is plotted as the blue curve labeled Abbott–Chance. Here
cp/I is the asymptotic slope,
Ithresh,p/I is the threshold for input current, and
gp/I is the noise factor that creates nonzero spontaneous activity; values for these parameters are listed in
Appendix A.
Equation (22) can be improved to account for higher firing rates by including
τref, as follows:
show all these f-I curves for both pyramidal cells and interneurons, with the function
ϕE,a of (
23) in green. With additional modifications to effective synaptic currents
Jtype,k, they can reasonably approximate the region of good performance in the neuromodulation plane, but steady-state firing rates are too high because
ϕAC(
Isyn) from (
22) exceeds the limit 1/
τref = 500 Hz in the upper-right part of the high reward rate region (left part of the peak discriminability region in ), and
ϕE,a only reduces firing rates of the winning selective population in this region to 200 Hz. In addition, with constant synaptic coupling these modifications can capture only a region near (
γE, γI) = (1, 1). The full region [0, 3] × [0, 3] of was reproduced only after rescaling the effective synaptic currents
Jtype derived from the spiking model (by just under 33% for glutamatergic currents).
To lower the excessive asymptotic firing rates while retaining currents originally derived from the spiking model, we develop an empirical f-I curve for the pyramidal populations. The full spiking model was simulated under different (
γE, γI) conditions, and the firing rates for each population were averaged over a 500 ms window once the system approached equilibrium. The firing rates of the four populations in the spiking model were then used to compute effective currents to each population using the reduced model currents (
11)-(
14) calculated above. Comparing these currents to the population firing rates which generated them in the spiking model produces the following function:
shown in red in , compared with empirical results from the spiking model (blue dots: the scatter is due to the fact that firing rates were only averaged over 500 ms windows). While (
24) approximates the relationship between the simulated firing rates and the reduced model input currents
Isyn which correspond to the simulated average population firing rates, the function (
24) is constrained to have the same initial slope as (
23).
For the 2AFC application it is most important to reproduce firing rates up to the decision threshold, i.e.,
ϕ(
Isyn,p) ≤ 20 Hz. Several features of
ϕE,b accomplish this. First, the spontaneous firing activity
ϕp,0 is set to 1 Hz instead of 0. Second,
Ithresh,p is reduced from 0.403 nA to 0.384 nA to start the linear rise at a lower input current. In addition,
cp is increased from 310 Hz/nA to 352 Hz/nA to produce a steeper initial slope. Noting that the parameter
gp/I in (
22)-(
23) sets the sharpness of the transition from zero firing rate to the rising portion, we set
gp = 1 for
ϕE,b to create a sharper threshold. Finally,
ϕE,b saturates at
ϕp,0 +
ϕp,max = 101 Hz as
Isyn → ∞; cf. the red curve of . This not only matches
ϕE,a of (
23) in the relevant region below 20 Hz, but as shown in , it also fits the spiking network neuromodulation data well, with all parameters within 6% of the values derived from that model. The function
ϕE,b allows us to capture global neuromodulatory behavior while retaining the synaptic couplings derived in section 3.1.
The f-I curve for the interneuronal population must rise sufficiently steeply for inhibition to produce splitting behavior and correctly reproduce the no discriminability region of . A piecewise-linear function
ϕI,b(
Isyn,I) with a spontaneous firing rate of 3 Hz, slope of 600 Hz/nA, and cutoff at
Ithresh,i = 0.29 nA achieves this; see (black):
in which
θ is a Heaviside function. The four-population models differ in their use of different f-I curves.
Finally, the two-population model of section 4 is simplified by replacing the trivially linear f-I curve for the nonselective population of [
49] by a piecewise-linear function with the same current threshold and initial slope as the selective populations, which will continue to use
ϕE,b:
but this is not necessary in the four-population models, in which all three pyramidal populations share identical f-I curves.
3.4. Neuromodulation in the reduced models
Equipped with the f-I curves and Gaussian noise approximation described above, we can now implement neuromodulation in the four-population model by scaling all glutamatergic synaptic currents by
γE and all GABA-ergic currents by
γI. The model of [
49] was fitted for a single point (
γE, γI) = (1, 1) in the neuromodulation plane by changing peak synaptic currents and weights from those of the spiking network as follows:
JGABA,p = 1.2
JGABA,I instead of the full model’s 1.3
JGABA,I and
ω+ = 1.8 instead of the full model’s 1.7. Here we wish to obtain a good fit over a broad range of (
γE, γI). Computing reward rates over [0, 3] × [0, 3] as in , we found that this model is overdominated by excitation: the ridge of optimal performance analogous to that in rises too steeply in the (
γE, γI) plane. Moreover, as noted in section 3.2, population firing rates are too high in the upper part of this ridge (results not shown).
We next consider the model with f-I curve
ϕE,a(
Isyn,j) that saturates at 1/
τref and with Gaussian noise and synaptic currents derived above (results not shown). The slope of the ridge is reduced but is still too high. In addition, the behavior at (
γE, γI) = (1, 1) is characterized by no-choice trials. This may be corrected by setting
JGABA,p = 1.393
JGABA,I to adjust the slope and scaling glutamatergic currents by a factor in the range [1.3, 1.33]. (This adjustment is perhaps required by our assumption of uniform

= −52.5 mV (cf. (
10)), which most strongly affects
GABA currents, since
VE,GABA = −70 mV and
VE,AMPA =
VE,NMDA = 0 mV.) This shifts the good performance region to include (1, 1), resulting in the reward rate contours of , which compare reasonably well with those of . Steady-state population firing rates can exceed those of the spiking network by 100%, but these are less critical for our purposes, since the 2AFC protocol focuses on trajectories up to the 20 Hz threshold and the model performs well in this region.
The match in reward rate contours can be further improved by using the function
ϕE,b(
Isyn,p) of (
24) for the three pyramidal populations and the piecewise-linear function
ϕI,b(
Isyn,I) of (
25) for the interneurons, as shown in . For this final model, external AMPA, recurrent AMPA and NMDA currents, and
JGABA,I are exactly as derived from the spiking network, and
JGABA,p = 1.367
JGABA,I is increased by slightly over 5% compared with the spiking network value of 1.3
JGABA,I. These modified f-I curves properly situate the region of good behavior, moreover, and this model captures the concave curvature of the high reward rate ridge. Moreover, it allows simulation of 500 trials over 900 gain conditions in the same time as 500 trials of the spiking model for a single gain condition: this is a speed-up of
O(10
3).
3.5. Bifurcation analyses
To better understand the behaviors seen in and , we now study bifurcations of the four-population models as the average stimulus current
μ0 and coherence
E vary. Computations are done without noise, using the software XPPAUT [
20], and to reveal the system’s full structure we explore
μ0 values well beyond the physiologically realistic range, including “negative stimuli” (
μ0 < 0). - show branches of equilibria for characteristic points on the neuromodulation plane in terms of the synaptic variables
SNMDA,1 and
SNMDA,2, written here and henceforth as
S1 and
S2 for brevity.
We start with the f-I curve
ϕE,a of , with rescaled glutamatergic currents as described in section 3.4, and at first set
E = 0, so that the vectorfield of (
17)-(
20) is reflection-symmetric about the
Stype,1 =
Stype,2 and
ν1 =
ν2 hyperplanes. shows branches of fixed points at (
γE, γI) = (1, 1) in the lower left of the peak discriminability region in . For
μ0 = 0 the system is tristable: a state with the activities of both selective populations low coexists with a symmetric pair of “memory” attractors [
47,
49] corresponding to choices, each with one population high and the other suppressed to zero. The low-low state loses stability in a subcritical pitchfork bifurcation at
μ0 ≈ 25, passes through two saddle-node bifurcations, and restabilizes as a high-high state at
μ0 ≈ −5, while the stable high-low states survive until they vanish in saddle-nodes at
μ0 ≈ 154. The low-low state persists for all
μ0 < 0, and the high-low states vanish in saddle-nodes at
μ ≈ −118, leaving the low-low state as the sole attractor. Cycling
μ0 therefore allows memories of choices to be set and cleared in successive trials (e.g., by a strong inhibitory input).
The bifurcation diagram for (
γE, γI) = (2, 2) is similar to that for (1, 1), but the two pitchforks move to
μ0 = 35 (low) and
μ0 = −219 (high): see . This implies that both the low-low and high-high states coexist with the symmetric pair of high-low states over the range
μ0 ![[set membership]](/corehtml/pmc/pmcents/x2208.gif)
(−219, 35), and that all four are stable (in this range there are nine fixed points).
These results help explain the network dynamics responsible for the behavior mapped in . Prior to the start of a trial,
μ0 = 0 and the state remains near the low-low attractor, if it exists. In both panels of the pitchfork indicating loss of stability of this attractor lies in the range 20–35 Hz, so that, when
μ0 jumps to 40 Hz at stimulus onset, the system state diverges toward a choice attractor. In [
49], the third high-high attractor does not appear until much larger
μ0, creating a pure decision dynamic in which the high-low attractors are the only stable states available. Due to the changes in synaptic currents made to match the region of good performance in the present model, this high-high state is also stable for all
μ0 ![[set membership]](/corehtml/pmc/pmcents/x2208.gif)
(0, 40) Hz, but its basin of attraction does not include the physiologically relevant region in which both populations lie below threshold at stimulus onset, so the decision dynamics and effective tristability remain intact. This is illustrated by phase portraits of the two-population system in section 4.2.3.
The bifurcation diagrams also explain false alarm rates seen in the behavioral simulations. At μ = 0 noise can take the place of stimulus by carrying the state outside the low-low attractor’s basin. After crossing its boundary, the state moves toward a decision attractor, causing more impulsive choices. This is representative of the upper range of good performance in the peak discriminability region of .
The diagrams of may seem confusing, because in the right panel, for (γE, γI) = (2, 2), the loss of stability occurs at a higher value of μ0 than in the left panel, but the system exhibits more impulsive trials for (γE, γI) = (2, 2) than for (1, 1). This occurs due to the linear scaling of noise with γE, which doubles its magnitude at (2, 2).
For (γE, γI) = (0.5, 1) and (2.5, 0.25), in the blue and red regions of , the system has unique monotonic branches of fixed points at low and high Sj, respectively (not shown here). In the latter case μ0 and E have little influence and both Sj’s remain near 1, because both firing rates lie in the saturated part of the f-I curve where changes in input have little effect relative to the overall strong excitation within the network. No decisions are made in the blue region because there are no choice attractors, and splitting does not occur in the no discriminability region because there is a single high-high attractor.
We now turn to an asymmetric case. show fixed point branches for
S1 and
S2 at (
γE, γI) = (1, 1) and
E = 0.128 for comparison with . The symmetric branch is now perturbed and the pitchforks become saddle-node bifurcations at
μ0 ≈ 20 and
μ0 ≈ 28, thus forcing decisions for
μ0 > 20 as solutions approach one of the choice attractors. The asymmetry due to nonzero coherence favors the state with larger
S1 (choice 1 correct) over that with larger
S2 when noise is present, since the former has a larger basin of attraction. These memory states persist for
μ0 ![[set membership]](/corehtml/pmc/pmcents/x2208.gif)
(−105, 183) and
μ0 ![[set membership]](/corehtml/pmc/pmcents/x2208.gif)
(−136, 133), respectively, terminating in saddle-node bifurcations much as in . For
μ0 > 296 a unique high-high stable state exists, analogous to the one in . We also computed bifurcation diagrams for (
γE, γI) = (2, 2) and (0.5, 1), as for the
E = 0 symmetric case above. At (2, 2) the result was generally similar to , with some reconnections among branches typical of codimension 2 bifurcations [
27]; a single monotonic branch with
S1 >
S2 was evident at (0.5, 1).
We now consider the second four-population model that uses
ϕE,b of (
24) for pyramidal cells and the threshold-linear f-I curve (
25) for interneurons, again focusing on behavior in the peak discriminability region of . This model recreates the neuromodulation plane even better than that with
ϕE,a (), and the bifurcation diagrams, shown in and , remain similar to those of and .
We again start with symmetric cases. Comparing and , we see that the branch structures at (γE, γI) = (1, 1) are similar but that the higher Sj values, and hence steady-state firing rates, are substantially reduced. This is as expected, since ϕE,b saturates at a lower value than ϕE,a (cf. ). At (γE, γI) = (2, 2) () the high-low states extend over a wider range in μ0 and have higher firing rates, but the branches are much like those for ϕE,a shown in . For (γE, γI) = (0.5, 1) and (2.5, 0.25) this system also has unique fixed point branches (not shown here), as in the ϕE,a case.
shows an asymmetric case at (γE, γI) = (1, 1) with E = 0.128. Fixed point branches are again similar to those of the analogous ϕE,a case (), but the saddle-node in which the low-low state loses stability now occurs at μ0 ≈ 44, higher than the 40 Hz value used in spiking model simulations. The high-high state appears in a saddle-node at μ0 ≈ 20, so that, as for the E = 0 cases of , the low-low, high-high, and two high-low states are all stable over a short range of μ0. Although the low-low state loses stability above the stimulus-on condition μ0 = 40, decisions still occur because the noise suffices to perturb states across the low-low basin boundary.
shows reaction time (
RT) distributions for the asymmetric (
E = 0.128) condition for both four-population models at (
γE, γI) = (1, 1) and (2, 2). The reaction times measured in behavioral experiments are sums of decision times
DT and nondecision latencies (
NDL = 250 ms; cf. (
1)). The standard gain cases on the left both produce typical
RT distributions with longer tails to the right, while the high-gain conditions shown at right have tighter, faster
RT distributions. The lower-right panel (
ϕE,b, (
γE, γI) = (2, 2)) also has a long tail of impulsive trials at the left, corresponding to the low-stimulus long exponential distribution noted in [
32]. In this condition, firing rates of the selective populations tend to start nearer threshold and therefore to cross it sooner and with much less variance following stimulus onset. There are more impulsive choices than for (
γE, γI) = (1, 1), and there is no long tail to the right. Changes in the
RT distributions along with the corresponding changes in accuracy can implement a speed-accuracy tradeoff, as described in section 5.