Skip to main content
Advertisement
  • Loading metrics

Learning, sleep replay and consolidation of contextual fear memories: A neural network model

?

This is an uncorrected proof.

Abstract

Contextual fear conditioning is an experimental framework widely used to investigate how aversive experiences affect the valence an animal associates with an environment. While the initial formation of associative context-fear memories is well studied – dependent on plasticity in hippocampus and amygdala – the neural mechanisms underlying their subsequent consolidation remain less understood. Recent evidence suggests that the recall of contextual fear memories shifts from hippocampal-amygdalar to amygdalo-cortical networks as they age. This transition is thought to rely on sleep. In particular, neural replay during hippocampal sharp-wave ripple events seems crucial, though open questions regarding the involved neural interactions remain. Here, we propose a biologically informed neural network model of context-fear learning. It expands the scope of previous models through the addition of a sleep phase. Hippocampal representations of context, formed during wakefulness, are replayed in conjunction with cortical and amygdalar activity patterns to establish long-term fear memories. In addition, valence-coding synapses within the amygdala are subject to homeostatic plasticity overnight, which stabilizes fear associations and regulates the fear circuitry’s synaptic density. The model reproduces experimentally observed phenomena, including context-dependent fear renewal and time-dependent increases in fear generalisation. Our model integrates mechanisms of fear learning, systems consolidation and synaptic homeostasis to provide a unified account of how contextual fear memories form and evolve over time. Our framework yields testable predictions about how disruptions in synaptic homeostasis may promote a persistent, fear-sensitized state. Accounting for neural mechanisms that reshape fear memories after their formation is a step towards bridging computational models of fear learning and the mechanisms behind trauma and anxiety disorders.

Author summary

How do we learn to fear certain environments? Why do some fear memories fade while others persist or even grow stronger over time? Scientists have long used laboratory experiments to study how animals associate danger with a particular context. These studies have helped identify brain regions involved in fear learning, including the amygdala, hippocampus, and cortex, and have inspired many computational models of how fear is acquired in the brain. However, most models focus only on what happens when fear is first learned, overlooking how these memories evolve in the following days and nights. In this work, we present a neural network model that captures how fear memories are strengthened or reshaped during sleep. It builds on earlier models by incorporating memory replay and synaptic homeostasis, two brain processes believed to support emotional memory consolidation. Our model identifies neural processes that help make fear memories persistent, suggests that sleep is necessary to maintain adaptive behaviour after threatening experiences, and proposes that sleep disruptions mediate the harmful impact of stress on emotional regulation. By extending amygdala-based models of fear learning to include post-learning processes, we aim to narrow the gap between these models and disorders linked with persistent fear, such as PTSD.

Introduction

Despite robust biological evidence of sleep’s essential role in emotional memory consolidation, computational models of fear learning typically neglect sleep-dependent processes. We propose a neural network model that incorporates sleep-mediated replay and synaptic homeostasis, offering a new mechanistic perspective on fear memory formation, retention, and generalisation.

Pavlovian Fear Conditioning, in which an initially neutral cue or context is repeatedly paired with an aversive, unconditioned stimulus (US), is a fundamental paradigm for investigating the neural mechanisms underlying fear learning [1]. In contextual fear conditioning, fear becomes associated with the combined environmental and internal elements defining the conditioned context [2]. Understanding how contextual fear memories form, persist, and generalize is crucial both for basic neuroscience and for clinical conditions characterized by maladaptive fear, such as Post-Traumatic Stress Disorder (PTSD) [3,4].

Neural mechanisms underlying fear memory formation extend beyond awake experiences into subsequent periods of sleep. During sleep, neural replay occurs simultaneously across hippocampal and neocortical circuits, reflecting activity patterns learned during prior experiences [5,6]. This coordinated replay has robust experimental support and is critically involved in the consolidation of associative memories, including those formed through fear conditioning [7]. The basolateral amygdala (BLA), long recognized for its central role in emotional learning [8], also exhibits activity coordinated with hippocampal replay during sleep [9]. Although open questions regarding precise mechanisms and functional significance remain, emerging evidence suggests that coordinated replay across hippocampus and amygdala may help bind contextual representations to emotional salience, driving emotional memory retention [9].

Despite these findings, existing computational models of associative fear learning [1012], originating from classical frameworks such as the Rescorla-Wagner model [1315], typically omit these sleep-dependent consolidation mechanisms. These models assume immediate and stable updating of emotional associations during awake learning episodes. As a result, they struggle to account for gradual changes in fear recall over time [16], which may be clinically relevant for the delayed onset or intensification of fear-related symptoms following trauma, as observed in delayed-onset PTSD [17].

To overcome this gap, we propose a new neural network model of contextual fear learning that explicitly incorporates sleep-dependent replay and synaptic homeostasis. Our simulations demonstrate how disruptions in these sleep-related processes – e.g., under psychological stress – could lead to amygdala hyperactivity, enhanced fear acquisition and heightened generalisation. While formulated at a fairly high level of abstraction, our work not only provides a qualitative framework linking sleep to emotional memory processing but also lays a foundation for further computational studies and experimental investigations into fear learning and its clinical implications.

Methods: Model description

To investigate interactions between sleep processes and fear learning, we developed a computational model that combines a hippocampal sleep replay mechanism, proposed by Fiebig et al. for systems consolidation of episodic memories [18], with an amygdalo-centric framework for associative fear learning, inspired by previous neural network models [11,19]. Building on these proposals, we provide a computational account of how context fear memories transition from transient hippocampal-amygdalar representations into stable amygdalo-cortical associations [20].

Our model reproduces key behavioural phenomena observed in fear conditioning – including context-dependent fear renewal [21] and enhanced fear learning under stress [22,23]. Its architecture is sketched in Fig 1. Its modules represent hypothetical populations of neurons with narrowly defined computational roles. They are named after the brain regions assumed to accommodate neurons with those roles, but the model is not intended to capture the full cellular heterogeneity or connectivity of the implicated regions.

thumbnail
Fig 1. Model sketch.

Nodes of the graph correspond to modules. Dotted/solid arrows denote the existence of plastic/non-plastic synapses between modules. During Perception, environmental inputs are passed to the ‘engram modules’ HIP, CTX and BAN, activating patterns that may be remembered via Hebbian plasticity, so that the model’s state may converge onto them during later Recall. To allow either fear or safety to be associated with a context, synapses from HIP onto BAN are strengthened when a prediction error occurs. Prediction errors are defined as the difference between the current US input and fear response (CeA output). Errors promote Hebbian plasticity within BAN and on HIP → BAN synapses, allowing the context to be associated with valence. Positive / negative errors further strengthen synapses from BAN onto BAP / BAI, increasing / decreasing the amount of fear associated with the current environment. Nodes labelled with a sigmoid are single units. All other modules are sets of neurons – the BCPNN (Bayesian Confidence Propagation Neural Network), kWTA (k-Winner-Takes-All) and ‘binary’ module types are defined in S1 Appendix. Abbreviations: SC = Sensory Cortex. EC(in / out) = Entorhinal Cortex (Input- / Output layers). HIP = Hippocampus. CTX = Neocortex. BA(N / P / I) = Basal Amygdala (valence-Neutral / fear-Promoting / fear-Inhibiting sets of neurons). CeA = Central Nucleus of Amygdala.

https://doi.org/10.1371/journal.pcbi.1013251.g001

Environmental inputs (or contexts) are defined by sampling 50 variables with 10 possible values each. They are represented as binary activity patterns within the sensory cortex (SC) module, from where they are transmitted to each of our model’s three primary regions:

  • Hippocampus (HIP), which rapidly encodes and temporarily stores context information using Hebbian learning. During sleep, recurrent excitation and fast inhibitory processes drive the replay of these transient engrams.
  • Neocortex (CTX), which forms long-term representations through slow synaptic updates. Sleep replay reinforces and stabilizes cortical traces, allowing them to maintain fear associations independently of hippocampal support.
  • Amygdala (BA & CeA), which associates contexts with valence. Context identity, fear, and safety are encoded by separate populations of BA cells.

The following sections contain brief descriptions of the computational roles and interactions of the above regions. A more in-depth description of our model architecture is provided in S1 Appendix. In particular, this includes model parameters defining three operational modes – Perception (memory formation), Sleep (memory consolidation), and Recall (memory retrieval), whereas S2 Appendix breaks down the model’s update cycle.

Hippocampal Formation (HIP & EC).

Our implementation of HIP draws on a computational model by Fiebig & Lansner [18]. During Perception, environmental inputs activate sparse subsets of HIP cells (4% active), and Hebbian learning strengthens synapses between co-active neurons to form a context-specific engram. This plasticity later allows HIP to converge onto a relevant engram, when cued during Recall (see below). However, hippocampal engrams are relatively short-lived, as they are soon overwritten by new learning [20,2427]. Because of HIP’s sparsity, only the most similar contexts receive overlapping representations [28].

During Sleep, in the absence of external inputs, recurrent excitation causes HIP to converge to one of its attractor states – ‘replaying’ that engram. To prevent the indefinite replay of a single memory, inhibitory synapses between active cells are then rapidly strengthened via a Hebbian learning rule [18]. Eventually, HIP’s activity is pushed away, allowing convergence to another attractor. This ‘Hebbian depression’, or ‘adaptation projection’ after Fiebig & Lansner [18], has been proposed to abstractly represent a combination of spike frequency adaptation and synaptic short-term depression [24]. Similar to past computational works on neural replay [2931], HIP in our model thus relies on a combination of excitatory attractor dynamics and a self-inhibitory fatigue mechanism to cycle through different memory patterns [32]. During Sleep replay, plastic connections from HIP to both neocortex (CTX) and basal amygdala (BAN), formed during prior learning, co-activate those regions’ corresponding context representations [6].

During Recall, HIP activity converges towards the engram of the ‘learned’ context that is most similar to the current environmental input. Input features of the current environment are compared to those associated with the activated HIP engram via a feedback circuit involving the entorhinal cortex (EC; S1 Fig) [11,33,34]. If input and HIP engram match, the model attempts to retrieve an associated fear response via HIP → BAN synapses. Otherwise (i.e., if HIP does not recognize the current context), the model instead engages CTX → BAN synapses, relying on long-term cortical memory to determine if the current environment is associated with fear.

Neocortex (CTX).

Our model implements the transfer and transformation of context memories from hippocampus to neocortex (systems consolidation) for long-term storage [35,36]. Experimental evidence suggests that neocortical engram cells encoding a memory are selected during hippocampal memory formation, but initially lack sufficiently strong connections to be collectively reactivated by sensory cues alone [20]. In our framework, non-plastic synapses from SC to CTX determine the engram cells that go on to encode the current context during Perception, while plastic synapses from HIP to CTX are simultaneously strengthened. Therefore, when HIP replays context-specific engrams during Sleep, their CTX representations are reactivated and gradually consolidated via Hebbian plasticity. Simultaneously, slowly-evolving synapses from active CTX cells onto co-activated BAN cells are strengthened. As a result, associations between context and fear responses initially supported by HIP → BAN synapses progressively shift to stable CTX → BAN synapses over time (cf. Fig 2; [20]).

thumbnail
Fig 2. Dynamics of engram formation and replay in our model.

During Perception (left), groups of engram cells in HIP, CTX and BAN are activated by environmental inputs arriving from SC. Fast Hebbian plasticity (thick, dotted lines) strengthens the HIP and BAN engrams and forms excitatory connections from the HIP onto the CTX and BAN ensembles. Plasticity in (and extending from) CTX is slow (thin, dotted lines), not yet supporting later Recall. During Sleep, HIP independently replays stored engrams, co-activating its CTX and BAN counterparts. This allows the CTX engram to consolidate and to form connections onto the associated BAN engram. In this way, sleep replay drives the long-term retention of fear (and safety) memories in our model.

https://doi.org/10.1371/journal.pcbi.1013251.g002

Due to its denser activation patterns, CTX engrams overlap more strongly than their HIP counterparts, capturing shared features of remotely experienced environments [37]. Below, we demonstrate that this decrease in memory separation entails increases in fear generalisation over time [16,3840] (cf. Fig 5d).

Amygdala (BA & CeA).

