Abstract
Memories are encoded in neural ensembles during learning1–6 and are stabilized by post-learning reactivation7–17. Integrating recent experiences into existing memories ensures that memories contain the most recently available information, but how the brain accomplishes this critical process remains unclear. Here we show that in mice, a strong aversive experience drives offline ensemble reactivation of not only the recent aversive memory but also a neutral memory formed 2 days before, linking fear of the recent aversive memory to the previous neutral memory. Fear specifically links retrospectively, but not prospectively, to neutral memories across days. Consistent with previous studies, we find that the recent aversive memory ensemble is reactivated during the offline period after learning. However, a strong aversive experience also increases co-reactivation of the aversive and neutral memory ensembles during the offline period. Ensemble co-reactivation occurs more during wake than during sleep. Finally, the expression of fear in the neutral context is associated with reactivation of the shared ensemble between the aversive and neutral memories. Collectively, these results demonstrate that offline ensemble co-reactivation is a neural mechanism by which memories are integrated across days.
Subject terms: Hippocampus, Neural circuits, Consolidation
In mice, a strong aversive experience drives offline ensemble reactivation of not only the recent aversive memory but also a neutral memory formed 2 days before, linking fear of the recent aversive memory to the previous neutral memory.
Main
Individual memories are initially encoded by ensembles of cells that are active during a learning event1–6 and are stabilized during offline periods after learning through reactivation of those ensembles7–17. These reactivations often occur in brief synchronous bursts, which are necessary to drive memory consolidation13,18–21. Most research on episodic memory has focused on how the brain maintains stable representations of discrete memories; however, animals are constantly aggregating new memories and updating past memories as new, relevant information is learned22. Moreover, most studies of associative learning have focused on cues that directly precede or occur in tandem with an outcome. However, often in nature, a predictor may not immediately precede an outcome but animals are nonetheless capable of learning to make an inference about the association (for example, conditioned taste aversion)23. It is unclear what conditions could promote memories to be linked across long periods (that is, hours to days), and the neural mechanisms of memory integration across such disparate time periods are poorly understood24. While many studies have shown that offline periods support memory consolidation, recent studies have suggested that offline periods after learning may be important for memory integration as well25–28.
Retrospective memory linking across days
To investigate how memories are integrated across days, we first designed a behavioural experiment to test whether mice would spread fear from an aversive memory to a neutral memory formed 2 days before (retrospective memory linking) or 2 days after (prospective memory linking) (Fig. 1a). In the retrospective group, mice first experienced a neutral context followed by an aversive context paired with a foot shock 2 days later. In the prospective group, the mice experienced an aversive context followed by a neutral context 2 days later. Both groups were then tested in the aversive context to test for recall of the aversive memory. They were then tested in either the previously experienced neutral context for memory linking or an unfamiliar novel context to test for non-specific fear generalization. Memory linking was defined as a selective increase in fear in the neutral context compared with in the novel context, both contexts in which mice had never been shocked. Notably, this definition distinguishes memory linking to a specific context from non-specific generalization of fear. There was no difference in freezing in the aversive context between groups (Fig. 1b), suggesting that the perceived negative valence of the aversive context was not different between groups. In the retrospective group, mice froze more in the neutral context compared with in the novel context, suggesting that fear spread retrospectively from the aversive context to the neutral context experienced 2 days before. However, in the prospective group, there was no difference in freezing between the neutral and novel contexts, suggesting that memory linking between the aversive and neutral contexts did not occur prospectively across days (Fig. 1c). Consistent with previous studies demonstrating memory linking when memories are encoded within a day29,30, we also observed memory linking with neutral and aversive contexts when separated by 5 h (Extended Data Fig. 1a,b).
We next examined what conditions drove memories to be linked retrospectively across days. It has previously been suggested that the emotional salience of an experience enhances its storage into memory31, as well as its likelihood of altering past neutral memories in humans32. We therefore hypothesized that the more aversive the experience, the more likely fear would be retrospectively linked to a previous neutral memory. To test this, we manipulated the shock intensity during aversive encoding to test whether a stronger shock would drive greater retrospective memory linking (Fig. 1d and Extended Data Fig. 1). Mice were exposed to a neutral context followed by an aversive context paired with a low-amplitude (0.25 mA) or high-amplitude (1.5 mA) shock 2 days later (low-shock group and high-shock group). The mice were then tested in the aversive, neutral and novel context on the subsequent 3 days. As expected, the high-shock group froze more than the low-shock group during recall in the aversive context (Fig. 1e). Next, we found that the high-shock group exhibited an increase in freezing in the previously experienced neutral context relative to the novel context, but the low-shock group did not (Fig. 1f and Extended Data Fig. 1c–e). If the perceived aversiveness of an experience affects the likelihood of retrospective memory linking, we hypothesized that the levels of freezing during aversive memory recall would positively correlate with memory linking—defined as the difference between freezing in the neutral context and in the novel context. Indeed, in the high-shock mice, freezing during aversive context recall was positively correlated with the degree of memory linking (Fig. 1g). These data suggest that a strong aversive experience can retrospectively link with neutral memories formed days before (up to 7 days, Extended Data Fig. 1f–h). Retrospective memory linking was not influenced by the order in which recall sessions occurred (Extended Data Fig. 1i–k). Moreover, we also found evidence that a highly salient, appetitive experience (that is, cocaine exposure) also drove retrospective memory linking to a neutral context memory formed 2 days before, suggesting that retrospective memory linking may be a broad mechanism for updating salient memories encoded across days (Extended Data Fig. 2).
We next investigated how the brain links recent aversive memories with past neutral memories formed days before. It has been well established in rodents and humans that memories are reactivated during restful periods after learning (that is, offline periods) to promote the storage of recently learned information13–15. Moreover, recent work in humans has shown that offline periods can drive the integration of discrete memories as well25,33,34. We therefore hypothesized that after an aversive experience (high-shock group), the offline period may function not only to support the consolidation of the aversive memory, but also to link the recent aversive memory with the previous neutral memory, therefore increasing freezing during recall of the neutral context. A major site of memory formation in the brain is the hippocampus, where rapid plasticity after an experience promotes the formation of a memory for that experience and reflects memory expression thereafter6,13,15,35. Thus, we used a chemogenetic system to disrupt endogenous hippocampal activity during the offline period after aversive encoding. We found that this prevented retrospective memory linking (that is, selective freezing in the neutral context compared with in the novel context) while leaving the aversive memory intact (Extended Data Fig. 1l–p), suggesting that the hippocampus has a critical role in retrospective memory linking.
Offline reactivation of a past neutral ensemble
Previous research has suggested that memory reactivation during offline periods after learning could promote not only the consolidation of recently formed memories, but also support the integration of memories25,27,28,33,34,36. Thus, we expected that the hippocampal ensemble that was active during aversive encoding would be reactivated during the offline period to drive consolidation of the recently learned aversive memory. Moreover, we hypothesized that if the aversive experience was strong enough, the ensemble active during the neutral experience (from 2 days before) would be reactivated as well, driving integration of the neutral and aversive memories.
We first validated that we could detect ensemble reactivation after a salient experience using calcium imaging. To do this, we conducted a contextual fear conditioning experiment, recording hippocampal CA1 calcium dynamics using the open-source UCLA Miniscope29 (Extended Data Fig. 3). We recorded during aversive encoding, the first hour offline after aversive encoding, and during recall of the aversive context and exposure to a novel context. Consistent with previous literature, we found that the ensemble of cells active during aversive encoding was reactivated offline and preferentially reactivated during aversive memory recall, suggesting a stable neural memory ensemble (Extended Data Fig. 3a–k).
Next, to investigate whether a strong aversive experience was driving offline reactivation of ensembles representing both the aversive and neutral memories, we performed calcium imaging recordings in the CA1 while mice underwent the retrospective memory-linking paradigm (Fig. 1d). Here we focused on the offline periods after the initial neutral experience (offline 1) and subsequent aversive experience (offline 2) in both the low- and high-shock groups (Fig. 2a,b and Extended Data Fig. 4; the same experiment as in Fig. 1d). Consistent with the literature13,18 and with our previous experiment (Extended Data Fig. 3), after the initial neutral encoding (offline 1), the cells that were active during that neutral encoding (neutral ensemble) were more active than cells that were not active during neutral encoding (remaining ensemble) in both the low- and high-shock groups (Extended Data Fig. 4e). There was no difference in the number of neutral ensemble cells that were active during offline 1 between the low- and high-shock groups (Extended Data Fig. 4e). To measure ensemble reactivation during the offline period after aversive encoding (offline 2), we sorted cells that were active during the offline period into four ensembles on the basis of when those cells were previously active: a ‘neutral’ ensemble comprising cells that were active during the initial neutral encoding and not during aversive encoding; an ‘aversive’ ensemble comprising cells that were active during aversive encoding but not during neutral encoding; an ‘overlap’ ensemble comprising cells that were active during both neutral and aversive encoding; and a ‘remaining’ ensemble comprising cells that were not observed to be active before the offline period (Extended Data Fig. 4f). There was no difference in the proportion of cells that made up each ensemble across the low- and high-shock groups (Extended Data Fig. 4f). In the low-shock group, we found that the aversive ensemble, the neutral ensemble and the overlap ensemble had higher calcium activity than the remaining ensemble. However, the neutral ensemble was less active than the aversive and overlap ensembles (Extended Data Fig. 4f (left)). These results are consistent with previous studies demonstrating that neuronal ensembles from recent memories are reactivated offline13–15. By contrast, in the high-shock group, the neutral ensemble was no differently active than the aversive and overlap ensembles (Extended Data Fig. 4f (right)), indicating that the high shock increased reactivation of the neutral ensemble. Notably, we also found that the activity of the aversive and overlap ensembles was lower in high-shock mice compared with in low-shock mice. This is consistent with the idea that homeostatic mechanisms may have a role in regulating overall activity in hippocampus, consistent with past reports across brain areas37,38, such that if the neutral ensemble becomes more highly active, the other highly active cells must become less active.
Neutral ensemble recruited into population bursts
Since the neutral ensemble was more highly reactivated after a high shock, we next investigated whether the neutral, aversive and overlap ensembles might be firing together on a finer temporal scale. Hippocampal activity is known to exhibit organized bursts, often accompanied by sharp-wave ripples in the local field potential, during which cells that are active during learning are preferentially reactivated13–15. These events have been found to support memory consolidation13,18–21. Although calcium dynamics are of a coarser timescale than burst events recorded electrophysiologically, we observed that during the offline recordings, hippocampal calcium events periodically exhibited brief bursts of activity during which numerous cells were co-active (Fig. 2c), consistent with previous reports39,40. Notably, these burst events coincided with the mouse briefly slowing down about 1 s before the burst event, and about 1 s after, resuming its locomotion (Fig. 2d,e). This suggests that these burst events occurred during brief periods of quiescence13. We found that these bursts were unlikely to occur from shuffled neuronal activities, suggesting that these were organized events (that is, when groups of hippocampal neurons were synchronously active; Extended Data Fig. 3l–o). We isolated these brief burst periods to examine whether ensembles that were previously active during encoding were preferentially participating in these brief burst events. We first measured burst events during the offline period after an aversive experience and found that a larger proportion of aversive ensemble cells participated in these burst events than the remaining ensemble cells (Extended Data Fig. 3s).
We then examined whether a strong aversive experience drove the neutral ensemble to also participate in these bursts after aversive encoding (Fig. 3). Frequencies of burst events were comparable across groups and decreased across the hour during the offline periods after both neutral (offline 1) and aversive (offline 2) encoding (Extended Data Fig. 4h,i). As expected, after neutral encoding (offline 1), a higher percentage of the neutral ensemble was participating in these burst events compared with the remaining ensemble in both the low- and high-shock groups (Fig. 3c). After aversive encoding (offline 2), both groups again showed preferential participation of the aversive ensemble that was most recently active (Fig. 3d), as well as of the overlap ensemble that was previously active during both learning events (Fig. 3e). However, only in the high-shock group (and not the low-shock group), the neutral ensemble preferentially participated in these burst events as well (Fig. 3f), suggesting that a strong aversive experience drove the recruitment of the neutral ensemble into these burst events.
Co-bursting of the overlap and neutral ensemble
Since after a high shock (during offline 2), the neutral, aversive and overlap ensembles participated in burst events (Fig. 3d–f), we next investigated whether the ensembles co-participated within the same bursts (that is, co-bursting), or whether they participated separately in different bursts. Different ensembles co-bursting could be a mechanism that integrates the neutral and aversive memory representations. Ensemble co-bursting could integrate different memories through plasticity mechanisms such as Hebbian plasticity41 or behavioural timescale synaptic plasticity35, which has been proposed to support the formation and stabilization of place fields in hippocampal neurons. Previous work has shown that aversive learning drives increased co-activity of hippocampal neurons thought to underlie the stable representation of a context memory42, that co-activity relationships among hippocampal neurons can distinguish between contexts43 and that ensembles that are highly co-active during an offline period after learning are more likely to be reactivated during memory recall than non-co-active neurons11. These studies suggest that co-activity of hippocampal neurons is important for storing and expressing memories.
To examine whether the neutral, aversive and overlap ensembles were co-bursting during offline 2, we measured the percentage of total burst events that each ensemble participated in, independently of each other (Fig. 4a), and the percentage that the ensembles co-participated in (Fig. 4d). Previously, we found that the overlap cells (those that are active during both neutral and aversive encoding) were also highly active during the offline period (Fig. 3e and Extended Data Fig. 4f). Highly active neurons have been proposed to form a hub-like population of neurons that may orchestrate the activity of other neurons in a network44. These highly active neurons could therefore be organizing and driving the activity of other hippocampal neurons during this offline period. Thus, we hypothesized that the co-bursting of the highly active overlap ensemble and the neutral ensemble would be enhanced after a strong aversive experience.
We found that during burst events, the overlap ensemble participated independently more frequently than the neutral and aversive ensembles, but there was no difference between the low- and high-shock groups (Fig. 4b). Notably, during non-burst periods, independent ensemble participation was not different between any of the ensembles or groups (Fig. 4c). We next measured co-bursting (that is, co-participation in burst events) of the overlap ensemble with the neutral ensemble or with the aversive ensemble (Fig. 4d). We found that in the high-shock group, the overlap ensemble co-bursted more with the neutral ensemble (overlap × neutral) than with the aversive ensemble (overlap × aversive) (Fig. 4e). However, in the low-shock group, there was no difference between co-bursting of the overlap ensemble with the neutral or aversive ensembles (Fig. 4e and Extended Data Fig. 4l–o). Importantly, there were no differences in ensemble co-bursting between the low- and high-shock groups during non-burst periods (Fig. 4f). These results suggest that after a strong aversive experience, the overlap ensemble was preferentially co-bursting with the neutral ensemble, confined to periods of synchronous hippocampal activity. To confirm this, we used cross-correlations as another measure of co-activity to measure how co-active the overlap ensemble was with the neutral and the aversive ensembles. Indeed, only in the high-shock group, the overlap ensemble was preferentially correlated with the neutral ensemble compared with the aversive ensemble during the offline period (Extended Data Fig. 4k). Because the overlap ensemble was preferentially co-bursting with the neutral ensemble in the high-shock group, we examined whether the overlap ensemble, which consisted of highly active cells (Figs. 3e and 4b and Extended Data Fig. 4f), could represent a hub-like population of neurons that could help to orchestrate the activities of neighbouring neurons. Inhibitory neurons in the hippocampus are known to make thousands of synaptic contacts with neighbouring neurons45 and, as a result, have an outsized influence on the activities of the local network. Moreover, subclasses of inhibitory neurons are known to fire at specific times relative to sharp wave ripples46 and their oscillation time-locked activity is thought to gate which neurons reactivate during brief reactivation events44,47. Thus, we tested whether the overlap ensemble was highly composed of inhibitory neurons. To do this, we developed an approach to record pan-neuronal calcium imaging and identify inhibitory neurons using cell-type specific chemogenetics post hoc, which we termed chemotagging (Methods and Extended Data Fig. 5). Using this approach, we measured the inhibitory/excitatory neuron composition of the four ensembles recorded during offline 2 after aversive encoding (Extended Data Fig. 6). Indeed, we found that the overlap ensemble was enriched in putative inhibitory neurons (Extended Data Fig. 6b,c). In this experiment, we also replicated the co-reactivation of the overlap ensemble with the neutral ensemble during offline 2, as in Fig. 4e (Extended Data Fig. 6g).
To test whether the neural representations of the neutral and aversive contexts were already linked during encoding, we compared neural activity during neutral and aversive encoding in low- and high-shock mice. We found that the neural activity patterns for neutral and aversive contexts were highly discriminable. There were no differences between the low- and high-shock groups during encoding (Extended Data Fig. 7). Finally, we examined whether we would observe ensemble co-bursting if we removed the negative emotional valence. To do this, we repeated the retrospective memory-linking calcium imaging experiment; however, when we would typically conduct aversive encoding, we administered no foot shocks (that is, the no-shock group; Extended Data Fig. 8). In this group, similar to in the low-shock group, we found that neural activity during encoding of the two contexts was highly discriminable (Extended Data Fig. 8e), that the co-bursting of the overlap and neutral ensembles was not different from the co-bursting of the overlap and aversive ensembles during the offline period (Extended Data Fig. 8f,g), and that these mice showed no differences in freezing in the neutral versus novel contexts during recall (Extended Data Fig. 8d). Collectively, these results suggest that a strong aversive experience increases the co-bursting of the overlap ensemble with the neutral ensemble, providing a circuit mechanism to link fear of the recent aversive experience with the past neutral memory.
Co-reactivation occurs more during wake
Ensemble reactivation has previously been observed to occur during non-rapid-eye-movement (NREM) sleep17, REM sleep8 and wake periods48. This reactivation has been proposed to support memory consolidation, among other memory and decision-making functions13–15. Thus, we next examined whether ensemble co-reactivation occurred preferentially during a specific sleep/wake state to support retrospective memory linking. To investigate this, we performed simultaneous calcium imaging and electroencephalogram (EEG) and electromyography (EMG) recordings in mice that underwent the low- and high-shock retrospective memory-linking procedure, as in Fig. 1d (Fig. 5 and Extended Data Fig. 9). Here, mice were attached to a Miniscope chronically throughout the approximately 2 week experiment along with a chronically implanted EEG/EMG telemetry device (Methods). This enabled us to record across a 12 h offline period rather than the 1 h offline recordings in Figs. 2–4. We first validated that mice could wear the Miniscope without disruptions to their sleep (Extended Data Fig. 9d–f). We confirmed that our calcium recording scheme reliably captured all sleep states (Extended Data Fig. 9g). We also replicated the retrospective memory-linking behaviour (Extended Data Fig. 9b,c). We next examined whether sleep patterns were altered after neutral or aversive encoding. There were no differences in sleep features (total sleep time, time in each sleep/wake state, bout length or transitions between sleep states) after the neutral or aversive encoding compared to pre-experiment sleep (Extended Data Fig. 10). We then measured ensemble co-bursting during the offline periods as in Fig. 4, but here separated by sleep/wake states (Fig. 5b). We found that as in Fig. 4e, in the high-shock group, the overlap ensemble preferentially co-bursted with the neutral ensemble more than with the aversive ensemble during wake. This effect was absent in the low-shock group, and it was absent during NREM and REM sleep in both of the groups (Fig. 5c). This result of co-bursting during wake, along with our previous finding that population bursts coincided with the animal briefly pausing its locomotion (Fig. 2d,e and Extended Data Fig. 6e), suggest that this preferential ensemble co-reactivation occurs during brief periods of quiet wake.
Ensemble co-reactivation in neutral context recall
Finally, we examined how hippocampal ensemble reactivation contributed to the freezing observed during recall in the neutral context after a high shock and not after a low shock (Fig. 1f and Extended Data Figs. 1e and 9c). Previously, we found that after aversive encoding during offline 2, the overlap ensemble co-reactivated with the neutral ensemble in the high-shock group (Fig. 4e and Extended Data Figs. 4k–o and 6g), perhaps forming an integrated ensemble of neurons that is more likely to fire together in the future. If this were the case, during neutral recall, we expected that the neutral ensemble would be reactivated to recall the neutral context. We predicted that the reactivation of the neutral ensemble might trigger the reactivation of the overlap ensemble, perhaps through a process of pattern completion49, thereby driving freezing in the neutral context. Importantly, we did not expect this to occur in low-shock mice during neutral recall, where neutral and overlap ensemble co-reactivation was observed at a lower level, or in high-shock mice during novel-context exposure, as fear did not selectively spread to the novel context (Fig. 1f).
Of the cells that were active during recall of the neutral context or exposure to a novel context, we investigated the percentage that was previously active during neutral encoding, aversive encoding or both (Fig. 6a). As expected, cells exclusively active during neutral encoding and not aversive encoding were reactivated more during neutral recall than during novel-context exposure (Fig. 6a (left) and Extended Data Fig. 4q). This was the case in both the low-shock and high-shock groups, suggesting a stable and selective neural population representing the neutral context memory. The cells exclusively active during aversive encoding were not selectively reactivated during the neutral or novel contexts in either group (Fig. 6a (middle) and Extended Data Fig. 4r). Importantly, the cells that were active during both neutral and aversive encoding (overlap ensemble) were reactivated more during neutral recall than novel-context exposure in the high-shock but not the low-shock group (Fig. 6a (right) and Extended Data Fig. 4s). This suggests that after ensemble co-reactivation of the neutral and overlap ensembles during the offline period after a high shock, these ensembles were more likely to reactivate during neutral recall.
The strong aversive experience prompted an ensemble from days ago to be reactivated offline. During subsequent neutral recall, mice exhibited increased freezing despite never having been shocked in that context. If this offline reactivation of the neutral ensemble was indeed modifying the neutral memory representation, we hypothesized that during neutral recall, the activity patterns observed would be different from those during neutral encoding in high-shock mice compared with in low-shock mice, and perhaps compared with the change observed from aversive encoding to aversive recall. To measure the similarity between activity patterns during encoding and recall, we computed a mean population activity vector during neutral encoding and correlated it with 30 s population vectors across neutral recall (Methods). We repeated this for aversive encoding and correlated it with activity patterns during aversive recall. Consistent with our hypothesis, neutral encoding-to-recall correlations were lower in high-shock mice compared with in low-shock mice (Fig. 6b), suggesting that the neutral memory representation was significantly altered from encoding to recall in high-shock mice. In high-shock mice, the neutral encoding-to-recall correlations were also lower than aversive encoding-to-recall correlations (Fig. 6b), suggesting that the neutral memory representation was modified more than the aversive memory representation. These results collectively suggest that a strong aversive experience drove the overlap and neutral ensembles to co-reactivate during the offline period, altering the neutral memory representation. During neutral recall, these ensembles were again co-reactivated, leading to the increased freezing observed in the neutral context (Fig. 6c).
Discussion
How animals dynamically update memories as they encounter new information remains a fundamental question in neuroscience22. Past work has shown that individual experiences are encoded by subpopulations of neurons across the brain that are highly active during learning6,24. After learning, the activity of these ensembles is necessary4 and sufficient3,5 for memory recall, and their reactivation during memory recall is correlated with memory recall strength1,6. How memories encoded across time are integrated remains a critical and unanswered question in neuroscience. The memory-allocation hypothesis suggests that neurons with high intrinsic excitability at the time of learning are likely to be allocated to a memory trace24. Previous studies suggest that two memories encoded within a day are likely to be linked because they share an overlapping population of highly excitable neurons during the initial learning. This shared neural ensemble links the two temporally related memories, such that the recall of one memory is more likely to trigger the recall of another memory that was encoded close in time24,29,30,50. While these studies have focused on how memories can be linked during the encoding process, here we demonstrate that memories are dynamically updated even days after they have been encoded and consolidated, and that this process is driven by ensemble co-reactivation during a post-learning period.
Linking the present with the past can make predictions about the future
Whether linking memories across days is an adaptive or maladaptive process may depend on the environmental conditions. Under everyday circumstances, memories that are encoded far apart in time and that share no features in common are not typically linked. Memories must be segregated to allow proper recall of distinct memories. Notably, the hippocampus has been shown to successfully discriminate between distinct memories49. However, after a potentially life-threatening experience, especially one in which the source of the aversive outcome is ambiguous (as in the aversive experience used here), it could benefit an animal to link fear from that aversive experience to previous events, particularly if the event is rare and novel as also seen in conditioned taste aversion23. Consistent with this intuition, our results suggest that a highly emotional and salient experience drives retrospective memory linking (Fig. 1d–g and Extended Data Figs. 1c–e, 2 and 9b,c). Moreover, our results suggest that fear is more likely to be linked retrospectively to past events rather than prospectively to future events separated by days (Fig. 1a–c and Extended Data Fig. 1a,b). This is consistent with the notion that cues present before an outcome can predict that outcome. On a shorter timescale, it has been well established that when a neutral cue directly precedes a foot shock by seconds, this drives associative learning between the cue and the foot shock, leading to cue-elicited freezing51. However, if the cue instead occurs directly after the foot shock, the animal no longer freezes in response to cue presentation thereafter, presumably because the cue predicts the ensuing absence of the aversive event52. Although the difference in timescale suggests that different mechanisms are likely at play in these two scenarios, our results are consistent with the idea that cues occurring before an outcome can be interpreted as predictive cues to the animal. A recent review has also suggested that animals use retrospective cognitive maps to infer the states that precede an outcome to draw causal associations between those stimuli53. Our results suggest that offline periods are important for this retrospective inference (Fig. 6c).
Offline periods promote association between memories not previously linked
Offline periods offer an opportunity for the brain to draw inferences about relationships that were not necessarily formed at the time of learning. In humans, it has been shown that an emotional experience can retrospectively enhance memory strength for previously learned neutral objects, only after a period of consolidation32. In that study, the participants were exposed to neutral stimuli and, 5 min later, were fear conditioned to conceptually similar stimuli. There was only an enhancement of the neutral memory if a consolidation window was imposed after fear conditioning. A separate study demonstrated that this retrospective memory enhancement coincided with increased functional hippocampal–cortical coupling and fMRI BOLD activity in the ventral tegmental area and locus coeruleus33. Together, these studies in human participants suggest that offline periods offer an opportunity for memories to interact and become linked.
Moreover, in mice, a recent study showed that two contexts with strongly shared geometrical features can be integrated immediately after learning (that is, 15 min after learning), whereas two contexts with subtly shared geometrical features require an offline period (that is, 1 day after learning) to drive their integration54. During this offline period, cortical ensemble co-reactivation drives this memory integration. Retrospective memory linking occurs through co-reactivation of the ensembles for the two memories during an offline period, probably across multiple brain regions and can be modulated by the aversiveness of the experience.
Sleep and wake states promote distinct memory processes
Past studies have shown that ensemble reactivation occurs during both sleep (NREM and REM sleep) and wake states. Reactivation during different states has been proposed to support different memory processes. For example, classical studies demonstrated that after a salient experience, the patterns of neuronal activity that were present during learning are sequentially replayed offline, and this replay has been observed during both NREM and REM sleep13–15. The replay observed during sleep was proposed to support memory consolidation and, indeed, disruption of sharp-wave ripples (during which most of these replay events occur) disrupts the storage of memories such that memory recall is disrupted thereafter19,20. Notably, one study found that prolonging sharp-wave ripple durations benefited memory, whereas cutting them short impaired memory21. In addition to during sleep, it has also been observed that sharp-wave ripples and hippocampal replay occur while animals are awake, and it can occur in a forward or reverse direction9. This has led to the idea that different forms of replay may have different functions, from memory consolidation to planning and decision-making13–15, although this remains a debate55. Our results demonstrate that ensemble co-reactivation supporting memory integration is a phenomenon that occurs most during wake periods. More specifically, the transient population bursts during which we observed ensemble co-reactivation occurred during brief periods of quiet wake (Fig. 2d,e and Extended Data Fig. 6e). Thus, while memory consolidation is supported by ensemble reactivation during sleep, retrospective memory linking may be supported by ensemble co-reactivation during periods of wakeful quiescence.
Ensemble co-activity supports retrospective memory linking
A long history of literature suggests that the specific timing of activity among neurons regulates whether ensembles of neurons will strengthen or weaken their connections and, therefore, be more or less likely to fire together long-term (that is, cells that fire together, wire together)35,41,56. Consistent with this literature, we demonstrate here that ensembles representing two distinct memories can be reactivated together during offline periods, and this co-reactivation drives the long-term integration of these populations of neurons, such that they are both more likely to be active again days later, when animals recall the past neutral memory. Critically, this co-reactivation is dependent on the population of neurons that are active during both the neutral and aversive learning experiences (that is, the overlap ensemble; Figs. 2–6). This highly active ensemble may function as a hub-like ensemble of neurons that can orchestrate the firing of other cells in the population during offline periods44. Inhibitory neurons in the pyramidal layer of the hippocampal CA1, which make thousands of synapses with neighbouring neurons, have the potential to exert an outsized influence on the activity of neurons in the region. For example, inhibitory neurons in the CA1 that are highly active around the onset of sharp-wave ripples are thought to gate which excitatory neurons fire during and after sharp-wave ripples57. Moreover, it has been shown that inhibitory neurons have a direct role in encoding aversive memories, rather than solely a role in modulating excitatory neuron activity58. Notably, during the offline period, the overlap ensemble included a large number of inhibitory neurons (Extended Data Fig. 6). The overlap ensemble also participated more during population bursts than the other ensembles (Fig. 4b and Extended Data Fig. 6f) and displayed specific co-firing with other memory-relevant ensembles (Figs. 4e and 5c and Extended Data Fig. 6g), consistent with a hub-like neuronal population.
Translation implications
Finally, these results have implications for interpretation of the clinical manifestation of memory-related conditions such as post-traumatic stress disorder (PTSD). PTSD transpires from one or multiple traumatic events and is hallmarked by uncontrollable fear in non-life-threatening contexts59. A common form of behavioural treatment for PTSD is exposure therapy, whereby the patient is carefully re-exposed to the trauma-associated conditioned stimuli, seeking to detach the association between those stimuli and fear. In many cases, exposure therapy successfully decreases fear, but patients are often prone to relapse thereafter60. Our results suggest that highly salient aversive experiences can drive fear to be associated with seemingly unrelated stimuli that were not present at the time of the aversive experience, and that this scales with the perceived aversiveness of the experience (Fig. 1g). This predicts that although exposure therapy may successfully inhibit fear to the trauma stimuli, the fear from the trauma may have spread to other stimuli that were not directly targeted by the therapy. Thus, it may be useful to consider stimuli that were experienced across time that may have insidiously become linked with the trauma. Our results point to the offline period after an aversive event as a potential intervention timepoint to unlink memories separated across days.
Taken together, our results suggest that after a highly emotional and salient experience, the brain not only reactivates the recent experience to consolidate that memory, but also co-reactivates past memories from days ago. This co-reactivation of multiple experiences during a period of quiet wake integrates memories across time. This has important implications for both adaptive memory processes (such as making causal inferences) and maladaptive processes (such as overgeneralization of fear in PTSD).
Methods
Mice
Adult C57BL/6J wild-type male mice from Jackson Laboratories were used in all experiments except for inhibitory tagging experiments (Extended Data Figs. 5 and 6). In those experiments, Gad2-cre male mice from Jackson Laboratories (or bred in-house from Jackson Laboratories) were used. Mice ordered from Jackson arrived group-housed in cages of 4 mice per cage and were singly housed for the experiment. Mice underwent behavioural testing at 12–18 weeks of age. For experiments in which mice underwent PSAM virus injections, mice were included in the experiment if there was expression of GFP+ cell bodies in both the dorsal and ventral hippocampus. All experimental procedures were approved by the Icahn School of Medicine at Mount Sinai’s IACUC.
Viral constructs
For calcium imaging experiments in Figs. 2–6 and Extended Data Figs. 3, 4 and 7–10, AAV1-Syn-GCaMP6f-WPRE-SV40 (titre, 2.8 × 1013 genome copies per ml) was purchased from AddGene and was diluted by 4 in sterile 1× PBS (final titre, ~7 × 1012 genome copies per ml). The mice had 300 nl of the diluted virus injected into the right hemisphere of the dorsal CA1. For PSAM experiments, AAV5-Syn-PSAM4-GlyR-IRES-eGFP (2.4 × 1013 genome copies per ml) was purchased from AddGene. Mice had the virus injected at stock titre bilaterally into the dorsal and ventral hippocampus, 300 nl per injection site. For inhibitory tagging experiments, a virus cocktail of AAV1-Syn-GCaMP6f-WPRE-SV40 (titre, 1.3 × 1013 genome copies per ml) and AAV5-hSyn-DIO-hM3Dq-mCherry (titre, 2.6 × 1013 genome copies per ml) (both purchased from AddGene) was mixed 1:1 and mice had 300 nl of this mixed virus cocktail injected into the right hemisphere of the dorsal CA1.
Surgery
Mice were anaesthetized with 1 to 2% isoflurane for surgical procedures and placed into a stereotaxic frame (David Kopf Instruments). Eye ointment was applied to prevent desiccation, and the mice were kept on a heated pad to prevent hypothermia. Surgery was performed using aseptic technique. After surgery, carprofen (5 mg per kg) was administered every day for the following 3 days, and ampicillin (20 mg per kg) was administered every day for the next 7 days. For calcium imaging experiments, dexamethasone (0.2 mg per kg) was also administered for the following 7 days.
For PSAM experiments (Extended Data Fig. 1l–p), AAV5-Syn-PSAM4-GlyR-IRES-eGFP was injected at stock concentration. Mice had 300 nl of the virus injected bilaterally into the dorsal hippocampus (anteroposterior (AP), −2 mm; mediolateral (ML), ±1.5 mm; dorsoventral (DV), −1.5 mm) and 300 nl injected bilaterally into the ventral hippocampus (AP, −3 mm; ML, ±3.2 mm; DV, −4 mm), for a total of four injections and 1.2 μl injected per mouse, using a glass pipette and the Nanoject injector. The pipette was slowly lowered to the injection site, the virus was injected at 2 nl s−1 and then the pipette remained for 5 min before being removed to allow diffusion of the virus. Mice had their incision sutured after surgery and betadine was applied to the site to prevent infection.
For calcium imaging experiments in Figs. 1–4 and 6, mice underwent two serial procedures spaced 1 month apart, as described previously29. During the first surgery, a 1 mm diameter craniotomy was made above the dorsal hippocampus on the right hemisphere (centred at AP, −2 mm; ML, +1.5 mm from bregma). An anchor screw was screwed into the skull on the contralateral hemisphere at approximately AP −1 mm and ML −2.5 mm from bregma. Then, 300 nl of AAV1-Syn-GCaMP6f was injected into dorsal CA1 of the hippocampus on the right hemisphere (AP, −2 mm; ML, +1.5 mm; DV, −1.2 mm). Virus was injected as described in the PSAM experiments above. After the pipette was removed, the mouse remained on the stereotaxic frame for 20 min to allow complete diffusion of the virus. After 20 min of diffusion, the cortex below the craniotomy was aspirated with a 27-gauge blunt syringe needle attached to a vacuum pump, while constantly being irrigated with cortex buffer. When the striations of the corpus callosum were visible, the 27-gauge needle was replaced with a 30-gauge needle for finer-tuned aspiration. Once most of corpus callosum was removed, bleeding was controlled using surgical foam (Surgifoam), and then a 1 mm diameter × 4 mm length GRIN lens (GRINTECH) was slowly lowered into the craniotomy. The lens was fixed with cyanoacrylate, and then dental acrylic was applied to cement the implant in place and cover the rest of the exposed skull. The top of the exposed lens was covered with Kwik-Sil (World Precision Instruments) to protect it and the Kwik-Sil was covered with dental cement. Then, 4 weeks later, the mice were again put under anaesthesia to attach the baseplate, visually guided by a Miniscope. The overlying dental cement was drilled off and the Kwik-Sil was removed to reveal the top of the lens. The Miniscope with an attached baseplate was lowered near the implanted lens and the field of view was monitored in real-time on a computer. The Miniscope was rotated until a well-exposed field of view was observed, at which point the baseplate was fixed to the implant with cyanoacrylate and dental cement. The mouse did not receive post-operative drugs after this surgery as it was not invasive. For inhibitory tagging experiments, the surgeries were performed as described above; however, they were separated into three surgeries rather than two: first, the virus injection was done and the mice had the incision sutured after the surgery. The lens implant procedure was done during a separate surgery 1–7 days later. Baseplating was done 1 month after viral injection during a third surgery.
For calcium imaging experiments with EEG/EMG implants (Fig. 5 and Extended Data Figs. 9 and 10), mice underwent three serial procedures spaced around 2 weeks apart. During the first surgery, mice had 300 nl of AAV1-Syn-GCaMP6f injected into dorsal CA1 as described above, but the incision was sutured after the surgery. Then, 2 weeks later during a second surgery, mice had their overlying cortex aspirated and a GRIN lens was implanted above the injection site, as above. During this surgery, a wireless telemetry probe (HD-X02, Data Science International) was also implanted with EEG and EMG wires. Two EMG wires were implanted into the left trapezius muscle. One EEG wire was implanted between the skull and dura mater above the dorsal hippocampus on the contralateral hemisphere to the GRIN lens (left hemisphere; AP, −2 mm; ML, −1.5 mm), and a reference EEG wire was implanted between the skull and the dura on the right hemisphere overlying the prefrontal cortex (AP, +1.75 mm; ML, −0.5 mm). Cyanoacrylate and dental cement fixed the GRIN lens, anchor screw and EEG wires in place. The telemetry probes were implanted during the second surgery rather than the first to minimize the time that the mice needed to live with the implant (because the mice sometimes reject the implant after long periods). During the third procedure, the mice were returned to implant the baseplate, as described above.
Behavioural procedures
Before all of the experiments, the mice were handled for 1 min each day for at least 1 week. On at least four of those days, the mice were transported to the testing room and handled there. On the rest of the days, the mice were handled in the vivarium. In calcium imaging experiments, mice were handled and habituated for 2 weeks instead of 1, during which they were habituated to having the Miniscope attached and detached from their heads. To become accustomed to the weight of the Miniscope, they were placed in their home cage with the Miniscope attached for 5 min per day for at least 5 days.
In memory-linking behavioural experiments, mice were exposed to the neutral context for 10 min to explore. During aversive encoding, after a baseline period of 2 min, mice received three 2 s foot shocks of either amplitude 0.25 mA (low-shock) or 1.5 mA (high-shock), with an intershock interval of 1 min. Then, 30 s after the final shock, the mice were removed and returned to the vivarium. On the next 3 days, the mice were tested in the previously experienced aversive and neutral contexts, as well as a completely novel context that they had not been exposed to previously, for 5 min each. The features of the neutral and novel contexts were counter-balanced and were made up of different olfactory, auditory, lighting and tactile cues. The aversive context was always the same with distinct cues from the neutral and novel contexts. In the PSAM experiment (Extended Data Fig. 1l–p), the mice were tested in either the aversive, neutral or novel context. In the prospective versus retrospective memory-linking experiment (Fig. 1a–c), mice were tested in the aversive context first, and then half of the mice were tested in the neutral context and the other half in the novel context. In the low- versus high-shock experiments (Fig. 1d–g and Extended Data Figs. 1c–e and 9b,c), mice were tested in the aversive context first, followed by testing in the neutral and novel context counter-balanced; half of the mice received neutral recall and then novel-context exposure the next day, and the other half received novel-context exposure and then neutral recall. All testing was done in Med Associates chambers. Behavioural data were processed using the Med Associates software for measuring freezing. In experiments in which mice were tethered with a Miniscope, behavioural data were processed using our previously published open-source behavioural tracking pipeline, ezTrack61 v.1.2. In the prospective versus retrospective memory-linking temporal window experiments (Extended Data Fig. 1a,b), the aversive learning experience was distinct: mice explored for 2 min, then administered one 0.75 mA, 2 s foot shock and removed from the context 30 s after this shock.
In cocaine retrospective memory-linking experiments (Extended Data Fig. 2), mice were placed in the same contexts that were used in the above aversive memory-linking experiments (that is, Med Associates chambers). For cocaine–context pairings, mice were injected with cocaine (or saline as a control) and immediately placed in the conditioning context for 10 min. For encoding of the neutral context, mice were placed in the context for 10 min. Recall sessions were 5 min each. Behavioural data were processed using the Med Associates software for measuring locomotion.
Drug injections
For PSAM experiments (Extended Data Fig. 1l–p), uPSEM-817 tartrate was made in a solution of 0.1 mg ml−1 in saline and injected intraperitoneally at a dose of 1 mg per kg (10 ml kg−1 injection volume). Previous studies have shown that PSAM4-GlyR (PSAM), an inhibitory ionotropic receptor with no endogenous ligand, binds with the injectable PSEM ligand to cause robust hyperpolarization in neurons62. Saline was used as a vehicle. The first injection was done as soon as the mice were brought back to the vivarium after aversive encoding (around 3 min after the end of aversive encoding). The next three injections were done every 3 h to cover a 12 h timespan of inhibition. For cocaine retrospective memory-linking experiments, mice were injected with 10 mg per kg (10 ml kg−1 injection volume) of cocaine dissolved in saline, or injected with saline as a control. For chemogenetic identification of inhibitory neuron experiments (Extended Data Figs. 5 and 6), clozapine N-oxide dihydrochloride (CNO) was made in a solution of 0.3 mg ml−1 in saline and injected intraperitoneally at a dose of 3 mg per kg (10 ml kg−1 injection volume). In Extended Data Fig. 5, all of the mice were injected with saline on the first day. On the second day, mice were injected with CNO or saline and, on the third day, mice were injected with saline or CNO, whichever solution they did not receive the day before.
Calcium imaging Miniscope recordings
Open-source V4 Miniscopes (https://github.com/Aharoni-Lab/Miniscope-v4) were connected to a coaxial cable, which was connected to a Miniscope data acquisition board (DAQ) 3.3. The DAQ connected to a computer through USB3.0. Data were collected through the Miniscope QT Software v.1.11 (https://github.com/Aharoni-Lab/Miniscope-DAQ-QT-Software) at 30 fps. The Miniscopes were either assembled in-house or purchased from Open Ephys, and DAQ boards were purchased from Open Ephys.
When performing calcium imaging with concurrent behaviour in the Med Associates boxes, mice were brought into the testing room from the vivarium, taken out of their home cage and had the Miniscope attached. They were placed back into their home cage for 1 min. They were then removed from their home cage and placed into the testing chamber. To record calcium and behaviour, the Med Associates software sent a continuous TTL pulse to record from the Miniscope while the behaviour was concurrently tracked using Med Associates cameras. After the session was complete, the mice were immediately returned to their home cage, then the Miniscope was removed, and the mouse was returned to the vivarium. One mouse was brought to the testing room at a time.
For calcium imaging experiments without simultaneous EEG and EMG recordings, offline calcium imaging recordings were done in the mouse’s home cage for the 1 h after neutral encoding and after aversive encoding. During these recordings, mice were placed back into their home cage and the home cage was placed into a large rectangular and opaque storage bin to occlude distal cues, with a webcam (Logitech C920e or MiniCAM) overlying the home cage to track behaviour during the recording. Using the Miniscope QT Software with two devices connected (Miniscope and webcam), calcium imaging and behaviour were concurrently tracked. After the offline recording was complete, mice were removed from their home cage, the Miniscope was removed, they were returned to their home cage and returned to the vivarium immediately thereafter. The same procedure was undergone for the experiment in Extended Data Fig. 3. For calcium imaging experiments with simultaneous EEG and EMG recordings, mice lived in a custom-made home cage where offline recordings could take place. These home cages (Maze Engineers) were custom designed to accommodate mice wearing a Miniscope chronically for the duration of the experiment (about 2 weeks total). The water spout and food hopper were side-mounted and there was a slit along the top of the home cage so that the Miniscope coaxial cable could freely move. This home cage was placed on top of a receiver that would wirelessly receive EEG, EMG, temperature and locomotion telemetry data continuously throughout the experiment (HD-X02, Data Science International). Mice had a Miniscope attached on the first day and were allowed to wear it for an hour in their home cage to acclimatize to its weight, after which it was removed. On the second day, the Miniscope was attached and remained on for the duration of the experiment, for a total of 2 weeks. The Miniscope was connected to a lightweight coaxial cable (Cooner Wire) which connected to a low-torque passive commutator (Neurotek) to allow the mice to freely move around the home cage with minimal rotational force. After exposure to the neutral context during encoding, the mice were immediately returned to their home cage in the vivarium and the first calcium imaging recording began. The Miniscope DAQ was connected to an Arduino with a schedule set up to send a 10 min TTL pulse to record for 10 min, with a 20 min break in between, repeated 24 times. Thus, we sampled 4 h worth of calcium imaging data across 12 h. The telemetry probe recorded continuously for the duration of the experiment while the mouse was in its home cage in the vivarium.
Sleep recordings and sleep scoring
The HD-X02 implants recorded EEG, EMG, temperature and locomotion continuously throughout the experiment at 100 Hz. After the experiment was completed, the data were run through an automatic custom-written algorithm to detect sleep states. First, the data were binned into 6 s epochs (to allow enough cycles of slow-wave oscillations). To separate sleep and wake states, the EMG data were fit with a Gaussian mixture model with two states, in which the lower state represented sleep and the higher state represented wake. To separate REM versus NREM periods, the EEG was band-pass filtered for theta (5–9 Hz) and delta (0.5–4 Hz) signals, and a ratio of theta to delta signal was calculated. A Gaussian mixture model was fit to this theta/delta ratio with two states, in which high theta/delta meant REM, while low theta/delta meant NREM. The algorithm was validated against manually scored data.
Miniscope data processing and data alignment
To extract calcium transients from the calcium imaging data, we used our previously published open-source calcium imaging data processing pipeline, Minian63 v.1.2.1. In brief, videos were preprocessed for background fluorescence and sensor noise, and motion corrected. Putative cell bodies were then detected to feed into a constrained non-negative matrix factorization algorithm to decompose the three-dimensional video array into a three-dimensional array representing the spatial footprint of each cell, as well as a two-dimensional matrix representing the calcium transients of each cell. The calcium transients were then deconvolved to extract the estimated time of each calcium transient. Deconvolved calcium activities were analysed in these studies, except Extended Data Figs. 5 and 6, which used calcium traces. For calcium imaging experiments with EEG/EMG, data were processed as above; however, the videos were temporally downsampled by 2 (to 15 Hz). Cells recorded across sessions within a mouse were cross-registered using a previously published open-source cross-registration algorithm, CellReg, using the spatial correlations of nearby cells to determine whether highly correlated footprints close in space are likely to be the same cell across sessions64. For calcium imaging experiments with EEG/EMG, each offline recording was cross-registered with all the encoding and recall sessions, but not with the other offline sessions because cross-registering between all sessions would lead to too many conflicts and, therefore, to no cells cross-registered across all sessions.
To align calcium imaging data with behaviour, behaviour recordings were first aligned to an idealized template assuming a perfect sampling rate. This meant that if a recording session was 5 min, there should be 300 s × 30 fps = 9,000 frames (for a 30 Hz recording). All behaviour recordings were within four frames of this perfect template. Calcium recordings recorded with a much more variable and dynamic sampling rate. Then, for each behaviour frame, the closest calcium imaging frame was aligned to that frame, using the computer timestamp of that frame in milliseconds. No calcium imaging frame was reused more than twice. For calcium imaging experiments with EEG/EMG, each frame of calcium activity was aligned with the sleep state the mouse was in at that time. To do this, the computer time of each calcium frame was compared with the sleep states detected around the same time. If the calcium frame occurred during one of the 6 s sleep timeframes, that calcium frame was designated that sleep state; otherwise, if there were no sleep data during that time (due to data being dropped or low quality), it was designated no state and was excluded from sleep-state-specific analyses to account for any dropped frames in the telemetry data.
General statistics and code/data availability
All analyses and statistics were performed using custom-written Python and R scripts. Code detailing all the analysis in this Article is available at GitHub (https://github.com/denisecailab/RetrospectiveMemoryLinkingAnalysis_2024). Calcium imaging data used in this Article is available through the Neurodata Without Borders framework to seamlessly share data across institutions upon reasonable request65. Statistical significance was assessed using two-tailed paired and unpaired t-tests, as well as one-way, two-way, or three-way analysis of variance, linear mixed-effects models or χ2 tests where appropriate. Significant effects or interactions were followed with post hoc testing with the use of contrasts or with Benjamini–Hochberg corrections for multiple comparisons. Significance levels were set to α = 0.05. Significance for comparisons is indicated by asterisks; *P ≤ 0.05, **P < 0.01, ***P < 0.001, ****P < 0.0001. Sample sizes were chosen on the basis of previous similar studies. Error bars and error bands always refer to the s.e.m., and bars and points with error bars always refer to the mean. The investigators were not blinded to behavioural testing in calcium imaging studies but were blinded to behavioural testing in all other experiments. Mice were randomly assigned to groups in all of the experiments.
Ensemble reactivation analysis
To measure ensemble reactivation across the offline period (Extended Data Fig. 4f), for each mouse, the matrix of neural activity that was recorded during the offline session was z-scored along both axes (cells and time). Cells were then broken up into ensembles on the basis of whether they were previously observed to be active. Previously active cells were defined on the basis of whether they had a corresponding matched cell through CellReg. On offline 1 after neutral encoding, cells were either previously matched to an active cell during neutral encoding (neutral ensemble) or had no previously matched cell (remaining ensemble). On offline 2, cells had a matched cell only with neutral encoding and not aversive encoding (neutral ensemble), a matched cell with aversive encoding and not neutral encoding (aversive ensemble), a matched cell on both neutral encoding and aversive encoding (overlap ensemble), or no matched cell (remaining ensemble). For each ensemble, the activity of cells was averaged across cells, and then averaged across time for each time bin.
Burst participation analysis
To measure population bursts (Figs. 2 and 3 and Extended Data Figs. 3 and 4), for each mouse, all cells that were recorded during that session were z-scored along the time dimension, such that each cell was normalized to its own activity. By doing this, no cell overly contributed to population bursts by having a very high amplitude event. Then, the mean population activity across the whole population was computed across the session and that one-dimensional trace was z-scored. Time periods when the mean population activity reached above a threshold of z = 2 were considered to be burst events. During each of these burst events, each cell was considered to have participated if its activity was above z = 2 during the event. For each ensemble (as defined in the previous section), the fraction of the ensemble that participated in each event was computed, and then this was averaged across all events. The average participation of each ensemble was compared across ensembles and across low- versus high-shock groups.
Ensemble co-participation analysis
To measure ensemble co-participation during bursts (Figs. 4 and 5 and Extended Data Figs. 3, 6 and 8), bursts were defined on the basis of the z-scored mean population activity of the whole population. Then, for each burst event, the z-scored mean population activity was computed for the neutral ensemble and for the aversive ensemble (see the ‘Ensemble reactivation analysis’ section for ensemble definitions). For each population-level burst event, the ‘participation’ of the neutral ensemble or aversive ensemble was measured on the basis of whether the ensemble’s mean population activity was above the z = 2 threshold during the population level event. The burst events in which one ensemble participated without the other ensembles were considered independent participations. The burst events in which multiple ensembles simultaneously participated were considered co-participations. The fraction of burst events in which each ensemble independently participated and co-participated was computed. Then, the same computation was performed for all non-burst periods to examine how frequently the ensembles burst independently and coincidentally outside of burst events. In the calcium imaging experiment with EEG/EMG (Fig. 5), ensemble co-participation was defined above; however, as there were several offline recordings per mouse, each ensemble mean activity was computed for each offline session, and all the mean ensemble activities were concatenated to produce a pseudocontinuous time series of mean ensemble activities across the offline session. These mean activities were z-scored and then ensemble co-participation was computed separately for each sleep state.
Time-lagged cross-correlation analysis
To measure cross-correlations (Extended Data Fig. 4k), mean ensemble activities were computed for the overlap, neutral and aversive ensembles (see the previous two sections). Each time series was then broken up into 120 s bins. The overlap ensemble was separately correlated with the neutral ensemble and the aversive ensemble bin by bin. For each time bin, cross-correlations were computed for lags up to a maximum of 5 frames (or ~160 ms). The maximum correlation was taken for each time bin, and the average correlation across time bins was computed. This led to, for each mouse, an average correlation between the overlap ensemble and the neutral ensemble, and an average correlation between the overlap ensemble and the aversive ensemble, across the offline period.
Inhibitory neuron chemogenetic tagging (chemotagging)
To chemogenetically identify which neurons recorded with calcium imaging were inhibitory neurons (Extended Data Fig. 6), the calcium transients of cells during the 45 min CNO session were taken and normalized to have the range [0,1]. The number of prominent calcium peaks that each cell had from minutes 10–40 were computed and this was used to sort the cells from most to least responsive during this inhibitory tagging session (with cells with more peaks being more responsive and more likely putative GAD+ inhibitory neurons). These cells were cross-registered back to cells that were active during the previous offline 2 day (Extended Data Fig. 6b,c,h,j) to distinguish putative inhibitory neurons during that session. If a cell on offline 2 was not cross-registered with a cell on inhibitory tag day, that offline 2 cell was set to have 0 activity on inhibitory tag day, with the rationale that an hM3Dq+ cell would be likely to respond when administered with CNO. Offline cells were sorted on the basis of their responses on inhibitory tag day, with the most responsive cells being putative inhibitory neurons. Then, offline 2 cells were binned into groups on the basis of how responsive they were on inhibitory tag day (for example, top 20% of responsive cells) for downstream analyses. The same cross-registration was repeated with neutral and aversive encoding (Extended Data Fig. 6j) for decoding with putative inhibitory neurons. To compare putative inhibitory versus excitatory neurons (Extended Data Fig. 6b,c), the top 10% of most responsive cells on CNO day were used as the putative inhibitory neurons, with the rest of the population as putative non-inhibitory neurons. This is based on anatomical data estimating that inhibitory neurons make up about 10% of the neuronal population in the pyramidal layer on hippocampal CA1 (ref. 45).
SVM analyses
To perform support vector machine (SVM) decoding to distinguish neutral from aversive encoding based on neural activity (Extended Data Fig. 7a), first only cells that were active during both encoding sessions were aligned and all other cells active during only one of the encoding sessions were excluded. As neutral encoding was longer than aversive encoding, neutral encoding activity was trimmed to the same length as aversive encoding. The activity vectors were concatenated and a random 50% of vectors were used to define the training set. A linear SVM was fit to the activity patterns and then tested for decoding accuracy on the held out 50% of data. This was repeated 50 times to produce a distribution of accuracies, from which the mean accuracy was extracted. For shuffle controls, the labels were randomly shuffled and the SVM was trained on the randomly shuffled labelled data. For SVM decoding in the inhibitory tagging experiment, first decoding was done as described above (Extended Data Fig. 6i). Second, cells active during both neutral and aversive encoding were extracted, as described above. These cells were sorted on the basis of how responsive they were on inhibitory tagging day (when they received CNO). The cells were broken up into fifths from most responsive to least responsive on inhibitory tagging day. Each 20% of cells was trained using an SVM as above (Extended Data Fig. 6j). This performance was compared with shuffled label controls for each fraction of cells.
Population vector correlation analysis during encoding
To measure the similarity of population activity within and across neutral and aversive encoding, cells that were active during both neutral and aversive encoding were extracted (excluding any cells active only during one or the other), and the activities were concatenated across time. A population vector correlation matrix was computed to extract intrasession correlations (comparing every moment to every other moment within a session), as well as intersession correlations (comparing every moment within a session to all moments in the other session). The mean intrasession correlations were computed (intra-neutral and intra-aversive), as well as the intersession correlations (InterCorrs), and compared.
Encoding-to-recall population vector correlation analysis
To measure correlations between encoding and recall activity patterns (Fig. 6b), first for each mouse, only cells that were active during both the encoding and recall session were included in the analysis and were aligned across the two sessions. For the encoding session, the mean population activity across the entire session was computed to produce one vector. Then, the recall session was broken up into 30 s bins and the mean population activity vector was computed for each bin. The encoding vector was correlated with each recall vector, as described previously66. We used Kendall’s tau correlations. Finally, the correlations across all of the recall bins were averaged to produce one average correlation between encoding and recall, for each mouse.
Ensemble reactivation during neutral and novel recall
To measure reactivation of past encoding ensembles during recall (Fig. 6a and Extended Data Fig. 4q–s), for each mouse, cells active during neutral and novel recall were cross-registered with cells active during neutral encoding and not aversive encoding (neutral ensemble), aversive encoding and not neutral encoding (aversive ensemble), and during both neutral and aversive encoding (overlap ensemble). The fraction of recall cells that were cross-registered with each of these ensembles was then computed (for example, the fraction of neutral recall cells that were previously active during both neutral and aversive encoding—the overlap ensemble, measured the reactivation of the overlap ensemble during neutral recall). These values of ensemble reactivation are reported in Extended Data Fig. 4q–s for the reactivation of the neutral, aversive and overlap ensembles during neutral and novel recall. Then, for each mouse, the difference in this reactivation between neutral and novel recall was computed (neutral reactivation − novel reactivation) to create a reactivation index. A reactivation index of greater than 0 would indicate that an ensemble was more reactivated in neutral compared to novel recall. A value less than 0 would indicate that the ensemble was more reactivated during novel recall. These reactivation index scores are reported in Fig. 6a.
Inclusion and ethics statement
All authors support inclusive, diverse and equitable research conduct. Eight authors self-identify as part of an under-represented group in biomedical research as defined by the NIH. Moreover, nine authors, including the senior author, are women. One or more authors received support from a program designed to increase diverse representation in science, including the NIH Diversity Supplement and Mount Sinai Scholar Award.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Online content
Any methods, additional references, Nature Portfolio reporting summaries, source data, extended data, supplementary information, acknowledgements, peer review information; details of author contributions and competing interests; and statements of data and code availability are available at 10.1038/s41586-024-08168-4.
Supplementary information
Acknowledgements
This work was supported by the DP2 MH122399, R01 MH120162, Brain Research Foundation Award, Klingenstein-Simons Fellowship, NARSAD Young Investigator Award, McKnight Memory and Cognitive Disorder Award, One Mind-Otsuka Rising Star Research Award, Hirschl/Weill-Caulier Award, Mount Sinai Distinguished Scholar Award and Friedman Brain Institute Award to D.J.C.; the CURE Taking Flight Award, American Epilepsy Society Junior Investigator Award, R03 NS111493, R21 DA049568, R01NS116357, RF1AG072497 to T.S.; NIMH F31MH126543 to Y.Z.; NIMH K99 MH131792 and BBRF Young Investigator Award to Z.T.P.; NIMH R01 MH113071, NIA R01 AG013622 and Dr Miriam and Sheldon G. Adelson Medical Research Foundation to A.J.S.; F32NS116416 to Z.C.W. We thank B. Wei, M. La-Vu and C. Lee for experimental support; the members of D. Cai’s and T. Shuman’s laboratories for their feedback throughout the duration of the project; D. Aharoni and F. S. Jimka for Miniscope-related support; A. Varga and K. Kam for assistance with sleep scoring from EEG/EMG data; M. Tirole, C. Clopath, G. Delamare and S. Rabinowitz for discussions and input regarding analyses; P. Davis for discussions throughout the project and for comments on the manuscript; the staff at Stellate Communications for graphical design assistance; W. Janssen for microscopy support; the staff at MazeEngineers for the development of a custom-made home cage to support chronic calcium imaging and sleep recordings during offline periods. Cocaine for the retrospective memory-linking behavioural experiments was a gift from E. Nestler. The data in this paper were used in a dissertation as partial fulfilment of the requirements for a PhD degree at the Graduate School of Biomedical Sciences at Mount Sinai.
Extended data figures and tables
Author contributions
D.J.C. conceived the study. Y.Z., Z.T.P., D.M.-R., T.R.F., T.S. and D.J.C. designed experiments. Y.Z., Z.T.P., D.M.-R., M.E.B., T.R.F., A.R.L., P.S. and S.L. conducted behavioural experiments. Y.Z. and M.E.B. conducted calcium imaging experiments. Y.Z., D.M.-R., B.K., T.R.F., S.L. and Z.C.W. conducted chemogenetic experiments. Y.Z., D.M.-R. and D.J.C. analysed data. Y.Z., Z.D. and Z.T.P. contributed to the development of data processing algorithms. Y.Z., Z.T.P., D.M.-R., M.E.B., B.K., T.R.F., A.R.L., P.S., Z.D., S.C.S., H.-T.C., A.J.S., M.v.d.M., T.S., A.F., K.R. and D.J.C. contributed to interpretation of results. Y.Z. and D.J.C. wrote the manuscript. Y.Z., Z.T.P., D.M.-R., M.E.B., B.K., T.R.F., A.R.L., P.S., Z.D., Z.C.W., S.C.S., H.-T.C., A.J.S., M.v.d.M., T.S., A.F., K.R. and D.J.C. edited the manuscript.
Peer review
Peer review information
Nature thanks the anonymous reviewers for their contribution to the peer review of this work.
Data availability
The experimental data supporting the findings of this study are available at GitHub (https://github.com/denisecailab/RetrospectiveMemoryLinkingData_2024).
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Extended data
is available for this paper at 10.1038/s41586-024-08168-4.
Supplementary information
The online version contains supplementary material available at 10.1038/s41586-024-08168-4.
References
- 1.Reijmers, L. G., Perkins, B. L., Matsuo, N. & Mayford, M. Localization of a stable neural correlate of associative memory. Science317, 1230–1233 (2007). [DOI] [PubMed] [Google Scholar]
- 2.Han, J. H. et al. Neuronal competition and selection during memory formation. Science316, 457–460 (2007). [DOI] [PubMed] [Google Scholar]
- 3.Liu, X. et al. Optogenetic stimulation of a hippocampal engram activates fear memory recall. Nature484, 381–385 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Denny, C. A. et al. Hippocampal memory traces are differentially modulated by experience, time, and adult neurogenesis. Neuron83, 189–201 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Vetere, G. et al. Memory formation in the absence of experience. Nat. Neurosci.22, 933–940 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Josselyn, S. A. & Tonegawa, S. Memory engrams: recalling the past and imagining the future. Science10.1126/science.aaw4325 (2020). [DOI] [PMC free article] [PubMed]
- 7.Wilson, M. A. & McNaughton, B. L. Reactivation of hippocampal ensemble memories during sleep. Science265, 676–679 (1994). [DOI] [PubMed] [Google Scholar]
- 8.Louie, K. & Wilson, M. A. Temporally structured replay of awake hippocampal ensemble activity during rapid eye movement sleep. Neuron29, 145–156 (2001). [DOI] [PubMed] [Google Scholar]
- 9.Diba, K. & Buzsaki, G. Forward and reverse hippocampal place-cell sequences during ripples. Nat. Neurosci.10, 1241–1242 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Girardeau, G., Inema, I. & Buzsaki, G. Reactivations of emotional memory in the hippocampus-amygdala system during sleep. Nat. Neurosci.20, 1634–1642 (2017). [DOI] [PubMed] [Google Scholar]
- 11.Ghandour, K. et al. Orchestrated ensemble activities constitute a hippocampal memory engram. Nat. Commun.10, 2637 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Clawson, B. C. et al. Causal role for sleep-dependent reactivation of learning-activated sensory ensembles for fear memory consolidation. Nat. Commun.12, 1200 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Buzsaki, G. Hippocampal sharp wave-ripple: a cognitive biomarker for episodic memory and planning. Hippocampus25, 1073–1188 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Foster, D. J. Replay comes of age. Annu. Rev. Neurosci.40, 581–602 (2017). [DOI] [PubMed] [Google Scholar]
- 15.Joo, H. R. & Frank, L. M. The hippocampal sharp wave-ripple in memory retrieval for immediate use and consolidation. Nat. Rev. Neurosci.19, 744–757 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Ji, D. & Wilson, M. A. Coordinated memory replay in the visual cortex and hippocampus during sleep. Nat. Neurosci.10, 100–107 (2007). [DOI] [PubMed] [Google Scholar]
- 17.Lee, A. K. & Wilson, M. A. Memory of sequential experience in the hippocampus during slow wave sleep. Neuron36, 1183–1194 (2002). [DOI] [PubMed] [Google Scholar]
- 18.Colgin, L. L. Rhythms of the hippocampal network. Nat. Rev. Neurosci.17, 239–249 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.van de Ven, G. M., Trouche, S., McNamara, C. G., Allen, K. & Dupret, D. Hippocampal offline reactivation consolidates recently formed cell assembly patterns during sharp wave-ripples. Neuron92, 968–974 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Gridchyn, I., Schoenenberger, P., O’Neill, J. & Csicsvari, J. Assembly-specific disruption of hippocampal replay leads to selective memory deficit. Neuron106, 291–300 (2020). [DOI] [PubMed] [Google Scholar]
- 21.Fernandez-Ruiz, A. et al. Long-duration hippocampal sharp wave ripples improve memory. Science364, 1082–1086 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Mau, W., Hasselmo, M. E. & Cai, D. J. The brain in motion: How ensemble fluidity drives memory-updating and flexibility. eLife10.7554/eLife.63550 (2020). [DOI] [PMC free article] [PubMed]
- 23.Chambers, K. C. Conditioned taste aversions. World J. Otorhinolaryngol. Head Neck Surg.4, 92–100 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Rogerson, T. et al. Synaptic tagging during memory allocation. Nat. Rev. Neurosci.15, 157–169 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Cai, D. J., Mednick, S. A., Harrison, E. M., Kanady, J. C. & Mednick, S. C. REM, not incubation, improves creativity by priming associative networks. Proc. Natl Acad. Sci. USA106, 10130–10134 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Jezek, K. et al. Stress-induced out-of-context activation of memory. PLoS Biol.8, e1000570 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Singh, D., Norman, K. A. & Schapiro, A. C. A model of autonomous interactions between hippocampus and neocortex driving sleep-dependent memory consolidation. Proc. Natl Acad. Sci. USA119, e2123432119 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Kurth-Nelson, Z. et al. Replay and compositional computation. Neuron10.1016/j.neuron.2022.12.028 (2023). [DOI] [PubMed]
- 29.Cai, D. J. et al. A shared neural ensemble links distinct contextual memories encoded close in time. Nature534, 115–118 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Rashid, A. J. et al. Competition between engrams influences fear memory formation and recall. Science353, 383–387 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Phelps, E. A. & Sharot, T. How (and why) emotion enhances the subjective sense of recollection. Curr. Dir. Psychol. Sci.17, 147–152 (2008). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Dunsmoor, J. E., Murty, V. P., Davachi, L. & Phelps, E. A. Emotional learning selectively and retroactively strengthens memories for related events. Nature520, 345–348 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Clewett, D., Dunsmoor, J., Bachman, S. L., Phelps, E. A. & Davachi, L. Survival of the salient: aversive learning rescues otherwise forgettable memories via neural reactivation and post-encoding hippocampal connectivity. Neurobiol. Learn. Mem.187, 107572 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Lewis, P. A., Knoblich, G. & Poe, G. How memory replay in sleep boosts creative problem-solving. Trends Cogn. Sci.22, 491–503 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Bittner, K. C., Milstein, A. D., Grienberger, C., Romani, S. & Magee, J. C. Behavioral time scale synaptic plasticity underlies CA1 place fields. Science357, 1033–1036 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Ghandour, K. & Inokuchi, K. Memory reactivations during sleep. Neurosci. Res.10.1016/j.neures.2022.12.018 (2022). [DOI] [PubMed]
- 37.Diering, G. H. et al. Homer1a drives homeostatic scaling-down of excitatory synapses during sleep. Science355, 511–515 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Wu, C. H., Ramos, R., Katz, D. B. & Turrigiano, G. G. Homeostatic synaptic scaling establishes the specificity of an associative memory. Curr. Biol.31, 2274–2285 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Malvache, A., Reichinnek, S., Villette, V., Haimerl, C. & Cossart, R. Awake hippocampal reactivations project onto orthogonal neuronal assemblies. Science353, 1280–1283 (2016). [DOI] [PubMed] [Google Scholar]
- 40.Villette, V., Malvache, A., Tressard, T., Dupuy, N. & Cossart, R. Internally recurring hippocampal sequences as a population template of spatiotemporal information. Neuron88, 357–366 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Buzsaki, G. Neural syntax: cell assemblies, synapsembles, and readers. Neuron68, 362–385 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Rajasethupathy, P. et al. Projections from neocortex mediate top-down control of memory retrieval. Nature526, 653–659 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Gava, G. P. et al. Integrating new memories into the hippocampal network activity space. Nat. Neurosci.24, 326–330 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Buzsaki, G. & Mizuseki, K. The log-dynamic brain: how skewed distributions affect network operations. Nat. Rev. Neurosci.15, 264–278 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Bezaire, M. J. & Soltesz, I. Quantitative assessment of CA1 local circuits: knowledge base for interneuron-pyramidal cell connectivity. Hippocampus23, 751–785 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Somogyi, P., Katona, L., Klausberger, T., Lasztoczi, B. & Viney, T. J. Temporal redistribution of inhibition over neuronal subcellular domains underlies state-dependent rhythmic change of excitability in the hippocampus. Philos. Trans. R Soc. Lond. B369, 20120518 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Noguchi, A., Huszar, R., Morikawa, S., Buzsaki, G. & Ikegaya, Y. Inhibition allocates spikes during hippocampal ripples. Nat. Commun.13, 1280 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Karlsson, M. P. & Frank, L. M. Awake replay of remote experiences in the hippocampus. Nat. Neurosci.12, 913–918 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Rolls, E. T. The mechanisms for pattern completion and pattern separation in the hippocampus. Front. Syst. Neurosci.7, 74 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Yokose, J. et al. Overlapping memory trace indispensable for linking, but not recalling, individual memories. Science355, 398–403 (2017). [DOI] [PubMed] [Google Scholar]
- 51.Maren, S. Neurobiology of Pavlovian fear conditioning. Annu. Rev. Neurosci.24, 897–931 (2001). [DOI] [PubMed] [Google Scholar]
- 52.Moscovitch, A. & LoLordo, V. M. Role of safety in the Pavlovian backward fear conditioning procedure. J. Comp. Physiol. Psychol.66, 673–678 (1968). [DOI] [PubMed] [Google Scholar]
- 53.Namboodiri, V. M. K. & Stuber, G. D. The learning of prospective and retrospective cognitive maps within neural circuits. Neuron109, 3552–3575 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Aly, M. H., Abdou, K., Okubo-Suzuki, R., Nomoto, M. & Inokuchi, K. Selective engram coreactivation in idling brain inspires implicit learning. Proc. Natl Acad. Sci. USA119, e2201578119 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Gillespie, A. K. et al. Hippocampal replay reflects specific past experiences rather than a plan for subsequent choice. Neuron109, 3149–3163 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Hebb, D. O. The Organization of Behavior; A Neuropsychological Theory (Wiley, 1949).
- 57.English, D. F. et al. Excitation and inhibition compete to control spiking during hippocampal ripples: intracellular study in behaving mice. J. Neurosci.34, 16509–16517 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Cummings, K. A. & Clem, R. L. Prefrontal somatostatin interneurons encode fear memory. Nat. Neurosci.23, 61–74 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Ressler, K. J. et al. Post-traumatic stress disorder: clinical and translational neuroscience from cells to circuits. Nat. Rev. Neurol.18, 273–288 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Boschen, M. J., Neumann, D. L. & Waters, A. M. Relapse of successfully treated anxiety and fear: theoretical issues and recommendations for clinical practice. Aust. N. Z. J. Psychiatry43, 89–100 (2009). [DOI] [PubMed] [Google Scholar]
- 61.Pennington, Z. T. et al. ezTrack: an open-source video analysis pipeline for the investigation of animal behavior. Sci. Rep.9, 19979 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Magnus, C. J. et al. Chemical and genetic engineering of selective ion channel-ligand interactions. Science333, 1292–1296 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63.Dong, Z. et al. Minian, an open-source miniscope analysis pipeline. eLife10.7554/eLife.70661 (2022). [DOI] [PMC free article] [PubMed]
- 64.Sheintuch, L. et al. Tracking the same neurons across multiple days in Ca2+ imaging data. Cell Rep.21, 1102–1115 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Rubel, O. et al. The Neurodata Without Borders ecosystem for neurophysiological data science. eLife10.7554/eLife.78362 (2022). [DOI] [PMC free article] [PubMed]
- 66.Zaki, Y. et al. Hippocampus and amygdala fear memory engrams re-emerge after contextual fear relapse. Neuropsychopharmacology47, 1992–2001 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The experimental data supporting the findings of this study are available at GitHub (https://github.com/denisecailab/RetrospectiveMemoryLinkingData_2024).