Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Supplementary Information — NMDA Modulates Working Memory Attractor Stability

Opposite Regimes Can Produce Schizophrenia-like Instability and OCD-like Overstability

Authors
Affiliations
Faculty of Science, Laboratory of Biology and Health, Abdelmalek Essaâdi University, Av. Khenifra, Tetouan, 93000, Morocco
Department of Biology and Geology, Biological Engineering Laboratory, Sultan Moulay Slimane University, Beni-Mellal, Morocco
Neuromatch
Department of Linguistics, Faculty of Foreign languages, University of Isfahan, Isfahan, Iran
Neuromatch
Department of Educational Sciences and Psychology, Shiraz University, Shiraz, Iran
Neuromatch
Faculty of Science, Laboratory of Biology and Health, Abdelmalek Essaâdi University, Av. Khenifra, Tetouan, 93000, Morocco
Department of Biology and Geology, Biological Engineering Laboratory, Sultan Moulay Slimane University, Beni-Mellal, Morocco
Département de Biologie et Géologie FP Béni Mellal, USMS, Béni Mellal, Morocco
Department of Computational Science and Technology, School of Electrical Engineering and Computer Science, KTH Royal Institute of Technology, 11428 Stockholm, Sweden Science for Life Laboratory, 171 65 Solna, Sweden
Neuromatch

Abstract

This document contains the supplementary figures, tables, and extended methods supporting the main manuscript regarding NMDA modulation of working memory attractors.

Keywords:working memoryattractor networksNMDAschizophreniaOCD

Supplementary Figures

This supplement gives the complete mathematical description of the spiking network (Network model), the exact parameter values used in all simulations (Table 1Table 4), the definition of the λdelay\lambda_{\mathrm{delay}} metric (The λdelay\lambda_{\mathrm{delay}} metric), the multi-seed statistical protocol (Multi-seed statistical protocol), a supplementary NMDA-conductance sweep (Figure 3), and the full statistical tables (Statistical tables). The model follows the integrate-and-fire framework of Loh et al., 2007 as used by Loh et al., 2007, and was implemented in Brian2 Stimberg et al., 2019.

Network model

Single-neuron dynamics

Both excitatory (EE) and inhibitory (II) cells are leaky integrate-and-fire neurons. The subthreshold membrane potential VV obeys

CmdVdt=gL(VEL)Isyn(t),C_m\,\frac{dV}{dt} = -g_L\,(V-E_L) - I_{\mathrm{syn}}(t),

with cell-type-specific CmC_m and gLg_L (Table 1). When VV reaches the threshold VthV_{\mathrm{th}} a spike is emitted and VV is clamped to the reset VrV_{r} for an absolute refractory period treft_{\mathrm{ref}}. The total synaptic current is

Isyn(t)=IAMPA,ext(t)+IAMPA,rec(t)+INMDA,rec(t)+IGABA(t).I_{\mathrm{syn}}(t) = I_{\mathrm{AMPA,ext}}(t) + I_{\mathrm{AMPA,rec}}(t) + I_{\mathrm{NMDA,rec}}(t) + I_{\mathrm{GABA}}(t).

Synaptic currents

AMPA (external and recurrent) and GABAA_{\mathrm A} currents are

IAMPA(t)=sAMPA(t)(V(t)VE),dsAMPAdt=sAMPAτAMPA+kgAMPAδ(ttk),IGABA(t)=sGABA(t)(V(t)VI),dsGABAdt=sGABAτGABA+kgGABAδ(ttk),\begin{aligned} I_{\mathrm{AMPA}}(t) &= s_{\mathrm{AMPA}}(t)\,\big(V(t)-V_E\big), & \frac{ds_{\mathrm{AMPA}}}{dt} &= -\frac{s_{\mathrm{AMPA}}}{\tau_{\mathrm{AMPA}}} + \sum_k g_{\mathrm{AMPA}}\,\delta(t-t_k),\\[2pt] I_{\mathrm{GABA}}(t) &= s_{\mathrm{GABA}}(t)\,\big(V(t)-V_I\big), & \frac{ds_{\mathrm{GABA}}}{dt} &= -\frac{s_{\mathrm{GABA}}}{\tau_{\mathrm{GABA}}} + \sum_k g_{\mathrm{GABA}}\,\delta(t-t_k), \end{aligned}