Previous neural network models of context fear typically encoded the strength of fear associations directly in synapses connecting hippocampal engram cells to fear-promoting amygdala neurons [10,12,41]. A limitation of this approach is that transferring fear associations from hippocampus to cortex via replay becomes problematic: precise synaptic strengths would need to be copied or accurately reproduced across regions [19]. To address this, our model proposes that the magnitude of fear associations is instead encoded internally within the amygdala, specifically via context-specific amygdalar engram cells that recruit valence-coding neurons through intra-amygdalar synapses [20,42]. Thus, coordinated sleep replay only needs to associate cortical context engrams with corresponding amygdala engrams – a simpler task (cf. Fig 2).

In our model, when a prediction error occurs (i.e., a difference between the current aversive input (US) and the model’s fear response), recurrent synapses between active valence-neutral amygdala engram cells (BAN) are strengthened [43,44], providing BAN with a stable index of the current context. Depending on its sign, the error signal further drives a strengthening of synapses extending from this BAN engram onto separate populations of fear-promoting (BAP) or fear-inhibiting (BAI) cells [45,46]. In this way, valence-coding neurons can persistently become recruited into a context representation. Active BAP (or BAI) neurons drive the model’s fear response by exciting (or inhibiting) its single fear-output neuron, analogous to the central nucleus of the amygdala (‘CeA’) [47,48].

Recruitability

BAP cells that have become associated with many different contexts may, as a result, receive strong excitation even in entirely novel environments – leading to indiscriminate fear expression. To prevent this scenario, our model limits synaptic plasticity during each learning episode to a small, time-varying subset of valence-coding neurons. This modulation is controlled by a cell-specific factor termed ‘recruitability’ (). During fear or safety learning, the prediction error gating plasticity onto each valence-coding neuron (in BAP or BAI) is scaled by its current value. At any given time, is close to 1 for only a few cells, which are then more likely to undergo plasticity (Fig 3a).

thumbnail
Fig 3. Fear acquisition and synaptic homeostasis.

a) Fear acquisition: When a surprising US occurs, active (valence-Neutral) BAN engram cells, encoding the current context, become associated with fear. Left: Over the course of several time steps, synapses from the BAN engram onto fear-Promoting BAP cells are strengthened by various amounts (denoted by the different line weights). Right: The extent to which synapses onto certain P-cells are strengthened is mediated by those cells’ current recruitability (S2 Fig). In this example, the time window of US delivery (time step ) is shaded in red. P-cells 3 and (especially) 4, but not 1, are recruited – i.e., become associated with the current context – as the US signals coincide with their time windows of high recruitability. Synapses onto P-cell 2 are strengthened to some, limited extent as random noise has raised its recruitability for a single time step during conditioning. b) Cubic growth model: The differential equation describing homeostatic changes applied to the strength of our model’s valence-coding synapses during Sleep, with (exaggerated) learning rate r = 1.4, extinction threshold A = 0.9 and recruitment strength K = 1.7. For , the strength stably converges to x = 0 or x = K, depending on whether its starting value x(0) lies above or below A. This rule gives rise to the synaptic changes from a) (Left) to c). c) Fear recall after sleep: When the conditioned context is encountered after a Sleep phase, synaptic homeostasis has acted on the synapses strengthened in a). Weak synapses have been pruned, whereas stronger synapses have been normalized towards an appropriate strength. See also Fig 7 and its discussion in later results.

https://doi.org/10.1371/journal.pcbi.1013251.g003

Our implementation of this mechanism (S2 Fig; cf. S2 Appendix) was computationally motivated, and it does not reflect a specific biological signal. Nonetheless, the brain likely employs various processes to regulate neuronal allocation [49]. For example, neurons expressing higher levels of the transcription factor CREB exhibit increased excitability and preferentially become assigned to newly formed memory traces [5052]. Our implementation reflects the finding that fear memories formed close in time to each other show greater neural overlap [51,52]. Although this finding also holds outside the amygdala – and for memories not related to fear [52,53] – we only apply the above recruitability mechanism to the valence-coding BAP and BAI regions. For simplicity, which cells form context-coding engrams in HIP, CTX and BAN depends entirely on the features of the context presented during memory formation.

Homeostasis.

The synaptic homeostasis hypothesis proposes that sleep globally weakens synapses to preserve functionally meaningful connections [54]. Experimental evidence confirms that synaptic homeostasis during sleep is selective, preferentially weakening synapses that are already weak, while relatively preserving stronger ones, as observed in sensory and motor cortices [55,56]. Within the amygdala, sleep-dependent synaptic adjustments appear spine-type- and subregion-specific, though their precise functional implications remain unclear [57]. Nevertheless, these observations are intriguing given that sleep deprivation increases amygdala reactivity [58] and may facilitate future fear acquisition [59]. These findings raise the possibility that disruptions of synaptic sleep homeostasis promote amygdala hyperexcitability, contributing to maladaptive fear sensitization and generalisation – phenomena central to pathological anxiety [60].

In our model, synaptic homeostasis at connections onto valence-coding amygdala cells ensures adaptive fear learning. For valence to be stably associated with a context, synapses between context engram cells (BAN) and valence-coding cells (P- or I-cells) typically require repeated strengthening over multiple subsequent simulation steps during Perception. Although slow fluctuations in cell-specific recruitability promote the recruitment of specific neurons in specific conditioning events, random noise occasionally produces transiently high recruitability in some cells for a single time step (Fig 3a). This can produce partially strengthened, functionally ineffective synapses that do not reflect stable context-valence associations. Unregulated, such incidental synaptic changes could accumulate, resulting in inappropriate fear responses or accelerated acquisition (interpreted as non-associative fear sensitization [22]). Furthermore, excessively strong synapses could lead to inappropriate fear generalisation, as will become clear in later results.

To mitigate these issues, we implemented a synaptic homeostasis mechanism modelled via a cubic growth function. Although cubic growth has not previously been proposed as a biological model of synaptic change, our implementation reflects general experimental observations: during sleep, weak or incidentally strengthened synapses are preferentially pruned, while strong synapses are relatively preserved [55,56] and may even be strengthened [61,62] (Fig 3c).

In our model, synaptic sleep homeostasis is only applied to synapses onto the valence-coding BAP and BAI modules, where it affects fear expression. In reality, biochemical mechanisms protecting specific synapses from degradation may play key roles more broadly, for instance for the retention of long-term memories [63].

Results

In the following, we demonstrate our model’s behaviour across a range of simulations that target different facets of fear memory formation, consolidation, and retrieval. All simulation protocols are provided in S3 Appendix. A full list of the model’s default parameter values is given in Table C of S1 Appendix. Unless stated otherwise, these values are consistent across all reported simulations.

Context engram formation, replay and recall

In Perception mode, the activity patterns of our model’s engram modules HIP, CTX and BAN depend on the features of the current environmental input. All three modules are capable of storing their activity patterns by strengthening excitatory synapses between co-active units, which thereafter form an engram that may be re-activated in Recall mode. Fig 4a illustrates the dynamics of engram formation in a context presented for 50 time steps. HIP swiftly formed a strongly connected engram, whereas CTX advanced much more slowly. BAN was able to form an engram very rapidly, but only did so once a surprising US was delivered. At the same time, the model formed synapses from active HIP- to active CTX- and BAN units, which would lay the foundation for coordinated replay across all three regions in a subsequent Sleep phase.

thumbnail
Fig 4. Mechanisms of context/fear memory formation.

a) Engram formation: Encoding strength (net synaptic weight between active engram cells, normalized by their total outgoing weights) of a novel context, presented for 50 time steps, in HIP, CTX, and BAN. US inputs occurred on the last 30 time steps. HIP rapidly formed context engrams; BAN did so after the first US; CTX learned slowly. Results were averaged over 10 simulation runs. Shaded regions denote standard deviation (SD) across runs. b) Sleep replay: Distance between original context patterns and neural activity during Sleep in HIP, CTX, and BAN following sequential exposure to 10 novel contexts. In contexts 6 to 10, US signals were delivered. Blue indicates replay of stored engrams. All contexts were replayed in HIP and CTX; BAN replay was limited to contexts paired with aversive stimuli. The distance measure was borrowed from Greve et al. [68]. c) Recall performance: Percentage of contexts successfully recalled by HIP, CTX, and BAN as a function of days since initial encoding. HIP reliably retrieved recently, but not remotely, perceived contexts. CTX was most likely to recall contexts encoded several days ago, reflecting sleep-dependent consolidation. Compared to HIP, CTX featured a recall curve with a lower peak, but flatter drop-off, indicating a more selective, more durable, storage strategy. BAN recalled contexts when supported by either HIP or CTX. Curves were averaged over 100 runs, with 4 contexts assessed per run and day. Shaded regions denote SD on the percentage of recalled contexts across runs. d) Acquisition and extinction: Fear acquisition and extinction dynamics. In each of 30 simulation runs, a context was presented for 70 steps, with US inputs delivered only during the first 20. The model acquired fear quickly (via BAP activation), which was slowly extinguished following removal of the US through gradual activation of BAI cells. BAN → BAI synapses began growing in strength as soon as the US signals were removed, but fear did not decrease until – after a delay – the first BAI cells became active. Shaded regions denote SD across runs.

https://doi.org/10.1371/journal.pcbi.1013251.g004

Such sleep replay is illustrated in Fig 4b. This plot demonstrates the hippocampal replay of 10 contexts, previously shown to the model, over the course of a Sleep phase. Whenever HIP replayed a context, the corresponding CTX pattern was co-activated. BAN participated in this coordinated replay only for contexts for which it had formed an engram – i.e., those which had been paired with US signals (contexts 6–10). Qualitatively, this aligns with the observed participation of the amygdala during the hippocampal replay of recent, threatening experiences in rats [9].

In our simulations, the default duration of Sleep is 165 time steps. As a functional abstraction, we leave the duration of an individual time step indeterminate. In reality, hippocampal replay is primarily observed during sharp-wave ripple events, which last tens to hundreds of milliseconds and occur dispersed throughout sleep [64,65]. In the following simulations, days refer to time windows the model spends in Perception and/or Recall mode (one or several experimental sessions). Days are interleaved with blocks of Sleep.

During Sleep replay, Hebbian plasticity drives the strengthening of synapses between the CTX and BAN engrams of emotionally salient contexts. This allows the BAN ensemble to be recalled even after the corresponding HIP engram is forgotten. The recall performance of our three engram modules is demonstrated in Fig 4c. In this simulation, the model perceived three novel contexts on each of 25 days, intermitted by Sleep phases. Each context was joined by light US signals to engage plasticity in BAN. To assess the model’s ability to remember each context, it was ultimately placed in Recall mode. Each of the 75 original input patterns was ‘blurred’ (10% random masking) and presented to the model for one time step. If, after 30 time steps without further inputs, a module’s activity matched the original memory trace (within some margin of error), recall was ‘successful’. HIP consistently recalled recent contexts but failed to retrieve context memories older than approximately 10 days. In contrast, CTX’s ability to recall contexts initially increased over time, rising steeply after one night of sleep and peaking three to five days post-encoding. The initial rise reflects ongoing consolidation of CTX engrams driven by hippocampal sleep replay. BAN, receiving inputs from both HIP and CTX, successfully recalled contexts as long as at least one of these regions had retained the associated memory.

In summary, replay of recently formed HIP memory traces during Sleep co-activates associated CTX and BAN engrams. Hebbian plasticity strengthens the CTX engram’s synapses and links it to the co-activated BAN trace. After one or several such replay events, this mechanism allows the Recall of that context’s BAN engram, when cued with a relevant input, even if the initial HIP encoding has grown too weak to be retrieved.

Fear acquisition and extinction

For our model to explicitly associate a context with fear (or safety), it must form a BAN engram for that context, attach it to the corresponding HIP trace, and learn excitatory synapses onto fear-promoting BAP (or fear-inhibiting BAI) cells. Fig 4d shows a simple simulation of fear acquisition and extinction in the same environment. When a context was repeatedly paired with a US, the model rapidly developed a fear response by recruiting BAP cells. Once the aversive stimulus was removed, continued exposure to the conditioned environment gradually strengthened BAN → BAI synapses until, after a delay, this caused fear to be extinguished.

Our choice of modelling fear extinction through the recruitment of fear-inhibiting neurons, downstream of the encoding for the fear association, was informed by neurobiological findings [45,46] and the observation that – at least during early stages of extinction [66,67] – the brain primarily silences learned fear associations but initially does not erase them. Phenomenologically, this is also evidenced by the spontaneous return of previously extinguished fear, as well as context-dependent fear renewal effects – which our model reproduces, as outlined in the following section.

