Abstract
Animals encounter and remember multiple experiences daily. During sleep, hippocampal neuronal ensembles replay past experiences and preplay future ones. Although most previous studies investigated p/replay of a single experience, it remains unclear how the hippocampus represents many experiences without major interference during sleep. By monitoring hippocampal neuronal ensembles as rats encountered 15 distinct linear track experiences, we uncovered principles for efficient multi-experience compressed p/replay representation. First, we found a serial position effect whereby the earliest and the most recent experiences had the strongest representations. Second, distinct experiences were co-represented in a multiplexed, flickering manner during nested p/replay events, which greatly enhanced the network’s representational capacity. Third, spatially contiguous and disjunct track pairs were bound together into contiguous conjunctive representations during sleep. Finally, sequences spanning day-long multi-track experiences were p/replayed at hyper-compressed ratios during sleep. These coding schemes efficiently parallelize, bind and compress multiple sequential representations with reduced interference and enhanced capacity during sleep.
This is a preview of subscription content, access via your institution
Access options
Access Nature and 54 other Nature Portfolio journals
Get Nature+, our best-value online-access subscription
$32.99 / 30 days
cancel any time
Subscribe to this journal
Receive 12 print issues and online access
$259.00 per year
only $21.58 per issue
Buy this article
- Purchase on SpringerLink
- Instant access to the full article PDF.
USD 39.95
Prices may be subject to local taxes which are calculated during checkout