where each presynaptic spike at tkt_k increments the conductance variable by the corresponding synaptic weight. The NMDA current carries a voltage-dependent Mg2+^{2+} block Jahr & Stevens, 1990:

INMDA(t)=gNMDAsNMDAtot(t)(V(t)VE)1+[Mg2+]3.57exp(0.062V(t)),I_{\mathrm{NMDA}}(t) = \frac{g_{\mathrm{NMDA}} s^{\mathrm{tot}}_{\mathrm{NMDA}}(t) (V(t)-V_E)}{1 + \frac{[\mathrm{Mg}^{2+}]}{3.57} \exp(-0.062 V(t))},

with VV in mV and [Mg2+][\mathrm{Mg}^{2+}] in mM. The NMDA gating variable has a two-stage (rise/decay) form,

dsNMDAdt=sNMDAτNMDA,decay+αx(t)(1sNMDA),dxdt=xτNMDA,rise+kδ(ttk),\begin{aligned} \frac{ds_{\mathrm{NMDA}}}{dt} &= -\frac{s_{\mathrm{NMDA}}}{\tau_{\mathrm{NMDA,decay}}} + \alpha x(t) (1-s_{\mathrm{NMDA}}), \\[6pt] \frac{dx}{dt} &= -\frac{x}{\tau_{\mathrm{NMDA,rise}}} + \sum_k \delta(t-t_k), \end{aligned}

and sNMDAtots^{\mathrm{tot}}_{\mathrm{NMDA}} denotes the gating summed over the presynaptic excitatory pool. All synapses act with a transmission delay of 0.5 ms0.5\ \mathrm{ms}.

Architecture and connectivity

The network contains N=2000N=2000 neurons: NE=1600N_E=1600 excitatory (finh=0.20f_{\mathrm{inh}}=0.20) and NI=400N_I=400 inhibitory. The excitatory population is split into two selective pools S1S_1 and S2S_2 of 240 neurons each (fsel=0.15f_{\mathrm{sel}}=0.15 of NEN_E) and a non-selective pool (NS) of 1120 neurons. The inhibitory pool provides global feedback inhibition. Recurrent excitation is structured by a within-pool potentiation factor JpJ_p and a compensating cross-pool factor

Jm=1fselJp11fsel,J_m = 1 - f_{\mathrm{sel}}\,\frac{J_p-1}{1-f_{\mathrm{sel}}},

which keeps the mean recurrent input constant as JpJ_p varies. Excitatory–excitatory AMPA weights are gEEAg_{\mathrm{EEA}} (baseline), gEEAJpg_{\mathrm{EEA}}J_p (within a selective pool) and gEEAJmg_{\mathrm{EEA}}J_m (between selective pools); recurrent NMDA is pooled analogously. E>IE -> I, I>EI -> E and I>II -> I connections are all-to-all with weights gEIAg_{\mathrm{EIA}}, gIEg_{\mathrm{IE}} and gIIg_{\mathrm{II}} respectively. Base conductances (Table 3) are calibrated for N=2000N=2000 and rescaled by 1600/NE1600/N_E (excitatory) and 400/NI400/N_I (inhibitory) for other network sizes.

Background input and stimulation protocol

Every neuron receives Next=800N_{\mathrm{ext}}=800 independent external AMPA synapses driven by Poisson spike trains at 3 Hz3\ \mathrm{Hz} each (2.4 kHz2.4\ \mathrm{kHz} aggregate), reproducing cortical spontaneous activity. A 200 ms200\ \mathrm{ms} spontaneous period is followed by a cue of 200 Hz200\ \mathrm{Hz} applied to S1S_1 over t[200,700] mst\in[200,700]\ \mathrm{ms}, then a delay period [700,1200] ms[700,1200]\ \mathrm{ms}. An optional distractor is applied to S2S_2 over [800,1100] ms[800,1100]\ \mathrm{ms} at either 0 or 200 Hz200\ \mathrm{Hz}. Total simulation time is 1200 ms1200\ \mathrm{ms}. Equations were integrated with the forward Euler method at dt=0.02 msdt=0.02\ \mathrm{ms}; independent trials differ only in random seed.

