Search bioRxiv⌕ Search

bioRxiv · 10.1101/2025.06.20.660661

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

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 encodings of learned fear associations. Additionally, valence-coding synapses within the amygdala undergo overnight adjustments consistent with the synaptic homeostasis hypothesis of sleep. The model reproduces experimentally observed phenomena, including context-dependent fear renewal and time-dependent increases in fear generalisation. Few neural network models have addressed fear memory consolidation and to our knowledge, ours is the first to incorporate a neural mechanism enabling it. Our framework yields testable predictions about how disruptions in synaptic homeostasis may lead to pathological fear sensitization and generalisation, thus potentially bridging computational models of fear learning and mechanisms underlying anxiety symptoms in disorders such as PTSD. Author SummaryHow 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 days that follow and the role of sleep in this process. 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 dynamics, our work offers new insight into how emotional memories are stabilised.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Werne, L., Chadwick, A., Series, P.. 2025-06-26. Learning, sleep replay and consolidation of contextual fear memories: A neural network model. https://doi.org/10.1101/2025.06.20.660661

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Connexin 40 deficiency alters the temporal profile of postictal oxygen dynamics following focal seizures.

Epilepsy is increasingly recognized as a disorder involving both neuronal and vascular dysfunction. While connexin signaling has been implicated in epileptogenesis, the contribution of vascular connexins to seizure associated cerebrovascular pathology remains poorly understood. Connexin40 (Cx40) is an endothelial gap junction protein that plays a crucial role in vascular communication and blood-flow regulation. Seizures induce dynamic changes in cerebral perfusion and oxygenation, including prolonged postictal hypoperfusion/hypoxia. To determine whether Cx40 influences postictal hypoxia following focal seizures, we examined seizure characteristics and postictal oxygen dynamics in Cx40 knockout (Cx40-/-) mice using an established focal hippocampal seizure model. Electrically kindled seizures were elicited in wild-type and Cx40-/- mice, and local hippocampal tissue oxygenation was continuously monitored before and after seizure induction. Seizure duration did not differ between genotypes, indicating comparable seizure severity. Interestingly, Cx40 deletion altered the temporal pattern of postictal oxygen recovery, producing greater early hypoxia and a delayed secondary rebound in pO2 despite similar peak oxygen levels and overall hypoxic burden. These findings demonstrate that loss of Cx40 selectively alters the temporal profile of postictal oxygen dynamics without affecting seizure duration. Taken together, the results suggest that endothelial gap junctional communication contributes to postictal vascular recovery and identify Cx40 as a potential modulator of seizure associated neurovascular dysfunction.

neuroscience↗

Attention Across Scales: From Individual Variation to Social Hierarchies and Brain Networks in Semi-Free-Ranging Macaques

Attention is a fundamental brain function supporting perception, decision-making, and social behavior, and its dysfunction profoundly impairs daily life. It is both dynamic and stable, varying across observations and individuals, changing across the lifespan, and being shaped by social and environmental experience. Yet capturing this complexity remains a central challenge in neuroscience. Here, we integrated longitudinal behavioral assessments of semi-free-ranging macaques living in naturalistic social groups with resting-state fMRI. We quantified performance across days, ages, and social hierarchies and related it to intrinsic brain organization. Distinct attentional phenotypes emerged, including individuals with reduced attentional control. Performance followed an inverted-U lifespan trajectory, improving from childhood to adulthood before declining. Social status modulated attentional performance. Critically, nonlinear lifespan trajectories and associations with individual attentional differences were most clearly expressed in frontoparietal connectivity. Together, these findings reveal how sustained attention is organized across scales, providing a biological framework for its individual diversity, social modulation, and neural basis.

neuroscience↗

Decoding natural scenes from patterned optogenetic responses in mouse visual cortex

A central challenge in developing visual cortical prostheses is to determine how visual stimuli should be transformed into effective patterns of cortical stimulation. Although advances in stimulation technologies, including optogenetics, provide increasingly precise control over cortical activity, it remains unclear whether artificially evoked activity can reproduce the information content of naturally evoked visual representations. Here we establish a quantitative framework for evaluating visual encoding strategies by decoding cortical responses evoked by natural vision and patterned optogenetic stimulation. We developed a novel dual-modal paradigm in awake mice to bridge the gap between endogenous photostimulation and artificial network driving. By co-expressing the high-performance calcium indicator GCaMP6s and the red-shifted, ultra-sensitive opsin rsChRmine-oScarlet in the primary visual cortex (V1), we successfully translated dynamic natural movie frames into patterned, spatiotemporal optogenetic stimulation. Quantitative comparisons of macro-scale dynamics demonstrated that this patterned optogenetic injection evokes cortical states highly comparable and representationally aligned with those driven by actual visual photostimulation. To systematically evaluate the fidelity of these responses, we developed STAR, a deep learning model featuring spatial and temporal attention mechanisms, and successfully reconstructed the frames of natural movies from V1 signals under both experimental modalities. Collectively, our results demonstrate that complex sensory information can be both naturally encoded and synthetically injected into V1 circuits with high decoding fidelity. This work provides an empirical and computational proof-of-concept for intelligent, closed-loop biomimetic encoders, establishing a robust framework for next-generation cortical visual neuroprostheses and bidirectional brain-machine interfaces.

neuroscience↗