Fear renewal and generalisation

In our model, fear (or safety) associations can generalize because contexts with shared input features receive overlapping engrams in HIP, CTX and – in particular – BAN. Hence, valence-coding cells linked with a conditioned context may become active when a similar environment is presented in Perception or Recall mode – if the input they receive from BAN cells shared between the contexts is sufficient (cf. Fig 5a). In reality, fear extinguished in one environment often returns when encountering a novel, but similar context. This context-dependent return of fear is called fear renewal. According to a common interpretation, this occurs because extinction memories are more context-specific than fear memories [69].

thumbnail
Fig 5. Results on fear generalisation.

a) Generalisation schema. Fear conditioning in context ‘A’ strengthens synapses between its engram and cells, activating the latter. In a similar context ‘B’, some of these BAN cells are active, exciting the same cells. Whether these become active, causing fear to generalize, depends on the margin by which their activation threshold was exceeded in context ‘A’ and on the overlap of the two engrams. b) Generalisation gradients. After fear acquisition and extinction in context ‘A’, red dots denotes the fraction of active BAP-cells (top), of active BAI-cells (center) or the magnitude of the CeA output (bottom) when the model meets a context whose feature overlap with ‘A’ is shown on the x-axis. Plots were averaged over 10 runs. Fear renewal is likeliest to occur when the model is placed in a context moderately similar to ‘A’. c) Renewal paradigms. From top to bottom, the figure shows the activity of our model’s CeA cell when subjected to the ABA, ABC and AAB fear renewal paradigms, as described in the main text. Plots were averaged over 10 runs. d) Fear generalisation increases over time. After fear conditioning in context ‘A’, fear expressed in a similar, unconditioned context ‘B’ increases as days pass. In a dissimilar context ‘C’, no fear is expressed, showing that the increase in ‘B’ is associative. The dotted ‘Recall score’ (F1 measure) quantifies how accurately the HIP engram retrieved when observing context ‘B’ in Recall encodes its true input features (S1 Fig) – it is inversely proportional to fear expression in ‘B’, indicating the generalisation increase is tied to use of the CTX → BAN pathway for Recall. Curves were averaged over 50 runs. In panels b, c and d, shaded regions denote SD across runs.

https://doi.org/10.1371/journal.pcbi.1013251.g005

We captured this asymmetry by assigning higher activation thresholds to fear-inhibiting (I-) cells compared to fear-promoting (P-) cells. Our model’s Hebbian learning rule places an upper bound on the strength of any synapse [24]. This allowed us to tune the model such that BAI neurons, when they are recruited, remain just slightly above their activation threshold. Hence, after moving to a similar but different context, they are unlikely to stay active. In contrast, during fear learning, plasticity on some synapses may continue after the postsynaptic cell has become active, as long as a prediction error persists. The excess excitation received by those BAP cells later causes them to activate even in moderately similar contexts.

To illustrate this, we trained the model on fear acquisition followed by extinction in a specific context (‘A’). Subsequently, we assessed the activation of P- and I-cells when the model encountered contexts with varying degrees of similarity to ‘A’ (Fig 5b). Contexts with x% similarity to ‘A’ were generated by fixing a random x% of its 50 input features and independently re-sampling the remainder. As intended, I-cells recruited during extinction required contexts to be highly similar (above 80% input overlap) to become reactivated. In contrast, P-cells could reactivate in contexts with as little as 50% input overlap with ‘A’, causing fear responses to generalize broadly. These dynamics led to realistic patterns of fear renewal across classical ABA, ABC, and AAB protocols, in which fear is first acquired (in context ‘A’), extinguished (in ‘A’ or ‘B’), and tested for renewal (in ‘A’, ‘B’, or a novel context ‘C’; Fig 5c). Notably, renewal magnitude followed the order ABA > ABC > AAB, in line with experimental observations [21,70]. In all cases, extinction in renewal contexts occurred faster than initial extinction, reflecting sub-threshold excitation accumulated onto I-cells during prior extinction learning [71,72].

Our model also captures increases in fear generalisation over time, consistent with experimental reports [16,3840]. This emerges naturally through the transition from HIP- to CTX-dependent recall. Immediately after fear acquisition in context ‘A’, exposure to a moderately similar but harmless context ‘B’ initially does not elicit significant fear. After a single Sleep phase, fear expression in ‘B’ even ceases entirely (cf. Fig 7). However, as the context memories consolidate over time and retrieval increasingly relies on cortical representations - less sparse and more overlapping than their hippocampal counterparts [18], fear expressed upon Recall of context ‘B’ gradually increases (Fig 5d). This occurs because the cortical engram for context ‘A’ becomes partially activated when remotely recalling context ‘B’, thereby activating portions of the conditioned BAN engram. Importantly, because BAN forms specific engrams only for contexts linked with prediction errors during Perception, systems consolidation selectively increases fear expression in context ‘B’ without diminishing fear recall in ‘A’. Our model thus aligns with the experimental observation that fear generalisation increases over time due to decreased memory specificity upstream of the amygdala—yet crucially, the original fear memory itself remains robustly recallable, consistent with empirical findings [40,73,74].

Fear extinction in multiple contexts

Fear extinction is thought to be the primary mechanism underlying exposure therapy for anxiety disorders [75]. Correspondingly, fear renewal poses a major challenge to clinicians [76], and potential strategies for preventing it are of great clinical interest [77]. Out of the protocols introduced in the previous section (Fig 5c), ABC renewal is particularly relevant to exposure therapy. That is because, generally, neither fearful reminders in the clinic, nor those that may later spark fear renewal, quite match the context in which fear was originally acquired [78].

Here we asked whether distributing extinction across multiple contexts is helpful for suppressing ABC renewal in our model – a strategy that has previously been proposed [7880]. To this end, we compared two protocols matched for total duration of extinction training following acquisition in context A:

  1. single–context extinction in B (with 80% input overlap to A); and
  2. multi–context extinction in four independently sampled contexts (each with 80% input overlap to A).

Fig 6a shows the model’s average CeA output across the three phases; in the multi–context condition, fear at the onset of testing in C was lower than in the single–context condition. In other words, fear extinction generalized better to the novel context when it was repeated in several contexts to which fear had generalized.

thumbnail
Fig 6. ABC Renewal with extinction in multiple contexts.

a) Multi-context extinction suppresses renewal of conditioned fear. Each panel shows the average CeA output across acquisition (context A, blue), extinction (B, red), and renewal (C, green) phases. Top: Single-context extinction protocol () with 80% input overlap between A and B, as well as between A and C. Bottom: Multi-context extinction (), where each Bi, as well as C, shares 80% overlap with A. Shaded regions show ±SD across runs (n = 10). In the multi-context condition, fear expression (CeA activity) at the onset of testing in C is significantly lower than after single-context extinction, suggesting that distributing extinction across several similar but non-identical contexts can reduce fear renewal. b) Fear renewal in C as a function of similarity. We performed the multi-context renewal paradigm from subplot a), varying the input overlaps and . Different lines correspond to different values of ; points represent means across (n = 50) runs; shaded bands denote . The rightmost points () correspond to extinction in A. Generally, distributing extinction across multiple contexts lowers fear renewal in C. For renewal contexts very similar to A, using a set of Bi that share a large overlap with A is most effective. However, as the similarity between A and C decreases, introducing greater differences between A and the Bi becomes beneficial, since additional variation in the Bi allows extinction to generalize more broadly. In the lowest similarity condition (), renewal is moderate, but unaffected by extinction training, as the Bi are too dissimilar from C for extinction to generalize.

https://doi.org/10.1371/journal.pcbi.1013251.g006

Here, this effect occurred because, when our model entered the second, third or fourth extinction context, there generally was some return of fear. These spikes in prediction error, which did not occur in the single-context protocol, caused an additional strengthening of BAN → BAI synapses, for those BAN cells shared between different extinction environments. In turn, stronger BAN → BAI synapses meant that BAI cells were more likely to activate in the novel context C.

Next, we varied the similarity while holding fixed at 80%. An intermediate similarity ( 0.80–0.85) minimised renewal in C (Fig 6b; S3 Fig). Intuitively, if the Bi were too similar to A (), it was as if extinction had been performed exclusively in A – allowing fear renewal, as in the AAB protocol. If A and the Bi were too dissimilar, the BAN engrams of the extinction contexts did not share a sufficient overlap – amongst each other, nor with C – to cause a compounding effect that would have allowed extinction to generalize.

Fig 6b further shows the impact of varying for . Interestingly, when acquisition and renewal contexts were more similar, fear renewal was easier to prevent, and larger values of became ideal for achieving this. On the other hand, for or 0.7, there was only moderate fear expression in context C – which, however, was impossible to abolish entirely using the present protocol. No matter which overlap was chosen, extinction did not generalize to C.

The above results should not be taken as precise quantitative predictions, since they depend on parameter choices controlling, e.g., BAP/I generalisation gradients, as well as on our definition of ‘context similarity’ (cf. Methods: Model description). Nonetheless, an interesting suggestion is that the similarity among acquisition, extinction and renewal contexts can strongly affect the efficacy of distributing fear extinction across multiple contexts. To illustrate the intuition behind this prediction, independently of implementation details, we reproduce the qualitative shape of the curves in Fig 6b (for ) using a toy model, in S1 Text. These considerations may be important for reconciling mixed results on the benefit of multi-context extinction [81,82].

Sleep homeostasis

Besides memory consolidation, sleep in our model plays a critical role in maintaining synaptic homeostasis within the fear circuitry. In any fear conditioning event (say, in context ‘A’), synapses from active BAN cells onto fear-promoting (P-) cells are strengthened to varying degrees, modulated by each P-cell’s current recruitability (Fig 3a, S2 Fig). If the model later encounters a novel, similar context ‘B’, any P-cell receives a fraction of the excitation it did in context ‘A’ (Fig 7a,b). Even if the most strongly innervated P-cells initially remained below activation threshold, their subthreshold excitation would bias the model towards recruiting the same cells again to rapidly acquire fear in context ‘B’, should a mild aversive event occur. If this consistently occurred in several environments, this cascading bias would soon cause the activity of the affected P-cells to generalize to a very broad range of contexts.

thumbnail
Fig 7. Histograms of the summed strength of afferent synapses from active BAN units over all P-cells.

The red lines symbolize the least amount of excitation a P-cell must receive to become active. Histograms were computed: a) at the end of fear acquisition in context ‘A’. BAP cells falling on the right of the red line are active, sparking fear. b) upon being immediately placed in an unconditioned, vaguely similar context ‘B’. The BAP cells that were most strongly innervated in ‘A’ are active – expressing some generalized fear. c) upon revisiting context ‘A’ after a Sleep phase. The amount of fear expressed has not changed relative to a) but – thanks to homeostatic synaptic adjustments during Sleep – no BAP cell receives much more excitation than needed to be activated. d) upon revisiting context ‘B’ after a Sleep phase. Fear is no longer expressed in this unconditioned context. A selective normalization / partial reversal of recently strengthened fear-coding synapses in amygdala circuits during Sleep is thus posited to underlie decreases in the generalisation of freshly learned fear associations [83].

https://doi.org/10.1371/journal.pcbi.1013251.g007

While enhanced fear learning after stressful experiences is plausible [22,23], unchecked, the above effect may eventually cause indiscriminate fear expression. Addressing this is one role of our synaptic homeostasis mechanism (cf. ‘Methods: Model description’) – it depresses excessively strong synapses onto P-cells, thereby lowering the tendency of their recruitment to generalize. As illustrated in Fig 7c-d, this homeostatic adjustment reduces the net innervation of ‘recruited’ P-cells in context ‘A’ towards a stable intermediate range, limiting associatively generalized fear in ‘B’. Additionally, the same homeostatic process also prunes weak synapses onto P-cells, to prevent a non-associative buildup of excitatory inputs over time – an effect we further examine in the following.

Sleep deprivation.