Modelled regimes

NMDA and GABA conductances are scaled multiplicatively relative to control. The three main-text regimes hold gGABAg_{\mathrm{GABA}} fixed and vary gNMDAg_{\mathrm{NMDA}}: control (1.00), SCZ-like (0.95, 5%-5\%) and OCD-like (1.10, +10%+10\%). The effective recurrent NMDA conductance is therefore gEEN×{0.95,1.00,1.10}={0.157,0.165,0.182} nSg_{\mathrm{EEN}}\times\{0.95,1.00,1.10\}=\{0.157,0.165,0.182\}\ \mathrm{nS}.

Table 1:Single-neuron parameters (excitatory / inhibitory).

ParameterExcitatoryInhibitory
Resting potential ELE_L70 mV-70\ \mathrm{mV}70 mV-70\ \mathrm{mV}
Threshold VthV_{\mathrm{th}}50 mV-50\ \mathrm{mV}50 mV-50\ \mathrm{mV}
Reset VrV_{r}55 mV-55\ \mathrm{mV}55 mV-55\ \mathrm{mV}
Membrane capacitance CmC_m0.5 nF0.5\ \mathrm{nF}0.2 nF0.2\ \mathrm{nF}
Leak conductance gLg_L25 nS25\ \mathrm{nS}20 nS20\ \mathrm{nS}
Membrane time constant τm=Cm/gL\tau_m=C_m/g_L20 ms20\ \mathrm{ms}10 ms10\ \mathrm{ms}
Refractory period treft_{\mathrm{ref}}2 ms2\ \mathrm{ms}1 ms1\ \mathrm{ms}

Table 2:Synaptic kinetics and reversal potentials.

ParameterValueParameterValue
τAMPA\tau_{\mathrm{AMPA}}2 ms2\ \mathrm{ms}VEV_E0 mV0\ \mathrm{mV}
τNMDA,rise\tau_{\mathrm{NMDA,rise}}2 ms2\ \mathrm{ms}VIV_I70 mV-70\ \mathrm{mV}
τNMDA,decay\tau_{\mathrm{NMDA,decay}}100 ms100\ \mathrm{ms}[Mg2+][\mathrm{Mg}^{2+}]1 mM1\ \mathrm{mM}
τGABA\tau_{\mathrm{GABA}}10 ms10\ \mathrm{ms}Synaptic delay0.5 ms0.5\ \mathrm{ms}
α\alpha (NMDA)0.5 ms10.5\ \mathrm{ms^{-1}}Integration step dtdt0.02 ms0.02\ \mathrm{ms}

Table 3:Base synaptic conductances (calibrated for N=2000N=2000; the excitatory/inhibitory scale factors equal 1 at this size).

ConductanceValueConductanceValue
gext,Eg_{\mathrm{ext},E} (external AMPA, EE)2.10 nS2.10\ \mathrm{nS}gEENg_{\mathrm{EEN}} (rec. NMDA, E>EE -> E)0.165 nS0.165\ \mathrm{nS}
gext,Ig_{\mathrm{ext},I} (external AMPA, II)1.62 nS1.62\ \mathrm{nS}gEINg_{\mathrm{EIN}} (rec. NMDA, E>IE -> I)0.130 nS0.130\ \mathrm{nS}
gEEAg_{\mathrm{EEA}} (rec. AMPA, E>EE -> E)0.050 nS0.050\ \mathrm{nS}gIEg_{\mathrm{IE}} (GABA, I>EI -> E)1.30 nS1.30\ \mathrm{nS}
gEIAg_{\mathrm{EIA}} (rec. AMPA, E>IE -> I)0.040 nS0.040\ \mathrm{nS}gIIg_{\mathrm{II}} (GABA, I>II -> I)1.00 nS1.00\ \mathrm{nS}

Table 4:Network architecture and stimulation protocol.

