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.

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

Working memory (WM) depends on the sustained, selective firing of prefrontal neurons during a delay period — a property implemented in computational models as a stable attractor state. NMDA receptors are central to the excitatory recurrent currents that maintain these attractors. Using a biologically plausible network with AMPA, NMDA, and GABAA_A synaptic currents, we show that NMDA conductance may act as a bidirectional gain control on attractor depth. To quantify this, we introduce λdelay\lambda_{\mathrm{delay}}, an exponential decay constant of the selective population firing rate during the delay period, where low values reflect stable memory maintenance and high values reflect attractor collapse. A 5% reduction in NMDA (schizophrenia-like) destabilizes the delay-period attractor, causing memory collapse and high λdelay\lambda_{\mathrm{delay}} values across the full recurrent weight range. Conversely, a 10% increase in NMDA (OCD-like) over-stabilizes the attractor, locking activity into persistence even at low synaptic weights. These opposite failure modes, instability and overstability, emerge from the same parameter and suggest a possible mechanistic axis that could link two clinically distinct psychiatric conditions.

Keywords:working memoryattractor networksNMDAschizophreniaOCD

Working memory (WM) is the ability to hold information in mind over a brief delay in the absence of sensory input. At its neural substrate lies a prefrontal cortical circuit capable of sustaining elevated, selective firing rates long after a cue has disappeared. Attractor network model captures this property. Recurrent excitatory connections encodes this by creating stable , self-reinforcing activity states (attractors) Brunel & Wang, 2001Compte et al., 2000Wang, 1999. The depth of these attractor basins determines how robustly a memory is maintained against the inevitable statistical fluctuations of stochastic spiking, the neural “noise” that constantly perturbs the system.

NMDA receptors sustain WM attractors, their slow kinetics and voltage dependency provide the persistence firing rates of the selective pool of neurons during the delay period Wang, 2001. Schizophrenia is associated with NMDA receptor hypofunction Coyle et al., 2003. While obsessive-compulsive disorder (OCD) is associated with hyperactive, perseverative prefrontal states that resist updating Milad & Rauch, 2012. A unified computational account of how these opposite deviations produce opposite WM failure modes has not been fully formalized.

We implemented a biophysically realistic spiking network based on the Brunel & Wang, 2001Loh et al., 2007 framework. The network consists of:

Within-pool recurrent weights were set stronger than between-pool weights, this creates a winner-take-all dynamics, a necessary feature for selective memory encoding. A 200ms spontaneous state simulation followed by an external cue stimulation applied to pool S1 for a 500 ms encoding window (tont_{\mathrm{on}} = 200 ms, tofft_{\mathrm{off}} = 700 ms), followed by a delay period during which the network maintained or failed to maintain the encoded memory without external support. A distractor cue was simultaneously applied to pool S2 (tont_{\mathrm{on}} = 800 ms, tofft_{\mathrm{off}} = 1100 ms). Total simulation duration was 1200 ms. All simulations were implemented in Brian2 Stimberg et al. (2019), a Python-based spiking neural network simulator. Population firing rates were smoothed with a Gaussian kernel (σ\sigma = 50 ms), applied to the raw spike-count histogram of each pool, before fitting the exponential decay function.

To quantify WM maintenance beyond a binary persistent/non-persistent classification, we introduced λdelay\lambda_{\mathrm{delay}}, the exponential decay constant fitted to the smoothed S1 population rate during the delay period. During the delay, we compute the differential firing rate

Δr(t)=rS1(t)rS2(t)\Delta r(t) = r_{S1}(t) - r_{S2}(t)

and fit an exponential function

Δr(t)=Aeλt\Delta r(t) = A \, e^{-\lambda t}

to the post-peak trajectory. The fit is applied for [toff+100ms,t_{\mathrm{off}} + 100 ms, t_{\mathrm{end}} − 50 ms] (to avoid the cue-offset transient) to the end of the simulation.