Insomnia—a chronic difficulty in falling or staying asleep—is common across anxiety disorders [84,85]. In the aftermath of traumatic events, sleep disruption is a strong predictor of later PTSD, though causal links have remained unclear [86,87]. Fear conditioning studies have pointed at ways in which sleep omission may exacerbate fear memories. For instance, sleep between sessions has been shown to counteract sensitization to experimental stressors [86,88,89], and sleep deprivation may enhance fear expression in both rats [90] and humans [83,91]. In contrast, other studies have proposed deliberately avoiding sleep in the aftermath of trauma, as a means of interfering with memory consolidation and preventing later PTSD [92,93]. Clarifying the involved neural mechanisms will be key for reconciling these lines of evidence.

In our model, sleep offers protection from fear sensitization – exaggerated fear learning and expression – by driving a regular pruning of weak synapses. This process limits the accumulation of redundant synapses, which may form as a byproduct of fear conditioning or in response to negligible US signals. Our framework thus suggests a role of sleep in moderating the synaptic density of the amygdala fear circuit and, with it, an individual’s tendency towards fear acquisition and expression.

To demonstrate this prediction, we designed a simulation that mimics daily experiences alongside sleep-induced synaptic homeostasis. Over seven days, the model encountered three novel contexts each day, paired with moderate US signals. Between days, the model underwent a Sleep phase. On the eighth day, the model was briefly exposed to a novel context, receiving a US (of strength 0.75) for three consecutive time steps, after which its fear response was recorded. Repeating this protocol while systematically reducing the duration of the Sleep phases revealed that shortened sleep resulted in fear sensitization. Fear acquisition in the novel context was accelerated (Fig 8a), accompanied by net increases in synaptic weights (Fig 8b).

thumbnail
Fig 8. Effects of chronic sleep deprivation Instances of the model were subjected to 7 days filled with exposure to various contexts, joined by US signals of random, generally low, strength.

At the end of the simulation, the model’s fear response was assessed, after the brief exposure (3 time steps) to a moderate US signal (strength 0.6) in a novel environment. a) Instances of the model whose daily Sleep duration was systematically decreased (by a fraction of or 100%) acquire a greater fear response in the novel environment, on average. b) Sleep deprivation is further accompanied by net increases in the strength of synapses from context- onto fear-coding BA cells, measured at the end of the simulation protocol. While increases in fear acquisition only occurr after relatively drastic decreases in Sleep length, the average synaptic density increases more linearly. In both plots, dots denote the mean, shaded regions one standard deviation across 30 runs of the simulation.

https://doi.org/10.1371/journal.pcbi.1013251.g008

To illustrate that Sleep’s impact on future fear acquisition is mediated by our model’s homeostasis mechanism, we repeated the above procedure for several variants of our model, with altered parameters (cf. S2 Text). When we increased (decreased) the rate of homeostatic plasticity on synapses, fear acquisition was weakened (strengthened) for all Sleep durations, without disrupting the monotonic relationship between Sleep length and fear sensitization. On the other hand, when we lowered the minimum strength a synapse must have to be consolidated rather than pruned by the homeostasis mechanism (the extinction threshold, cf. Fig 3b), extended Sleep durations enhanced acquisition – relative to the baseline model and to shorter Sleep durations, though not relative to a complete lack of Sleep. This indicates that Sleep’s de-sensitizing effect on fear acquisition relies on intact synaptic pruning.

In summary, our model predicts that sleep disruptions – especially after aversive experiences – favour net increases in amygdalar synapse density, promoting fear expression and accelerating future acquisition. This suggestion highlights synaptic sleep homeostasis as a potential mechanism linking sleep disruptions to anxiety symptoms in disorders such as PTSD [94,95]. With regard to the proposal of avoiding sleep in the aftermath of trauma, our model indicates that this strategy may, irrespective of any potential effect on memory consolidation, pose the risk of aggravating the event’s impact on the brain’s fear circuitry.

Stress-enhanced fear learning.

In the previous section, we demonstrated that depriving our model of Sleep disrupts synaptic homeostasis in the amygdala, allows weak synapses to accumulate and thereby favours a fear-sensitized state. Further, we noted that altering the model’s homeostasis rule, making BAN → BAP synapses less likely to be pruned, interferes with Sleep’s moderating effect on later fear acquisition.

In reality, synaptic pruning is influenced by a wide range of environmental and internal factors [96,97]. Of particular interest is the finding that psychological stress can interfere with processes of synaptic weakening in hippocampus and amygdala [98,99], perhaps linked with aberrant synthesis of the stress hormone noradrenaline (NE) [100]. In the following, we incorporate neural effects of psychological stress into our model, enabling it to reproduce several aspects of the experimental paradigm known as Stress-Enhanced Fear Learning (SEFL) [22,23].

SEFL describes the phenomenon whereby exposure to severe stress in one context (‘A’) subsequently enhances fear acquisition in an unrelated context (‘B’) compared to non-stressed controls [22]. Notably, enhanced fear occurs specifically when stress precedes—but not when it follows—mild fear conditioning [22], indicating a primarily non-associative fear enhancement effect rather than associative fear generalisation [23]. Empirically, extreme acute or chronic stress reliably induces lasting increases in long-term potentiation within the amygdala, potentially priming neural circuits for heightened fear learning and generalized fear responses [99,101,102].

We modelled such stress-induced disruptions by temporarily increasing the recruitability of fear-promoting (P-) cells, thus enhancing their likelihood of forming lasting associations with BAN context cells. Additionally, we lowered the extinction threshold of the homeostasis rule acting on BAN → BAP synapses, similarly favouring synaptic strengthening over pruning during Sleep. These parameter changes were activated only by prolonged exposure to sufficiently intense aversive events (cf. S2 Appendix), conditions that did not occur in our previous simulations, making the present results complementary and independent. After the cessation of extreme stress, parameters gradually returned to their default values over the course of around five simulated days.

We tested this implementation using a protocol designed to capture key elements of the SEFL paradigm [22,23]. First, the model was exposed to extreme stress (high-intensity US) in context ‘A’, followed by a Sleep phase. On the next day, the model underwent mild fear conditioning (brief, moderate-intensity US) in a novel context ‘B’, again followed by Sleep. Finally, fear recall in context ‘B’ was measured. Consistent with experimental observations, this protocol resulted in enhanced fear expression in context ‘B’ compared to unstressed controls (Fig 9a). The SEFL effect did not occur when extreme stress occurred one day after moderate fear conditioning (Fig 9b) – matching empirical findings [22] – because, in this case, the parameter changes neither affected acquisition in ‘B’, nor replay of ‘B’ in the subsequent Sleep phase. Furthermore, the enhancement of fear acquisition was persistent, which we assessed by interposing 15 Perception-Sleep cycles involving mildly aversive experiences between conditioning in contexts ‘A’ and ‘B’ (Fig 9c). Previously stressed animals still acquired more fear in context ‘B’ because, although the described increases in P-cell recruitability had vanished by the time of conditioning, the associated net increases in synaptic strength between and persisted throughout the simulation (Fig 9d). This result aligns with the experimentally observed long-lasting impact of traumatic stressors in rats [16].

thumbnail
Fig 9. Results on stress effects.

a) Stress-Enhanced Fear Learning (SEFL). Violin plots describe the magnitude of the model’s fear response to context ‘B’, following the SEFL protocol as described in the main text, across 30 runs – with exposure to ‘traumatic stress’ on the one hand and without (‘control’) on the other. The trauma group acquires stronger fear responses to context ‘B’ (3 time steps, US strength 0.6), showing fear sensitization. The plotted density estimates were cut at the empirical maximum/minimum across the 30 runs. b) SEFL does not occur if fear learning precedes stress. Same as a), but with the order of ‘traumatic stressor’ and ‘moderate US’ exposure reversed. Trauma exposure does not retrospectively enhance fear of context ‘B’. c) Stress enhances fear learning weeks later. Same as a), but with ‘moderate fear acquisition’ in context B carried out 15 Perception-Sleep cycles after traumatic stress. During the delay, the model meets various contexts (each paired with a US signal of generally low strength ). Both groups show increased fear acquisition after the delay, due to fear generalisation; the effect is stronger the trauma group. d) Stress raises the net strength of synapses. Blue and orange lines show the total change in the summed strength of synapses of the ‘trauma’ and ‘control’ model instances, since the time of trauma exposure. Red vertical lines denote, from left to right, delivery of the traumatic stressor, the approximate time by which the ‘trauma’ model’s parameters have recovered from stress, and delivery of the ‘moderate US’. Values were recorded at the end of each Perception and Sleep phase; both curves oscillate since Sleep promotes a synaptic weakening [103]. On average, the synaptic density of the trauma model shows a drastic increase on the day of the trauma, continues increasing over the following Perception-Sleep cycles, and remains far above that of the control model for the remainder of the simulation. Shaded regions denote SD across runs; variability results, e.g., from the random sampling of US signals over the course of the simulation.

https://doi.org/10.1371/journal.pcbi.1013251.g009

Thus, our model proposes a unified principle: impaired homeostatic pruning of amygdala synapses — whether due to sleep deprivation or severe psychological stress — may predispose amygdala circuits to maladaptive fear sensitization. Clinically, this hypothesis – if validated – would suggest that therapeutic or pharmaceutical interventions targeting either sleep quality or resilience to stress-induced homeostatic dysregulation could reduce vulnerability to pathological fear and anxiety disorders.

Discussion

In this paper, we proposed a biologically inspired neural network model of contextual fear conditioning (CFC) that integrates sleep-dependent memory consolidation. We posit neural replay during sleep to be the driving mechanism behind the transfer of fear associations from hippocampal-amygdalar to amygdalo-cortical circuits. By assuming that cortical context representations overlap more strongly than hippocampal ones, our model naturally reproduces empirically observed increases in fear generalisation after CFC. In our simulations, the net synaptic strength between context- and fear-coding amygdala cells provided a heuristic for the model’s ‘fear sensitization’ – an overall tendency towards acquiring and expressing fear. Drawing on the synaptic homeostasis hypothesis of sleep, we argue that impaired synaptic weakening in amygdalar fear circuits, as might plausibly occur due to sleep disruptions or stress, could contribute to such sensitization. Below, we discuss evidence, predictions and limitations of our account of memory consolidation, synaptic homeostasis and its impairment under stress.

Sleep replay and circuits for fear memory consolidation

CFC experiments with rats have shown that forming a context-fear association involves the activity of memory-specific ‘engrams’ – cell populations later required for recall – in the hippocampus (HIP), medial prefrontal cortex (mPFC) and basolateral amygdala (BLA). Consistent with the standard model of systems consolidation [104,105], hippocampal engrams become functionally silent within two weeks [8,20]. In contrast, the mPFC engram remains silent while the memory is recent but matures in the weeks following its formation, eventually supporting remote memory recall [20,106108]. This strengthening of cortical synapses relies on sustained hippocampal inputs [20,109], supported, e.g., by hippocampal sharp-wave ripple (SPW-R) events that primarily occur at rest [110112]. Experimental manipulations indicate that mPFC-to-BLA projections become essential for memory expression approximately two weeks after CFC in rats and, notably, that the implicated BLA cells strongly overlap those previously targeted by HIP [20]. Consistent with this, recent findings have suggested a gradual strengthening of synapses between mPFC and BLA engram cells encoding a context-fear association, throughout the month following its formation [106]. Earlier studies had noted a strengthening of direct cortical-to-amygdalar synapses hours after learning [113,114].

Notably, the above time dynamics are specific to CFC. In contrast, the recall of fear associated with an elementary cue, such as an auditory tone, is independent from the hippocampus shortly after learning already, and engages a multisynaptic cortical-to-amygdalar pathway involving the paraventricular thalamus (PVT) [115,116]

Our implementation of Sleep replay in HIP, driving systems consolidation by reactivating newly formed long-term memory patterns in CTX, was adopted from Fiebig & Lansner (2014) [18]. The postulate that hippocampal replay during offline periods serves the role of ‘instructing’ the neocortex in this manner, transferring the responsibility of driving memory recall, is a longstanding tenet of the standard two-stage model of memory [117]. Since recalling a memory involves neural activity in a wide network of brain regions, it can be assumed that cortical-to-subcortical synapses must be strengthened as part of this memory reorganization [118]. This understanding, together with the evidence outlined above, informed our model of contextual fear memory consolidation. We assume that, in CFC, neuromodulation driven by prediction errors allows the amygdala to form a recurrently connected engram, which attains a valence by recruiting fear output neurons. This engram is initially tied to the hippocampus, and must be co-activated with neocortical engram cells to preserve the conditioned fear association. A test of this mechanism, within a CFC paradigm, would involve identifying the post-learning window during which co-activation of engram cells in neocortex and amygdala emerges. A next step may be to optogenetically disrupt plasticity in cortico-amygdalar pathways [119], or to selectively prevent reactivation of the amygdalar engram in this time window [7]. Our model predicts that this would reduce fear expression during recall tests at remote, but not recent, time points, without preventing recall of the conditioned context itself.

