Abstract
Continuous attractor network models of grid formation posit that recurrent connectivity between grid cells controls their patterns of co-activation. Grid cells from a common module exhibit stable offsets in their periodic spatial tuning curves across environments, which may reflect recurrent connectivity or correlated sensory inputs. Here we explore whether cell-cell relationships predicted by attractor models persist during sleep states in which spatially informative sensory inputs are absent. We recorded ensembles of grid cells in superficial layers of medial entorhinal cortex during active exploratory behaviors and overnight sleep. Per pair and collectively, we found preserved patterns of spike-time correlations across waking, REM, and non-REM sleep, which reflected the spatial tuning offsets between these cells during active exploration. The preservation of cell-cell relationships across states was not explained by theta oscillations or CA1 activity. These results suggest that recurrent connectivity within the grid cell network drives grid cell activity across behavioral states.
Grid cells of the medial entorhinal cortex (MEC)1 together with place2, head direction (HD)3,4, border5, speed cells6, and cells that simultaneously code multiple navigational variables7, convey information about the evolving location and orientation of mammals as they move through 2D open fields, run on 1D linear tracks, or fly through 3D space8. Grid cells are defined by regular, periodic responses to an animal’s 2D spatial location. Each grid cell’s multiple spatial receptive fields (“grid fields”) form a characteristic geometric pattern well-described by a lattice of equilateral triangles.
Several different classes of models seek to explain grid cell activity and function9,10,11,12,13,14,15. One of the principal models is based on continuous attractor dynamics that emerge through pattern formation in networks with strong lateral connectivity9,12,16. In such continuous attractor network models, connectivity between cells tightly constrains their patterns of co-activation, and thus connectivity is closely related to relationships in spatial tuning. Specifically, these models predict that cell pairs with strong short-time correlations should exhibit similar spatial tuning phases, whereas most pairs with weak short-time correlations or negative correlations should exhibit offset or anti-phase spatial tuning. Moreover, these correlations should be preserved across states because circuit dynamics are shaped by the same recurrent connectivity in the network. This prediction can be tested in recordings of the same grid cell ensembles across active waking, quiescent, and sleep states.
Other spatially responsive cells appear to have structured activity patterns during sleep. During waking rest and non-REM sleep (NREM), place cells show a transient increase in their spike-time correlations that is related to the firing patterns of the cells during exploration17,18,19,20. HD cells have also been shown to exhibit structured activity during sleep states21. Considering that place cells, HD cells, and grid cells are part of a larger navigational and spatial memory system, and that grid cells in superficial layers of MEC provide input to place cells22,23,24,25, it is possible that grid cells in superficial layers of MEC drive hippocampal place cell reactivation during sleep. However, little is known about superficial layer MEC grid cell firing patterns across overnight sleep, and a recent study suggested that coordinated reactivation typically does not occur between place cells and grid cells in superficial layers of MEC26.
The central question of this paper asks whether, and to what extent, states in the grid cell circuit across sleep resemble those during waking. These findings will help elucidate the potential role of the grid cell circuit in driving dynamics of the larger navigational and spatial memory system. Grid cells are hypothesized to integrate velocity cues as an animal navigates through an environment, thus obtaining a continuously updated estimate of location even when spatially informative external cues are unavailable1,27,28. Also, grid cells have more recently been shown to play a role in non-spatial tasks, namely measuring the passage of time29 or creating a map of the visual field30. Although grid cells have been characterized as exhibiting grid-like responses during both spatial and non-spatial tasks, the presence or stability of relationships between grid cell pairs across both spatial and non-spatial tasks has not been examined. Thus, it remains unclear whether cell-cell relationships predicted by continuous attractor network models persist across spatial and non-spatial behaviors.
Here, we examined spike-time cross-correlations in large numbers of MEC grid cell pairs in rats during exploratory behaviors and across overnight sleep. Hippocampal circuits have been shown to exhibit preserved patterns of recent past experience during the first 20 mins of sleep18,20. In contrast, we examine a prediction of low-dimensional continuous attractor models, namely that patterns of activity during sleep in grid cells exhibit a preserved structure across hours of overnight sleep. We found that spike-time and spike-rate correlations between grid cells were related to the degree of overlap in their spatial tuning curves and that, remarkably, these relationships persisted during rapid eye movement (REM) and non-REM (NREM) sleep. Moreover, the preserved patterns of co-activity during sleep were not explained by analogous hippocampal co-activity patterns.
RESULTS
Activity of grid cells during waking and sleep
To examine the structure of the grid cell circuit responses during sleep, we simultaneously recorded multiple single units in MEC over several hours as rats (n=6) ran in an open field and across the entirety of their overnight sleep cycle. From these ensembles, we identified putative grid cells using a gridness score3 (see Methods) calculated from three twenty-minute open field sessions. Grid cell recordings were only obtained from MEC superficial layers (i.e., II and III). Grid cells were only included if they remained stable across active waking recordings, subsequent overnight sleep recordings, and additional open field recordings the next morning (see Methods). From a total of 157 grid cells and 417 possible grid cell pairs, 211 grid cell pairs from 6 animals passed our inclusion criteria (see Methods; Supplementary Table 1). Grid cell pairs were only analyzed if both cells in the pair were classified as belonging to the same module (see Methods), except where explicitly noted below for comparative analyses of intra-modular and trans-modular grid cell pairs.
Grid cells were active during spatial exploration of open field environments and during both REM and NREM stages of sleep (Figure 1). Firing rates were significantly different across the three behavioral states (157 grid cells; RUN: 2.04 ± 0.10 Hz, REM: 1.08 ± 0.06 Hz, NREM: 0.76 ± 0.04 Hz, F(2, 312) = 124.3, p = 2.00e-40, partial η2 = 0.277, one-way repeated measures ANOVA; Figure 1b-c). Firing rates during REM and NREM were significantly lower than during waking behaviors (RUN vs REM: t(156) = 9.60, p = 1.94e-17, d = 0.766; RUN vs NREM: t(156) = 12.71, p = 7.49e-26, d = 1.014, paired t-tests). REM firing rates were significantly higher than NREM firing rates (t(156) = 8.96, p = 9.31e-16, d = 0.715, paired t-test).
Patterns of co-activation in grid cell pairs were maintained across active and sleep states
We next investigated whether co-activity patterns of pairs of grid cells were related to overlap in their spatial tuning properties, as predicted by attractor network models of grid cells9,12,16. Cross-correlograms between pairs of grid cell spike trains showed structure related to the spatial overlap between the cells’ grid fields (Figure 2; Supplementary Figure 1). During running (Figure 2, left column), grid cell pairs with highly overlapping grid fields (sorted to correspond to higher cell pair IDs in Figure 2) showed high cross-correlations between their spike trains at zero or near zero lags. Grid cell pairs with only partially overlapping grid fields tended to show moderately low correlations at short time lags, whereas grid cell pairs with anti-phase spatial tuning (corresponding to lowest cell pair IDs in Figure 2) showed the lowest correlations at short time lags. Remarkably similar correlated and anticorrelated activity patterns were observed for the same set of grid cell pairs during REM and NREM states (Figure 2, middle two columns and right column). The overall widths of the short-time lag peaks and dips in the cross-correlograms were narrower during NREM than during waking and REM, suggesting grid cell network dynamics operate on a faster (by a factor of approximately 5) time scale during NREM. To test the extent to which grid cell co-activity during NREM was temporally compressed relative to waking and REM, we compared the kurtosis of grid cell pairs’ cross-correlations at ±1 s time lags across the three states. Kurtosis was selected as a measure for peakedness, as opposed to a separate measure quantifying the duration of cross-correlogram peaks/valleys, because duration metrics require an arbitrary selection threshold for identification of peaks/valleys. A thresholding procedure would reduce the number of cell pairs included in the analyses to a different degree for each behavioral state, whereas kurtosis was measured for each cell pair regardless of the amplitude of the near-zero cross-correlogram. Kurtosis differed significantly across states (F(2,420) = 11.80, p = 1.00e-5, partial η2 = 0.053; one-way repeated measures ANOVA), with the kurtosis of NREM cross-correlations significantly greater (4.34 ± 0.28) than waking (3.43 ± 0.10; t(210) = 3.74, p = 0.0002, d = 0.258, paired t-test) and REM (3.45 ± 0.08; t(210) = 3.46, p = 0.0007, d = 0.238, paired t-test) cross-correlations. This finding is consistent with temporal compression of spike sequences previously observed during NREM in networks of HD cells21 and place cells31,32. Nevertheless, the general relationship between NREM spike-time correlations and spatial rate map correlations was qualitatively the same as that seen during waking and REM, as is particularly apparent for NREM correlations shown on a magnified time scale (Figure 2, right column).
To quantify the qualitative trends seen in the patterns of pairwise cross-correlograms, we summed the spike-time cross-correlograms within a ± 5 ms interval around zero to obtain a single short-latency cross-correlation estimate for each grid cell pair. We then compared these estimates to their associated rate map correlations to determine the extent to which short-time temporal correlations between grid cells’ spike trains were predicted by overlap between their rate maps across the three behavioral states (Figure 3a). Grid cells’ spike train cross-correlation estimates were significantly related to their rate map correlation values during active exploration (significant regression for RUN: F(1,209) = 235.25, p = 4.54e-36, R2 = 0.53), with higher spike train cross-correlation values associated with higher rate map correlations; this effect is consistent with higher rates of mean co-activation of cells with overlapping spatial fields. Remarkably, however, rate map correlation values from active behaviors also significantly predicted temporal correlations at short time-lags between grid cells during sleep states (significant regressions for REM: F(1,209) = 52.53, p = 8.07e-12, R2 = 0.201; and NREM: F(1,209) = 93.81, p = 1.46e-18, R2 = 0.310). Therefore, despite a lack of sensory input driving the system during sleep, the relationship between cell pairs’ spike-time cross-correlations and rate-map cross-correlations observed during active behaviors persisted during sleep. This finding strongly suggests that temporal correlations during both waking and sleep states result from connectivity in the grid cell network. Furthermore, trans-modular grid cell pairs (i.e., two cells from different modules; n = 30 pairs) exhibited significantly lower amplitude cross-correlations than intra-modular pairs in all three states considered (RUN, p = 0.005, d = 2.55; REM, p = 0.003, d = 2.73; NREM, p < 0.0001, d = 3.506, bootstrapping test of variance; Supplementary Figure 2), as expected if persistent spike-time cross-correlations across behavioral states are due to recurrent connectivity within, rather than between, grid cell modules.
Persistent co-activity of other MEC cells across waking and sleep
Continuous attractor network models of grid formation include, as an important feature, HD cells and cells that combine grid-like firing with directionally selective responses (i.e., “conjunctive cells”)9,12. In such models, spatial phase relationships between these cells types are also set by attractor dynamics and are thus expected to remain stable across different sleep and waking states. Therefore, we next performed analyses to determine whether an analogous relationship between spatial overlap of cells’ spatial receptive fields and spike-time cross-correlations was observed for conjunctive cells and HD cells. Across six rats, 63/144 non-grid cells were identified as HD cells, and 17/157 grid cells were identified as conjunctive cells. For this analysis we refer to the 140 non-directionally sensitive grid cells as “pure grid cells”. Consistent with results for inclusively grouped grid cells (Figure 3), pure grid cell pairs (n = 182, Supplementary Figure 3a, top) and pure grid-conjunctive cell pairs (n = 24, Supplementary Figure 3a, bottom) exhibited positive correlations between rate map correlation coefficients and spike-time cross-correlation coefficients that persisted across behavioral states. Likewise, in conjunctive-HD cell pairs (n = 56, Supplementary Figure 3b, top) and HD-HD cell pairs (n = 103, Supplementary Figure 3b, bottom), similarity of preferred firing angles and spike-time cross-correlation coefficients were correlated, consistent with analyses of HD cells in other brain regions during sleep and waking21. Thus, both spatially and directionally tuned neurons in MEC exhibited temporal relationships during active sensory intake that persisted across sleep, when sensory input is presumably minimal. These results support the idea that strong recurrent connectivity is a ubiquitous feature within MEC, with both directionally tuned and spatially modulated neurons interacting within the same attractor networks.
Preserved correlation structure in grid cells during sleep was not explained by hippocampal place cell correlation structure
To evaluate the possibility that preserved grid cell correlation relationships across awake spatial exploration and sleep were driven by place cells33, we next tested whether place cells’ spike-time correlations during sleep were related to the overlap of their spatial fields during awake exploration. For recordings obtained during active running on a circular track (i.e., RUN), temporal correlations between 78 place cell pairs’ spike trains were significantly related to the correlation of their firing rate maps (Figure 3b, left; significant regression for RUN: F(1,76) = 160.55, p = 2.01e-20, R2 = 0.679), with temporal correlations between place cells increasing as a function of their rate map correlations. However, this relationship was not preserved in REM and NREM overnight recordings of the same place cell ensembles (Figure 3b, right panels; non-significant regressions for REM: F(1,76) = 0.04, p = 0.84, R2 = 0.001; and NREM: F(1,76) = 1.78, p = 0.19, R2 = 0.023). Accordingly, there was a significant interaction between brain region (CA1 or MEC) and behavioral state (RUN, REM, or NREM) on spike-time cross-correlation values (significant multiple regression model: F(4,862) = 94.91, p = 6.57e-67, partial η2 = 0.307; significant interaction term: β = 0.42, p = 4.87e-7), indicating that CA1 place cell pairs’ temporal correlations were not related to field overlap across behavioral states in the same manner as was observed for MEC grid cells. That is, the degree of place field overlap during track running only predicted the strength of place cell pairs’ temporal correlations during active waking behaviors, but not during REM or NREM sleep aggregated across the entire overnight session. These differences in relationships between MEC and CA1 across behavioral states were not explained by qualitative differences in firing rates across behavioral states as CA1 firing rates between active waking behaviors and sleep followed a roughly similar pattern as MEC grid cell firing rates, with significantly lower firing rates in CA1 during REM and NREM than during active wakefulness (41 place cells; RUN: 1.61 ± 0.25 Hz, REM: 0.85 ± 0.14 Hz; NREM: 0.88 ± 0.13 Hz; F(2, 80) = 11.6, p = 3.76e-5, partial η2 = 0.225, one-way repeated measures ANOVA; RUN vs REM: t(40) = 3.48, p = 0.001, d = 0.544; RUN vs NREM: t(40) = 3.52, p = 0.001, d = 0.550; REM vs NREM: t(40) = −0.342, p = 0.734, d = −0.053; paired t-tests).
To further rule out the possibility of place cells driving the observed grid cell co-activity patterns during sleep, we compared the stability of spike-time correlations between CA1 place cells to the stability of spike-time correlations between grid cells across the first several hours of NREM sleep (Supplementary Figure 4). As reported previously for CA118,20, place cell spike-time cross-correlations decayed rapidly within the first hour of NREM sleep. Grid cell cross-correlations, however, did not similarly decline but instead remained relatively stable across NREM sleep (significant region by time interaction: F(5,1280) = 26.83, p = 7.28e-26, partial η2 = 0.095, mixed effects ANOVA). Results from a place-to-grid cell model were also inconsistent with the notion that place cells drive the stability of grid cell co-activity patterns (Supplementary Figure 5).
The relationship between grid cells’ relative spatial phases and spike-time correlations was maintained across active and sleep states
The results shown in Figures 2 and 3 suggest that spatial map correlations are reflected, putatively through recurrent connectivity, in spike-time correlations across states. However, spike-time correlations computed per cell pair are noisy, and spatial map correlations are not a perfect measure of spatial tuning relationships between pairs of grid cells. We therefore used a more detailed measure of spatial tuning relationships between cells and, to reduce noise, combined spike-time cross-correlation estimates for cell pairs with similar spatial tuning offsets (see Methods). Briefly, we obtained the relative spatial phase for a given pair of cells by estimating the offset from the origin of the central peak in their spatial cross-correlogram, similar to a previous study35(Figure 4a) (see Methods). This value was then used to sort cell pairs into (Δφx, Δφy) relative phase bins. For each cell pair, we summed the temporal cross-correlogram in a ± 5 ms window about zero time-lag, as in Figure 3. We then averaged this value across all pairs in a bin and plotted average spike-time cross-correlations against relative spatial phase (Figure 4b). This process was repeated using a broader time window of ±50 ms about zero in the temporal cross-correlogram to obtain a temporally coarser spike-rate cross-correlation estimate across relative spatial phases (Supplementary Figure 6a). We then performed the same cross-correlation computations for REM and NREM periods. To account for differing firing rates across states, we scaled each surface according to its maximum average cross-correlation value. Comparing Figure 4b to Supplementary Figure 6a reveals the same general pattern at both short (spike-time) or long (spike-rate) timescales. That is, there was a strong relationship between relative spatial phase values and temporal correlations, with low relative spatial phases associated with high temporal correlations. This relationship persisted across all states regardless of whether the behavior was spatial (RUN) or not (REM and NREM).
We further compressed and reduced noise in the results by collapsing the x and y components of relative spatial phase into a one-dimensional relative spatial phase magnitude (Figure 5a for normalized cross-correlation coefficients summed within ± 5 ms; Supplementary Figure 6b for normalized cross-correlation coefficients summed within ± 50 ms; see Supplementary Figure 7 for non-normalized versions). This transformation to one-dimensional relative spatial phase was also done to compare grid cell relative spatial phase plots to analogous metrics for CA1 place cell pairs recorded on a circular track (Figures 5b, Supplementary Figure 6b, and Supplementary Figure 7b). Across all three behavioral states, grid cells’ spike-time correlations decreased as their relative spatial phase magnitudes increased.
In contrast to grid cells, CA1 place cell pairs’ cross-correlation coefficients during waking behaviors decreased with increasing distance between place fields, but cross-correlations during REM and NREM states did not reflect place field overlaps from preceding spatial exploration (Figures 5b, Supplementary Figure 6b, and Supplementary Figure 7b). These results suggest that stable relationships between grid field overlap and grid cell co-activity patterns across waking and sleep states are not caused by inputs from place cells.
The preserved relationship between grid field overlap and spike-time correlations during NREM periods is noteworthy because, unlike during active wakefulness and REM sleep, theta oscillations are not present during NREM. Thus, the preserved relationship between spatial tuning and NREM coactivity patterns cannot be attributed to coordinated theta phase relationships between grid cells36. Moreover, relationships between grid field overlap and spike-time cross-correlations were maintained during active wakefulness and REM when effects of theta were removed (Supplementary Figure 8), again suggesting that the observed relationships were not explained by shared theta modulation.
Grid cell pairs with different relative spatial phase magnitudes exhibited different spike-time correlations
In addition to looking at average relationships between relative spatial phase magnitude and temporal correlations across all grid cell pairs, we categorized individual grid cell pairs according to their relative spatial phase magnitudes and plotted the associated distributions of spike-time cross-correlations. We expected that the distribution of spike-time correlations for cell pairs with a small relative spatial phase magnitude (i.e., high grid field overlap, example in Figure 6a) would have more mass at higher values compared to the spike-time cross-correlation distribution for high relative spatial phase magnitude pairs (i.e., low grid field overlap, example in Figure 6b). Indeed, this pattern was observed when we sorted grid cell pairs into three categories according to the degree of overlap in their grid fields. Across all three behavioral conditions, the spike-time correlation distributions for the low relative spatial phase magnitude group (i.e., high grid field overlap) exhibited tails containing relatively high correlation values (Figure 6c, left column). Relatively low correlation values were also observed for this group, as expected from previous modeling results in which cells with the same phase are not directly connected if they belong to different activity bumps within the neural sheet9. Specifically, because in-field firing rates are relatively low, cells with overlapping fields are only expected to show high correlations at short time latencies when they are directly connected. In contrast, the correlation distributions for the high relative spatial phase magnitude group (i.e., low grid field overlap; Figure 6c, right column) were more sharply peaked at lower values, across all three behavioral states. Grid cell pairs with intermediate grid field overlap showed distributions of spike-time cross-correlations across all states that were intermediate between the corresponding distributions observed for high and low overlap groups (Figure 6c, middle column). Taken together, these results show that correlated grid cell activity patterns across waking and sleep are related to the degree of grid field overlap during active exploratory behaviors, suggesting that spatial tuning is driven by specific recurrent circuitry.
DISCUSSION
We examined whether spatial tuning relationships of grid cells influence their spike-time correlations during non-spatial sleep states. We found that cells with strong spike-time correlations have similar spatial tuning, whereas cells with weaker or negative spike-time correlations exhibit minimal spatial tuning overlap. Further, these patterns of spatial-tuning based correlation are preserved across REM and NREM sleep states during which there is no spatial behavior. These results were not explained by theta modulation, since the pattern of correlations in NREM, when theta was absent, matched that found during REM sleep and waking exploration, when theta was strong. The across-state preserved pattern of correlations as a function of spatial tuning was also not explained by hippocampal place cell inputs from CA1, since these cells’ correlation patterns changed across states. Thus, the pattern of correlations likely originates within MEC rather than being inherited, through feedforward projections, from circuitry in the hippocampus. We cannot rule out the possibility that the observed pattern of correlations is inherited from other brain regions that provide input to superficial layers of MEC (e.g., retrosplenial cortex, postrhinal cortex), but this possibility seems unlikely at present considering that grid-like activity has not been observed in these areas. Taken together, our results suggest that recurrent connectivity is likely a major determinant of grid cell activity across awake navigation and non-spatial sleep states, consistent with continuous attractor network models of grid cells9,12,16. In grid cell models, the recurrent connectivity may involve both excitatory and inhibitory connections9 or inhibitory connections alone9,37. While we have seen evidence of short-latency positive spike-time correlations between cells with high spatial overlap, with correlation peaks preserved across states (suggesting the possibility of direct excitatory coupling between grid cells of similar phase), our evidence is insufficient to arbitrate between putative direct excitatory coupling or disynaptic inhibitory coupling37,38,39,40.
It is notable that MEC grid cell correlation patterns from waking appear to be better preserved in sleep than are CA1 place cell correlation patterns. This result may seem surprising, considering that CA1 place cells replay activity patterns during sleep that resemble activity patterns from earlier waking behaviors18,20,31,32. However, our results examined correlation structure across an entire night’s sleep, while correlations between CA1 place cell spiking during active waking behaviors and subsequent NREM sleep decay within the first hour of sleep18,20. Moreover, the relationship between place cells’ field overlap and spike-time correlations is stronger during awake rest than during sleep17. Also, different correlated spiking patterns in CA1 associated with different environments can reactivate within the same sleep episode18, suggesting that place cells exhibit multiple patterns of coactivation during sleep that reflect different experiences. Thus, the lack of preserved correlated activity between CA1 place cells across sleep states is consistent with higher-dimensional dynamics in the hippocampus during waking, which allow for globally remapped representations of different environments34. It is possible that hippocampal sleep states explore this higher-dimensional space, activating multiple representations that reflect waking trajectories from a variety of different environments. By contrast, the states in one grid module maintain the same low-dimensional dynamics across non-active and sleep states that they exhibit during awake exploratory behaviors in novel and familiar environments of different shapes and configurations23,35,41. This rigid confinement of the dynamics of grid cells in a module, across behaviors and states, predicts that grid cells will likely exhibit the same preserved cell-cell relationships during other modes of behavior, such as navigation through non-spatial and other conceptual spaces29,30,42. This prediction is testable using simultaneously recorded co-modular grid cells. Indeed, all models of grid cells that are based on integrating a velocity signal to generate an updated estimate of grid phase (these include continuous attractor models and oscillatory interference models10,13,14,28) are applicable to navigation through non-physical continuous spaces, so long as the velocity input to grid cells reflects the time-derivative of the corresponding continuous variable. However, the predictions of preserved low-dimensional structure through conserved cell-cell relationships during non-spatial navigation follow specifically from low-dimensional attractor models9,28,35,43.
Within the class of continuous attractor models are networks with different types of recurrent connectivity and topology. One possibility is that the grid cell network supports the activation of one local group of interacting neurons (an activity bump) in the neural sheet and that connectivity is global (single-bump networks44). Another is that the connectivity is local (according to some proper rearrangement of neurons) and that activity consists of multiple activity bumps on the cortical sheet9,28. In the former network, co-active neurons are recurrently coupled and should always show high correlations. In the latter, co-active neurons in different bumps may share no direct coupling, and thus the distribution of correlations given the same tuning phase should be bimodal. The slight hint of bimodality in the correlations of cells with high spatial tuning overlap (far left column in Figure 6c, particularly during RUN) may be suggestive of a multi-bump network, consistent with results from direct imaging of grid cell activity in MEC45. Additional experimentation with circuit perturbation techniques will be required to determine which connectivity pattern most accurately describes the system46.
The finding that grid cell co-activity during sleep resembles co-activity during waking raises the possibility that superficial-layer MEC grid cells play a role in offline memory processing. This hypothesis is consistent with recordings from other cortical areas. For example, neuronal activity in primary visual cortex47, auditory cortex48, and medial prefrontal cortex49, as well as grid cell activity in MEC deep layers50, has been reported to correlate with hippocampal activity during replay events, which are hypothesized to play a role in memory consolidation. However, the present results only involve grid cells recorded from MEC superficial layers. A study of grid cell replay in MEC superficial layers reported that grid cells rarely show coordinated reactivation with hippocampal place cells26, a result that seems inconsistent with the hypothesis that superficial layer grid cells drive consolidation of hippocampal memory representations during sleep. Future experiments involving circuit manipulations, together with paired recordings from superficial layer MEC grid cells and CA1 place cells, are needed to better understand network interactions in the entorhinal-hippocampal network during sleep.
METHODS
Subjects
MEC and CA1 data were collected from six male Long-Evans rats weighing ~450 g to ~650 g (mean ± std = 549 ± 87 g) and four male Long-Evans rats weighing ~400g to ~530g (482 ± 55 g), respectively. No statistical methods were used to pre-determine sample size, but our sample size is similar to those reported in previous publications17, 27, 29, 49, 50. After surgery, animals were individually housed with several items for enrichment (e.g., cardboard tubes, wooden cubes, plastic toys). Rats were housed in custom-built acrylic cages (40 cm x 40 cm x 40 cm) on a reverse light cycle (Light: 8pm to 8am). Active waking behavior recordings were performed during the dark phase of the cycle.
Rats recovered from surgery for at least one week, with free access to food, before behavioral training resumed. During the training and data collection period, rats were food-deprived to no less than 90% of their free-feeding weight. During periods of food deprivation, food was provided ad libitum for one day per week. All experiments were conducted according to the guidelines of the United States National Institutes of Health Guide for the Care and Use of Laboratory Animals under a protocol approved by the University of Texas at Austin Institutional Animal Care and Use Committee.
Recording drive
For animals receiving MEC recording implants, chronic “hyperdrives”51 (5 animals) or a Harlan Drive (Neuralynx, Bozeman, Montana, 1 animal) with 12 tetrodes and two reference electrodes or 16 tetrodes, respectively, were implanted over MEC in the right hemisphere of each animal. CA1 animals were implanted with hyperdrives above the hippocampus in the right hemisphere. Tetrodes were constructed from 17 μm polyimide-coated platinum-iridium (90/10%) wire (California Fine Wire, Grover Beach, California). Electrode tips of tetrodes designated for single unit recording were plated with platinum to reduce single channel impedances to ~150 to 300 kOhm at 1 kHz.
Surgery
Anesthesia was induced by placing an animal in an induction box filled with isoflurane (5%) mixed with oxygen (1.5 liters per minute). The animal was then moved to a stereotaxic frame, and isoflurane anesthesia (~1.5-3%), mixed with oxygen as above, was administered throughout surgery. Buprenorphine (0.04 mg/kg) was administered subcutaneously prior to the initial incision. Subjects also received 0.04 ml of atropine (0.54 mg/ml) injected subcutaneously prior to surgery and an additional 0.02 ml of atropine solution after four hours of anesthesia to prevent fluid accumulation in the lungs. Sterile saline (1.00 ml, 0.9%) was administered subcutaneously prior to surgery and each hour thereafter for hydration. Subjects were checked for breathing rate and responsiveness every 15 minutes during surgery to monitor anesthesia levels.
Seven to eight bone screws were placed in the lateral, anterior, and posterior edges of rats’ skulls, serving as anchors for the recording drives. Two additional screws in the anterior portion of the skull, ipsilateral to the recording drive, were used as the electrical ground reference for recording. For MEC implants, drives were positioned 4.5 mm lateral from the midline and approximately 0.2 mm anterior to the transverse sinus. The most posterior tetrode was used to position the drive according to these coordinates. For CA1 implants, drives were centered at 3.0 mm lateral to the midline and 3.8 mm posterior to bregma. Silicon adhesive (Kwik-Sil; WPI, Sarasota, Florida) was used to fill in the exposed portion of the craniotomy, and dental cement was applied to anchor the drive to the skull and to the bone screws. At the end of surgery, subjects were given a subcutaneous injection of Rimadyl (5 mg/kg), mixed with ~1 ml of sterile saline (0.9%), for pain management.
Data collection
Data were recorded using a Digital Lynx system and Cheetah 5.0 recording software (Neuralynx, Bozeman, Montana). Local field potentials (LFPs) from one channel within each tetrode were continuously recorded at 2 kHz, using the built in high-pass (DC-offset filter at 0.10 Hz with 0 taps) and low pass (FIR filter at 500 Hz using 64 taps) filters. Input amplitude ranges were adjusted before each recording session to maximize resolution without signal saturation. Input ranges generally fell within ± 1600 to ± 2600 μV. Spikes were detected and recorded in the following manner. All four channels within each tetrode were filtered from 600-6000 Hz using a high pass (FIR filter at 600 Hz using 64 taps) and low pass (FIR filter at 6000 Hz using 32 taps) filter. Spikes were detected when the filtered continuous signal crossed a threshold set daily by the experimenter, which ranged from 40-75 μV. Detected events were acquired with a 32 kHz sampling rate. Signals were recorded differentially against a dedicated reference channel (see “Tetrode Positioning” section below).
Video was recorded through the Neuralynx system with a resolution of 720 x 480 pixels and a frame-rate of 29.97 frames per second. Animal position and head direction were tracked via an array of red and green LEDs on an HS-54 headstage (Neuralynx, Bozeman, Montana) attached to a hyperdrive, or red and green LEDs connected to EIB-36-24TT headstages (Neuralynx) attached to a Harlan Drive.
Tetrode positioning
All tetrodes were initially lowered ~900 μm on the day of surgery. Thereafter, tetrodes were lowered gradually over the course of several weeks to the superficial layers of MEC or dorsal CA1 guided by the estimated depth and known electrophysiological hallmarks of MEC (e.g., prominent theta oscillations)36,52 and CA1 (e.g., sharp-wave ripples)53. In the CA1 implanted rats and all but one of the MEC implanted rats, the most anterior tetrode was designated as the reference for differential recording and was targeted toward the angular bundle (MEC animals) or a quiet region of overlying cortex (CA1 animals). Due to prominent noise on the most anterior channels in one MEC rat, the most posterior tetrode was chosen as a reference instead. Tetrode positions were verified histologically after experiments were completed (see Histology section below). Reference tetrodes were continuously recorded against ground to ensure that they remained in electrically quiet locations across all days of recording. Experimental sessions and data recording began when the presence of at least four simultaneously recorded grid cells was detected (see Grid Cell Detection section below) or, in the case of CA1 recordings, when most of the tetrodes were estimated to be in the CA1 cell body layer.
Behavioral training of MEC rats
The MEC implanted rats were pre-trained, prior to surgery, to run in multiple environments, including a 1 m x 1 m open field, for randomly scattered small pieces of sweet cereal or cookie rewards. Once rats explored the open field relatively uniformly with few pauses, chronic recording drives were surgically implanted (see Surgery section above). After recovery from surgery (i.e., approximately one week after implantation), rats were familiarized over the course of three days with an open field arena (1 m x 1 m with 0.5 m wall height) in a recording room, in which they again foraged for small pieces of cereal or cookie. Open field familiarization days consisted of alternating periods of three open field sessions (20 min each), with rest sessions (10 min each) preceding and following each active session. During each rest session, rats were placed in a towel-lined, elevated flower pot. Following these familiarization days, open field foraging behavior was maintained with daily training consisting of two to three 20-minute open field foraging sessions, each preceded and followed by 10-minute rest sessions. When prominent saw-toothed theta oscillations (6-10 Hz) were detected on the recording tetrodes, suggesting that tetrodes had reached MEC, open field foraging continued to be maintained as described above, except with 30-minute, rather than 10-minute, intervening rest sessions.
On days when sufficient numbers of simultaneously recorded putative grid cells were observed, data collection began. On these days, rats also ran on a linear track after their open field recordings were completed and approximately 1-2 hours before their overnight sleep recordings began. These linear track data were not included in the present study but have been used in other studies54,55. At the beginning of their light cycle (~8 pm), rats were placed in a relatively small open field arena (60 cm x 60 cm) for overnight sleep recordings. In this small arena, rats were provided with cloth bedding and toys for enrichment, as well as access to food and water. At approximately 8 am the following morning, rats were returned to their home cages. Following ~2-3 hours of rest in their home cages, rats were returned to the larger (i.e., 1 m x 1 m) open-field arena for an abbreviated recording session (two 20-minute bouts of open field foraging, with three intervening 10-minute rest bouts). This second open field recording was performed to confirm the stability of overnight grid cell recordings (see Grid Cell Detection section below).
Behavioral training of CA1 rats
Rats implanted with drives in CA1 were initially part of a different study, and thus different behavioral training protocols were used. Prior to surgery, CA1 implanted rats were trained to run on a circular track with a diameter of 100 cm and a track width of 10 cm. Small pieces of sweet cereal were placed on opposite ends of the circular track as food reward.
Once the rats reliably ran at least ten laps on the track in a 10-minute session, hyperdrive recording devices were implanted. Following one week of recovery, rats were re-trained to run on the circular track. Each training day consisted of three 10-minute running sessions interleaved with four 10-minute rest sessions. All CA1 implanted rats received a minimum of three days of training on the circular track before data collection began.
On each recording day, CA1 implanted rats ran on the circular track for four 10-minute running sessions with intervening 10-minute rest sessions. Upon completion of the circular track task (~8pm), rats were placed in a 60 cm x 60 cm open field enclosure, with water and food provided along with cloth bedding and enrichment items, for overnight sleep recordings.
Histology
Histological sections were prepared in the following manner to allow for verification of tetrode positions after completion of recordings. Rats were given a lethal intraperitoneal (i.p.) injection of Euthanasia III solution. This was followed by transcardial perfusion, first with physiological saline to clear blood and then with 4% formaldehyde solution to fix brain tissue. Brains from MEC-implanted rats were cut sagittally at 30 μm, and each section through the relevant portion of MEC was collected. Brains from CA1 implanted rats were cut coronally at 30 μm, and each section through the relevant portion of CA1 was collected. Sections were mounted on slides and stained with cresyl violet. Tetrode tips and tracks were localized by comparing across successive sections.
Spike sorting
MCLUST cluster-cutting software (version 3.5; A.D. Redish, University of Minnesota, Minneapolis) run in MATLAB 2014a (The MathWorks, Inc., Natick, Massachusetts) was used to sort spikes into putative single units. Spike waveforms were sorted based on peak height, waveform energy, and peak-valley difference. The valley depth of spike waveform was used as an additional feature to sort MEC units. A putative single-unit was accepted for further analysis if the associated cluster had a minimum 1 ms refractory period and shared less than 1% of its total number of spikes with any other accepted cluster. In both CA1 and MEC, unit clusters were well isolated from other clusters on the same tetrodes, exhibiting average isolation distances56 within or above the ranges observed in previously published reports57,58,59. Clusters corresponding to MEC grid cells, MEC non-grid cells, and CA1 place cells exhibited average isolation distances of 15.47 ± 1.02, 19.48 ± 1.42, and 40.17 ± 6.82, respectively.
Identification of active waking and quiescent sleep states
For the initial identification of sleep epochs, videos of rats’ overnight behavior were manually scored by two independent researchers trained to discriminate between sleep, stationary alertness, and consummatory behaviors. Only epochs that both researchers classified as sleep were accepted for further analysis. REM and NREM epochs were then classified during identified sleep epochs based on oscillatory activity in the LFP using the following criteria. A recording period was classified as NREM if the moving window average (5.0 s window, 0.5 s step) of the theta (6-10 Hz) power to delta (2-5 Hz) power ratio remained below 1.0 for at least 15 seconds (modified from a previous study60).
Instantaneous theta and delta power were calculated via Morlet wavelet transform61,62 calculated with a width parameter (σ) of 5 and a frequency resolution of 1 Hz. Recording periods were classified as REM if the moving window average of the theta-delta power ratio remained above 1.5 for at least 60 seconds (modified from previous studies60,63).
Recordings of active waking behaviors on the circular track (CA1 data) and in the open field (MEC data) were used to define periods of active ambulation (i.e., RUN). RUN epochs were defined as periods in which the theta-delta power ratio was above 2.0 and a rat’s running speed, smoothed with a Gaussian window (radius of 133 ms or 4 video frames, standard deviation of 1), was greater than 5 cm/sec. Theta detection thresholds were verified by manual examination of randomly chosen segments of LFP.
Grid cell detection
Recordings of single unit activity in the open field environment were used to detect grid cells. First, rate maps were calculated using 3 cm2 spatial bins and smoothed with a Gaussian window1. A gridness score3 was then calculated for each putative grid cell and compared to a bootstrapped distribution of gridness scores. The bootstrapped distribution consisted of 2000 shuffles in which spike trains were shifted in time by a random amount while the inter-spike intervals remained fixed. Rate maps and gridness scores were recalculated for each shuffle to create a bootstrap distribution for each putative grid cell. Units were classified as grid cells when the original gridness score met or surpassed the 95th percentile of the corresponding bootstrapped distribution. Additionally, a grid cell was only included if the same unit was identified and remained stable in an open field recording session the next day. Grid cell stability was assessed by visual inspection of unit cluster position, inter-spike intervals, and grid field similarity.
Evaluation of head direction selectivity
Head direction selectivity of individual units was evaluated using a previously established method64. Namely, Watson’s U2 test was used to compare the number of spikes occurring for each unit while the animal faced each direction to the amount of total time the animal spent facing each direction. Spiking and orientation data were pooled across the three open-field sessions run during each MEC animal’s first day of testing. Following visual examination of the orientation tuning curves for each unit, a U2 value of >15 was chosen empirically as a threshold for labeling a cell as head direction-selective. Non-grid cells with a U2 value surpassing threshold were labelled as “head direction” cells (n = 63/144) whereas grid cells with a U2 value surpassing threshold were labelled as “conjunctive” cells (n = 17/157). Grid cells whose Watson’s U2 value failed to surpass threshold were labeled as “pure grid” cells (n = 140). Importantly the division of grid cells into “conjunctive” and “pure grid” cells was only performed for the purposes of the analyses displayed in Supplementary Figure 3. Similarity in preferred firing orientation (Relative Angular Distance in Supplementary Figure 3) was calculated as the minor angular distance between the circular average of each unit’s orientation tuning curve.
Cell pair selection
MEC and CA1 cell pairs that did not have a peak of at least 5 spikes in the (summed non-normalized) cross-correlation for each behavioral state were not included. To prevent double counting of the same spikes, MEC cell pairs recorded simultaneously on the same tetrode were excluded if spike-time correlations at zero lag were greater than the average of the correlation vector. Grid cell pairs in which the spatial period of one cell was not within 30% of the other were excluded to restrict comparisons to cells within the same putative module35, except in analyses in which it is explicitly noted that trans-modular grid cell pairs were analyzed (i.e., Supplementary Figure 2).
Grid cell firing rate estimation
Grid cell firing rates during each RUN, REM, and NREM period were calculated by dividing the total number of spikes by the duration of the detected behavioral period, averaged across periods for each behavioral state (Figure 1b-c), and then averaged across units.
Place cell firing rate map calculation
Given that CA1 place cells were recorded while rats performed laps around an elevated circular track, rather than ambulating throughout an open field environment as with grid cell recordings, the procedure for rate map calculation was different for place cells than for grid cells. For CA1 recordings on the circular track, rats' positions were first converted from two-dimensional Cartesian coordinates to a one-dimensional measure of angular position along the track. The sequence of angular coordinates corresponding to a rat’s position at each video frame time were then sorted into 5-degree bins spanning from 0 to 360. Rate maps were calculated by dividing the total number of spikes occurring while the rat was actively ambulating within each radial bin by the total amount of time that the rat spent actively moving within that bin. Rate maps were then smoothed with a Gaussian kernel 25 degrees wide.
Statistics
Unless otherwise noted, all analyses were performed in MATLAB (The MathWorks, Inc., Natick, Massachusetts) using custom-written software. However, standard built-in MATLAB functions were used (e.g. “xcorr,” “corrcoeff,” etc.) whenever possible.
The SPSS Statistics Subscription (build 1.0.0.781, IBM) software package was used for most of the statistical analyses in this paper. This includes the statistics describing firing rate differences across behaviors (as shown in Figure 1 for MEC), the statistics comparing the relationships between rate map correlation coefficients and the spike-time correlation values (calculated from the sum of the correlations within the ± 5 ms lag window) for data in Figure 3 and Supplementary Figure 3, the statistics used to analyze the evolution of cross-correlations across NREM sleep (Supplementary Figure 4), as well as the statistics used to analyze the effects of removing theta phase influences (Supplementary Figure 8). Custom-written MATLAB scripts were used for statistical testing associated with model simulations (i.e., Supplementary Figure 5).
Effect sizes throughout the manuscript are reported as R2 for the Mann-Whitney U test (Supplementary Figure 8d) and all regression analyses, partial η2 as outputted by SPSS for ANOVAs, and Cohen’s d (standardized mean difference) for paired t-tests and the bootstrapping test of variance (Supplementary Figure 2d). A modified form of Cohen’s d, using circular mean and circular standard deviation, was also employed as a measure of effect size for the MATLAB ‘circ_mtest’ for grid orientation differences (Supplementary Figure 5f). All statistical tests were evaluated using a two-tailed alpha. For all parametric tests, data distributions were assumed to be normal but this was not formally tested.
Spike-time correlations
Spike-time cross-correlations were calculated in MATLAB using the "xcorr" function (MATLAB 2017a Signal Processing Toolbox, The MathWorks, Inc., Natick, Massachusetts). Unless otherwise stated, cross-correlations were normalized such that auto-correlations at zero lag were identically 1.0 (i.e., “coeff” normalization option in MATLAB), and correlograms were averaged across bouts of the same behavior. Two exceptions to this are Figure 2 and Supplementary Figure 2, in which each of the non-normalized cross-correlograms, which were summed across bouts of the same behavior, were scaled by their average value (Gardner et al., SfN Abstracts, 2016). This analysis was done to compare the present results with those of Gardner and colleagues, who introduced this analysis previously. A third exception is Supplementary Figure 1 in which each of the non-normalized cross-correlograms, summed across bouts of the same behavior, were normalized via z-scoring. This alternative normalization procedure was performed to verify that the patterns observed in Figure 2 could be replicated using a different method. Cross-correlations were calculated using spike counts in 2 ms (Figures 3-6, Supplementary Figures 3, 4, 6, 7), or 5 ms, 10 ms, and 50 ms bins (Figure 2a, b, and c, respectively) to ensure that the observed results were not an artifact of the chosen bin size. All cross-correlations were calculated over ± 5000 ms lags.
Spike-time correlations across NREM sleep
Our goal was to compare the evolution of near lag zero spike-time cross-correlations across NREM sleep between place cells in CA1 and grid cells in MEC (Supplementary Figure 4). To that end, normalized spike-time cross-correlations for each cell pair during each NREM epoch throughout the first three hours of the overnight session were summed within either ± 5 ms (Supplementary Figure 4a) or ± 50 ms (Supplementary Figure 4b). This value was then grouped into one of six 30 min bins anchored to the beginning of the first NREM epoch based on the temporal center of the NREM epoch. If more than one NREM epoch occurred within a given 30-minute bin, the values shown in Supplementary Figure 4 represent the cross-correlations averaged across those epochs. Inclusion criteria identical to those described above (Methods: “Cell pair selection”) were also applied here and assessed across all NREM epochs throughout the overnight session to ensure parallelism with the rest of the report.
Rate map correlation coefficients
Pearson's correlation coefficients for pairs of grid cell rate maps, which were used to sort grid cell pairs in Figure 4 and Supplementary Figure 6, and are shown across the x-axes in Figure 3a, were calculated by the off-diagonal value returned by the “corrcoef” function in MATLAB (MATLAB 2017a, The MathWorks, Inc., Natick, Massachusetts). Grid cells’ two-dimensional rate map matrices were vectorized, and NaNs representing unvisited bins in the rate maps were removed before calculating the correlation coefficients. For CA1 place cells (Figure 3b), the rate map correlation coefficient (Pearson’s r) was calculated using the ‘corrcoef’ function applied to the one-dimensional rate maps constructed from rats’ angular positions on the circular track. The values presented are the medians across the three open-field sessions or three circular track sessions for MEC or CA1 cells, respectively.
Grid cell rate map cross-correlations
Rate map autocorrelations (for grid cell detection and Supplementary Figure 5b) and cross-correlations (Figures 4, 5a, 6; Supplementary Figures 3a, 6-7) were performed following procedures outlined previously1. Briefly, the two-dimensional cross (or auto) correlation was calculated from the smoothed rate maps via:
Where map1 and map2 are the smoothed firing rate maps and N is the total number of spatial bins.
Relative spatial phase between pairs of grid cells
Relative spatial phase was calculated using the rate map cross-correlation between the rate maps of two grid cells (Figures 4, 5a, 6; Supplementary Figure 6, 5d; see Figure 4a for a schematic explanation of the method) (similar to a previous study35). The peak of the cross-correlation map closest to the plot origin was identified, and spatial phase was calculated using the x and y distances from the origin to that peak. The x and y distances were then each normalized by the spatial period, calculated as the distance between the two peaks closest to the origin. Because the distance of least overlap is at one half the spatial period, phases greater than 0.5 were subtracted from 1.0 (e.g., 0.62 becomes 1.00 - 0.62 = 0.38). The phase was then divided by 0.5, giving a final relative spatial phase value that ranged from [0, 1] where [0, 0] indicated maximal overlap between grid fields and [1, 1] indicated minimal overlap between grid fields. The medians of the relative phase values calculated across the three open field sessions were used as the final relative spatial phase values shown in Figure 4. A one-dimensional measure of the relative spatial phase magnitude was also created by taking the Euclidian distance of the x and y relative phases, which spanned the range (Figures 5a, 6; Supplementary Figure 5g, 6b, 7a, 8).
Cell pairs in Figure 6 were categorized as “High Overlap” (i.e., low relative spatial phase), “Low Overlap” (i.e., high relative spatial phase), or “Mid Overlap” (i.e., intermediate relative spatial phase) by comparing each cell pair’s relative spatial phase magnitude to the maximum observed relative spatial phase magnitude (which could range in value from 0 to ). Cell pairs with a relative spatial phase magnitude that fell below 30% of the maximum relative spatial phase magnitude were labeled as High Overlap. Cell pairs with a relative spatial phase magnitude that fell above 70% of the maximum relative spatial phase magnitude were classified as Low Overlap. Cell pairs were assigned to the Mid Overlap group if their relative spatial phase magnitude fell between 40% and 60% of the maximum relative spatial phase magnitude. Cell pairs not assigned to one of these three groups were excluded from results shown in Figure 6. Supplementary Figure 8 used the same criteria for the High Overlap and Low Overlap groups but did not include a Mid Overlap group.
Relative distance between pairs of place cells
The relative angular distance between the firing locations of two CA1 cells on the circular track was defined as the length of the minor arc between their fields. Only place cells with peak firing rates exceeding 1 Hz were included in this analysis. Each cell pair was sorted into one of five bins based on the relative angular distance (each bin spanned a range of 36 degrees), and the average spike-time correlation across all pairs within a group was calculated (Supplementary Figure 7). Similar to Figure 5a, spike-time correlations for each behavioral state were then normalized by the maximum average spike-time cross-correlation coefficient for that behavioral state (Figure 5b, Supplementary Figure 6b).
Evaluating the place-to-grid model
To evaluate the ability of dimensionally reduced and simulated place cell inputs to generate physiologically realistic grid-like responses, we utilized the code provided and described in detail in a previous study by Dordek and colleagues11 (Supplementary Figure 5). We initially ran the simulation using an unmodified version of the code (see specific parameters below). To simulate what would happen to grid-like outputs given globally remapped place cell inputs, we then shuffled place fields to new locations and re-plotted the spatial responses of the output units. Finally, we re-learned the model, but starting with the shuffled place fields and their associated weights rather than random weights. As many parameters were variable in the code, the specifics utilized in the current study are as follows. We used a 25 x 25 matrix of place cell inputs, with place fields exhibiting difference of Gaussians (i.e., Mexican hat) distributions, to generate 10 output units. Place fields were organized in a regularly spaced array.
Removal of theta contribution to spike-time cross-correlations
One possible explanation for the relatively high spike-time cross-correlations observed for some grid cell pairs, aside from network connectivity, is that spikes from those grid cells tended to occur at the same theta phase. To address this possibility, the observed spike-time cross-correlations in each theta-associated state (RUN or REM) were compared to distributions containing 200 spike-time cross-correlations computed from shuffled spike train pairs, based on a method reported previously65. In these shuffled spike trains, the times of each spike for each grid cell were shuffled independently. Each spike was moved randomly to a new time that satisfied two conditions: the new time fell within a ± 500ms window around its original spike-time and was associated with a theta phase within 5 degrees of the original spike-time’s associated theta phase. Thus, theta-induced correlations and other correlations on a time-scale slower than 500 ms in the shuffled data were preserved, while short-latency correlations were eliminated. Examples of individual cross-correlations for shuffled spike trains are shown in Supplementary Figure 8 together with the corresponding original cross-correlation. The average of the cross-correlations for all shuffled spike trains was presumed to represent the portion of the cross-correlation explained by theta phase co-modulation alone (Supplementary Figure 8). To visualize the temporal correlations of spikes that were not attributable to theta phase modulation of spike times, the magnitude of the observed cross-correlation that fell within the 98% confidence interval of the shuffled distribution was reduced by the amount attributable to theta or other slow correlations (Supplementary Figure 8). To do so, first, any lag bins of the original correlogram with values that fell within the confidence interval were set equal to zero. Next, in any time lag bins in which the correlogram was greater than the upper bound of the confidence interval, the correlogram was reduced by the value of the upper confidence interval bound in that bin (e.g. if the correlogram in a bin was equal to 0.1 and the upper confidence interval bound was 0.06, the new correlogram value would be 0.04). Values of the correlogram which fell below the lower bound of the confidence interval were reduced by the value of the lower bound (e.g., if the correlogram bin was equal to 0.02 and the lower confidence interval bound was 0.03, the new correlogram value would be −0.01). For each cell pair, the average theta-removed cross-correlation across all sessions of a given behavior was calculated by taking the theta-removed cross-correlation for each individual behavioral session and then averaging across sessions. The area of the cross-correlogram between ± 5 ms lag was calculated (“summed correlation”, as in Figures 3, 4b, 5 and 6C and Supplementary Figures 3, 4a, 6 and 7) and used as a measure of short-latency correlation in Supplementary Figure 8. The population average of the summed correlation was used in Supplementary Figure 8 to look at differences between low and high relative spatial phase groups, calculated as in Figure 6. The relationship between relative spatial phase and the summed correlation or the summed, theta-subtracted correlation (Supplementary Figure 8) was tested using repeated measures ANOVA.
Blinding and randomization:
Data collection and analyses were not performed blind, and data collection was not randomized, due to the conditions, design, and goals of the experiments.
Reporting summary
Additional information regarding the research design and analytical procedures can be found in the Life Sciences Reporting Summary linked to this article.
Code availability
The custom MATLAB scripts used in this paper are available upon request from the authors.
Data availability
The data used in this experiment is available upon request from the authors.
Supplementary Material
ACKNOWLEDGEMENTS
We thank K.N. Bobbitt and K. Kallina for recording drive construction and outstanding technical support. We also thank A. Akinsooto, K.N. Bobbitt, S. Brizzolara-Dove, J. Campos, A. Davis, D. Jones, G. Kwong, C.G. Orozco, F. Rahman, E. Usheva, and D. Wehle for help with sleep video scoring, and B.J. Gereke for helpful discussions. This work was supported by: the Whitehall Foundation (to L.L.C.), NSF CAREER Award 1453756 (to L.L.C.), ONR YIP Award N00014-14-1-0322 (to L.L.C.), and the National Institute on Drug Abuse (primary) of the National Institutes of Health under award number T32DA018926 (to E.H. and S.T.). I.R.F. was supported in part by a Faculty Scholar award from the Howard Hughes Medical Institute, a grant from the Simons Foundation through the SCGB, and an HFSP grant.
Footnotes
COMPETING FINANCIAL INTEREST STATEMENT
The authors declare no competing financial interests.
References
- 1.Hafting T, Fyhn M, Molden S, Moser M-B & Moser EI, Microstructure of a spatial map in the entorhinal cortex. Nature 436, 801–806 (2005). [DOI] [PubMed] [Google Scholar]
- 2.O’Keefe J & Dostrovsky J, The hippocampus as a spatial map. Preliminary evidence from unit activity in the freely-moving rat. Brain Research 34, 171–175 (1971). [DOI] [PubMed] [Google Scholar]
- 3.Sargolini F et al. , Conjunctive representation of position, direction, and velocity in entorhinal cortex. Science 312, 758–62 (2006). [DOI] [PubMed] [Google Scholar]
- 4.Taube JS, Muller RU & Ranck JB, Head-direction cells recorded from the postsubiculum in freely moving rats. I. Description and quantitative analysis. The Journal of Neuroscience 10, 420–35 (1990). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Solstad T, Boccara CN, Kropff E, Moser M-B & Moser EI, Representation of geometric borders in the entorhinal cortex. Science 322, 1865–8 (2008). [DOI] [PubMed] [Google Scholar]
- 6.Kropff E, Carmichael JE, Moser M-B & Moser EI, Speed cells in the medial entorhinal cortex. Nature 523, 419–424 (2015). [DOI] [PubMed] [Google Scholar]
- 7.Hardcastle K, Maheswaranathan N, Ganguli S & Giocomo LM, A Multiplexed, Heterogeneous, and Adaptive Code for Navigation in Medial Entorhinal Cortex. Neuron (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Yartsev MM & Ulanovsky N, Representation of three-dimensional space in the hippocampus of flying bats. Science 340, 367–72 (2013). [DOI] [PubMed] [Google Scholar]
- 9.Burak Y & Fiete IR, Accurate Path Integration in Continuous Attractor Network Models of Grid Cells. PLoS Computational Biology 5, e1000291 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Burgess N, Barry C & O’Keefe J, An oscillatory interference model of grid cell firing. Hippocampus 17, 801–812 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Dordek Y, Soudry D, Meir R, & Derdikman D Extracting grid cell characterstics from place cell inputs using non-negative principal component analysis. eLife 5, e10094 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Fuhs MC & Touretzky DS, A Spin Glass Model of Path Integration in Rat Medial Entorhinal Cortex. The Journal of Neuroscience 26, 4266–4276 (2006). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Grossberg S & Pilly PK, How Entorhinal Grid Cells May Learn Multiple Spatial Scales from a Dorsoventral Gradient of Cell Response Rates in a Self-organizing Map. PLoS Computational Biology 8, e1002648 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Navratilova Z, Giocomo LM, Fellous J, Hasselmo ME & McNaughton BL, Phase precession and variable spatial scaling in a periodic attractor map model of medial entorhinal grid cells with realistic after-spike dynamics. Hippocampus 22, 772–789 (2012). [DOI] [PubMed] [Google Scholar]
- 15.Moser EI et al. , Grid cells and cortical representation. Nature Reviews Neuroscience 15, 466–481 (2014). [DOI] [PubMed] [Google Scholar]
- 16.Burak Y & Fiete I, Do We Understand the Emergent Dynamics of Grid Cell Activity? The Journal of Neuroscience 26, 9352–9354 (2006). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Karlsson MP & Frank LM, Awake replay of remote experiences in the hippocampus. Nature Neuroscience 12 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Kudrimoti HS, Barnes CA & McNaughton BL, Reactivation of hippocampal cell assemblies: effects of behavioral state, experience, and EEG dynamics. The Journal of Neuroscience 19, 4090–101 (1999). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.O’Neill J, Senior TJ, Allen K, Huxter JR & Csicsvari J, Reactivation of experience-dependent cell assembly patterns in the hippocampus. Nature Neuroscience 11, 209–215 (2008). [DOI] [PubMed] [Google Scholar]
- 20.Wilson MA & McNaughton BL, Reactivation of hippocampal ensemble memories during sleep. Science 265, 676–679 (1994). [DOI] [PubMed] [Google Scholar]
- 21.Peyrache A, Lacroix MM, Petersen PC & Buzsáki G, Internally organized mechanisms of the head direction sense. Nature Neuroscience 18 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Canto CB, Wouterlood FG & Witter MP, What Does the Anatomical Organization of the Entorhinal Cortex Tell Us? Neural Plasticity 2008, 381243 (2008). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Fyhn M, Hafting T, Treves A, Moser M-B & Moser EI, Hippocampal remapping and grid realignment in entorhinal cortex. Nature 446, 190–4 (2007). [DOI] [PubMed] [Google Scholar]
- 24.Steward O & Scoville SA, Cells of origin of entorhinal cortical afferents to the hippocampus and fascia dentata of the rat. Journal of Comparative Neurology 169, 347–370 (1976). [DOI] [PubMed] [Google Scholar]
- 25.Zhang S-J et al. , Optogenetic dissection of entorhinal-hippocampal functional connectivity. Science 340, 1232627 (2013). [DOI] [PubMed] [Google Scholar]
- 26.O’Neill J, Boccara CN, Stella F, Schoenenberger P & Csicsvari J, Superficial layers of the medial entorhinal cortex replay independently of the hippocampus. Science 355, 184–188 (2017). [DOI] [PubMed] [Google Scholar]
- 27.McNaughton BL, Battaglia FP, Jensen O, Moser EI & Moser M-B, Path integration and the neural basis of the cognitive map. Nature Reviews Neuroscience 7, 663–678 (2006). [DOI] [PubMed] [Google Scholar]
- 28.Welinder PE, Burak Y & Fiete IR, Grid cells: The position code, neural network models of activity, and the problem of learning. Hippocampus 18, 1283–1300 (2008). [DOI] [PubMed] [Google Scholar]
- 29.Kraus BJ et al. , During Running in Place, Grid Cells Integrate Elapsed Time and Distance Run. Neuron 88, 578–589 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Killian NJ, Jutras MJ & Buffalo EA, A map of visual space in the primate entorhinal cortex. Nature 491, 761–4 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Nádasdy Z, Hirase H, Czurkó A, Csicsvari J & Buzsáki G, Replay and time compression of recurring spike sequences in the hippocampus. The Journal of Neuroscience 19, 9497–507 (1999). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Lee AK & Wilson MA, Memory of Sequential Experience in the Hippocampus during Slow Wave Sleep. Neuron 36, 1183–1194 (2002). [DOI] [PubMed] [Google Scholar]
- 33.Bonnevie Tora, et al. Grid cells require excitatory drive from the hippocampus. Nature Neuroscience 16, 309–317 (2013). [DOI] [PubMed] [Google Scholar]
- 34.Colgin LL, Moser EI & Moser M-B, Understanding memory through hippocampal remapping. Trends in Neurosciences 31, 469–77 (2008). [DOI] [PubMed] [Google Scholar]
- 35.Yoon K et al. , Specific evidence of low-dimensional continuous attractor dynamics in grid cells. Nature Neuroscience 16, 1077–1084 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Hafting T, Fyhn M, Bonnevie T, Moser M-B & Moser EI, Hippocampus-independent phase precession in entorhinal grid cells. Nature 453, 1248–52 (2008). [DOI] [PubMed] [Google Scholar]
- 37.Couey JJ et al. , Recurrent inhibitory circuitry as a mechanism for grid formation. Nature Neuroscience 16, 318–324 (2013). [DOI] [PubMed] [Google Scholar]
- 38.Pastoll H, Solanka L, Rossum M & Nolan MF, Feedback Inhibition Enables Theta-Nested Gamma Oscillations and Grid Firing Fields. Neuron 77, 141–154 (2013). [DOI] [PubMed] [Google Scholar]
- 39.Dhillon A & Jones RSG, Laminar differences in recurrent excitatory transmission in the rat entorhinal cortex in vitro. Neuroscience 99, 413–422 (2000). [DOI] [PubMed] [Google Scholar]
- 40.Fuchs E et al. , Local and Distant Input Controlling Excitation in Layer II of the Medial Entorhinal Cortex. Neuron 89, 194–208 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Yoon K, Lewallen S, Kinkhabwala AA, Tank DW & Fiete IR, Grid Cell Responses in 1D Environments Assessed as Slices through a 2D Lattice. Neuron 89, 1086–99 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Aronov D, Nevers R & Tank DW, Mapping of a non-spatial dimension by the hippocampal–entorhinal circuit. Nature 543, 719–722 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Amari S.-i., Dynamics of pattern formation in lateral-inhibition type neural fields. Biological Cybernetics 27, 77–87 (1977). [DOI] [PubMed] [Google Scholar]
- 44.Guanella A, & Verschure PF A model of grid cells based on a path integration mechanism. International Conference on Artificial Neural Networks, 740–749 (2006). [Google Scholar]
- 45.Gu Y, Lewallen S, Kinkhabwala AA, Domnisoru C, Yoon K, Gauthier JL, Fiete IR, & Tank DW, A map-like micro-organization of grid cells in the medial entorhinal cortex. Cell, 175, 736–750 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Widloski J, Marder MP, & Fiete IR, Inferring circuit mechanisms from sparse neural recording and global perturbation in grid cells. eLife 7, e33503 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Ji D & Wilson MA, Coordinated memory replay in the visual cortex and hippocampus during sleep. Nature Neuroscience 10, 100–107 (2007). [DOI] [PubMed] [Google Scholar]
- 48.Rothschild G, Eban E & Frank LM, A cortical-hippocampal-cortical loop of information processing during memory consolidation. Nature Neuroscience 20, 251–259 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Jadhav SP, Rothschild G, Roumis DK, & Frank LM (2016). Coordinated excitation and inhibition of prefrontal ensembles during awake hippocampal sharp-wave ripple events. Neuron, 90(1), 113–127. [DOI] [PMC free article] [PubMed] [Google Scholar]; Euston DR, Tatsuno M & McNaughton BL, Fast-Forward Playback of Recent Memory Sequences in Prefrontal Cortex During Sleep. Science 318, 1147–1150 (2007). [DOI] [PubMed] [Google Scholar]
- 50.Ólafsdóttir HF, Carpenter F & Barry C, Coordinated grid and place cell replay during rest. Nature Neuroscience 19, 792–794 (2016). [DOI] [PubMed] [Google Scholar]
Methods-only References
- 51.Gothard KM, Skaggs WE, Moore KM & McNaughton BL, Binding of hippocampal CA1 neural activity to multiple reference frames in a landmark-based navigation task. The Journal of Neuroscience 16, 823–35 (1996). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Mitchell SJ & Ranck JB, Generation of theta rhythm in medial entorhinal cortex of freely moving rats. Brain Research 189, 49–66 (1980). [DOI] [PubMed] [Google Scholar]
- 53.Buzsáki G, Hippocampal sharp waves: Their origin and significance. Brain Research 398, 242–252 (1986). [DOI] [PubMed] [Google Scholar]
- 54.Trimper JB, Trettel SG, Hwaun E & Colgin LL, Methodological Caveats in the Detection of Coordinated Replay between Place Cells and Grid Cells. Frontiers in Systems Neuroscience 11, 57 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Zheng C, Bieri K, Trettel S & Colgin L, The relationship between gamma frequency and running speed differs for slow and fast gamma rhythms in freely behaving rats. Hippocampus 25, 924–938 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Harris KD, Hirase H, Leinekugel X, Henze DA & Buzsáki G Temporal interaction between single spikes and complex spike bursts in hippocampal pyramidal cells. Neuron 1, 141–149 (2001). [DOI] [PubMed] [Google Scholar]
- 57.Brun VH, Leutgeb S, Wu HQ, Schwarcz R, Witter MP, Moser EI, & Moser MB Impaired spatial representation in CA1 after lesion of direct input from entorhinal cortex. Neuron 57, 290–302 (2008). [DOI] [PubMed] [Google Scholar]
- 58.Giocomo LM, Hussaini SA, Zheng F, Kandel ER, Moser MB, & Moser EI Grid cells use HCN1 channels for spatial scaling. Cell 147, 1159–1170 (2011). [DOI] [PubMed] [Google Scholar]
- 59.Henriksen EJ, Colgin LL, Barnes CA, Witter MP., Moser, M.B., & Moser, E.I. Spatial representation along the proximodistal axis of CA1. Neuron 68, 127–137 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Csicsvari J, Hirase H, Czurkó A, Mamiya A & Buzsáki G, Oscillatory coupling of hippocampal pyramidal cells and interneurons in the behaving Rat. The Journal of Neuroscience 19, 274–87 (1999). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61.Colgin LL et al. , Frequency of gamma oscillations routes flow of information in the hippocampus. Nature 462, 353–7 (2009). [DOI] [PubMed] [Google Scholar]
- 62.Tallon-Baudry C, Bertrand O, Delpuech C & Pernier J, Oscillatory σ-band (30–70 Hz) activity induced by a visual search task in humans. The Journal of Neuroscience 17 (1997). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63.Louie K & Wilson MA, Temporally Structured Replay of Awake Hippocampal Ensemble Activity during Rapid Eye Movement Sleep. Neuron 29, 145–156 (2001). [DOI] [PubMed] [Google Scholar]
- 64.Johnson A, Seeland K, & Redish AD Reconstruction of the postsubiculum head direction signal from neural ensembles. Hippocampus 15, 86–96 (2005). [DOI] [PubMed] [Google Scholar]
- 65.Geisler C, Robbe D, Zugaro M, Sirota A & Buzsáki G, Hippocampal place cell assemblies are speed-controlled oscillators. Proceedings of the National Academy of Sciences of the United States of America 104, 8149–54 (2007). [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 data used in this experiment is available upon request from the authors.