Similar content being viewed by others
Data availability
Data used in this study are available from the corresponding author upon reasonable request. The reported data are archived on file servers at the Yale Medical School. The very large size of the raw data prohibits their public availability. No clinical datasets or genetics data were used in this study.
Code availability
The custom codes specific to this study that are needed to interpret, verify and extend the research in the article will be uploaded and made available after publication of the paper via GitHub at https://github.com/GDYlab/GDYlabcode. Additional codes are available from the corresponding author upon reasonable request.
Change history
15 August 2024
A Correction to this paper has been published: https://doi.org/10.1038/s41593-024-01751-y
References
Tulving, E. in Organization of Memory (eds Tulving, E. & Donaldson, W.) 382–403 (Academic Press, 1972).
Squire, L. R. Memory and the hippocampus: a synthesis from findings with rats, monkeys, and humans. Psychol. Rev. 99, 195–231 (1992).
Eichenbaum, H. & Cohen, N. J. Can we reconcile the declarative memory and spatial navigation views on hippocampal function? Neuron 83, 764–770 (2014).
Frankland, P. W. & Bontempi, B. The organization of recent and remote memories. Nat. Rev. Neurosci. 6, 119–130 (2005).
Dragoi, G. & Tonegawa, S. Preplay of future place cell sequences by hippocampal cellular assemblies. Nature 469, 397–401 (2011).
Dragoi, G. & Tonegawa, S. Selection of preconfigured cell assemblies for representation of novel spatial experiences. Phil. Trans. R. Soc. Lond. B 369, 20120522 (2014).
Liu, K., Sibille, J. & Dragoi, G. Preconfigured patterns are the primary driver of offline multi-neuronal sequence replay. Hippocampus 29, 275–283 (2019).
Dragoi, G. Internal operations in the hippocampus: single cell and ensemble temporal coding. Front. Syst. Neurosci. 7, 46 (2013).
Monaco, J. D., Rao, G., Roth, E. D. & Knierim, J. J. Attentive scanning behavior drives one-trial potentiation of hippocampal place fields. Nat. Neurosci. 17, 725–731 (2014).
Dragoi, G. & Tonegawa, S. Distinct preplay of multiple novel spatial experiences in the rat. Proc. Natl Acad. Sci. USA 110, 9100–9105 (2013).
Grosmark, A. D. & Buzsáki, G. Diversity in neural firing dynamics supports both rigid and learned hippocampal sequences. Science 351, 1440–1443 (2016).
Olafsdóttir, H. F., Barry, C., Saleem, A. B., Hassabis, D. & Spiers, H. J. Hippocampal place cells construct reward related sequences through unexplored space. eLife 4, e06063 (2015).
Liu, Y., Dolan, R. J., Kurth-Nelson, Z. & Behrens, T. E. J. Human replay spontaneously reorganizes experience. Cell 178, 640–652 (2019).
Vaz, A. P., Wittig, J. H. Jr., Inati, S. K. & Zaghloul, K. A. Backbone spiking sequence as a basis for preplay, replay, and default states in human cortex. Nat. Commun. 14, 4723 (2023).
Liu, K., Sibille, J. & Dragoi, G. Orientation selectivity enhances context generalization and generative predictive coding in the hippocampus. Neuron 109, 3688–3698 (2021).
Dragoi, G. Cell assemblies, sequences and temporal coding in the hippocampus. Curr. Opin. Neurobiol. 64, 111–118 (2020).
Buzsaki, G. Two-stage model of memory trace formation: a role for ‘noisy’ brain states. Neuroscience 31, 551–570 (1989).
Girardeau, G., Benchenane, K., Wiener, S. I., Buzsaki, G. & Zugaro, M. B. Selective suppression of hippocampal ripples impairs spatial memory. Nat. Neurosci. 12, 1222–1223 (2009).
Ego-Stengel, V. & Wilson, M. A. Disruption of ripple-associated hippocampal activity during rest impairs spatial learning in the rat. Hippocampus 20, 1–10 (2010).
Gridchyn, I., Schoenenberger, P., O’Neill, J. & Csicsvari, J. Assembly-specific disruption of hippocampal replay leads to selective memory deficit. Neuron 106, 291–300 (2020).
Lee, A. K. & Wilson, M. A. Memory of sequential experience in the hippocampus during slow wave sleep. Neuron 36, 1183–1194 (2002).
Davidson, T. J., Kloosterman, F. & Wilson, M. A. Hippocampal replay of extended experience. Neuron 63, 497–507 (2009).
Farooq, U., Sibille, J., Liu, K. & Dragoi, G. Strengthened temporal coordination within pre-existing sequential cell assemblies supports trajectory replay. Neuron 103, 719–733 (2019).
Drieu, C., Todorova, R. & Zugaro, M. Nested sequences of hippocampal assemblies during behavior support subsequent sleep replay. Science 362, 675–679 (2018).
Farooq, U. & Dragoi, G. Emergence of preconfigured and plastic time-compressed sequences in early postnatal development. Science 363, 168–173 (2019).
Muessig, L., Lasek, M., Varsavsky, I., Cacucci, F. & Wills, T. J. Coordinated emergence of hippocampal replay and theta sequences during post-natal development. Curr. Biol. 29, 834–840(2019).
Dragoi, G. The generative grammar of the brain: a critique of internally generated representations. Nat. Rev. Neurosci. 25, 60–75 (2024).
Farooq, U. & Dragoi, G. Geometric experience sculpts the development and dynamics of hippocampal sequential cell assemblies. Preprint at bioRxiv https://doi.org/10.1101/2023.12.04.570026 (2023).
Travaglia, A., Bisaz, R., Sweet, E. S., Blitzer, R. D. & Alberini, C. M. Infantile amnesia reflects a developmental critical period for hippocampal learning. Nat. Neurosci. 19, 1225–1233 (2016).
Bessieres, B., Travaglia, A., Mowery, T. M., Zhang, X. & Alberini, C. M. Early life experiences selectively mature learning and memory abilities. Nat. Commun. 11, 628 (2020).
Ramsaran, A. I. et al. A shift in the mechanisms controlling hippocampal engram formation during brain maturation. Science 380, 543–551 (2023).
Donato, F. et al. The ontogeny of hippocampus-dependent memories. J. Neurosci. 41, 920–926 (2021).
Silva, D., Feng, T. & Foster, D. J. Trajectory events across hippocampal place cells require previous experience. Nat. Neurosci. 18, 1772–1779 (2015).
Karlsson, M. P. & Frank, L. M. Awake replay of remote experiences in the hippocampus. Nat. Neurosci. 12, 913–918 (2009).
Gillespie, A. K. et al. Hippocampal replay reflects specific past experiences rather than a plan for subsequent choice. Neuron 109, 3149–3163 (2021).
Alme, C. B. et al. Place cells in the hippocampus: eleven maps for eleven rooms. Proc. Natl Acad. Sci. USA 111, 18428–18435 (2014).
Rich, P. D., Liaw, H. P. & Lee, A. K. Place cells. Large environments reveal the statistical structure governing hippocampal representations. Science 345, 814–817 (2014).
Azizi, A. H., Wiskott, L. & Cheng, S. A computational model for preplay in the hippocampus. Front. Comput. Neurosci. 7, 161 (2013).
McCloskey, M. & Cohen, N. J. in Psychology of Learning and Motivation (ed. Bower, G. H.) 109–165 (Academic Press, 1989).
Zhang, K., Ginzburg, I., McNaughton, B. L. & Sejnowski, T. J. Interpreting neuronal population activity by reconstruction: unified framework with application to hippocampal place cells. J. Neurophysiol. 79, 1017–1044 (1998).
Osanai, H., Yamamoto, J. & Kitamura, T. Extracting electromyographic signals from multi-channel LFPs using independent component analysis without direct muscular recording. Cell Rep. Methods 3, 100482 (2023).
Schomburg, E. W. et al. Theta phase segregation of input-specific gamma patterns in entorhinal-hippocampal networks. Neuron 84, 470–485 (2014).
Howard, M. W. & Kahana, M. J. Contextual variability and serial position effects in free recall. J. Exp. Psychol. Learn. Mem. Cogn. 25, 923–941 (1999).
Benjamini, Y. & Hochberg, Y. Controlling the false discovery rate—a practical and powerful approach to multiple testing. J. R. Stat. Soc. B 57, 289–300 (1995).
Wallenstein, G. V., Eichenbaum, H. & Hasselmo, M. E. The hippocampus as an associator of discontiguous events. Trends Neurosci. 21, 317–323 (1998).
Liu, K., Sibille, J. & Dragoi, G. Generative predictive codes by multiplexed hippocampal neuronal tuplets. Neuron 99, 1329–1341 (2018).
Kelemen, E. & Fenton, A. A. Dynamic grouping of hippocampal neural activity during cognitive control of two spatial frames. PLoS Biol. 8, e1000403 (2010).
Jezek, K., Henriksen, E. J., Treves, A., Moser, E. I. & Moser, M. B. Theta-paced flickering between place-cell maps in the hippocampus. Nature 478, 246–249 (2011).
Kay, K. et al. Constant sub-second cycling between representations of possible futures in the hippocampus. Cell 180, 552–567 (2020).
Kapl, S., Tichanek, F., Zitricky, F. & Jezek, K. Context-independent expression of spatial code in hippocampus. Sci. Rep. 12, 20711 (2022).
Ambrogioni, L. & Olafsdottir, H. F. Rethinking the hippocampal cognitive map as a meta-learning computational module. Trends Cogn. Sci. 27, 702–712 (2023).
Hassabis, D., Kumaran, D., Vann, S. D. & Maguire, E. A. Patients with hippocampal amnesia cannot imagine new experiences. Proc. Natl Acad. Sci. USA 104, 1726–1731 (2007).
Addis, D. R., Wong, A. T. & Schacter, D. L. Remembering the past and imagining the future: common and distinct neural substrates during event construction and elaboration. Neuropsychologia 45, 1363–1377 (2007).
Spano, G. et al. Dreaming with hippocampal damage. eLife 9, e56211 (2020).
Wagner, U., Gais, S., Haider, H., Verleger, R. & Born, J. Sleep inspires insight. Nature 427, 352–355 (2004).
Aru, J., Druke, M., Pikamae, J. & Larkum, M. E. Mental navigation and the neural mechanisms of insight. Trends Neurosci. 46, 100–109 (2023).
Thakral, P. P., Barberio, N. M., Devitt, A. L. & Schacter, D. L. Constructive episodic retrieval processes underlying memory distortion contribute to creative thinking and everyday problem solving. Mem. Cogn. 51, 1125–1144 (2023).
Scoville, W. B. & Milner, B. Loss of recent memory after bilateral hippocampal lesions. J. Neurol. Neurosurg. Psychiatry 20, 11–21 (1957).
Senzai, Y. & Scanziani, M. A cognitive process occurring during sleep is revealed by rapid eye movements. Science 377, 999–1004 (2022).
Acknowledgements
We thank the Dragoi laboratory members for helpful discussions. This work was supported by National Institutes of Health grants R01NS104917, R01MH121372 and R35NS132342, to G.D.
Author information
Authors and Affiliations
Contributions
K.L. and G.D. analyzed the data. J.S. and G.D. collected the data. G.D. conceived and designed the study. G.D. and K.L. wrote the paper.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Neuroscience thanks Antonio Fernandez-Ruiz and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Extended data
Extended Data Fig. 1 Experimental maze design.
a, Cartoon illustrating the 15 tracks distributed in two different mazes placed in 2 different rooms/compartments (Top, red lines highlighted track) and the configuration of the two mazes and rooms/compartments (Bottom; highlighted: track 13 in Maze2 in Room2, red lines indicates barriers). b, Properties of cells and recordings (43, 51, 76, 48, and 62 pyramidal neurons from 5 rats, 4 sleeps, 15 tracks). Top row: total number of pyramidal cells in each animal; number of place cells on each track; number of tracks that a place cell had a field on; number of subfields in each place cell; number of place cells on each track; number of place cells per track in each rat; Middle row: number of cells in each sleep frame; number of frames in each sleep; proportion of frames co-occur with SWR; single track place cell participation in frames; the distribution of isolation distance of sorted units; the distribution of L-Ratio of sorted units. Bottom row: examples of day-long single unit stability of spike amplitude from the beginning (first ten minutes) to the end (last ten minutes) of the recording. c, Correlation of single place cells place fields across different tracks measuring remapping. d, Correlation of place fields from the first half of run sessions and the corresponding second half of sessions measuring within-session stability. e, Animal velocity, theta/delta ratio and spikes during NREM and REM sleep time periods. f, Power of reconstructed EMG from LFP signals during different sleep sessions (Kruskal-Wallis test, P=0.7, 20 sleep sessions). Box plot shows median as center, 25th and 75th percentile as box bounds, minima and maxima excluding outliers as whiskers.
Extended Data Fig. 2 Track discrimination estimated by Bayesian decoding probability.
a, Place maps across the 15 tracks used for Bayesian decoding in one example rat. Neurons were ordered based on the location of their peak firing on track 6. Place maps were normalized for each neuron based on its activity on the concatenated 15 tracks. b, Example of Bayesian decoding of animal position based on place cells spikes during one lap of animal run on one track. c, Distribution of Bayesian decoding error of animal position on individual tracks during run based on the activity of the place cells on the corresponding tracks. Black line indicates the mean error value. d, Confusion matrix of decoded locations and actual rat locations during run. e, Distribution of correlation coefficients between the overall decoded posterior probabilities within a track and the sequence score for the corresponding track across all sleep sessions (Pearson’s correlation, R=0.02, P<0.0002, N=20). f-g, Cosine angle (f) and Euclidian distance (g) between the population vectors of place cell activity across different tracks during run and the corresponding neuronal activity across different frames during sleep (Wilcoxon signed rank test); (f): P = 0.14; 9×10-5; 0.33; (g) P=0.04; 9×10-5; 0.97; n=20 decoding sessions. Blue lines depict average values of corresponding data in grey. One run session connects to corresponding 4 sleep sessions. h, Signal to noise ratio of track discrimination using decoded probability on tracks during run and during sleep (all animals). Wilcoxon signed rank test, P= 9×10-5; n=20 decoding sessions. Blue lines depict average values. i, Cross correlation of sequence scores for the same tracks across temporally nearby sleep frames as a function of temporal lag between them. j, Proportion of significant sleep frames as a function of the temporal difference between the run session and the sleep session when the frames were restricted to those co-occurring with sharp wave ripples. Data are represented as mean±SEM. ***P<0.005. *P<0.05. ns=not significant.
Extended Data Fig. 3 Nested parallel co-representation of multiple tracks within sleep frames estimated by Bayesian decoding.
a-b, Example multi-track sleep frames analyzed by the Bayesian decoding method. Red outline indicates tracks that were significantly represented (for example, tracks 2&10 in a and 3&4 in b) in the corresponding sleep frame shown on the far left. Decoded probabilities were normalized across all tracks (top) or within each track (bottom). c, Proportion of sleep frames grouped by the number of significantly represented tracks estimated by Bayesian decoding in each sleep session and corresponding shuffle sleep. Pie charts summarize the proportions of frames with 0 (that is, no), 1, 2 and >2 tracks represented significantly in parallel within the same frame. d, Multiple-track parallel co-representation in sleep frames across sleep sessions (that is, from pre- to post-experience sleep) and in corresponding shuffle sleep expressed as proportions of multi-track frames among all frames (left) or among significant p/replay frames (right). e, The minimum total number of tracks investigated after which the average or peak of the distribution of multi-track co-representing sleep frames exceeded those of sleep frames representing single tracks, across all sleep sessions. f-g, Proportion of sleep frames when the threshold of significance was set to 0.002 (f, Bonferroni correction) or frame significance was adjusted by Benjamini-Hochberg correction (g). Left: Pie plots of proportions of the sleep frames grouped by the number of significantly represented (and co-represented) tracks estimated by Bayesian decoding across all sleep sessions (data and shuffle sleep). (f) Wilcoxon signed rank test, two-sided, P=0; n=300 tracks; (g) Wilcoxon signed rank test, two-sided, P=0; n=300 tracks. Middle: Cumulative proportions of significant sleep frames expressed as a function of the number of tracks explored. Right: the difference of cumulative proportion of significant sleep frames between data and shuffle sleep. Data are represented as mean±SEM. ***P<0.005.
Extended Data Fig. 4 Features of nested parallel co-representation of track pairs in sleep frames.
a, Proportion of track-pair co-representation across spiking frames out of all significant frames across sleep sessions (left), corresponding shuffle sleep (middle) and their difference (right). b, Incidence of track-pair co-representation (ratio) when the frames were restricted to those co-occurring with sharp wave ripples; Data>shuffle sleep, P=0, Wilcoxon signed-rank test, ***P<0.005. c, Incidence of track-pair co-representation when place cells with fields across the intersecting corner of two connected tracks were excluded; Data>shuffle sleep, P=0, Wilcoxon signed-rank test, ***P<0.005. d, Correlation between the slope of decoded trajectory from significant tracks in the multi-track nested frames across sleep sessions; Average correlation coefficient 0.18±0.0093, n=525 track pairs. e, Top: Contribution of maze and track geometric features to track-pair co-representation in multi-track frames estimated using a GLM with geometric features of tracks as variables and track co-representation (co-rep) ratio, quantified by Bayesian decoding, in sleep frames as predictor. Bottom: Contribution of maze and track geometric features to place field similarity across tracks quantified by population vector correlation (Wilcoxon signed rank test, ***P<0.005. **P<0.01. *P<0.05). f, Contribution of geometric features to track-pair parallel co-rep in multi-track frames across sleep sessions quantified by Bayesian decoding. Note changes in contributions across sessions (Wilcoxon signed rank test, **P<0.01. *P<0.05). g, Correlations between the co-representation ratio of track pairs and the average rank of track pairs estimating whether the track pairs were explored early or late in the day (Pearson’s correlation). Data are represented as mean±SEM.
Extended Data Fig. 5 Dynamics between nested tracks parallel co-representation within multi-track sleep frames.
a-i, Examples (n=9, 5 rows each) of dynamics between track-pair co-representation in 9 decoded frames. First row displays the spiking activity in the frames with nested track-pair co-representation. Second row (orange mask) shows the decoded probabilities of the 2 individual tracks normalized within the tracks. The decoded probabilities normalized across the track pair (3rd row, green mask) were used to extract the posterior decoded probabilities on the fitted line (POL) (4th row, pink mask). Transparent lines (4th row) were copied from the other track of the pair for illustration purpose only. POL of two tracks were compared to obtain the difference curve (5th row).
Extended Data Fig. 6 Representation of multiple tracks in sleep frames.
a, Relative proportions of the three types of co-representation dynamics when the frames were restricted to those co-occurring with sharp wave ripples. Wilcoxon signed rank tests, Dominant, P<10-7, n=20; Biphasic, P=0.04, n=20; Flicker, P<10-7, n=20. b, Participation of each pyramidal cell in the three types of co-represented frames, sorted according to flicker frames. c, Left: Probability of the decoded track representation crossing between the co-represented tracks or staying within track in multi-track frames of sleep and shuffle sleep. Black lines indicate mean value. Kruskal-Wallis test, pairwise, post hoc Tukey’s HSD correction, P=0; 0, n= 25762; 9832 for data and shuffle. Right: difference between probabilities of crossing-between and staying-within tracks. Wilcoxon rank sum test, two-sided P=0. d, Duration of bouts of relative representation dominance in the three types of temporal dynamics of nested parallel co-representation of track pairs. Black lines indicate mean value. Kruskal-Wallis test, post hoc Tukey’s HSD correction, P=1×10-105; 3×10-135; 2×10-77 for 3,843 Dominant, 8,606 Biphasic and 14,098 Flicker frames. e, Diagram of all serial combinations of directions of an example track pair (concatenation). Solid line is the entry direction (direction first taken by the animal), dashed line is the return direction. f, Proportion of significant frames representing the concatenation of adjacent and non-adjacent track pairs when sleep frames were restricted to those co-occurring with sharp wave ripples. g, Proportion of significant frames of concatenated track pairs when place cells with fields covering the intersecting corner of two connected tracks were removed. h, Proportions of sleep (data) and shuffle sleep (control) frames significant for specific orientation/direction combination of track pairs (as in Fig. 5h) in Sleep2 and Sleep3 sessions. Kruskal-Wallis test, post hoc Tukey’s HSD correction, **P<0.01; *P<0.05; comparisons without any * mark not significant, 7,760 Non-adj, 60 Adj real, 420 Adj virtual and 160 Adj-barrier tracks pairs. Data are represented as mean±SEM. ***P<0.005.
Extended Data Fig. 7 Representation of DTE in sleep frames.
a, Proportion of significant frames representing DTE sequences when sleep frames were restricted to those co-occurring with sharp wave ripples. b, Forward/reverse decoded representations of trajectories on single tracks in the shuffle sleep sessions. c, Proportion of significant frames representing trajectories on individual tracks across the 4 sleep sessions among frames grouped according to their significance or non-significance for track trajectories (overlapping lines are not individually visible). d, Number of individual tracks covered by the extended range (left) and duration (right) of significant sequential DTE sleep frames compared to shuffle sleep. Wilcoxon rank-sum tests, P=7×10-108; 3×10-17 for number of tracks in DTE and duration of frames, n=26,547 decoded frames. Vertical bars are mean group values. e, Compression ratio of DTE frames (number of tracks/sec) across sleep sessions as a function of run experience. Black lines indicate mean value. Kruskal-Wallis test, post hoc Tukey’s HSD correction, P=4×10-5, n=7,866 frames. Data are represented as mean±SEM. ***P<0.005.
Supplementary information
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Liu, K., Sibille, J. & Dragoi, G. Nested compressed co-representations of multiple sequential experiences during sleep. Nat Neurosci 27, 1816–1828 (2024). https://doi.org/10.1038/s41593-024-01703-6
Received:
Accepted:
Published:
Version of record:
Issue date:
DOI: https://doi.org/10.1038/s41593-024-01703-6
This article is cited by
-
Generative emergence of non-local representations in the hippocampus
Nature Communications (2025)
-
Sleep microstructure organizes memory replay
Nature (2025)