Sleep replay and fear memory consolidation: Limitations

Although coordinated hippocampus-mPFC-amygdala activity after fear learning has been reported [9,120], temporally precise, across-region engram co-activations during sleep have not yet been demonstrated. The true dynamics of cross-regional replay are more complex than our model can account for, involving, e.g., nested or rapidly alternating (‘flickering’) hippocampal replay patterns during sleep [121]. Relaxing the assumption that hippocampal and amygdalar patterns are reactivated synchronously may naturally account for memory-linking effects, whereby neutral memories formed close in time to an aversive event, but in a different context, gradually acquire negative valence [122]. For instance, this may hold if hippocampal ‘flickering’ could cause a BA ensemble to co-activate with distinct HIP engrams in quick succession. Memory linking may also relate to an increased neuronal overlap between hippocampal memories formed close in time [52,123,124], which could be explained by a neuron-specific mechanism similar to our model’s ‘BAP/I cell recruitability’.

Clarifying the temporal organization of cross-regional replay and the synaptic mechanisms underlying systems consolidation remain key goals for future experiments. Regarding timescales, our replay implementation after Fiebig & Lansner (2014) assumes that several recently formed hippocampal memories are reactivated within a ‘night’ [18] – with each replay event lasting several simulation steps, but leaving the time step duration indeterminate. This is a functional abstraction; we do not model the oscillatory dynamics that may orchestrate these replay events (e.g., sharp-wave ripples [9]), nor the temporal arrangement of hundreds of these events over the course of Rapid Eye Movement (REM) [125] and slow-wave sleep [126].

Further, it should be noted that the ‘standard theory of memory consolidation’ – to which our model subscribes by positing that transient, hippocampal memory traces guide the strengthening of persistent, neocortical representations – has recently been scrutinized (cf. [127] for a detailed review). For instance, future models may reconsider our simplistic assumption that consolidation is unidirectionally driven by and synapses. A feedback mechanism could, e.g., be used to account for reconsolidation; a cognitive process relevant for exposure-based therapies [128]. In short, reconsolidation describes a process in which recalling a (cortical) long-term memory re-engages hippocampal circuits, temporarily rendering the memory modifiable before it is restabilised [129].

Similarly, there is a range of findings hinting at computational roles for projections from the amygdala to the hippocampus [130], which our model does not account for. For instance, the hippocampus does not only encode an animal’s environmental-, but also interoceptive context [131] and internal-state cues can indeed serve as conditioned stimuli for fear conditioning [132]. feedback may further be hypothesized to contribute to the enhanced storage of emotional memories [133], e.g., by biasing hippocampal sleep replay towards memory traces associated with harm [9].

Moreover, replay in the biological brain is not exclusively hippocampal, but has been found to occur independently, e.g., in the dorsal striatum [134] and visual cortex [135]. In relation to this, we should note that, while cortical memory traces in our model decay at a much slower rate than hippocampal ones, they are not eternal (cf. Fig 4c). Hence, our model would predict that cortical traces, too, need to be occasionally replayed, though with less temporal urgency, to be permanently retained. Neural replay in memory systems beyond the hippocampus is an intriguing possibility [136]. It may protect synaptic engrams from degradation in conjunction with other, biochemical positive feedback loops for, e.g., sustaining protein activation or synthesis [63,137].

Sleep homeostasis, stress and fear sensitization

Many existing neural network models of CFC rely on synapses connecting context-coding neurons, activated by environmental inputs, to valence-coding neurons driving defensive responses [10,11,19,41,138]. Although the assumption that context- and valence-coding neurons form distinct, clear-cut populations is likely an oversimplification, it provides a valuable conceptual framework for understanding how fear associations are stored.

To investigate aspects of fear memory consolidation, some simulations in the present paper extend over several weeks, during which our model perceives a range of different environments. Thus, the model had to be able to associate valence with a relatively large number of contexts in parallel, with little interference. To enable this, our model distinguishes itself from its predecessors by including larger populations of valence-coding cells, different subsets of which are recruited at different times [139].

A central tenet of the synaptic homeostasis hypothesis of sleep is that synaptic strengths accumulated during waking experiences undergo global down-regulation during subsequent sleep periods [54]. Evidence from cortical circuits suggests that this down-regulation preferentially prunes weak synapses while preserving stronger, functionally significant connections—potentially normalizing their strength rather than eliminating them [55,56].

Here, we have applied these principles to the synapses encoding context-fear associations in our model. The form of our model’s fear circuitry, with the strengthening of valence-coding synapses based on an oscillating, postsynaptic recruitability factor, implied two computational roles that can be carried out by a synaptic homeostasis mechanism:

Normalizing strong synapses prevents excessive fear generalisation.

In our simulations, synapses linking context-coding cells to fear-coding neurons form with varying strengths influenced by existing synaptic weights, cell-intrinsic recruitability, and the intensity of aversive experiences (cf. Fig 7a). In particular, synapses that become part of two separate fear associations tend to grow stronger than required for the recall of either one. Within our framework, the strongest of these synapses promote maladaptive fear (over)generalisation by driving postsynaptic activity with little specificity. Sleep-dependent synaptic homeostasis may play a key role in this regard, keeping the strength of fear-coding synapses in check.

Regular pruning prevents build-up of synaptic strengths.

Our simulations further predict that regular pruning of weak, functionally insignificant synapses in amygdalar fear circuits – formed as a by-product of fear learning, e.g., due to spikes in recruitability, or caused by benign daily experiences – is critical to avoid cumulative increases in net synaptic strength. Without this pruning, fear-coding neurons may receive a gradually increasing amount of ‘baseline excitation’ in any unconditioned context. Consequently, new fear associations may form more rapidly and be expressed more strongly, even in the presence of merely moderate threat signals.

Sleep deprivation—whether acute or chronic—increases amygdala reactivity to negative emotional stimuli [58,140142]. In humans, this effect is associated with emotional hyperreactivity and is commonly attributed to impaired top-down regulation by the mPFC. Consistent with this, sleep deprivation prior to fear conditioning experiments has been linked with increased fear expression during training and accelerated fear acquisition [90,143]. We hypothesize that sleep regulates future emotional reactivity, including fear expression, by decreasing synaptic strengths in excitatory input pathways onto amygdala cells responsive to aversive stimuli.

Both rodent and human studies further support the prediction that sleep omission in the immediate aftermath of fear conditioning impairs the behavioural discrimination between conditioned and safe stimuli (or contexts) [83,144146]. In our model, as per Fig 7, the beneficial effect of sleep in this regard relies on a normalization of synapses implicated in recent fear learning events – and a pruning of redundant synapses – consolidating learned associations to support robust recall, while limiting maladaptive generalisation. It is hypothesized that low levels of certain neuromodulators (e.g., noradrenaline, serotonin and histamine) are crucial for synaptic weakening during sleep [54]. Our model thus yields the testable hypothesis that augmenting these neuromodulators overnight should reproduce effects similar to sleep deprivation, enhancing subsequent fear acquisition or reducing the specificity of learned associations.

Notably, psychological stress is known to enhance the release of noradrenaline and has been shown to promote long-term potentiation (LTP) relative to long-term depression (LTD) within the amygdala [99,147,148]. In line with the above, chronic stress in the days and weeks before fear conditioning experiments has indeed been linked with heightened excitability in amygdala circuits and enhanced fear acquisition [149,150]. Although acute stress caused by ongoing experiences similarly increases amygdala excitability, suggesting a direct influence of the noradrenergic system on emotional reactivity [151], our model further predicts that stress drives persistent plastic changes in amygdala fear circuits by disrupting overnight processes of synaptic weakening. Within our framework, synaptic net increases in pathways providing excitation to fear-coding neurons may manifest as a form of context-independent fear sensitization during future fear learning. They can be long-lasting as, once consolidated, synapses whose strength has accumulated under stress would not be homeostatically pruned once stress ceases.

In summary, our model suggests that psychological stress impairs fear regulation by disrupting a sleep-dependent synaptic weakening in amygdala fear circuits. If experimentally confirmed, this mechanism could explain how acute stress can persistently alter fear expression and learning, potentially clarifying one pathway by which stress exposure increases vulnerability to anxiety or trauma-related disorders in susceptible individuals.

Conclusion and future directions

Here we have presented a neural network model for the formation and consolidation of associative context-fear memories. Our model suggests that the maturation of a cortical–amygdalar engram for the remote recall of contextual fear memories [20] relies on simultaneous co-activation of cortical and amygdalar engram cells, driven by hippocampal replay events during sleep. The model further predicts that the long-term evolution of an aversive memory depends on whether the involved amygdalar synapses are stabilised or pruned during offline memory consolidation. We hypothesize that a stress-induced failure of synaptic pruning in the aftermath of a fear learning event favours the accumulation of synaptic strengths in amygdala circuits and may thereby contribute to a chronic fear-sensitised state.

By incorporating sleep-dependent consolidation processes, our model expands on existing computational models of fear learning and provides clear hypotheses for experimental validation. Clarifying the putative links between psychological stress, disruptions in synaptic homeostasis, and subsequent emotional sensitization is a task with clinical relevance. For instance, heightened fear sensitization, excessive generalisation, and inflexible emotional learning—potentially resulting from saturation of synaptic plasticity [152]—are hallmark symptoms of PTSD [102,153,154]. These symptoms frequently co-occur with chronic sleep disruptions, particularly in REM sleep [86]. Relevant to this, the noradrenaline-producing locus coeruleus (LC) is known to be hyperactive in PTSD [155], potentially mediating hyperresponsiveness to threatening stimuli [156]. LC projections to the amygdala are amplified by psychological stress [157], and their absence during healthy REM sleep likely facilitates critical processes of synaptic weakening [103,158].

Given its broad scope, the current model implements several processes—including synaptic homeostasis, stress-induced plasticity changes, and neuronal allocation—at a relatively high level of abstraction. Future computational studies can leverage this qualitative framework to explore specific biological mechanisms more deeply, including neuromodulatory dynamics (e.g., noradrenergic modulation via the LC), cellular-level plasticity mechanisms, and molecular pathways underlying synaptic homeostasis. Addressing these detailed mechanisms is critical, as the neural underpinnings of fear memory processing and their dysfunction in neuropsychiatric disorders remain sparsely understood. Increasing biological specificity in computational models will facilitate the generation of experimentally testable predictions, enhance interpretation of empirical findings, and support the development of targeted interventions. Pursuing these directions is essential for bridging computational neuroscience with clinical advances in treating fear-related disorders.

Supporting information

S1 Fig. Memory formation and recall in HIP.

Any engram formed in the HIP module becomes associated with a pattern in the EC output layer, equal to the input pattern that led to its formation. Dotted arrows denote plastic synapses being strengthened. When the engram is retrieved by the same (or a sufficiently similar) cue, the original input pattern is activated in the output layer and observed to match the current input. In more detail: During Perception, the context-defining activity pattern of the EC input module (ECin) is copied to ECout, and synapses between HIP and ECout are rapidly strengthened. During Recall, the direct projection from input- to output layer is switched off, but the gain of the HIP-to-ECout connection is switched on. If a memory was recalled, ECout should therefore contain the pattern that was present when that memory was formed, while the activity of ECin depends on the current sensory input. An F1 score is computed between ECin and ECout pattern; if it exceeds a certain threshold, recalled and current context are said to match. If a mismatch is detected, inputs from HIP to BAN are switched off and the responsibility of retrieving a BAN representation for the current environment falls to CTX.

https://doi.org/10.1371/journal.pcbi.1013251.s005

(TIF)

S2 Fig. P-cell recruitability.

(i.) Rows of the heatmap denote individual P-cells, columns denote time steps of our simulation. Rows of the heatmap were sorted according to the cells’ ‘phase’ (cf. below) after 12,000 time steps. The blurring of the white vertical lines at prior time points indicates that P-cells change the ‘partners’ they are highly recruitable with over time. (ii.) Evolution of the recruitability for an individual P-cell, corresponding to the first row of plot (i). Time windows of high recruitability last about 200 time steps and are interspersed by considerably longer phases of low recruitability. (iii.) The total sum of the recruitability values of all P-cells remains fairly stable over time.