QuantityValueQuantityValue
Total neurons NN2000Cue (to S1S_1)200 Hz200\ \mathrm{Hz}, [200,700] ms[200,700]\ \mathrm{ms}
Excitatory NEN_E / Inhibitory NIN_I1600/4001600 / 400Delay period[700,1200] ms[700,1200]\ \mathrm{ms}
Selective pools S1=S2\mathrm{S1}=\mathrm{S2}240 eachDistractor (to S2S_2)0 or 200 Hz200\ \mathrm{Hz}, [800,1100] ms[800,1100]\ \mathrm{ms}
Non-selective pool NS\mathrm{NS}1120Total runtime1200 ms1200\ \mathrm{ms}
External synapses NextN_{\mathrm{ext}}800 at 3 Hz3\ \mathrm{Hz}Potentiation JpJ_p1.84 (swept 1.751.90)
Cross-pool factor JmJ_m at Jp=1.84J_p{=}1.840.852

The λdelay\lambda_{\mathrm{delay}} metric

Population firing rates were obtained from spike-count histograms smoothed with a flat (rectangular) sliding window of width 50 ms50\ \mathrm{ms}. During the delay we form the differential rate Δr(t)=rS1(t)rS2(t)\Delta r(t)=r_{S_1}(t)-r_{S_2}(t) and fit a single exponential Δr(t)=Aeλt\Delta r(t)=A\,e^{-\lambda t} to its post-peak segment by linear regression of logΔr\log \Delta r. The fit is evaluated over the window [toff+100 ms, tend50 ms][\,t_{\mathrm{off}}+100\ \mathrm{ms},\ t_{\mathrm{end}}-50\ \mathrm{ms}\,], starting from the peak of Δr\Delta r within that window so that the post-cue rising transient does not bias the estimate. Small λdelay\lambda_{\mathrm{delay}} indicates stable maintenance; large λdelay\lambda_{\mathrm{delay}} indicates rapid collapse. We define a persistence zone as λdelay<5 s1\lambda_{\mathrm{delay}}<5\ \mathrm{s^{-1}} (half-life 139 ms\approx 139\ \mathrm{ms}); equivalently 1/λdelay>0.2 s1/\lambda_{\mathrm{delay}}>0.2\ \mathrm{s}. Networks that never encode the cue or that enter a runaway state return an undefined (NaN\mathrm{NaN}) value and are treated as a separate failure category rather than as λ=0\lambda=0.

Multi-seed statistical protocol

To characterise stability beyond single realisations, each parameter combination was simulated with 19 independent random seeds. The analysis grid crossed six NMDA/GABA conductance settings — (gNMDA/gGABA){(0.8/0.4),(0.9/0.3),(1.0/0.3),(1.0/0.6),(1.1/0.4),(1.1/0.6)}(g_{\mathrm{NMDA}}/g_{\mathrm{GABA}})\in\{(0.8/0.4),(0.9/0.3),(1.0/0.3),(1.0/0.6),(1.1/0.4),(1.1/0.6)\} — with two recurrent weights (Jp=1.75J_p=1.75 and 1.88), run separately with and without the S2S_2 distractor. Because per-condition λdelay\lambda_{\mathrm{delay}} distributions departed from normality (Shapiro–Wilk), non-parametric tests were used throughout: Kruskal–Wallis across conditions (with η2\eta^2 effect size), pairwise Mann–Whitney UU with Bonferroni correction, and Spearman rank correlations between λdelay\lambda_{\mathrm{delay}} and other delay-period metrics. Table 5Table 8 report the with-distractor analysis used for the main-text statistics.

NMDA-conductance sweep at fixed GABA (g_{\mathrm{GABA}}=1.0). \lambda_{\mathrm{delay}} as a function of the NMDA conductance multiplier for three recurrent weights J_p. The shaded band is the persistence zone (\lambda_{\mathrm{delay}}<5); dotted reference lines mark the three main-text regimes (SCZ 0.95, control 1.00, OCD 1.10). Increasing NMDA drives the network from non-encoding/collapse at low values, through a high-\lambda unstable band, into deep persistence at g_{\mathrm{NMDA}}\geq 1.0; the transition shifts to lower NMDA as J_p increases. Values below g_{\mathrm{NMDA}}\approx0.7 are omitted because the network fails to encode the cue and \lambda_{\mathrm{delay}} is undefined. Generated from the single-seed grid sweep (Grid_results_200Hz.csv).