A small λdelay\lambda_{\mathrm{delay}} indicates that S1 activity remains elevated and stable throughout the delay (strong persistence), while a large λdelay\lambda_{\mathrm{delay}} indicates rapid collapse of activity toward baseline. We defined a persistence zone as λdelay<5\lambda_{\mathrm{delay}} < 5, empirically corresponding to trials in which the network successfully sustained a memory representation until the end of the simulation window. Trials with λdelay>5\lambda_{\mathrm{delay}} > 5 (half-life \approx 139 ms) had S1 firing return to within 3 Hz of baseline before simulation end, indicating collapse; trials with λdelay<5\lambda_{\mathrm{delay}} < 5 sustained S1 activity more than 10 Hz above baseline for the full delay window. Equivalently, one may interpret 1/λdelay1/\lambda_{\mathrm{delay}} as a memory persistence timescale: larger values indicate longer-lasting, more stable representations, and the persistence zone corresponds to 1/λdelay>0.21/\lambda_{\mathrm{delay}} > 0.2 s.

NMDA conductance was scaled relative to the control condition (nmdascale=1.0nmda_{\mathrm{scale}} = 1.0) to model three regimes:

ConditiongNMDAg_{\mathrm{NMDA}}gGABAg_{\mathrm{GABA}}Interpretation
Control1.001.00Healthy baseline
SCZ (−NMDA)0.951.00−5% NMDA (receptor hypofunction)
OCD (+NMDA)1.101.00+10% NMDA (receptor hyperfunction)

These perturbations follow established theoretical frameworks: reduced NMDA destabilizes prefrontal working memory attractors in SCZ Loh et al., 2007Rolls et al., 2008, whereas increased glutamatergic drive over-deepens attractor basins in OCD Rolls et al., 2008. Biologically, the −5% reduction reflects moderate post-mortem NMDA-receptor hypofunction estimates in SCZ Catts et al., 2016; a conservative value was chosen to avoid a global excitability collapse. The +10% increase reflects glutamatergic overactivity reported in OCD Pittenger et al., 2011. Because the OCD direction is less precisely constrained experimentally, the larger value serves as an illustrative operating point. Both values define illustrative regimes rather than exact disease-calibrated magnitudes; as Figure 3 demonstrates, qualitative transitions remain robust across the perturbation range.

NMDA bidirectionally regulates the recurrent coupling threshold for persistent working memory activity.

Figure 1:A--C. Representative firing-rate traces (firing rate in Hz, y-axis) of the memory-selective population (S1), competing selective population (S2), non-selective (NS) and inhibitory neurons during simulations under three NMDA scaling regimes.

(A) Control NMDA (nmdascale=1.0nmda_{\mathrm{scale}} = 1.0): Healthy regime.

(B) OCD-like (nmdascale=1.1nmda_{\mathrm{scale}} = 1.1): Receptor hyperfunction regime.

(C) SCZ-like (nmdascale=0.95nmda_{\mathrm{scale}} = 0.95): Receptor hypofunction regime.
D. λdelay\lambda_{\mathrm{delay}} as a function of recurrent synaptic weight JpJ_p across the three NMDA conditions. The shaded region marks the persistence zone (λdelay<5\lambda_{\mathrm{delay}} < 5). Conditions are distinguished by line style as well as color to ensure accessibility.

Panels A–C of Figure 1 illustrate single-trial population rate traces for three representative conditions at Jp=1.84J_p = 1.84. In Figure 1A (control, λdelay=1.751\lambda_{\mathrm{delay}} = 1.751), the S1 pool ramps up during stimulation and sustains elevated activity at ~20 Hz throughout the delay, indicating a successful WM maintenance. The competing pools (S2, NS) remain near baseline. In Figure 1B (OCD-like, λdelay=1.059\lambda_{\mathrm{delay}} = 1.059), the memory attractor is even more robust: activity is sustained at higher rates ~45 Hz, reflecting an over-deepened basin of attraction. In contrast, Figure 1C (SCZ-like, λdelay=28.360\lambda_{\mathrm{delay}} = 28.360) shows activity that collapses rapidly after cue offset, returning to baseline before the end of the delay, the attractor basin is too shallow to resist noise-driven escape.

Figure 1D reveals the full picture across the JpJ_p sweep. For the control condition, the network enters the persistence zone (λdelay<5\lambda_{\mathrm{delay}} < 5) at intermediate JpJ_p (~1.84-1.86), reflecting a tuned operating point. For the SCZ-like condition, λdelay\lambda_{\mathrm{delay}} remains elevated across nearly the entire JpJ_p range, until higher values of JpJ_p (> 1.86). For the OCD-like condition, the system drops into the persistence zone at Jp1.78J_p \geq 1.78 and λdelay\lambda_{\mathrm{delay}} plummets rapidly: the network locks into persistent activity easily and at weights where the control network would still be in the non-persistent regime.