https://doi.org/10.1371/journal.pcbi.1013251.s006

(TIF)

S3 Fig. Fear renewal trajectories in multi-context extinction ().

In the multi-context ABC renewal paradigm from the main results (Fig 6b), we varied the overlap between A and the extinction contexts Bi (; ). Each panel shows the average CeA output across acquisition (context A, blue), extinction (, red), and renewal (C, green) phases for different overlaps. Renewal in C is weakest at intermediate similarity (=0.77, 0.86). Shaded areas denote ±SEM across runs (n = 10).

https://doi.org/10.1371/journal.pcbi.1013251.s007

(TIF)

S1 Text. An intermediate similarity between acquisition and extinction contexts minimizes fear renewal in a didactic toy model.

https://doi.org/10.1371/journal.pcbi.1013251.s008

(PDF)

S2 Text. Effects of chronic sleep deprivation for different model variants.

https://doi.org/10.1371/journal.pcbi.1013251.s009

(PDF)

References

  1. 1. Maren S. Neurobiology of Pavlovian fear conditioning. Annu Rev Neurosci. 2001;24:897–931. pmid:11520922
  2. 2. Kennedy PJ, Shapiro ML. Retrieving memories via internal context requires the hippocampus. J Neurosci. 2004;24(31):6979–85. pmid:15295033
  3. 3. Brewin CR, Dalgleish T, Joseph S. A dual representation theory of posttraumatic stress disorder. Psychol Rev. 1996;103(4):670–86. pmid:8888651
  4. 4. Foa EB, Kozak MJ. Emotional processing of fear: exposure to corrective information. Psychol Bull. 1986;99(1):20–35. pmid:2871574
  5. 5. Ji D, Wilson MA. Coordinated memory replay in the visual cortex and hippocampus during sleep. Nat Neurosci. 2007;10(1):100–7. pmid:17173043
  6. 6. Chen ZS, Wilson MA. How our understanding of memory replay evolves. J Neurophysiol. 2023;129(3):552–80. pmid:36752404
  7. 7. Clawson BC, Pickup EJ, Ensing A, Geneseo L, Shaver J, Gonzalez-Amoretti J, et al. Causal role for sleep-dependent reactivation of learning-activated sensory ensembles for fear memory consolidation. Nat Commun. 2021;12(1):1200. pmid:33619256
  8. 8. Kim WB, Cho J-H. Encoding of contextual fear memory in hippocampal-amygdala circuit. Nat Commun. 2020;11(1):1382. pmid:32170133
  9. 9. Girardeau G, Inema I, Buzsáki G. Reactivations of emotional memory in the hippocampus-amygdala system during sleep. Nat Neurosci. 2017;20(11):1634–42. pmid:28892057
  10. 10. Krasne FB, Fanselow MS, Zelikowsky M. Design of a neurally plausible model of fear learning. Front Behav Neurosci. 2011;5:41. pmid:21845175
  11. 11. Krasne FB, Cushman JD, Fanselow MS. A Bayesian context fear learning algorithm/automaton. Front Behav Neurosci. 2015;9:112. pmid:26074792
  12. 12. Mattera A, Pagani M, Baldassarre G. A Computational Model Integrating Multiple Phenomena on Cued Fear Conditioning, Extinction, and Reinstatement. Front Syst Neurosci. 2020;14:569108. pmid:33132856
  13. 13. Rescorla R, Wagner A. A theory of Pavlovian conditioning: Variations in the effectiveness of reinforcement and nonreinforcement. Vol. 2. Appleton-Century-Crofts; 1972.
  14. 14. Pearce JM, Hall G. A model for Pavlovian learning: variations in the effectiveness of conditioned but not of unconditioned stimuli. Psychol Rev. 1980;87(6):532–52. pmid:7443916
  15. 15. Mackintosh NJ. A theory of attention: Variations in the associability of stimuli with reinforcement. Psychol Rev. 1975;82(4):276–98.
  16. 16. Poulos AM, Mehta N, Lu B, Amir D, Livingston B, Santarelli A, et al. Conditioning- and time-dependent increases in context fear and generalization. Learn Mem. 2016;23(7):379–85. pmid:27317198
  17. 17. Utzon-Frank N, Breinegaard N, Bertelsen M, Borritz M, Eller NH, Nordentoft M, et al. Occurrence of delayed-onset post-traumatic stress disorder: a systematic review and meta-analysis of prospective studies. Scand J Work Environ Health. 2014;40(3):215–29. pmid:24599261
  18. 18. Fiebig F, Lansner A. Memory consolidation from seconds to weeks: a three-stage neural network model with autonomous reinstatement dynamics. Front Comput Neurosci. 2014;8:64. pmid:25071536
  19. 19. Krasne FB, Fanselow MS. Remote memory in a Bayesian model of context fear conditioning (BaconREM). Front Behav Neurosci. 2024;17:1295969. pmid:38515786
  20. 20. Kitamura T, Ogawa SK, Roy DS, Okuyama T, Morrissey MD, Smith LM, et al. Engrams and circuits crucial for systems consolidation of a memory. Science. 2017;356(6333):73–8. pmid:28386011
  21. 21. Thomas BL, Larsen N, Ayres JJB. Role of context similarity in ABA, ABC, and AAB renewal paradigms: Implications for theories of renewal and for treating human phobias. Learn Motiv. 2003;34(4):410–36.
  22. 22. Rau V, DeCola JP, Fanselow MS. Stress-induced enhancement of fear learning: an animal model of posttraumatic stress disorder. Neurosci Biobehav Rev. 2005;29(8):1207–23. pmid:16095698
  23. 23. Nishimura KJ, Poulos AM, Drew MR, Rajbhandari AK. Know thy SEFL: Fear sensitization and its relevance to stressor-related disorders. Neurosci Biobehav Rev. 2022;142:104884. pmid:36174795
  24. 24. Sandberg A, Lansner A, Petersson KM, Ekeberg O. A Bayesian attractor network with incremental learning. Network. 2002;13(2):179–94. pmid:12061419
  25. 25. Josselyn SA, Tonegawa S. Memory engrams: Recalling the past and imagining the future. Science. 2020;367(6473):eaaw4325. pmid:31896692
  26. 26. Winocur G. Anterograde and retrograde amnesia in rats with dorsal hippocampal or dorsomedial thalamic lesions. Behav Brain Res. 1990;38(2):145–54. pmid:2363834
  27. 27. Kim JJ, Fanselow MS. Modality-specific retrograde amnesia of fear. Science. 1992;256(5057):675–7. pmid:1585183
  28. 28. Yassa MA, Stark CEL. Pattern separation in the hippocampus. Trends Neurosci. 2011;34(10):515–25. pmid:21788086
  29. 29. Azizi AH, Wiskott L, Cheng S. A computational model for preplay in the hippocampus. Front Comput Neurosci. 2013;7:161. pmid:24282402
  30. 30. Ji Z, Chu T, Dong X, Yu C, Bush D, Burgess N. Dynamical modulation of hippocampal replay sequences through firing rate adaptation. bioRxiv. 2024. p. 2024–09.
  31. 31. Hopfield JJ. Neurodynamics of mental exploration. Proc Natl Acad Sci U S A. 2010;107(4):1648–53. pmid:20080534
  32. 32. Pietras B, Schmutz V, Schwalger T. Mesoscopic description of hippocampal replay and metastability in spiking neural networks with short-term plasticity. PLoS Comput Biol. 2022;18(12):e1010809. pmid:36548392
  33. 33. Kumaran D, Maguire EA. An unexpected sequence of events: mismatch detection in the human hippocampus. PLoS Biol. 2006;4(12):e424. pmid:17132050
  34. 34. Santos-Pata D, Amil AF, Raikov IG, Rennó-Costa C, Mura A, Soltesz I, et al. Entorhinal mismatch: A model of self-supervised learning in the hippocampus. iScience. 2021;24(4):102364. pmid:33997671
  35. 35. Winocur G, Moscovitch M. Memory transformation and systems consolidation. J Int Neuropsychol Soc. 2011;17(5):766–80. pmid:21729403
  36. 36. Barry DN, Maguire EA. Remote Memory and the Hippocampus: A Constructive Critique. Trends Cogn Sci. 2019;23(2):128–42. pmid:30528612
  37. 37. McClelland JL, McNaughton BL, Lampinen AK. Integration of new information in memory: new insights from a complementary learning systems perspective. Philos Trans R Soc Lond B Biol Sci. 2020;375(1799):20190637. pmid:32248773
  38. 38. Yokoyama M, Matsuo N. Loss of Ensemble Segregation in Dentate Gyrus, but not in Somatosensory Cortex, during Contextual Fear Memory Generalization. Front Behav Neurosci. 2016;10:218. pmid:27872586
  39. 39. Bian X-L, Qin C, Cai C-Y, Zhou Y, Tao Y, Lin Y-H, et al. Anterior Cingulate Cortex to Ventral Hippocampus Circuit Mediates Contextual Fear Generalization. J Neurosci. 2019;39(29):5728–39. pmid:31097621
  40. 40. Wiltgen BJ, Silva AJ. Memory for context becomes less specific with time. Learn Mem. 2007;14(4):313–7. pmid:17522020
  41. 41. Krasne FB, Zinn R, Vissel B, Fanselow MS. Extinction and discrimination in a Bayesian model of context fear conditioning (BaconX). Hippocampus. 2021;31(7):790–814. pmid:33452843
  42. 42. Ressler RL, Maren S. Synaptic encoding of fear memories in the amygdala. Curr Opin Neurobiol. 2019;54:54–9. pmid:30216780
  43. 43. Li SSY, McNally GP. The conditions that promote fear learning: prediction error and Pavlovian fear conditioning. Neurobiol Learn Mem. 2014;108:14–21. pmid:23684989
  44. 44. Johansen JP, Diaz-Mataix L, Hamanaka H, Ozawa T, Ycu E, Koivumaa J, et al. Hebbian and neuromodulatory mechanisms interact to trigger associative memory formation. Proc Natl Acad Sci U S A. 2014;111(51):E5584-92. pmid:25489081
  45. 45. Herry C, Ciocchi S, Senn V, Demmou L, Müller C, Lüthi A. Switching on and off fear by distinct neuronal circuits. Nature. 2008;454(7204):600–6. pmid:18615015
  46. 46. Kim J, Pignatelli M, Xu S, Itohara S, Tonegawa S. Antagonistic negative and positive neurons of the basolateral amygdala. Nat Neurosci. 2016;19(12):1636–46. pmid:27749826
  47. 47. Duvarci S, Popa D, Paré D. Central amygdala activity during fear conditioning. J Neurosci. 2011;31(1):289–94. pmid:21209214
  48. 48. Keifer OP Jr, Hurt RC, Ressler KJ, Marvar PJ. The Physiology of Fear: Reconceptualizing the Role of the Central Amygdala in Fear Learning. Physiology (Bethesda). 2015;30(5):389–401. pmid:26328883
  49. 49. Lau JM, Rashid AJ, Jacob AD, Frankland PW, Schacter DL, Josselyn SA. The role of neuronal excitability, allocation to an engram and memory linking in the behavioral generation of a false memory in mice. Neurobiol Learn Mem. 2020;174:107284.
  50. 50. Yiu AP, Mercaldo V, Yan C, Richards B, Rashid AJ, Hsiang H-LL, et al. Neurons are recruited to a memory trace based on relative neuronal excitability immediately before training. Neuron. 2014;83(3):722–35. pmid:25102562
  51. 51. Zhou Y, Won J, Karlsson MG, Zhou M, Rogerson T, Balaji J, et al. CREB regulates excitability and the allocation of memory to subsets of neurons in the amygdala. Nat Neurosci. 2009;12(11):1438–43. pmid:19783993
  52. 52. Delamare G, Tomé DF, Clopath C. Intrinsic Neural Excitability Biases Allocation and Overlap of Memory Engrams. J Neurosci. 2024;44(21):e0846232024. pmid:38561228
  53. 53. Sehgal M, Zhou M, Lavi A, Huang S, Zhou Y, Silva AJ. Memory allocation mechanisms underlie memory linking across time. Neurobiol Learn Mem. 2018;153(Pt A):21–5. pmid:29496645
  54. 54. Tononi G, Cirelli C. Sleep and the price of plasticity: from synaptic and cellular homeostasis to memory consolidation and integration. Neuron. 2014;81(1):12–34. pmid:24411729
  55. 55. de Vivo L, Bellesi M, Marshall W, Bushong EA, Ellisman MH, Tononi G, et al. Ultrastructural evidence for synaptic scaling across the wake/sleep cycle. Science. 2017;355(6324):507–10. pmid:28154076
  56. 56. Diering GH, Nirujogi RS, Roth RH, Worley PF, Pandey A, Huganir RL. Homer1a drives homeostatic scaling-down of excitatory synapses during sleep. Science. 2017;355(6324):511–5. pmid:28154077
  57. 57. Rexrode L, Tennin M, Babu J, Young C, Bollavarapu R, Lawson LA, et al. Regulation of dendritic spines in the amygdala following sleep deprivation. Front Sleep. 2023;2:1145203. pmid:37928499
  58. 58. Yoo S-S, Gujar N, Hu P, Jolesz FA, Walker MP. The human emotional brain without sleep--a prefrontal amygdala disconnect. Curr Biol. 2007;17(20):R877–8. pmid:17956744
  59. 59. Feng P, Becker B, Zheng Y, Feng T. Sleep deprivation affects fear memory consolidation: bi-stable amygdala connectivity with insula and ventromedial prefrontal cortex. Soc Cogn Affect Neurosci. 2018;13(2):145–55. pmid:29272546
  60. 60. Rosen JB, Schulkin J. Hyperexcitability: From Normal Fear to Pathological Anxiety and Trauma. Front Syst Neurosci. 2022;16:727054. pmid:35993088
  61. 61. Blanco W, Pereira CM, Cota VR, Souza AC, Rennó-Costa C, Santos S, et al. Synaptic Homeostasis and Restructuring across the Sleep-Wake Cycle. PLoS Comput Biol. 2015;11(5):e1004241. pmid:26020963
  62. 62. Koyanagi I, Akers KG, Vergara P, Srinivasan S, Sakurai T, Sakaguchi M. Memory consolidation during sleep and adult hippocampal neurogenesis. Neural Regen Res. 2019;14(1):20–3. pmid:30531064
  63. 63. Smolen P, Baxter DA, Byrne JH. How can memories last for days, years, or a lifetime? Proposed mechanisms for maintaining synaptic potentiation and memory. Learn Mem. 2019;26(5):133–50. pmid:30992383
  64. 64. Girardeau G, Zugaro M. Hippocampal ripples and memory consolidation. Curr Opin Neurobiol. 2011;21(3):452–9.
  65. 65. Giri B, Miyawaki H, Mizuseki K, Cheng S, Diba K. Hippocampal Reactivation Extends for Several Hours Following Novel Experience. J Neurosci. 2019;39(5):866–75. pmid:30530857
  66. 66. An B, Kim J, Park K, Lee S, Song S, Choi S. Amount of fear extinction changes its underlying mechanisms. Elife. 2017;6:e25224. pmid:28671550
  67. 67. Myers KM, Ressler KJ, Davis M. Different mechanisms of fear extinction dependent on length of time since fear acquisition. Learn Mem. 2006;13(2):216–23. pmid:16585797
  68. 68. Greve A, Donaldson DI, van Rossum MCW. A single-trace dual-process model of episodic memory: a novel computational account of familiarity and recollection. Hippocampus. 2010;20(2):235–51. pmid:19405130
  69. 69. Drexler SM, Merz CJ, Wolf OT. Preextinction Stress Prevents Context-Related Renewal of Fear. Behav Ther. 2018;49(6):1008–19. pmid:30316481
  70. 70. Nihei M, Hojo D, Matsumoto N, Sawa K. ABA, ABC, and AAB renewal effects and individual differences of learning on fear conditioning using social stimuli. Learn Motiv. 2023;84:101935.
  71. 71. Quirk GJ. Memory for extinction of conditioned fear is long-lasting and persists following spontaneous recovery. Learn Mem. 2002;9(6):402–7. pmid:12464700
  72. 72. Thomas BL, Vurbic D, Novak C. Extensive extinction in multiple contexts eliminates the renewal of conditioned fear in rats. Learn Motiv. 2009;40(2):147–59.
  73. 73. Asok A, Kandel ER, Rayman JB. The Neurobiology of Fear Generalization. Front Behav Neurosci. 2019;12:329. pmid:30697153
  74. 74. Besnard A, Sahay A. Adult Hippocampal Neurogenesis, Fear Generalization, and Stress. Neuropsychopharmacology. 2016;41(1):24–44. pmid:26068726
  75. 75. Raeder F, Merz CJ, Margraf J, Zlomuzica A. The association between fear extinction, the ability to accomplish exposure and exposure therapy outcome in specific phobia. Sci Rep. 2020;10(1):4288. pmid:32152429
  76. 76. Goode TD, Maren S. Animal models of fear relapse. ILAR J. 2014;55(2):246–58. pmid:25225304
  77. 77. Boschen MJ, Neumann DL, Waters AM. Relapse of successfully treated anxiety and fear: theoretical issues and recommendations for clinical practice. Aust N Z J Psychiatry. 2009;43(2):89–100. pmid:19153916
  78. 78. Balooch SB, Neumann DL, Boschen MJ. Extinction treatment in multiple contexts attenuates ABC renewal in humans. Behav Res Ther. 2012;50(10):604–9. pmid:22835841
  79. 79. Hermann A, Stark R, Müller EA, Kruse O, Wolf OT, Merz CJ. Multiple extinction contexts modulate the neural correlates of context-dependent extinction learning and retrieval. Neurobiol Learn Mem. 2020;168:107150. pmid:31881356
  80. 80. Holmes NM, Westbrook RF. Extinction of reinstated or ABC renewed fear responses renders them resistant to subsequent ABA renewal. J Exp Psychol Anim Behav Process. 2013;39(3):208–20. pmid:23668186
  81. 81. Bouton ME, García-Gutiérrez A, Zilski J, Moody EW. Extinction in multiple contexts does not necessarily make extinction less vulnerable to relapse. Behav Res Ther. 2006;44(7):983–94. pmid:16198302
  82. 82. Neumann DL, Lipp OV, Cory SE. Conducting extinction in multiple contexts does not necessarily attenuate the renewal of shock expectancy in a fear-conditioning procedure with humans. Behav Res Ther. 2007;45(2):385–94. pmid:16616890
  83. 83. Zhang J, Wang J, Wang Y, Zhang D, Li H, Lei Y. Sleep deprivation increases the generalization of perceptual and concept-based fear: An fNIRS study. J Anxiety Disord. 2024;105:102892. pmid:38889495
  84. 84. Monti JM, Monti D. Sleep disturbance in generalized anxiety disorder and its treatment. Sleep Med Rev. 2000;4(3):263–76. pmid:12531169
  85. 85. Staner L. Sleep and anxiety disorders. Dialogues Clin Neurosci. 2003;5(3):249–58. pmid:22033804
  86. 86. Pace-Schott EF, Germain A, Milad MR. Sleep and REM sleep disturbance in the pathophysiology of PTSD: the role of extinction memory. Biol Mood Anxiety Disord. 2015;5:3. pmid:26034578
  87. 87. van Liempt S. Sleep disturbances and PTSD: a perpetual circle? Eur J Psychotraumatol. 2012;3:10.3402/ejpt.v3i0.19142. pmid:23050070
  88. 88. Pace-Schott EF, Tracy LE, Rubin Z, Mollica AG, Ellenbogen JM, Bianchi MT, et al. Interactions of time of day and sleep with between-session habituation and extinction memory in young adult males. Exp Brain Res. 2014;232(5):1443–58. pmid:24481663
  89. 89. Pace-Schott EF, Verga PW, Bennett TS, Spencer RMC. Sleep promotes consolidation and generalization of extinction learning in simulated exposure therapy for spider fear. J Psychiatr Res. 2012;46(8):1036–44. pmid:22578824
  90. 90. Jung T, Noh J. Alteration of fear behaviors in sleep-deprived adolescent rats: increased fear expression and delayed fear extinction. Anim Cells Syst (Seoul). 2021;25(2):83–92. pmid:34234889
  91. 91. Zenses A-K, Lenaert B, Peigneux P, Beckers T, Boddez Y. Sleep deprivation increases threat beliefs in human fear conditioning. J Sleep Res. 2020;29(3):e12873. pmid:31206861
  92. 92. Foilb AR, Taylor-Yeremeeva EM, Schmidt BD, Ressler KJ, Carlezon Jr WA. Acute sleep deprivation reduces fear memories in male and female mice. bioRxiv. 2024.
  93. 93. Cohen H, Ephraim-Oluwanuga OT, Akintunde OT, Gureje O, Matar MA, Todder D, et al. The potential beneficial effect of sleep deprivation following traumatic events to preventing PTSD: Review of current insight regarding sleep, memory, and trauma resonating with ancient rituals-Àìsùn Oku (African) and Tsuya (Japanese). Neuropsychopharmacol Rep. 2023;43(1):2–11. pmid:36622038
  94. 94. Miller KE, Brownlow JA, Gehrman PR. Sleep in PTSD: treatment approaches and outcomes. Curr Opin Psychol. 2020;34:12–7. pmid:31541965
  95. 95. Colvonen PJ, Straus LD, Stepnowsky C, McCarthy MJ, Goldstein LA, Norman SB. Recent Advancements in Treating Sleep Disorders in Co-Occurring PTSD. Curr Psychiatry Rep. 2018;20(7):48. pmid:29931537
  96. 96. Eltokhi A, Janmaat IE, Genedi M, Haarman BCM, Sommer IEC. Dysregulation of synaptic pruning as a possible link between intestinal microbiota dysbiosis and neuropsychiatric disorders. J Neurosci Res. 2020;98(7):1335–69. pmid:32239720
  97. 97. Pawlak A, Stefanowicz J, Kotkowska Z, Gabryelska A, Sochal M, Napieraj F, et al. Is it possible to prevent excessive synaptic pruning in schizophrenia? Possibilities and limitations. Front Synaptic Neurosci. 2025;17:1656232. pmid:41169352
  98. 98. Dayananda KK, Ahmed S, Wang D, Polis B, Islam R, Kaffman A. Early life stress impairs synaptic pruning in the developing hippocampus. Brain Behav Immun. 2023;107:16–31.
  99. 99. Maroun M. Stress reverses plasticity in the pathway projecting from the ventromedial prefrontal cortex to the basolateral amygdala. Eur J Neurosci. 2006;24(10):2917–22. pmid:17156214
  100. 100. Wassing R, Lakbila-Kamal O, Ramautar JR, Stoffers D, Schalkwijk F, Van Someren EJW. Restless REM Sleep Impedes Overnight Amygdala Adaptation. Curr Biol. 2019;29(14):2351-2358.e4. pmid:31303489
  101. 101. Suvrathan A, Bennur S, Ghosh S, Tomar A, Anilkumar S, Chattarji S. Stress enhances fear by forming new synapses with greater capacity for long-term potentiation in the amygdala. Philos Trans R Soc Lond B Biol Sci. 2013;369(1633):20130151. pmid:24298153
  102. 102. Perusini JN, Meyer EM, Long VA, Rau V, Nocera N, Avershal J, et al. Induction and Expression of Fear Sensitization Caused by Acute Traumatic Stress. Neuropsychopharmacology. 2016;41(1):45–57. pmid:26329286
  103. 103. Tononi G, Cirelli C. Sleep function and synaptic homeostasis. Sleep Med Rev. 2006;10(1):49–62. pmid:16376591
  104. 104. Dudai Y, Karni A, Born J. The Consolidation and Transformation of Memory. Neuron. 2015;88(1):20–32. pmid:26447570
  105. 105. Kunčická D, Krajčovič B, Stuchlík A, Brožka H. Neuroscientist’s Behavioral Toolbox for Studying Episodic-Like Memory. eNeuro. 2024;11(8):ENEURO.0073-24.2024. pmid:39214694
  106. 106. Lee J-H, Kim WB, Park EH, Cho J-H. Neocortical synaptic engrams for remote contextual memories. Nat Neurosci. 2023;26(2):259–73. pmid:36564546
  107. 107. Preston AR, Eichenbaum H. Interplay of hippocampus and prefrontal cortex in memory. Curr Biol. 2013;23(17):R764-73. pmid:24028960
  108. 108. Matos MR, Visser E, Kramvis I, van der Loo RJ, Gebuis T, Zalm R, et al. Memory strength gates the involvement of a CREB-dependent cortical fear engram in remote memory. Nat Commun. 2019;10(1):2315. pmid:31127098
  109. 109. Restivo L, Vetere G, Bontempi B, Ammassari-Teule M. The formation of recent and remote memory is associated with time-dependent formation of dendritic spines in the hippocampus and anterior cingulate cortex. J Neurosci. 2009;29(25):8206–14. pmid:19553460
  110. 110. Norimoto H, Makino K, Gao M, Shikano Y, Okamoto K, Ishikawa T, et al. Hippocampal ripples down-regulate synapses. Science. 2018;359(6383):1524–7. pmid:29439023
  111. 111. Xia F, Richards BA, Tran MM, Josselyn SA, Takehara-Nishiuchi K, Frankland PW. Parvalbumin-positive interneurons mediate neocortical-hippocampal interactions that are necessary for memory consolidation. Elife. 2017;6:e27868. pmid:28960176
  112. 112. Ognjanovski N, Schaeffer S, Wu J, Mofakham S, Maruyama D, Zochowski M, et al. Parvalbumin-expressing interneurons coordinate hippocampal network dynamics required for memory consolidation. Nat Commun. 2017;8:15039. pmid:28382952
  113. 113. Nonaka A, Toyoda T, Miura Y, Hitora-Imamura N, Naka M, Eguchi M, et al. Synaptic plasticity associated with a memory engram in the basolateral amygdala. J Neurosci. 2014;34(28):9305–9. pmid:25009263
  114. 114. Arruda-Carvalho M, Clem RL. Pathway-selective adjustment of prefrontal-amygdala transmission during fear encoding. J Neurosci. 2014;34(47):15601–9. pmid:25411488
  115. 115. Arruda-Carvalho M, Clem RL. Prefrontal-amygdala fear networks come into focus. Front Syst Neurosci. 2015;9:145. pmid:26578902
  116. 116. Do-Monte FH, Quiñones-Laracuente K, Quirk GJ. A temporal shift in the circuits mediating retrieval of fear memory. Nature. 2015;519(7544):460–3. pmid:25600268
  117. 117. Born J, Wilhelm I. System consolidation of memory during sleep. Psychol Res. 2012;76(2):192–203. pmid:21541757
  118. 118. Rao-Ruiz P, Visser E, Mitrić M, Smit AB, van den Oever MC. A Synaptic Framework for the Persistence of Memory Engrams. Front Synaptic Neurosci. 2021;13:661476. pmid:33841124
  119. 119. Goto A, Bota A, Miya K, Wang J, Tsukamoto S, Jiang X, et al. Stepwise synaptic plasticity events drive the early phase of memory consolidation. Science. 2021;374(6569):857–63. pmid:34762472
  120. 120. Popa D, Duvarci S, Popescu AT, Léna C, Paré D. Coherent amygdalocortical theta promotes fear memory consolidation during paradoxical sleep. Proc Natl Acad Sci U S A. 2010;107(14):6516–9. pmid:20332204
  121. 121. Yang Y, Leopold DA, Duyn JH, Liu X. Hippocampal replay sequence governed by spontaneous brain-wide dynamics. PNAS Nexus. 2024;3(4):pgae078. pmid:38562584
  122. 122. Zaki Y, Pennington ZT, Morales-Rodriguez D, Bacon ME, Ko B, Francisco TR, et al. Offline ensemble co-reactivation links memories across days. Nature. 2025;637(8044):145–55. pmid:39506117
  123. 123. Cai DJ, Aharoni D, Shuman T, Shobe J, Biane J, Song W, et al. A shared neural ensemble links distinct contextual memories encoded close in time. Nature. 2016;534(7605):115–8. pmid:27251287
  124. 124. Choucry A, Nomoto M, Inokuchi K. Engram mechanisms of memory linking and identity. Nat Rev Neurosci. 2024;25(6):375–92. pmid:38664582
  125. 125. Louie K, Wilson MA. Temporally structured replay of awake hippocampal ensemble activity during rapid eye movement sleep. Neuron. 2001;29(1):145–56. pmid:11182087
  126. 126. Brodt S, Inostroza M, Niethard N, Born J. Sleep-A brain-state serving systems memory consolidation. Neuron. 2023;111(7):1050–75. pmid:37023710
  127. 127. Moscovitch M, Gilboa A. Has the concept of systems consolidation outlived its usefulness? Identification and evaluation of premises underlying systems consolidation. Fac Rev. 2022;11:33. pmid:36532709
  128. 128. Vermes JS, Ayres R, Goés AS, Real ND, Araújo ÁC, Schiller D, et al. Targeting the reconsolidation of traumatic memories with a brief 2-session imaginal exposure intervention in post-traumatic stress disorder. J Affect Disord. 2020;276:487–94. pmid:32794448
  129. 129. McKenzie S, Eichenbaum H. Consolidation and reconsolidation: two lives of memories? Neuron. 2011;71(2):224–33.
  130. 130. Pikkarainen M, Rönkkö S, Savander V, Insausti R, Pitkänen A. Projections from the lateral, basal, and accessory basal nuclei of the amygdala to the hippocampal formation in rat. J Comp Neurol. 1999;403(2):229–60. pmid:9886046
  131. 131. Yoo S-W, Bae M, Tovar-Y-Romo LB, Haughey NJ. Hippocampal encoding of interoceptive context during fear conditioning. Transl Psychiatry. 2017;7(1):e991. pmid:28045462
  132. 132. Joshi SA, Aupperle RL, Khalsa SS. Interoception in Fear Learning and Posttraumatic Stress Disorder. Focus (Am Psychiatr Publ). 2023;21(3):266–77. pmid:37404967
  133. 133. Talmi D. Enhanced emotional memory: Cognitive and neural mechanisms. Curr Direct Psychol Sci. 2013;22(6):430–6.
  134. 134. Thompson EJ, Rollik L, Waked B, Mills G, Kaur J, Geva B. Replay of procedural experience is independent of the hippocampus. bioRxiv. 2024;:2024–06.
  135. 135. Wittkuhn L, Krippner LM, Koch C, Schuck NW. Replay in the human visual cortex during brief task pauses is linked to implicit learning of successor representations. Proc Natl Acad Sci U S A. 2025;122(34):e2507516122. pmid:40844766
  136. 136. O’Neill J, Boccara CN, Stella F, Schoenenberger P, Csicsvari J. Superficial layers of the medial entorhinal cortex replay independently of the hippocampus. Science. 2017;355(6321):184–8. pmid:28082591
  137. 137. Hsieh C, Tsokas P, Grau-Perales A, Lesburguères E, Bukai J, Khanna K, et al. Persistent increases of PKMζ in memory-activated neurons trace LTP maintenance during spatial long-term memory storage. Eur J Neurosci. 2021;54(8):6795–814. pmid:33540466
  138. 138. Carrere M, Alexandre F. A pavlovian model of the amygdala and its influence within the medial temporal lobe. Front Syst Neurosci. 2015;9:41. pmid:25852499
  139. 139. Park A, Jacob AD, Hsiang H-LL, Frankland PW, Howland JG, Josselyn SA. Formation and fate of an engram in the lateral amygdala supporting a rewarding memory in mice. Neuropsychopharmacology. 2023;48(5):724–33. pmid:36261624
  140. 140. Goldstein AN, Walker MP. The role of sleep in emotional brain function. Annu Rev Clin Psychol. 2014;10:679–708. pmid:24499013
  141. 141. Motomura Y, Kitamura S, Oba K, Terasawa Y, Enomoto M, Katayose Y, et al. Sleep debt elicits negative emotional reaction through diminished amygdala-anterior cingulate functional connectivity. PLoS One. 2013;8(2):e56578. pmid:23418586
  142. 142. Merchant-Nancy H, Vázquez J, García F, Drucker-Colín R. Brain distribution of c-fos expression as a result of prolonged rapid eye movement (REM) sleep period duration. Brain Res. 1995;681(1–2):15–22. pmid:7552273
  143. 143. Feng P, Becker B, Zhou F, Feng T, Chen Z. Sleep deprivation altered encoding of basolateral amygdala on fear acquisition. Cereb Cortex. 2023;33(6):2655–68. pmid:35699604
  144. 144. Graves LA, Heller EA, Pack AI, Abel T. Sleep deprivation selectively impairs memory consolidation for contextual fear conditioning. Learn Mem. 2003;10(3):168–76. pmid:12773581
  145. 145. Menz MM, Rihm JS, Salari N, Born J, Kalisch R, Pape HC, et al. The role of sleep and sleep deprivation in consolidating fear memories. Neuroimage. 2013;75:87–96. pmid:23501052
  146. 146. Manassero E, Giordano A, Raimondo E, Cicolin A, Sacchetti B. Sleep Deprivation During Memory Consolidation, but Not Before Memory Retrieval, Widens Threat Generalization to New Stimuli. Front Neurosci. 2022;16:902925. pmid:35663560
  147. 147. Yasmin F, Saxena K, McEwen BS, Chattarji S. The delayed strengthening of synaptic connectivity in the amygdala depends on NMDA receptor activation during acute stress. Physiol Rep. 2016;4(20):e13002. pmid:27798355
  148. 148. Ryan S, Li C, Menigoz A, Hazra R, Dabrowska J, Ehrlich D, et al. Repeated shock stress facilitates basolateral amygdala synaptic plasticity through decreased cAMP-specific phosphodiesterase type IV (PDE4) expression. Brain Struct Funct. 2018;223(4):1731–45. pmid:29204911
  149. 149. Rosenkranz JA, Venheim ER, Padival M. Chronic stress causes amygdala hyperexcitability in rodents. Biol Psychiatry. 2010;67(12):1128–36. pmid:20378100
  150. 150. Hoffman AN, Lorson NG, Sanabria F, Foster Olive M, Conrad CD. Chronic stress disrupts fear extinction and enhances amygdala and hippocampal Fos expression in an animal model of post-traumatic stress disorder. Neurobiol Learn Memory. 2014;112:139–47.
  151. 151. van Marle HJF, Hermans EJ, Qin S, Fernández G. From specificity to sensitivity: how acute stress affects amygdala processing of biologically salient stimuli. Biol Psychiatry. 2009;66(7):649–55. pmid:19596123
  152. 152. Vyazovskiy VV, Faraguna U. Sleep and synaptic homeostasis. Sleep, Neuronal Plasticity and Brain Function. 2015. p. 91–121.
  153. 153. Kaczkurkin AN, Burton PC, Chazin SM, Manbeck AB, Espensen-Sturges T, Cooper SE, et al. Neural Substrates of Overgeneralized Conditioned Fear in PTSD. Am J Psychiatry. 2017;174(2):125–34. pmid:27794690
  154. 154. Lissek S, van Meurs B. Learning models of PTSD: Theoretical accounts and psychobiological evidence. Int J Psychophysiol. 2015;98(3 Pt 2):594–605. pmid:25462219
  155. 155. Krystal JH, Abdallah CG, Pietrzak RH, Averill LA, Harpaz-Rotem I, Levy I, et al. Locus Coeruleus Hyperactivity in Posttraumatic Stress Disorder: Answers and Questions. Biol Psychiatry. 2018;83(3):197–9. pmid:29277190
  156. 156. Naegeli C, Zeffiro T, Piccirelli M, Jaillard A, Weilenmann A, Hassanpour K, et al. Locus Coeruleus Activity Mediates Hyperresponsiveness in Posttraumatic Stress Disorder. Biol Psychiatry. 2018;83(3):254–62. pmid:29100627
  157. 157. Borodovitsyna O, Duffy BC, Pickering AE, Chandler DJ. Anatomically and functionally distinct locus coeruleus efferents mediate opposing effects on anxiety-like behavior. Neurobiol Stress. 2020;13:100284. pmid:33344735
  158. 158. Aston-Jones G, Bloom FE. Activity of norepinephrine-containing locus coeruleus neurons in behaving rats anticipates fluctuations in the sleep-waking cycle. J Neurosci. 1981;1(8):876–86. pmid:7346592