Figure 3:NMDA-conductance sweep at fixed GABA (gGABA=1.0g_{\mathrm{GABA}}=1.0). λdelay\lambda_{\mathrm{delay}} as a function of the NMDA conductance multiplier for three recurrent weights JpJ_p. The shaded band is the persistence zone (λdelay<5\lambda_{\mathrm{delay}}<5); dotted reference lines mark the three main-text regimes (SCZ 0.95, control 1.00, OCD 1.10). Increasing NMDA drives the network from non-encoding/collapse at low values, through a high-λ\lambda unstable band, into deep persistence at gNMDA1.0g_{\mathrm{NMDA}}\geq 1.0; the transition shifts to lower NMDA as JpJ_p increases. Values below gNMDA0.7g_{\mathrm{NMDA}}\approx0.7 are omitted because the network fails to encode the cue and λdelay\lambda_{\mathrm{delay}} is undefined. Generated from the single-seed grid sweep (Grid_results_200Hz.csv).

Statistical tables

Table 5:Descriptive statistics of λdelay\lambda_{\mathrm{delay}} (s1^{-1}) in the persistent regime, seed-level means, with distractor. nn is the number of seeds (of 19) that reached the persistent regime for that cell.

JpJ_pNMDAGABAnnMeanSDMedian[Min, Max]
1.751.000.601132.541.8232.20[30.28, 37.22]
1.751.100.401933.993.4634.15[27.65, 40.83]
1.751.100.601913.6411.857.23[2.26, 34.14]
1.880.800.40333.900.6134.15[33.21, 34.34]
1.880.900.301934.502.4934.36[29.53, 41.16]
1.881.000.30194.608.061.65[0.60, 28.12]
1.881.000.60190.921.130.61[−0.08, 4.97]
1.881.100.40190.310.390.27[−0.33, 1.21]
1.881.100.60190.260.340.24[−0.25, 1.16]

Table 6:Omnibus Kruskal–Wallis tests on λdelay\lambda_{\mathrm{delay}} across conditions (with distractor).

GroupingHH (df)ppη2\eta^2
Jp=1.75J_p=1.7525.97 (2)25.97\ (2)2.30×1062.30\times10^{-6}0.521
Jp=1.88J_p=1.8875.87 (5)75.87\ (5)6.14×10156.14\times10^{-15}0.770
Combined40.88 (5)40.88\ (5)9.92×1089.92\times10^{-8}0.254

Table 7:Overall persistent vs. transient comparison (with distractor): median λdelay\lambda_{\mathrm{delay}} and Mann–Whitney UU.

RegimennMedian λdelay\lambda_{\mathrm{delay}}Mann–Whitney
Persistent1553.33U=4515, p=5.6×105U=4515,\ p=5.6\times10^{-5}
Transient8529.21

Table 8:Spearman rank correlations between λdelay\lambda_{\mathrm{delay}} and delay-period metrics (persistent regime, with distractor). Negative values indicate that faster decay accompanies weaker maintenance.

Metricρ\rhopp
Attractor robustness (minΔr\min \Delta r)-0.952<1080<10^{-80}
Signal-to-noise ratio (delay)-0.947<1076<10^{-76}
Firing-rate variability σ\sigma+0.921<1063<10^{-63}
Minimum S1S_1 rate (delay)-0.910<1059<10^{-59}
Mean S1S_1 rate (delay)-0.838<1041<10^{-41}
Delay gain-0.613<1016<10^{-16}
References
  1. Loh, M., Rolls, E. T., & Deco, G. (2007). A Dynamical Systems Hypothesis of Schizophrenia. PLOS Computational Biology, 3(11), e228. 10.1371/journal.pcbi.0030228
  2. Stimberg, M., Brette, R., & Goodman, D. F. M. (2019). Brian 2, an Intuitive and Efficient Neural Simulator. eLife, 8, e47314. 10.7554/eLife.47314
  3. Jahr, C. E., & Stevens, C. F. (1990). Voltage dependence of NMDA-activated macroscopic conductances predicted by single-channel kinetics. Journal of Neuroscience, 10(9), 3178–3182.