The influence of the distractor stimulus on the S2 population is modest in the current parameter regime; stronger distractor amplitudes should be explored in future work to more directly probe attractor competition and cross-pool interference.

These results are consistent with the hypothesis that NMDA conductance acts as a bidirectional gain control on attractor depth, offering a possible mechanistic link between two ostensibly opposite psychiatric presentations within a single mechanistic axis:

Together, these simulations suggest that the healthy prefrontal WM circuit operates in a narrow, tuned window of NMDA conductance, close enough to the instability boundary to remain flexible and updatable, but deep enough to maintain representations against noise. The λdelay\lambda_{\mathrm{delay}} metric provides a continuous, quantitative readout of this balance, offering a potential link to delay-period fMRI and electrophysiology signatures.

We note that the interpretation of λdelay\lambda_{\mathrm{delay}} as a proxy for attractor basin depth is a hypothesis. Alternative mechanisms, such as a change in the effective membrane time constant of the selective population, or a shift in the competitive balance between S1 and S2, could produce similar changes in the decay timescale without necessarily reshaping the attractor landscape. Disambiguating these alternatives would require explicit computation of the flow field, as in Loh et al., 2007, and is left for future work.

Statistical analysis of lambda_delay across conditions showing mean SD distributions and correlation with attractor robustness.

Figure 2:A. Mean ± SD of λdelay\lambda_{\mathrm{delay}} per condition across seeds for Jp=1.75J_p = 1.75 (faded) and Jp=1.88J_p = 1.88 (solid). Conditions differ significantly across the parameter space (Kruskal-Wallis: H(5)=40.9H(5) = 40.9, p=9.92×108p = 9.92 \times 10^{-8}, η2=0.254\eta^2 = 0.254).

B. Violin plots showing the full distribution of λdelay\lambda_{\mathrm{delay}} in the persistent regime across all seeds and JpJ_p values per condition. Black bars indicate the median.

C. Scatter plot of λdelay\lambda_{\mathrm{delay}} versus attractor robustness showing a strong Spearman correlation (ρ=0.952\rho = -0.952, p<0.001p < 0.001).

To characterise attractor stability statistically across seeds and conditions, we tested different combinations of NMDA and GABA conductances at two recurrent weight values (Jp=1.75J_p = 1.75 and Jp=1.88J_p = 1.88), running multiple trials with different random seeds and computing λdelay\lambda_{\mathrm{delay}} for each trial. The persistent regime (n=155n = 155) showed a median λdelay\lambda_{\mathrm{delay}} of 3.3 compared to 29.2 in the transient regime, a difference validated by a Mann-Whitney test (U=4515U = 4515, p<0.001p < 0.001). A Kruskal-Wallis test confirmed significant differences across conditions (H(5)=40.9H(5) = 40.9, p=9.92×108p = 9.92 \times 10^{-8}, η2=0.254\eta^2 = 0.254), establishing that λdelay\lambda_{\mathrm{delay}} is sensitive to changes in NMDA/GABA conductance across the parameter space. λdelay\lambda_{\mathrm{delay}} showed a strong Spearman correlation with attractor robustness (ρ=0.952\rho = -0.952, p<0.001p < 0.001), supporting its validity as a continuous measure of working memory attractor stability, capturing the same information as binary persistence classification but with greater resolution.

This work demonstrates that a single synaptic parameter, NMDA receptor conductance, is sufficient to drive a prefrontal attractor network between three qualitatively distinct regimes: healthy WM maintenance, schizophrenia-like memory collapse, and OCD-like pathological persistence. The λdelay\lambda_{\mathrm{delay}} metric provides a graded, continuous measure of this axis, moving beyond binary persistent/non-persistent classifications and offering a quantitative bridge between in silico dynamics and delay-period neural signatures measurable with fMRI or multi-unit electrophysiology. Future work should examine how dopaminergic D1 receptor modulation interacts with NMDA-mediated stability, and whether combined NMDA/GABA perturbations can reproduce the positive symptoms of schizophrenia, including spontaneous wandering between attractor states, as predicted by prior theoretical work Deco & Rolls, 2007Loh et al., 2007.

Acknowledgments

This work was supported by the Impact Scholars Program 2025. The first author is supported by the CNRST PASS doctoral scholarship program. The authors thank Archishman Biswas for his technical support with the simulation code, helpful discussions, and guidance that greatly contributed to the development of this work. The authors used AI assistance (Claude, Anthropic) to assist with scientific writing and code review during the preparation of this manuscript. All scientific content, results, and conclusions were verified and approved by the authors.

Data Availability

Published via Impact Scholars; original development repository.

References
  1. Brunel, N., & Wang, X.-J. (2001). Effects of Neuromodulation in a Cortical Network Model of Object Working Memory Dominated by Recurrent Inhibition. Journal of Computational Neuroscience, 11(1), 63–85. 10.1023/a:1011204814320
  2. Compte, A., Brunel, N., Goldman-Rakic, P. S., & Wang, X. J. (2000). Synaptic mechanisms and network dynamics underlying spatial working memory in a cortical network model. Cerebral Cortex, 10(9), 910–923. 10.1093/cercor/10.9.910
  3. Wang, X.-J. (1999). Synaptic Basis of Cortical Persistent Activity: The Importance of NMDA Receptors to Working Memory. Journal of Neuroscience, 19(21), 9587–9603. 10.1523/JNEUROSCI.19-21-09587.1999
  4. Wang, X.-J. (2001). Synaptic Reverberation Underlying Mnemonic Persistent Activity. Trends in Neurosciences, 24(8), 455–463. 10.1016/s0166-2236(00)01868-3
  5. Coyle, J. T., Tsai, G., & Goff, D. (2003). Converging Evidence of NMDA Receptor Hypofunction in the Pathophysiology of Schizophrenia. Annals of the New York Academy of Sciences, 1003, 318–327. 10.1196/annals.1300.020
  6. Milad, M. R., & Rauch, S. L. (2012). Obsessive-Compulsive Disorder: Beyond Segregated Cortico-Striatal Pathways. Trends in Cognitive Sciences, 16(1), 43–51. 10.1016/j.tics.2011.11.003
  7. 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
  8. Stimberg, M., Brette, R., & Goodman, D. F. M. (2019). Brian 2, an Intuitive and Efficient Neural Simulator. eLife, 8, e47314. 10.7554/eLife.47314
  9. Rolls, E. T., Loh, M., Deco, G., & Winterer, G. (2008). Computational models of schizophrenia and dopamine modulation in the prefrontal cortex. Nature Reviews Neuroscience, 9(9), 696–709. 10.1038/nrn2462
  10. Rolls, E. T., Loh, M., & Deco, G. (2008). An attractor hypothesis of obsessive–compulsive disorder. European Journal of Neuroscience, 28(4), 782–793. 10.1111/j.1460-9568.2008.06379.x
  11. Catts, V. S., Lai, Y. L., Weickert, C. S., Weickert, T. W., & Catts, S. V. (2016). A quantitative review of the postmortem evidence for decreased cortical N-methyl-D-aspartate receptor expression levels in schizophrenia: How can we link molecular abnormalities to mismatch negativity deficits? Biological Psychology, 116, 57–67. 10.1016/j.biopsycho.2015.10.013
  12. Pittenger, C., Bloch, M. H., & Williams, K. (2011). Glutamate abnormalities in obsessive compulsive disorder: Neurobiology, pathophysiology, and treatment. Pharmacology & Therapeutics, 132(3), 314–332. 10.1016/j.pharmthera.2011.09.006
  13. Goldman-Rakic, P. S. (1994). Working Memory Dysfunction in Schizophrenia. Journal of Neuropsychiatry and Clinical Neurosciences, 6(4), 348–357. 10.1176/jnp.6.4.348
  14. Rolls, E. T. (2007). Memory, Attention, and Decision-Making. Oxford University Press. 10.1093/acprof:oso/9780199232703.001.0001
  15. Winterer, G., Coppola, R., Goldberg, T. E., Egan, M. F., Jones, D. W., Sanchez, C. E., & Weinberger, D. R. (2004). Prefrontal Broadband Noise, Working Memory, and Genetic Risk for Schizophrenia. American Journal of Psychiatry, 161(3), 490–500. 10.1176/appi.ajp.161.3.490