Skip to main content
Elsevier Sponsored Documents logoLink to Elsevier Sponsored Documents
. 2021 Mar 22;31(6):1221–1233.e9. doi: 10.1016/j.cub.2021.01.005

Hippocampal place cells encode global location but not connectivity in a complex space

Éléonore Duvelle 1,2,6,7,, Roddy M Grieves 1,2,6, Anyi Liu 1, Selim Jedidi-Ayoub 1, Joanna Holeniewska 1, Adam Harris 3, Nils Nyberg 1, Francesco Donnarumma 4, Julie M Lefort 5, Kate J Jeffery 1, Christopher Summerfield 3, Giovanni Pezzulo 4, Hugo J Spiers 1,∗∗
PMCID: PMC7988036  PMID: 33581073

Summary

Flexible navigation relies on a cognitive map of space, thought to be implemented by hippocampal place cells: neurons that exhibit location-specific firing. In connected environments, optimal navigation requires keeping track of one’s location and of the available connections between subspaces. We examined whether the dorsal CA1 place cells of rats encode environmental connectivity in four geometrically identical boxes arranged in a square. Rats moved between boxes by pushing saloon-type doors that could be locked in one or both directions. Although rats demonstrated knowledge of environmental connectivity, their place cells did not respond to connectivity changes, nor did they represent doorways differently from other locations. Place cells coded location in a global reference frame, with a different map for each box and minimal repetitive fields despite the repetitive geometry. These results suggest that CA1 place cells provide a spatial map that does not explicitly include connectivity.

Keywords: place cells, hippocampus, rat, navigation, spatial connectivity, topology, transitions, place field repetition, detour, four-room maze

Highlights

  • Rats flexibly navigate in a four-room maze where connectivity changes

  • Place cell firing fields are not specifically altered by changes in connectivity

  • Single or ensemble place cell activity does not encode changes in connectivity

  • Place cells can uniquely map identical connected compartments


Hippocampal place cells are thought to underlie a “cognitive map” of space. Duvelle and Grieves et al. show that the place cells of rats discriminate four connected rooms and rats learn changes in their connectivity. However, such changes do not affect place cell activity, suggesting that other brain regions or mechanisms encode this information.

Introduction

Real-world navigation involves traversing complex environments. How are these represented by the brain? Environmental features can be contextual (e.g., color and odor), topographic (e.g., angles and distances), or topologic (relationships preserved through deformation: containment, adjacency, connectivity). Hippocampal place cells, with their location-specific firing,1 are thought to form the basis of a cognitive map underlying spatial memory and flexible navigation.2 Place cells encode topographical and contextual information, specifically environment geometry,3,4 color,5 texture,6 and size.7,8 Topology could be encoded implicitly in the co-firing9,10 or ensemble activity11 of place cell activity. Here, we investigated whether they encode connectivity changes explicitly in their firing rate and location.

Barriers change the firing of nearby place cells.8,12,13 Such local remapping is consistent with the predictions of the boundary vector cell (BVC) model, whereby place cells are driven by neurons sensitive to boundaries.14,15 Another recent proposal suggests that place cells form a predictive map or “successor representation” of environments.16,17 In this view, altering connectivity impacts future states, thus changing the firing of local firing fields (“place fields”). To our knowledge, no experiment has directly investigated the effect of connectivity changes on hippocampal activity while maintaining geometry and controlling for behavioral changes known to influence place cells such as movement direction18,19 or running speed.20

To test this, we used an environment with four geometrically identical boxes connected by pushable doors. Environmental connectivity could be seamlessly modified by locking doors. We trained rats in a task alternating goal-directed navigation to a sound-cued box and pseudo-random foraging in that box. Rats demonstrated knowledge of connectivity, but the firing of their place cells did not change with connectivity. Place cells instead represented spatial location in a global reference frame, discriminating between boxes.

Results

Performance in the four-room navigation task

Behavioral data were obtained from 5 rats in the “four-room” environment (see Figures 1 and S1; Video S1; STAR methods, “Training” and “Task”) in two different sequences of sessions. Both started with two control sessions with all doors unlocked, followed by two test sessions where either one of the doors was locked both ways (“Closed-Door” sequence, Figure 1B) or all doors were locked one way (“One-Way” sequence) (Figure 1C), and ended with a final control session. Sessions consisted of 12 trials. For each trial, the experimenter rang a bell attached to a chosen goal box and threw food in that box until the rat finished foraging. Rats continuously alternated between foraging within a box and “goal-directed” trajectories between boxes. This allowed homogeneous spatial sampling and avoided the use of a response strategy not necessarily engaging the hippocampus.21,22 Trajectories were automatically classified (Figures 1H and S3A; STAR methods, “Behavior categorization”). Sessions lasted 23 min on average with a 10-min rest period between them. We used 19 Closed-Door sequences and 11 One-Way sequences (Table S1).

Figure 1.

Figure 1

Protocol and behavior showing connectivity knowledge

(A) Photographs of (1) the maze, note the bells attached to each box. The same goal box order was used for all 5 sessions of a sequence. See Figure S1A. (2) Rat pushing a one-way door; (3) rat on the elevated platform, (4) normal door, (5) “dummy” door, and (6) rat passing through an open door.

(B) Closed-Door sequence protocol. Stop signs indicate locked doors.

(C) One-Way sequence protocol. Blue arrows indicate the open direction with the other direction locked.

(D and E) Normalized number of pushes on a door side for control doors (in O1–3, doors that will be or were locked), locked doors (same doors but in C1 and C2), or open doors, averaged over sessions.

(F and G) Same as (D) and (E) separated by session quarters. See also Figures S1D, S1E, and S1I.

(H) Example trials: black markers indicate rat position when the bell rang; bell symbol indicates origin of the sound. Thick gray lines show trajectories classified as foraging. Black lines show goal-directed trajectories.

For (I)–(M), Closed-Door and One-Way sequences are combined.

(I) Average time spent in each box in each session.

(J) Average movement speed 1 s before or after a bell sound.

(K) Average time between bell sound and next door push.

(L) Proportion of optimal first door pushes after a bell sound, separated by optimal distance between start and goal box (1 = adjacent boxes). Gray line indicates chance level.

(M) Proportion of correct first foraging choices. Chance level (gray) is 33%, excluding the initial box.

See Figures S1F and S1G for plots separated by sequence type. Here and later, error bars indicate standard error of the mean and p < 0.05, ∗∗p < 0.01, ∗∗∗p < 0.001. See also Video S1 and Figure S1.

Video S1. Example behavior in the four-room environment, related to Figure 1

This provides examples of door-pushing behavior and trajectories through the maze (not recorded during the task).

Download video file (45.4MB, mp4)

Rats rapidly learned spatial connectivity changes

In both sequences, rats pushed on all doors equally in the first (O1) and second (O2) control sessions but significantly less on locked doors in the third and fourth sessions (C1 and C2) (STAR methods, “Event flags”; Table 1 for statistics). Although all doors reopened in the 5th session (O3), rats still pushed less on the previously locked doors, indicating long-term memory for door state and an incomplete updating of connectivity; for this reason, our analyses do not generally rely on session O3. These effects hold across individual rats (Figure S1E). Rats pushed significantly less on locked door sides in the C1 session in One-Way sequences compared to Closed-Door sequences, suggesting better knowledge of connectivity in One-Way sequences. Rats discriminated between locked and open doors from the first time quarter of sessions, indicating fast learning (Figures 1F, 1G, and S1D).

Table 1.

Statistics for Figure 1

Panel and dependent variable Omnibus test Effect of group (closed/control or open) Effect of session (O1, O2, C1, …) Interaction group X session Post hoc tests across groups (correcteda)
D, pushes/door/min Two-way repeated-measures ANOVA F(1, 72) = 40.6, p < 0.001 F(4, 72) = 7.6, p < 0.001 F(4, 72) = 27.9, p < 0.001 C1: p < 0.001
C2: p < 0.001
O3: p = 0.021
All other p > 0.75
E, pushes/door/min F(1, 40) = 7.2, p = 0.022 F(4, 40) = 2.6, p = 0.053 F(4, 40) = 21.4, p < 0.001 C1: p < 0.001
C2: p < 0.001
O3: p < 0.006
all other p > 0.15
D versus E Group = Closed-Door versus One-Way F(1, 140) = 7.9, p = 0.0056 F(4, 140) = 32.5, p < 0.001 F(4, 140) = 7.5, p < 0.001 C1: p = 0.0016,
Closed-Door versus One-Way difference All other p > 0.13
F F(1, 54) = 0.5, p = 0.493 F(3, 54) = 0.7, p = 0.576 F(3, 54) = 0.4, p = 0.772 N/A
Session quarter pushes/door/min, O1
F F(1, 54) = 2.6, p = 0.126 F(3, 54) = 5.0, p = 0.004 F(3, 54) = 0.7, p = 0.553 N/A
Session quarter pushes/door/min, O2
F F(1, 54) = 53.5, p < 0.001 F(3, 54) = 23.6, p < 0.001 F(3, 54) = 0.9, p = 0.434 Q1: p = 0.044
Q2: p = 0.003
Q3: p = 0.002
Session quarter pushes/door/min, C1 Q4: p < 0.001
F F(1, 54) = 102.1, p < 0.001 F(3, 54) = 9.3, p < 0.001 F(3, 54) = 1.6, p = 0.192 All p < 0.001
Session quarter pushes/door/min, C2
G F(1, 30) = 3.0, p = 0.117 F(3, 30) = 2.7, p = 0.064 F(3, 30) = 0.2, p = 0.900 N/A
Session quarter pushes/door/min, O1
G F(1, 30) = 0.9, p = 0.367 F(3, 30) = 2.9, p = 0.0497 F(3, 30) = 0.0, p = 0.994 N/A
Session quarter pushes/door/min, O2
G F(1, 30) = 40.4, p < 0.001 F(3, 30) = 9.0, p < 0.001 F(3, 30) = 4.2, p = 0.014 All p < 0.001
Session quarter pushes/door/min, C1
G F(1, 30) = 97.4, p < 0.001 F(3, 30) = 4.8, p = 0.007 F(3, 30) = 1.1, p = 0.371 All p < 0.001
Session quarter pushes/door/min, C2
I F(3, 216) = 1.2, p = 0.300 F(4, 216) = 1.2, p = 0.340 F(12, 216) = 1.0, p = 0.430 N/A
Time per box in every session
J F(1, 116) = 46.9, p < 0.001 F(4, 116) = 9.7, p < 0.001 F(4, 116) = 2.2, p = 0.072 All p < 0.001
Speed change post- bell
K F(1, 116) = 183.6, p < 0.001 F(4, 116) = 2.6, p = 0.042 F(4, 116) = 8.1, p < 0.001 All p < 0.001
Time to door push post-bell
L independent 1-sample t tests with Holm- Bonferroni correction compared to chance (1/2): from left to right: p > 0.99, p = 0.003, p < 0.001, p < 0.001, p > 0.99, p > 0.99, p < 001, p > 0.99, p > 0.99, p > 0.99
Correct first door choices post-bell
M compared to chance (1/3): From left to right: p < 0.001, p = 0.002, p < 0.001, p > 0.99, p < 0.001, p > 0.99, p > 0.99, p < 0.001, p > 0.99, p > 0.99, p < 0.001, p > 0.99
Correct first foraging post-bell
a

Note: post hoc tests were based on estimated marginal means and corrected using the Tukey-Kramer method.

Rats associated the bell with a change in goal

We next assessed rats’ knowledge of the task; see Figure 1H for representative trial trajectories. Session duration and time per box did not significantly vary with session (p > 0.05 in all cases, univariate ANOVA) (Figure 1I; Table 1 for all statistics). Rats ran faster and were more likely to push on a door after a bell sound (Figures 1J and 1K). The first door that rats interacted with following a bell sound tended to be the optimal one, but this was not statistically significant for all conditions (Figure 1L). The first box rats foraged in following a bell sound was the correct one only when adjacent to the start (Figure 1M), suggesting that rats often foraged in boxes on the way to the goal. Data separated by sequence type are shown in Figures S1F and S1G. In summary, rats seemed aware that the bell sound indicated a new goal and usually, but not always, chose the optimal path to it.

Place cell activity in the four-room environment

We recorded CA1 extracellular activity from the same 5 rats and 30 sequences of sessions. Only putative CA1 place cells were analyzed (STAR methods, “Unit classification,” “Firing rate maps and spatial information,” and “Histology;” Figures S1B and S1C). We recorded 261 place cells in Closed-Door (out of 325 neurons, 80.3%) and 161 place cells in One-Way (out of 232 neurons, 69.4%) sequences; these proportions were not statistically different (χ2(1) = 0.021, p = 0.89, chi-square test of expected proportions). Tables S1 and S2 and Figure S2 show sequence and cell counts, cluster quality measures, and example cells, respectively.

Place cells did not respond to spatial connectivity changes

Our main hypothesis was that CA1 place cells, as the neural substrate of a cognitive map, explicitly encode environmental connectivity. As behavior during goal-directed transitions would strongly differ depending on connectivity, which might spuriously influence place cell firing, we analyzed only foraging periods unless otherwise specified (see Figure S1H). Although the firing rate of cells generally increased in the goal-directed phase (Figure S3C) this was likely linked to an increase in movement speed (Figure S3B). There was no global spatial remapping between the two task phases (Figures S3D and S3E).

We first asked whether place cells globally encoded connectivity status by comparing firing rate maps between sessions (Figures 2B and 2H; STAR methods, “Rate map correlations;” Table 2 for statistical results). Correlations between consecutive sessions were high and correlations between sessions O2-C1, where connectivity changed, were not different from O1-O2, which had identical connectivity (Figures 2C and 2I). Instead, correlations significantly decreased with time (Figures 2D and 2J), coherent with past findings.23 We next focused on activity local to the changes (25 cm radius around doors, Figures 2A and 2G). There were no significant differences between O1-O2 and O2-C1 correlations, either for Closed-Door (Figure 2E) or One-Way (Figure 2K) sequences. We also examined rate remapping3 by using a normalized index that equals 0 for identical fields and approaches 1 when the firing rate differs24 (STAR methods, “Firing rate remapping”). Rate remapping did not increase when comparing O2-C1 to O1-O2 (Figures 2F and 2L), indicating that the population of place cells did not encode a change of connectivity in their firing rates. Similar results were found when analyzing pyramidal non-place cells, with the exception of the time effect (Figures S4A–S4L).

Figure 2.

Figure 2

Place cell firing was not altered by connectivity changes

Analyses exclude goal-directed epochs. See Figures S4A–S4L for analysis of pyramidal non-place cells.

(A) Example cell from Closed-Door sequences. (Top) Foraging rate maps, colors indicate firing rate, number indicates maximum rate, non-shaded areas are used in the doorway correlation analysis in (E), and red circled areas correspond to the locked door. (Bottom) Foraging spike plots, gray: trajectory, red: spikes. See also Figure S2.

(B) Matrix of cell-averaged rate map correlations between all sessions.

(C) Comparison of correlations between two open sessions (O1&O2) and one open and one locked (O2&C1).

(D) Correlations between rate maps as a function of number of sessions between them, 0 = consecutive sessions (O1&O2, O2&C1, etc.), 1 = pairs with 1 session between them (O1&C1, C1&O3, etc.), etc.

(E) Correlations focusing on 25 cm around doors.

(F) The rate remapping index significantly decreased for the comparisons with the connectivity change indicating less, not more, remapping when the connectivity was modified.

(G–L) Same presentation as (A)–(F) for One-Way sequences, with similar results.

(M) Example foraging rate maps.

(N) Histograms showing remapping patterns for all place cells. Red axis labels highlight conditions where remapping could be attributed to a change of connectivity.

(O) Similar to (N) but only for cells with a field within 25 cm of the locked door(s).

See also Video S2 for activity plots of all used place cells, Figures S2–S4.

Video S2. Spike plots and rate maps for all used place cells, related to Figure 2
This shows spike plots and rate maps for all used place cells (foraging + goal-directed) in both sequence types.
Download video file (35.9MB, mp4)

Table 2.

Statistics for Figure 2

Panel and dependent variable Omnibus test Effect of group (closed/control or open) Effect of session Interaction group × session Post hoc tests across groups (correcteda)
C one-way ANOVA N/A F(1, 509) = 6.0, p = 0.015 N/A N/A
Correlations
O1-O2 versus O2-C1
D one-way ANOVA N/A F(3, 1017) = 30.4, p < 0.001 N/A 1v2: p = 0.003 1v3: p < 0.001 1v4: p < 0.001 2v3: p = 0.030 2v4: p < 0.001 3v4: p = 0.020
Correlations over sessions/time
E two-way ANOVA F(1, 1238) = 1.6, p = 0.212 F(2, 1238) = 1.7, p = 0.190 F(2, 1238) = 0.9, p = 0.400 N/A
Doorway correlations
F one-way ANOVA N/A F(2, 598) = 11.0, p < 0.001 N/A O1vsO2 versus O2vsC1: p = 0.004 O1vsO2 versus C1vsC2: p < 0.001 All other p > 0.30
Fuhs rate remapping metric
I one-way ANOVA N/A F(1, 509) = 6.0, p = 0.015 N/A N/A
Correlations
O1-O2 versus O2-C1
J one-way ANOVA N/A F(3, 602) = 13.8, p < 0.001 N/A 1v2: p = 0.022 1v3: p < 0.001 1v4: p < 0.001 2v4: p = 0.005 All other p > 0.25
Correlations over sessions/time
K two-way ANOVA F(1, 774) = 1.2, p = 0.274 F(2, 774) = 4.2, p = 0.015 F(2, 774) = 0.2, p = 0.849 N/A
Doorway correlations
L one-way ANOVA N/A F(2, 330) = 0.2, p = 0.78 N/A N/A
Fuhs rate remapping metric
a

Note: all post hoc tests were based on estimated marginal means and corrected using the Tukey-Kramer method.

Individual place cells did not remap with connectivity changes

We then computed remapping indices for individual cells by comparing the correlations between consecutive sessions to a shuffle (Figure 2M; STAR methods, “Individual remapping between sessions”). In Closed-Door sequences, only 13 place cells (4.5%) had a pattern indicative of connectivity remapping (Figure 2N). Because these numbers were equivalent to or lower than those of cells remapping between O1 and O2, they do not appear to reflect any connectivity-specific effect. Most cells were significantly more stable than chance (203, 77.8%). Similar results were found for cells with a field near locked doors (Figure 2O) with 3 out of 56 (5.4%) connectivity-remapping cells. Similar results were obtained for One-Way (Figures 2N and 2O) sequences.

Spatial connectivity changes did not alter place field properties

We next analyzed individual place fields (STAR methods, “Place fields”). All field centroids are shown in Figures 3A and 3E. The number of fields active (Figures 3B and 3F) or close to locked doors (Figures 3C and 3G) did not change across sessions (Table 3 for all statistics). Place fields might over-represent doors, as reported previously for entryways into compartments.4,25 We compared the density of place fields around doors, peripheral “dummy” doors, and inside boxes to numbers expected from a uniform distribution and found that place fields did not significantly overrepresent any of these locations (Figures 3D and 3H; STAR methods, “Place field overrepresentation”).

Figure 3.

Figure 3

No door overrepresentation and no change in place field properties around locked doors

(A)–(N) use foraging epochs only, while (O)–(U) also uses goal-directed epochs. See also Figure S5.

(A) Spatial distribution of all place field centroids for Closed-Door sequences centered on door location.

(B) Number of place fields in each session.

(C) Proportion of fields within 25 cm of a door.

(D) Number of detected or expected fields around doors or dummy doors or inside a box.

(E–H) Same as (A)–(D) but for One-Way sequences.

(I) Contour maps showing proportion of all fields active in each pixel around doors.

(J) Field area either for all data (left) or only next to a door (right).

(K) Mean infield firing rate across sessions for all data (left) or only door place fields (right).

(L–N) Same as (I)–(K) but for One-Way sequences.

(O) Example rate maps (O2 and C1) from One-Way (bottom right) and Closed-Door (others) sequences with a field around a changed door—only such fields were analyzed. Below are maze schematics with fields represented by a blue polygon and doors as a red line. Text gives the bridge index of each field.

(P) For visualization, all door fields from the Closed-Door sequence. Lines show field extent along the axis perpendicular to the door; circles give field centroid along this axis. Fields are sorted from bottom to top from high to low bridge index.

(R) Closed-Door bridge indices in all sessions.

(S) Proportion of fields with a bridge index of 0 in each session.

(Q, T, and U) Same as (P), (R), and (S) for One-Way sequences. The arrow indicates the open direction.

See also Figure S5.

Table 3.

Statistics for Figure 3

Panel and dependent variable Omnibus test Result (B–H) or effect of session (J–N) Effect of group (J–N) Post Hoc tests across groups (correcteda, B–H) or interaction group × session (J–N)
B chi-square test of equal prop Χ2(4, n= 4,898) = 1.58, p = 0.810 N/A N/A
Fields per session, Closed-Door
C chi-square test of equal prop (chance 50%) N/A All p > 0.99 All p > 0.99
Fields closed/open boxes Closed-Door
D chi-square test of equal prop (compared to expected) Χ2(2, n = 951) = 3.59, p = 0.170 All p > 0.99 All p > 0.99
Place field over- or under-representation, Closed-Door O2
D chi-square test of equal prop (compared to expected) Χ2(2, n = 951) = 5.14, p = 0.077 N/A N/A
Place field over- or under-representation, Closed-Door C1
F chi-square test of equal prop Χ2(4, n = 2,811) = 3.24, p = 0.520 N/A N/A
Fields per session protocol One-Way
G chi-square test of equal prop (chance 50%) N/A All p > 0.99 All p > 0.99
Fields closed/open boxes One-Way
H chi-square test of equal prop (compared to expected) Χ2(2, n = 560) = 6.10, p = 0.047 All p > 0.99 All p > 0.99
Place field over- or under-representation, One-Way O2
H chi-square test of equal prop (compared to expected) Χ2(2, n = 560) = 8.19, p = 0.017 All p > 0.99 All p > 0.99
Place field over- or under-representation, One-Way C1
J left one-way ANOVA F(4, 4893) = 0.7, p = 0.590 N/A N/A
Field area between sessions, Closed-Door
J right two-way ANOVA F(4, 1537) = 1.8, p = 0.120 F(1, 1537) = 2.8, p = 0.100 F(4, 1537) = 1.4, p = 0.230
Field area per session per doorway, Closed-Door
K left one-way ANOVA F(4, 4893) = 1.4, p = 0.227 N/A N/A
Field frate between sessions, Closed-Door
K right two-way ANOVA F(4, 1537) = 0.3, p = 0.910 F(1, 1537) = 0.1, p = 0.770 F(4, 1537) = 0.8, p = 0.510
Field frate per session per doorway, Closed-Door
M left one-way ANOVA F(4, 2806) = 0.9, p = 0.470 N/A N/A
Field area between sessions, One-Way
M right two-way ANOVA F(4, 887) = 0.4, p = 0.840 F(1, 887) = 0.1, p = 0.710 F(4, 887) = 1.9, p = 0.110
Field area per session per doorway, One-Way
N left one-way ANOVA F(4, 2806) = 0.7, p = 0.610 N/A N/A
Field frate between sessions, One-Way
N right two-way ANOVA F(4, 887) = 1.1, p = 0.360 F(1, 887) = 0.0, p = 0.900 F(4, 887) = 0.9, p = 0.440
Field frate per session per doorway, One-Way
a

Post hoc tests were individual chi-square tests of equal proportions, and p values were corrected using the Holm-Bonferroni method (rejected results are represented as p > 0.99, remaining values are not adjusted).

Place field size (STAR methods, “Place field firing rate and area”) also did not significantly change across sessions and fields next to locked doors did not change in size more than those next to unchanged doors (Figures 3I, 3J, 3L, and 3M). Similarly, there was no difference in local firing rate (Figures 3K and 3N). We also investigated whether place fields moved in response to a locked door by tracking absolute centroid shift across sessions. Fields shifted more between O1 versus O2 than between O2 and C1, indicating that connectivity changes do not specifically induce field displacement (see STAR methods, “Field distance to doorway” and Figure S5).

We next asked whether fields extent across doors changed with connectivity (STAR methods, “Place field extent across doors”). Focusing only on local fields (centroid in a 25 cm radius from the changing door), we computed a “bridge index” as the difference between the area on each side of a door normalized by the total area (Figure 3O). This index ranges from 0 (no crossing) to 1 (equal split). For visualization, we extracted the length of the field extent on the axis orthogonal to the door axis. Goal-directed data were included to ensure that fields would not be artificially split. We first found that most place fields did not extend through doors, as indicated by a majority of zero values (Figures 3P and 3Q). There were no significant differences in bridge index between sessions (Closed-Door: χ2(4,406) = 1.6, p > 0.80; One-Way: χ2(4,917) = 1.7, p > 0.70; Kruskal-Wallis tests) (Figures 3R and 3T). The proportion of fields exhibiting a bridge index of zero in O2 and C1 also did not differ significantly (Closed-Door: z = −0.39, p = 0.70; One-Way: z = 1.06, p = 0.29, Z-score tests of two population proportions) (Figures 3S and 3U). Finally, an analysis of average place cell firing when entering a box found no effect of the number of available connections in that box (Figures S4M and S4N).

Place cells encoded position mainly in a global reference frame

In previous experiments using four connected compartments with identical orientation and geometry, most place cells fired in the same place in each compartment,4,25,26 and rats were impaired in a spatial task.4 To assess how place cells encode the four-room environment, we first quantified the number of place fields per cell: more than 50% of cells had 3 or less detected place fields (Figure 4A) suggesting that place field repetition was uncommon. We computed the average correlation between maps for every box (Figure 4B). Diagonal bands of high correlations indicated that box representations were highly self-similar across sessions but not between different boxes (self versus other boxes, Closed-Door: t(182) = 58.7, p < 0.001; One-Way: t(182) = 58.4, p < 0.001, two-sample t tests). Correlations were also not higher for adjacent boxes than diagonally opposite ones (Closed-Door (O2): F(1, 506) = 0.1, p = 0.78; Closed-Door (C1): F(1,502) = 0, p = 0.84; One-Way (O2): F(1,290) = 0, p = 0.93; One-Way (C1): F(1,301) = 0.6, p = 0.46, One-Way ANOVAs) (Figure 4C; STAR methods, “Firing rate maps and spatial information”).

Figure 4.

Figure 4

Most place cells encode global position in the four-room maze

(A) Percentage of place cells grouped by number of detected place fields.

(B) Cross-box correlation matrices averaged over all place cells.

(C) Paired rate map correlations between adjacent or diagonal boxes.

(D) (D) and (E) show data for O2, Closed-Door sequences. Shown on top, example rate maps (all data) with corresponding correlation values from the data distribution (blue). On the bottom left, the blue distribution represents cross-box correlation values for session O2. Other distributions represent shuffles simulating the correlations expected for different field repetitions. x axis markers indicate the distribution medians. On the bottom right, the same data is presented as empirical cumulative distribution functions; shaded areas represent lower and upper confidence intervals.

(E) Top, example rate maps for each place field category. Shown on the bottom, cross-box correlations scores for all data, separated by number of fields; dots correspond to individual place cells, and data distributions are shown as violin plots with median in red and quartiles in black.

(F) Box quadrants used for Bayesian decoding with example binned position data.

(G) Mean confusion matrices from sequences with at least 15 simultaneously recorded place cells from Closed-Door (n = 9) and One-Way (n = 3) sequences; see Figure S7.

(H) Average decoding performance for different categories (see inset). Points indicate session-average probabilities per quadrant for each category. Red line indicates chance performance (1/16 quadrants).

See also Figures S6 and S7.

We next focused on the distribution of cross-box correlations for O2 only (Figure 4D, blue distribution). It was skewed toward low values (median 0.10) in contrast to experiments reporting place field repetition (median correlations >0.5).4,25,26 We designed shuffles to simulate cross-box correlations expected under different outcomes: non-repeating or repeating fields in 2, 3, or all 4 compartments (STAR methods, “Place field repetition”). Data differed significantly from all shuffle distributions except for 2 repeating fields (Figure 4D) (p > 0.05, p < 0.001 in all other cases, two-sample Kolmogorov-Smirnov tests, Holm-Bonferroni corrected), indicating a small but higher than chance amount of field repetition. When cells were classified by place field number, all correlation distributions with more than one field presented a bimodality, revealing a small subpopulation of cells with high (>0.5) correlation values indicative of repeating fields (Figure 4E; see Figures S6A and S6B for One-Way sequences). Thus, place field repetition is on a continuum: although most place cells did not repeat, some did in varying subsets of the boxes. Cells exhibiting repeating fields could be co-recorded with non-repeating ones, and some cells expressed repeating as well as non-repeating fields (Figures 4D and 4E). This pattern did not change with connectivity (Figures S6C and S6D).

To further assess whether place cells implemented a global coding of space, we decoded box quadrants from firing activity using Bayesian decoding27,28 (STAR methods, “Bayesian decoding of box quadrants”) (Figure 4F). This analysis used both foraging and goal-directed data. To avoid overfitting,29 we used maps from O1 (or O2) to decode the instantaneous firing in O2 (or C1, respectively). In all “confusion matrices,” we observed a clear diagonal (Figure 4G), indicating accurate decoding to the correct box and quadrant. The average decoding values on the diagonal were above chance, whereas other categories (decoding of correct quadrant in wrong box, or incorrect quadrant in correct box) were not (Figure 4H). We also compared the probability of correct decoding between O1-O2 and O2-C1 conditions, for Closed-Door sequences: if the activity changed with connectivity, decoding performance would drop when using O2 maps to decode C1 data (Figure 4H); instead, we found no significant difference (t(8) = −1.60, p = 0.147, paired t test). No test was run on One-Way sequences given the small sample size (3 sessions), but the distributions appear similar.

In summary, the population of place cells represented position with a mostly different map for each room, and this was independent of connectivity status.

Discussion

We tested whether hippocampal CA1 place cells encode changes in the connectivity of a four-room environment in their firing rate patterns. Although we found that rats rapidly learned connectivity changes and place cells accurately encoded global location (intermixed with a subset showing local coding), we found no evidence for connectivity encoding. Our results clarify the extent to which CA1 contributes to representing connected environments, which will aid the refinement of models of hippocampal mechanisms.

Navigation in connected spaces

Rats and humans can flexibly adapt to changes in environmental connectivity.13,30, 31, 32, 33, 34, 35, 36, 37, 38, 39 Here, rats adapted to the locked or unlocked status of doors, even door sides, in the absence of directly perceivable changes. Importantly, their bias toward open doors persisted into the last session suggesting learning of connectivity.13 The observation of direct, detour-like trajectories around locked doors suggest rats were using a map-based strategy,2,40 but future experiments would help assess this as trajectories were not always significantly optimal, which could be due to the low cost of foraging.

Place cells do not explicitly encode spatial connectivity

Environmental connectivity has long been seen as an integral part of the cognitive map.30,41,42 Here, a very small proportion of place cells remapped when connectivity changed, not more than when it was unchanged, suggesting non-specificity to connectivity updating but perhaps latent time coding.23,43 We did not detect any effects of changing the connectivity in spatial correlations, firing rates, field locations, field sizes, or field extent through doorways, even on activity local to the changed doors. Doors were not overrepresented, in contrast to previous studies with open doorways.25,44 Thus, after controlling for confounding factors, such as occupancy, speed, and movement direction (by analyzing comparable behavior), time (by comparing pairs of sessions separated by a similar time difference), and geometry (by locking existing doors instead of introducing a new barrier), we found no evidence of explicit encoding of connectivity by CA1 place cells.

In contrast, a past study13 found local remapping after introducing a barrier creating a detour; however, this experimental manipulation also changed the rats’ behavior and environmental geometry, both of which could have impacted place cells.12,14,15 Opening a path might be encoded differently from closing one as CA3 remapping happened far from a new shortcut,32 which we could not test in this experiment. Thus, environmental connectivity could be encoded in CA3, in the subiculum45,46 or the medial entorhinal cortex.47,48 The prefrontal cortex could be involved, as its activity levels vary depending on available spatial connections in humans.49,50 Finally, connectivity could be encoded implicitly either in the co-firing of place cells9 or in non-local population phenomena such as place cell “replay”11,51,52; this could be examined in future experiments simultaneously recording many cells.53

Implications for models of place cell dynamics

The successor representation (SR) model proposes that place cells instantiate a predictive map, representing each state, or position, in terms of its successor states, or possible future positions.16,54 It predicts changes in place cell firing when transitions become blocked (Figures 2, 3, and S3 in Stachenfeld et al.16) and reproduces experimental findings happening on a timescale similar to our study.13 However, we found no evidence of such changes. The patterns of place cell dynamics best explained by the SR model might be observed under repetitive behaviors linked to more consistent policies.

The BVC model explains place field repetition and overrepresentation of doorways in geometrically identical environments.14,55 We did not find this; however, it is currently unknown how biological BVCs respond to doors. A variant, the contextual gating model,56,57 where different BVCs drive place cells in different contexts, could predict different maps for each box. Additional factors might explain box differentiation: the task, the greater salience of distal landmarks or the presence of uncontrolled local cues (self-deposited odors, rats visually differentiating real and dummy doors, etc.). However, presence of distal cues does not prevent place field repetition,4,58, 59, 60 and rats could not differentiate compartments in a spatial discrimination task.4 Finally, the different orientations of box entry points might have helped box disambiguation or pattern separation.61 Indeed, the point of entry into a compartment affects place cell firing,62,63 and in experiments evidencing place field repetition, each doorway had the same orientation.4,24,25,26

STAR★Methods

Key Resources Table

REAGENT or RESOURCE SOURCE IDENTIFIER
Experimental models: organisms/strains

Lister Hooded Rats Charles Rivers Laboratories, UK N/A

Deposited data

Place cell and behavior data generated and used in the present study This paper EBRAINS: https://doi.org/10.25493/7NJQ-ANH

Software and algorithms

KlustaKwik http://klusta-team.github.io/klustakwik/ v.3.0
Tint Axona, St. Albans, U.K. V 4.4.16
MATLAB The Mathworks 2020a
Code used in the present paper This paper EBRAINS: https://doi.org/10.25493/7NJQ-ANH

Other

Axona Recording System Axona, St. Albans, U.K. DacqUSB
Axona drives Axona, St. Albans, U.K. MDR-xx
Non-Cyanide Gold Plating Solution Neuralynx Inc., MT N/A
NanoZ system White Matter LLC N/A
Super-Bond C&B Sun Medical, Shiga N/A
Simplex Rapid (Liquid + Powder) Kemdent®, Swindon, U.K. N/A

Resource availability

Lead contact

Further information and requests for resources should be directed to and will be fulfilled by the Lead Contact, Éléonore Duvelle (e.duvelle@ucl.ac.uk).

Materials availability

This study did not generate new unique reagents.

Data and code availability

The behavioral and place cell data datasets generated in this study are available online at: EBRAINS: https://doi.org/10.25493/7NJQ-ANH. The MATLAB code generated and used for this study is available online at: EBRAINS: https://doi.org/10.25493/7NJQ-ANH.

Experimental model and subject details

Five Lister-Hooded male rats weighing approximately 300-600 g and aged 3-6 months at the start of the experiment were used. They were first housed in pairs at 20 ± 2°C under a 12/12h light/dark cycle starting at 12 AM. They were provided with ad libitum water, food, environmental enrichment and daily handling from the experimenter. After implant surgery, rats were housed individually and allowed to recover for one week before food-restriction started to maintain their weight at 90%–95% of free-feeding body weight. One of the rats had prior experience with a spatial task in the same experimental room and another one had prior experience with a linear track task in a different room; the other 3 rats were naive. All procedures complied with the national [Animals (Scientific Procedures) Act, 1986 United Kingdom] and international [European Communities Council Directive of 24 November 1986 (86/609/EEC)] legislation governing the maintenance of laboratory animals and their use in scientific experiments.

Method details

Overall summary

Upon arrival in the rat colony, rats were handled daily for at least a week, implanted and allowed to recover for another week. They were then food-restricted, trained, and screened for place cells. Once rats had passed all training phases and signals from putative place cells (> 4 simultaneous cells) were detected, they were recorded in two different sequences (1 per day), in baseline conditions (all doors open) and test conditions (1 door locked both ways or all doors locked only one-way). After successful recordings in each sequence type, the tetrodes were lowered in an attempt to detect new cells and recordings were repeated in each phase, usually with a new door condition (e.g., a different door was locked or all doors were locked the other way); this process continued until fewer than 4 cells were detected simultaneously. Rats were then perfused transcardially with saline followed by 9% formalin and their brains were extracted and stained to confirm the location of recording tetrodes.

Room and experimental environment

The experimental room was equipped with distinct distal visual cues on each wall and dim ceiling lighting. A schematic of the apparatus and room cues as well as photos is shown in Figure S1A. The experimenter, the recording system and the computer desk were in the same room. The custom-built recording apparatus consisted of four 60x60 cm gray-painted wooden boxes connected to each other via four 16x16 cm dark gray door systems. Each box also had two ‘dummy doors’ (same dimensions and color as the real doors, but made of one panel instead of two) appended to their external sides (Figure 1A). All walls were 20 cm high and were made of painted hardboard with small (∼4mm diameter) perforations. On the corner of each box, a bell was placed which could be activated remotely by pulling a string from the experimenter’s desk. The bell system acted as a sound cue to inform the rat of the next rewarded box. The door mechanism consisted of two vertical panels glued to a rotating wooden rod and equipped with one spring each, to ensure that the door would remain shut unless it was being pushed. Curved black plastic stripes were added on the top of the doors to guide the recording cables. A slot present at the top of each door panel allowed for the insertion of 4 small metallic locks that could block the panel on one or both sides. Since the locks were inserted at the top, the rats could not see them unless they were in a rearing position. Thus, the doors would look and feel the same from a rat’s point of view whether locked or not, the only difference being that locked doors could not be pushed open. Note that we indifferently use “locked” or “closed” to mean a door that cannot be pushed. The 4-room environment was placed on top of 60 cm-high cardboard boxes. A padded headcap was added around the drives and headstages to help rats with door-pushing and absorb possible shocks on the implants. An overhead camera centered on the environment provided video input to the tracking system. Tracking and electrophysiology data were collected using a 64-channel recording system (DacqUSB, Axona, St. Albans, UK). During screening, recording and most of the training, the animal was connected to the recording system via 4 flexible cables attached to the ceiling by elastic bands.

An elevated rotating platform (80 cm high) was placed next to the environment where rats could rest before and after screening / training / recording sessions. Screening sessions (i.e., monitoring brain signals to decide whether tetrodes were in the hippocampal cell layer or not and move the tetrodes accordingly) were run in a plastic 120x120 cm black square with 20 cm high walls placed on top of the 4-room environment.

Task

The final task, used during all recordings and most of the training, consisted of separate sessions which each contained an exploration phase followed by several ‘trials’ starting at a bell sound and ending before the next bell sound. The food reward used during the experiment was either rice krispies / coco pops (Kelloggs, Michigan, US) or rice pops / choco pops (Waitrose and partners, London, UK). The reward type could change across days but would remain the same throughout a given recording sequence.

During the exploration phase, the rat was placed in a given compartment with no food provided and allowed to explore all 4 boxes. After this, the task trials started. On a given trial, the bell of a specific box was rung and food was thrown there by the experimenter; once the rat reached the rewarded box, more food would be thrown or placed in the box at regular intervals. During this specific step, the experimenter would sometimes come closer to the box to place food in specific places; attention was drawn to placing food in front of doors (real or dummy), in corners, and in any under-sampled locations. The ‘trial’ ended after a given time passed in the same box (at least 30 s, excluding time spent out of the rewarded box). Then, a new trial started using the next box, selected from a predetermined goal list, until all boxes of the sequence had been visited. The goal list was created pseudo-randomly by the experimenter with the following constraints: each box (A, B, C and D, Figure 1B) should be used 3 times as goal, making up 12 trials in total; all four boxes should be used before repeating a box; distances between successive boxes should vary. An example goal list would be ABDC BACD CBAD. A new list was generated for each recording sequence.

A daily recording sequence was divided into 5 sessions, each using the same goal list. The first two sessions were considered the baseline, with all four doors open both ways. The next two sessions were the test sessions, using either a ‘closed-door’ configuration (1 door locked both ways) or a ‘one-way’ configuration (all 4 doors open only one way). The last session of the sequence was back to baseline, i.e., all doors open. In between sessions, the rat was placed on the elevated platform with access to water and allowed to rest for 5 or 10 min. During this time, the experimenter manipulated all 4 doors to minimize possible olfactory biases and locked or opened the appropriate doors.

In summary, there were two possible sequences:

  • ‘Closed-Door’ sequence = all open, all open, closed, closed, all open (Figure 1B).

  • ‘One-way’ sequence = all open, all open, one-way, one-way, all open (Figure 1C).

A ‘Closed-Door’ sequence was generally followed on the next day by a ‘One-Way’ sequence or was repeated with a different locked door. Tetrodes were advanced by at least ∼25μm to sample new cells only when a rat had successfully completed one of each sequence type. In some cases the same sequence type was recorded without advancing the tetrodes, meaning that the same sample of place cells could have been recorded, but the order of rewarded boxes and the chosen locked door(s) were always different in each session. The maze was cleaned with alcohol spray between animals, and urine traces or faeces were locally cleaned on the rare occasions when they appeared during the experiment or when detected between sessions. No attempt was made to remove other possible olfactory cues left by the rats between sessions of a recording sequence.

Training

All rats were pre-trained post-surgery in the four-room environment for 2 to 5 sessions every weekday, as detailed below. Two of the rats were also used before implant surgery to pilot the door system, one of those in a different room and apparatus. Training in the 4-room took 6 to 15 days (median = 10 days) depending on how fast the rats reached the final criteria; during this they were also screened for hippocampal cells. Training aimed to familiarise rats with: i) pushing doors, ii) foraging efficiently in each box and iii) running for food for long periods of time (the experiment lasting on average 2.5h each day). No explicit training of the association between the goal and the bell sound was done. Undesirable behaviors like climbing on walls or doors and chewing maze parts were discouraged from the start of training by either making a loud clapping noise or pushing the rats. Training data were not analyzed. Training followed the three following phases:

Familiarisation

Rats were allowed to freely explore the maze without food. After 5 min, rats were taken out of the environment and placed onto the elevated platform. This was repeated once per box.

Door training

With food present in all 4 boxes, rats were released in a random box and taken out of the environment after 10 min or once all food had been eaten, whichever came first. After 5 min, if the rat hadn’t gone spontaneously through a door, the experimenter would encourage door-pushing (e.g., going through a door with a hand, holding the door half-open, attracting the rat to the other side of a door with noises or food). This phase was repeated until rats were able to easily use doors to move from box to box. Interestingly, most rats started to use the doors spontaneously from early maze exposure.

Task learning

Rats were plugged in to the recording system from the third session of this phase. Here, rats were doing the task as described above (STAR methods - Task), except that each training session lasted 20 min maximum. For three of the rats (r35, r37 and r38), locked doors (either one closed door or one one-way door) were introduced once they had mastered the baseline condition of the task. For the other two rats, closed-door sessions were added every 2-4 ‘all-open’ sessions. For all rats except r35, only two of the doors were used as closed or one-way doors during training so that the other two, new doors could be closed in priority during the actual recording. Rats were considered ready for recordings once they could do 11 trials (as defined in STAR methods - Task) in 20 min for two out of the last three training sessions, except for r44 for whom the criterion was 11 trials in 25 min. Rats’ behavior was generally quite disturbed upon their first closed-door encounter (i.e., rats might try to pull on doors, push harder, climb, or avoid all doors altogether) but stabilized after a few more encounters. Sequences where rats stopped performing the task before completing the full sequence were excluded from the analysis (8 Closed-Door and 1 One-Way excluded).

Microdrive and implantation surgery

Axona drives (MDR-xx, Axona, UK) were loaded with 8 tetrodes made of four 17 μm of diameter platinum-iridium wires (California Fine Wire, Grover Beach, CA). Tetrode tips were gold-plated (Non-Cyanide Gold Plating Solution, Neuralynx Inc., MT) using a NanoZ system (White Matter LLC) to reduce the impedance to 180–250 kΩ at 1kHz. Two drives were implanted on each rat (one per hemisphere), above the CA1 field of dorsal hippocampus, using standard stereotaxic procedures under isoflurane anesthesia and sterile conditions. The coordinates relative to Bregma were as follows: AP: −3.5 to 4.0 mm; ML: ± 2.4mm; DV: 1.3 to 1.5 mm from dura surface. Both drives shared the same ground wire, connected to a ground screw above the cerebellum. 6 jewellers’ screws helped anchor the drive to the skull, together with one layer of Super-Bond C&B (Sun Medical, Shiga) followed by several layers of dental cement (Simplex Rapid, Kemdent®). A long-acting analgesic (Carprofen) and saline solution were given subcutaneously at the start of surgery. Post-surgery, rats were provided with another analgesic (Meloxicam) in their food for 3 days.

Screening and recording

Daily or twice-daily screening sessions (spaced by at least 4h) started 1 week post-surgery, during which the animal rested on the elevated platform then foraged for the same reward used in the experiment in the square plastic environment for 8-16 min. Signals were screened for signs of sharp-wave ripples and pyramidal cells. If no hippocampal activity was detected, tetrodes were lowered by approximately 25 or 50 μm. Extracellular activity was collected with DacqUSB, the signal was first sampled at 50kHZ, amplified then band-pass filtered between 300 and 7000 Hz, digitized at 48 kHz and could be further amplified 10–40 times at the experimenter’s discretion. Local Field Potential (LFP) data was obtained by sampling signals from selected channels at 4.8 kHz. Note that LFP data was not used in the current study.

Histology

When no more than 4 putative CA1 signals were observed in a given rat and sharp-wave ripple amplitude was observed to decrease on both drives, small electrolytic lesions were created by passing a positive current (5 μm for 10 s) through chosen electrodes while the animal was deeply anaesthetised. The rats were then overdosed with pentobarbitone before being transcardially perfused with a saline solution followed by a formalin solution (10%). The brains were preserved in formalin for at least 2 days, then, optionally into a 30% sucrose solution for another 2-3 days. Brains were then frozen and sectioned in 40 microns slices stained with Cresyl Violet. The electrode tracks and lesions signs were detected under a microscope to confirm recording sites. All recording sites used in the analysis were confirmed to be in hippocampus CA1 on both hemispheres (see Figures S1B and S1C.

Position tracking

The head position of animals was tracked continuously at 50Hz, using an infrared LED affixed to the recording headstage and custom tracking software (DacqTrack, Axona Ltd., St. Albans, UK). For segments of missing tracking data, we simultaneously interpolated and smoothed the existing data using an unsupervised, robust, discretized, n-dimensional spline smoothing algorithm (MATLAB function smoothn64,65). For each sequence of sessions, we manually fitted a wire-frame to the position data, from which we extracted the maze boundary and doorway positions.

Event flags

Experimenters recorded behavioral events such as door pushes (whether they led to a door-crossing or not) and bell sounds online during recording by pressing on a miniature wireless keyboard. The recording system stored the time and type of keypress synchronized with neural and position data. Although the majority of these manual event flags were correct and utilized in priority, incorrect flags were corrected programmatically offline based on the animal’s tracked position in combination with trial-specific data. These corrections apply only to the behavioral measures related to bell sounds (STAR methods - Response to bell sounds), correct door pushes and correct foraging (STAR methods - Correct door pushes and correct foraging). Bell sound events recorded by the experimenters were never corrected. However, a minority of trials were rejected because the rat was tracked in the rewarded compartment synchronously with the bell sound and thus no first door push or foraging choice could be determined. In further trials a door push was recorded that was not possible given the animal’s location and these were replaced with the first door through which the animal moved after the bell sound. The majority of these two error types were due to short time lags between the animal’s behavior and registering the event flag key press. Lastly, in a subset of trials, no door push was recorded and the missing value was filled using the first door through which the animal moved after the bell sound.

Behavior discrimination

Animals engaged in two different modes of behavior which we termed ‘foraging’ or ‘goal-directed’. When animals moved through the maze in a fast and direct way (for instance after a bell sound but before they reached the food), marked by rapid and direct locomotion, we classified the behavior as goal-directed. Other periods were spent freely searching for food (for instance after arriving in a rewarded box) and were marked by slower and circuitous locomotion, this was categorised as foraging. These two behavioral modes were automatically categorised. For each visit an animal made to a box, it was categorised as foraging if i) the distance covered in the visit was more than 120cm and ii) the animal covered more than 20% of the box area during the visit.

Distance was calculated as the total distance traveled along the visit path in non-overlapping 1 s windows, coverage area was calculated by dividing boxes into 100 bins (unsmoothed) and counting the proportion of bins containing more than 1 position data sample. For comparison, the minimum distance between two doorways along a circular arc would be approximately 50cm and cover approximately 10% of a box. Conversely, rats were considered to be in a goal-directed mode if: i) moving through a door (1 s before to 1 s after), ii) pushing on a door (2 s before to 1 s after) or iii) not foraging.

Response to bell sounds

To test whether rats were aware of and responded to the bell sounds, we first compared their running speed in the period 1 s before and 1 s after each bell sound. Instantaneous speed was calculated for every position data point as the total distance traveled divided by time passed.

Next, we looked at the time between a bell sound and the next door push and compared these values to a shuffle. For the shuffle we generated N random time points uniformly throughout each session where N was the number of real door push events. We then calculated for each bell sound the time between that and the next random time point. This procedure provides the time expected between bell sounds and door pushes if the two events were completely dissociated.

Correct door pushes and correct foraging

We next sought to determine whether rats navigated to rewarded boxes using optimal paths. For each session we generated a graph with directed edges (MATLAB digraph) representing the nodes and possible routes given the maze structure and connectivity. Using this graph, we calculated the minimum number of doors that would need to be crossed when moving between any two boxes and the optimal door sequence that would need to be used. For example, with all doors open the minimum distance between boxes A and B would be 1: moving through the door directly between them. However, if this door was locked the minimum distance would instead be 3 as the rat would have to travel via boxes D and C.

With this approach, for every bell sound we looked at the first door push the rats made following the bell and assessed whether this door belonged to the optimal path to the rewarded box given the maze connectivity. We then analyzed the performance of rats depending on the distance from the start box to the goal box. In this analysis, when all doors were open (sessions O1, O2 and O3) we discarded trials where the rat was diagonally opposite the correct box (distance of 2) as in this case both doors and paths would be equally optimal. Similarly, in the open sessions the rat could never be 3 or more doors away from the correct box. In the sessions with a connectivity change (C1 and C2), optimality at all possible distances was assessed.

Regardless of the route taken after a bell sound we also sought to determine whether rats preferentially started to forage in the rewarded box. For this we looked for the first box in which the rat foraged after each bell sound (STAR methods: Behavior discrimination) and assessed whether this was the rewarded box or not. This analysis was independent of the optimality analysis described above, meaning that a rat could take a non-optimal path or push on locked doors but still forage first in the rewarded box.

Neural activity analyses

Single-unit data were first processed using an automated spike-sorting algorithm (Klustakwik v3.0,66) using the first three principal components and peak waveform amplitude as parameters. Manual refinement of the classification was then done using the TINT spike-sorting software (Axona, St Albans, UK). Only well-isolated putative pyramidal cells were kept (pyramidal-like waveforms, no or few spikes in the refractory period).

Firing rate maps and spatial information

Spike and dwell time maps were constructed as bivariate histograms of the spike and position data respectively (2cm square bins, MATLAB: hist3) after speed-filtering the data to remove periods where the animal’s running speed was less than 5 cm/s (to avoid contamination of the data by possible reactivation events). These maps were then smoothed with a two-dimensional Gaussian kernel (standard deviation: 2.5 bins, kernel size: 9 × 9 bins, MATLAB: imgaussfilt). Firing rate maps were calculated by dividing spike maps by the corresponding dwell map for that session. In all maps, bins visited by the animal for less than 0.05 s were considered empty. This procedure was repeated using i) all spike and position data, ii) data filtered to include only foraging behavior and iii) data filtered to include only goal-directed behavior, always using only speed-filtered data (STAR methods: Behavior discrimination).

Spatial information content in bits/second was calculated using a method reported previously67 as:

spatialinformation=i=1Npiλiλlog2λiλ

where the environment is divided into non-overlapping spatial bins i = 1,..., N, pi is the occupancy probability of bin i, λi is the mean firing rate for bin i, and λ is the overall mean firing rate of the cell. We compared these spatial information values to a shuffle distribution using a method reported previously68; briefly, spike sequences were time-shifted by a random time interval (between 20 s and the duration of the session minus 20 s) in a circular manner. This method maintains their temporal order and total number while decoupling the spike times from the animal trajectory. For each shuffle we reconstructed a firing rate map and recalculated its spatial information content as described above. This procedure was repeated 100 times for each neuron. A neuron was defined as significantly spatially modulated if the observed spatial information content exceeded the 95th percentile (MATLAB: prctile) of its shuffled distribution.

Whenever activity between compartments was compared (e.g., place field repetition analysis, doorway rate map correlations analyses), the rate maps for individual boxes were smoothed separately to avoid spuriously smoothing data between neighboring boxes. We constructed box-specific maps by cutting position and spike data to within the boundary (minimum enclosing rectangle) of each box. Firing rate maps were then constructed as described above. From these box-specific maps we also extracted 25cm radius regions around each doorway which were used in the doorway specific analyses. In all other cases, i.e., when whole maps of the environment were compared to each other, the map was smoothed as a whole.

Unit classification

Units were classified as putative place cells if their mean firing rate was greater than 0.1Hz in at least 2 sessions and if, in the session with the highest firing rate:

  • 1.

    Average firing rate was greater than 0.1 Hz and less than 5 Hz and;

  • 2.

    Spatial information content was greater than 0.5 bits/second and;

  • 3.

    Spatial information content exceeded the 95th percentile of a spike train shuffle and;

  • 4.

    The cell’s width of waveform (peak to trough) was greater than 300μs.

A cluster’s width of waveform was defined as the time between its maximum and minimum amplitude (peak to trough). We extracted this value from the channel with the greatest amplitude in the session with the highest firing rate. All further analyses were conducted only on those cells passing these criteria, which aimed at removing possible interneurons, silent cells and non-spatial cells. Note that obvious interneurons (high-firing clusters with small width of waveform) were removed at the spike-sorting stage as we were focusing on place cells, and interneurons are generally too heterogeneous to analyze. Cells were analyzed separately in the two sequences of conditions (which may contain repeated recordings of the same cell). Within the same condition, it is possible that the same cell was recorded more than once, although we would often lower the tetrodes by at least 25μm between two recordings of the same type and we manipulated a different door in consecutive recordings of the same type. Finally, all analyses were repeated on one session per rat – the one with most simultaneously recorded cells - with similar results and conclusions (data not shown).

Rate map correlations

We correlated the spatial activity of place cells at three different levels of specificity, between sessions, between boxes and between doorways. All correlations were pairwise Pearson correlations (MATLAB corr) and we only correlated a pair of firing rate maps when at least one map had a peak firing rate greater than 1Hz4. Using this process we compared every session to every other session within a sequence, every box to every other box within a sequence and every doorway to every other doorway within a sequence.

For session comparisons we extracted the correlations between sessions O1 and O2 (first two sessions with all doors open) which gives a baseline measure of the stability of place cells in an unchanging environment. We then extracted the comparisons between O2 and C1 (the last open door session and the first closed door session); if cells changed their firing in response to a change in connectivity we would expect these correlations to be lower than the baseline. We also looked at the change in firing over time by extracting correlations between sessions separated by increasing durations (i.e., O1 and O2 are consecutive while O1 and O3 are separated by 3 sessions or approximately 90 minutes).

We also looked more specifically at activity around the doorways. For this we looked at each side of every door separately and we categorised these into two groups: the ‘closed/control’ group consisted of the doors that were locked during sessions C1 and C2, the ‘open’ group consisted of all other doors. Note that in the One-Way sequence a single doorway will contribute one side to the closed/control group and one side to the open group. Next, we extracted the correlations between sessions O1 and O2 separated into closed/control and open doorway values. These were then averaged so that every cell contributed one value to each group. As before, this acts as a baseline and we compared it to the same values extracted from correlations between sessions O2 and C1.

Individual remapping between sessions

To more broadly categorise remapping between the different sessions, for every individual cell we looked at if, where and when remapping occurred between consecutive sessions. First, for each place cell we correlated the firing rate maps for consecutive sessions (O1 & O2, O2 & C1, C1 & C2 and C2 & O3). Remapping was defined as a change of spatial firing pattern at an above-chance level where chance was determined using a shuffle procedure. For this, for every sequence of sessions with more than 10 simultaneously recorded place cells (12 sequences for Closed-Door, 9 for One-Way) we correlated the rate maps of random cells between each session and the next, a thousand times. These shuffled distributions were very similar and thus combined to give four distributions, each one describing the chance of remapping between consecutive sessions. We then compared the between-session correlation values of all place cells to these combined shuffles; when the value for a given cell was lower than the 95th percentile of the corresponding shuffle we considered that it had remapped between those two sessions. The rationale for shuffling within sequences was to ensure cells were only compared to others recorded under the same behavioral constraints. For every cell, this procedure yields four binary outcomes (remapping or no remapping between O1 & O2, O2 & C1, C1 & C2 and C2 & O3). For visualization we generated a histogram of all 16 possible combinations.

Foraging versus goal-directed remapping

After differentiating foraging from goal-directed behavior (STAR methods - Behavior discrimination) we sought to compare the firing of place cells between these two states. First, for each place cell we correlated its foraging and goal-directed firing rate map in each session (O1, O2, C1, C2 and O3). Remapping was defined as a change of spatial firing pattern between these at an above-chance level where chance was determined using a shuffle procedure similar to that described above (STAR methods - Remapping between sessions), but comparing foraging maps to goal-directed maps of random cells within the same session. We then compared the distribution of observed correlation values from all place cells to these combined shuffles for each session. If the median observed correlation value fell above the 95th percentile of the corresponding shuffle distribution we considered that cells were more stable between foraging and goal-directed modes than chance.

Firing rate remapping

In addition to the correlation-based analyses described in the main text, we also looked at rate remapping (changes in place cell firing rate independent of spatial changes) using a method described previously24. Briefly, this followed the same procedure as the correlation analyses but using the following difference metric in place of the Pearson r correlation:

Fuhs=x|f1(x)f2(x)|x|f1(x)|+|f2(x)|

where the variable x ranges over map locations, and f1(x) and f2(x) are two place field firing rate maps that have been zero-normalized by subtracting off their respective mean firing rates. As outlined by Fuhs and colleagues24, the metric calculates the ratio of the difference between rate maps to the difference between each rate map and its mean. Thus, the metric equals 0 for identical fields and approaches a maximum of 1 when maps differ either spatially or in terms of firing rate. We used this ‘Fuhs metric’ to compare firing rate maps between sessions and only for those place cells which were found not to significantly spatially remap between any sessions (see STAR methods - Remapping between sessions).

Place fields

When detecting place fields, we used smoothed, speed-filtered (> 5cm/s) firing rate maps generated only from foraging data, as described in STAR methods: Firing rate maps and spatial information. Firing rate maps were thresholded to 20% of their maximum value, place fields were defined as regions within the thresholded maps with i) an area greater than 9 contiguous bins and ii) a peak firing rate greater than 1Hz.

For each field we extracted its area (number of bins in the region), weighted centroid (center of the region based on bin locations and firing rates), convex hull (coordinates of minimum enclosing polygon) and mean firing rate (average bin value, all values calculated using MATLAB regionprops).

Place field repetition

To quantify the prevalence of place field repetition, for every place cell we calculated the average correlation between all possible pairs of boxes for each session independently. We compared the resulting distributions to chance, where chance was determined using a shuffle procedure similar to that described above (STAR methods - Remapping between sessions) but comparing box firing rate maps to box maps of random cells within the same session. Additionally, for session O2 only, we repeated this procedure after dividing place cells into groups based on the number of place cells they exhibited in this session.

For all sessions the distribution of observed correlations differed from the shuffles and was significantly shifted toward 1. This result suggests greater place field repetition than chance but does not quantify the degree of place field repetition. For this we designed shuffles to test if the observed values reflected place field repetition in 2, 3 or 4 boxes. For each shuffle we took each cell in turn and collected all 4 compartments for session O1. We next selected a random compartment and duplicated this across multiple compartments (2, 3 or 4 depending on the shuffle type). For the duplication we took the rate maps for that compartment across the different sessions. For example, a shuffle designed to reflect repetition in two compartments might include compartment A, B and C in session O1 and compartment A from session O2. Our reasoning was that the same compartment sampled in different sessions provides a good approximation for sampling the same field in multiple compartments (assuming place field repetition).

Place field overrepresentation

Next, to test if more or fewer fields were found around the locked doors, for each session we found the total number of fields with their centroid less than 25cm from each door. For the Closed-Door sequence we then calculated the average number of fields around the 3 open doors and compared this to the number of fields around the locked door. If these were equally represented we would expect 50% of this total to fall around each door type in each session, which we tested using a chi-square test of equal proportions (custom MATLAB function, p-values were corrected across sessions using the Holm-Bonferroni method). For One-Way sequences we used a similar procedure except that we compared the number of fields within 25cm of the locked sides of the doors to the open sides.

To test more generally if doorways were overrepresented relative to the boxes and dummy doors, for each session and for each sequence type separately we counted the number of fields falling within 25cm of any door, any box center or any dummy door and expressed these values as proportions of the total of the three (N). We then calculated the total surface of each test area by taking the median across all dwell maps and thresholding the resulting map to discard bins with a median of less than 0.01 s. Surface area was then calculated as the total remaining bins within 25cm of the test areas. The expected proportion of fields for each test area was then estimated as the proportion of total surface area in the dwell map included in this test area multiplied by N. Lastly, we tested the observed proportions against the expected proportions using a chi-square test of equal proportions (custom MATLAB function as above).

Place field firing rate and area

To further test if field properties such as mean in-field firing rate and total field area (STAR methods: Place fields) changed in response to a change in connectivity we extracted all place fields with a weighted centroid within 25cm of a doorway and calculated average values for each session.

Next, we separated fields into 2 groups: those with a weighted centroid within 25cm of a door (or side of a door in the One-Way sequence) which remained open throughout the sequence and those within 25cm of one which was locked during the sequence. For visualization we rotated fields in the Closed-Door sequences so that the locked doorway was always at the bottom and for the One-Way sequences we flipped the fields along the x axis so that fields on the locked or open side of a door would overlap. For each spatial bin we then counted the total number of overlapping fields observed in that bin and plotted the result as a density heatmap. Finally, we calculated the average area and mean in-field firing rate for each group in each session and sequence.

Place field extent across doors

To test if fields that extended across doorways continued to do so when these doors were locked we found all of the fields within 25cm of a door that was locked in C1. We then found the area (total bins) found on each side of the door (a and b) and calculated a ‘bridge index’ as:

bridgeindex=1|aba+b|

This index varies from 0 when a field’s area is entirely on one side of the door to 1 when a field’s area is equally distributed on each side of the door. For visualization we then projected the field convex hull onto an axis perpendicular to the locked door and extracted the maximum limits of this projection and the centroid along this axis.

Bayesian decoding of box quadrants

Position decoding was performed using a memoryless Bayesian algorithm that assumes spiking is Poissonian, independent across neurons, and compares the spiking vector of simultaneously recorded cells to their expected firing rates given by their rate maps27,28. We used rate maps constructed from O1 when decoding position from neural activity in session O2 and O2 rate maps were used for C1 decoding, meaning the ‘test’ and ‘training’ data always belonged to different datasets.

The position and spike data of place cells were discretized into τ = 300 ms windows. Windows in which the animal had a velocity less than 5 cm/s were removed to reduce contamination by the non-local reactivations that can arise during hippocampal replay. Only sessions with at least 15 simultaneously recorded place cells were considered (Closed-Door, n = 9; One-Way, n = 3). The number of spikes that occurred in a given cell during a decoding window is denoted as σi and thus the vector of spiking activity for all simultaneously recorded cells is σ={σ1,σ2,σ3,}. For every position x and place cell i, the expected value for the firing rate λxi is retrieved from the rate map. Using the Poissonian assumption, the probability of observing spike vector σ given x is:

P(σ|x)=iP(σi|x)=iPoiss(σi|λxiτ)wherePoiss(σ|λ)=eλλσσ!

And via Bayes’ rule:

P(x|σ)=P(σ|x)P(x)P(σ)

By using a uniform prior distribution P(x), and enforcing xP(x|σ)=1, the decoded position becomes:

Decoder(σ)=argmaxxP(x|σ)=argmaxxiPoiss(σi|λxiτ)

The decoded positions and true positions were assigned to a box and a quadrant using a set of inequalities based on linear equations centered around the centroid coordinates of the compartments. For each session we generated a 16 × 16 confusion matrix of actual versus predicted locations, wherein each cell is populated using:

Confusion[i,j]=k=0(i==truequadrantk)and(j==decodedquadrantk)

A mean confusion matrix was computed for each session type (O2 Closed-Door, O2 One-Way, C1 Closed-Door, C1 One-Way). The rows of the session confusion matrices were converted to probability distributions by dividing by the sum of the row.

Field distance to doorway

To track the position of place fields across sessions (Figure S5) we applied k-means clustering to the field weighted centroids (MATLAB evalclusters with gap evaluation at [1...N] clusters where N was the greatest number of unique fields observed in a session). When analyzing the shift of fields between sessions we excluded fields that moved more than 60cm (the side length of a box). We tested if fields shifted their positions relative to the control or locked door between sessions. To test this, we calculated the distance between every field and every doorway. For Closed-Door sequences, we calculated the mean and standard deviation of the distance to the closest 16 fields around the three unchanging doors and compared this to the mean and standard deviation of the distances to the closest 16 fields around the locked door. For One-Way sequences, we calculated the mean and standard deviation of the distance to the closest 8 fields on the closed side of each door and compared this to the mean and standard deviation of the distances to the closest 8 fields on the open side of each door.

Cluster quality measures

Cluster quality (Table S2) was estimated by calculating isolation distance69,70, Lratio and peak waveform amplitude, taken as the highest amplitude reached by the four mean cluster waveforms in the session with the highest firing rate. For cluster C, containing nC spikes, isolation distance is defined as the squared Mahalanobis distance of the nCth closest non-C spike to the center of C. The squared Mahalanobis distance was calculated as:

Di,C2=(xiμC)TC1(xiμC)

where xi is the vector containing features for spike i, and μC is the mean feature vector for cluster C. A higher value indicates better isolation from non-cluster spikes. The L quantity was defined as:

L(c)=iC1CDFxdf2(Di,C2)

where iC is the set of spikes which are not members of the cluster and CDFxdf2 is the cumulative distribution function of the distribution with 8 degrees of freedom. The cluster quality measure, Lratio was thus defined as L divided by the total number of spikes in the cluster.

Quantification and statistical analysis

All statistics were performed in MATLAB (The Mathworks, 2020a). Omnibus tests included two-way repeated-measures ANOVAs (MATLAB ANOVAN with repeated-measure included as a random variable) and two-way ANOVAs (MATLAB ANOVAN). The most common two-way repeated-measures ANOVA design consisted of door type (closed/open) as the between subject variable, session (O1, O2, O3 …) as the within subject variable and animal as the repeated-measure. Example responses included door pushes or correlations. These tests included two-way interactions. Two-way ANOVA designs were similar but without the repeated-measure; often these were used for electrophysiology data containing missing values (i.e., cells not active in every session). In all cases, post hoc tests were based on estimated marginal means and corrected using the Tukey-Kramer method (MATLAB multcompare). For post hoc tests the repeated-measure was treated as a fixed instead of random variable but we only considered comparisons between groups and not across the repeated-measure of sessions.

Other tests included one-way ANOVAs (MATLAB anova1), one- and two-sample t tests (MATLAB ttest and ttest2), two-sample Kolmogorov-Smirnov tests (MATLAB kstest2) and chi-square tests of expected proportions. Chi-square tests were calculated as:

X2=i(OiEi)2Ei

where O are the observed values and E are the expected values. The degrees of freedom, c, are N-1 where N is the number of expected values; p was calculated as one minus the value of the Chi-square distribution at X2 with degrees of freedom c (MATLAB chi2cdf).

All tests were two-sided unless otherwise stated. Where multiple t tests or chi-square tests were used to compare grouped values to chance we controlled the family-wise error rate by correcting the p values using the Holm-Bonferroni method71. Briefly, p values were ranked in ascending order and each value was then compared to a corresponding cutoff calculated as:

cutoff=αnrank+1

where ⍺ was the target significance threshold which was always set to 0.05 and n was the total number of p values to correct. Each p value was then compared to this cutoff in turn, the first p value that exceeded its cutoff and all following p values were considered non-significant and corrected to 0.99.

Acknowledgments

We thank Marta Huelin for providing an experimental subject and members of the Institute of Behavioural Neuroscience (UCL) and of the Department of Psychological and Brain Sciences (Dartmouth College) for support and discussions. This work was supported by a grant to H.J.S., C.S., and G.P. from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreements 785907 and 945539 (Human Brain Project SGA2 and SGA3), a grant to K.J.J. from the Wellcome Trust (WT103896AIA), and a grant to G.P. from the European Research Council (Grant Agreement 820213, ThinkAhead).

Author contributions

Project Administration, E.D.; Supervision, E.D. and H.J.S.; Writing – Original Draft Preparation, E.D., R.M.G., and A.L.; Writing – Review & Editing, E.D., R.M.G., A.L., A.H., J.M.L., K.J.J., C.S., G.P., and H.J.S.; Investigation, E.D., A.L., S.J.-A., J.H., and N.N.; Methodology, E.D., A.L., J.M.L., K.J.J., C.S., G.P., and H.J.S.; Conceptualization, E.D., C.S., G.P., and H.J.S.; Visualization, R.M.G., A.H., and A.L.; Data Curation, R.M.G.; Resources, R.M.G., and K.J.J.; Formal Analysis, R.M.G., A.H., and F.D.; Software, R.M.G.; Funding Acquisition, K.J.J., C.S., G.P., and H.J.S.

Declaration of interests

K.J.J. is a non-shareholding director of Axona, Ltd.

Published: February 12, 2021

Footnotes

Supplemental information can be found online at https://doi.org/10.1016/j.cub.2021.01.005.

Contributor Information

Éléonore Duvelle, Email: e.duvelle@ucl.ac.uk.

Hugo J. Spiers, Email: h.spiers@ucl.ac.uk.

Supplemental information

Document S1. Figures S1–S7 and Tables S1–S4
mmc1.pdf (5.8MB, pdf)
Document S2. Article plus supplemental information
mmc4.pdf (10.5MB, pdf)

References

  • 1.O’Keefe J., Dostrovsky J. The hippocampus as a spatial map. Preliminary evidence from unit activity in the freely-moving rat. Brain Res. 1971;34:171–175. doi: 10.1016/0006-8993(71)90358-1. [DOI] [PubMed] [Google Scholar]
  • 2.O’Keefe J., Nadel L. Clarendon Press Oxford; 1978. The Hippocampus as a Cognitive Map. [Google Scholar]
  • 3.Leutgeb S., Leutgeb J.K., Barnes C.A., Moser E.I., McNaughton B.L., Moser M.-B. Independent codes for spatial and episodic memory in hippocampal neuronal ensembles. Science. 2005;309:619–623. doi: 10.1126/science.1114037. [DOI] [PubMed] [Google Scholar]
  • 4.Grieves R.M., Jenkins B.W., Harland B.C., Wood E.R., Dudchenko P.A. Place field repetition and spatial learning in a multicompartment environment. Hippocampus. 2016;26:118–134. doi: 10.1002/hipo.22496. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Jeffery K.J., Anderson M.I. Dissociation of the geometric and contextual influences on place cells. Hippocampus. 2003;13:868–872. doi: 10.1002/hipo.10162. [DOI] [PubMed] [Google Scholar]
  • 6.Wang C.-H., Monaco J.D., Knierim J.J. Hippocampal Place Cells Encode Local Surface-Texture Boundaries. Curr. Biol. 2020;30:1397–1409.e7. doi: 10.1016/j.cub.2020.01.083. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Fenton A.A., Kao H.-Y., Neymotin S.A., Olypher A., Vayntrub Y., Lytton W.W., Ludvig N. Unmasking the CA1 ensemble place code by exposures to small and large environments: more place cells and multiple, irregularly arranged, and expanded place fields in the larger space. J. Neurosci. 2008;28:11250–11262. doi: 10.1523/JNEUROSCI.2862-08.2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Muller R.U., Kubie J.L. The effects of changes in the environment on the spatial firing of hippocampal complex-spike cells. J. Neurosci. 1987;7:1951–1968. doi: 10.1523/JNEUROSCI.07-07-01951.1987. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Dabaghian Y., Brandt V.L., Frank L.M. Reconceiving the hippocampal map as a topological template. eLife. 2014;3:e03476. doi: 10.7554/eLife.03476. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Chen Z., Gomperts S.N., Yamamoto J., Wilson M.A. Neural representation of spatial topology in the rodent hippocampus. Neural Comput. 2014;26:1–39. doi: 10.1162/NECO_a_00538. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Wu X., Foster D.J. Hippocampal replay captures the unique topological structure of a novel environment. J. Neurosci. 2014;34:6459–6469. doi: 10.1523/JNEUROSCI.3414-13.2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Rivard B., Li Y., Lenck-Santini P.-P., Poucet B., Muller R.U. Representation of objects in space by two classes of hippocampal pyramidal cells. J. Gen. Physiol. 2004;124:9–25. doi: 10.1085/jgp.200409015. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Alvernhe A., Save E., Poucet B. Local remapping of place cell firing in the Tolman detour task. Eur. J. Neurosci. 2011;33:1696–1705. doi: 10.1111/j.1460-9568.2011.07653.x. [DOI] [PubMed] [Google Scholar]
  • 14.Barry C., Lever C., Hayman R., Hartley T., Burton S., O’Keefe J., Jeffery K., Burgess N. The boundary vector cell model of place cell firing and spatial memory. Rev. Neurosci. 2006;17:71–97. doi: 10.1515/revneuro.2006.17.1-2.71. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Hartley T., Burgess N., Lever C., Cacucci F., O’Keefe J. Modeling place fields in terms of the cortical inputs to the hippocampus. Hippocampus. 2000;10:369–379. doi: 10.1002/1098-1063(2000)10:4<369::AID-HIPO3>3.0.CO;2-0. [DOI] [PubMed] [Google Scholar]
  • 16.Stachenfeld K.L., Botvinick M.M., Gershman S.J. The hippocampus as a predictive map. Nat. Neurosci. 2017;20:1643–1653. doi: 10.1038/nn.4650. [DOI] [PubMed] [Google Scholar]
  • 17.Gustafson N.J., Daw N.D. Grid cells, place cells, and geodesic generalization for spatial reinforcement learning. PLoS Comput. Biol. 2011;7:e1002235. doi: 10.1371/journal.pcbi.1002235. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Muller R.U., Bostock E., Taube J.S., Kubie J.L. On the directional firing properties of hippocampal place cells. J. Neurosci. 1994;14:7235–7251. doi: 10.1523/JNEUROSCI.14-12-07235.1994. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Navratilova Z., Hoang L.T., Schwindel C.D., Tatsuno M., McNaughton B.L. Experience-dependent firing rate remapping generates directional selectivity in hippocampal place cells. Front. Neural Circuits. 2012;6 doi: 10.3389/fncir.2012.00006. Published online February 21, 2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.McNaughton B.L., Barnes C.A., O’Keefe J. The contributions of position, direction, and velocity to single unit activity in the hippocampus of freely-moving rats. Exp. Brain Res. 1983;52:41–49. doi: 10.1007/BF00237147. [DOI] [PubMed] [Google Scholar]
  • 21.Packard M.G., McGaugh J.L. Inactivation of hippocampus or caudate nucleus with lidocaine differentially affects expression of place and response learning. Neurobiol. Learn. Mem. 1996;65:65–72. doi: 10.1006/nlme.1996.0007. [DOI] [PubMed] [Google Scholar]
  • 22.Gasser J., Pereira de Vasconcelos A., Cosquer B., Boutillier A.-L., Cassel J.-C. Shifting between response and place strategies in maze navigation: Effects of training, cue availability and functional inactivation of striatum or hippocampus in rats. Neurobiol. Learn. Mem. 2020;167:107131. doi: 10.1016/j.nlm.2019.107131. [DOI] [PubMed] [Google Scholar]
  • 23.Mankin E.A., Diehl G.W., Sparks F.T., Leutgeb S., Leutgeb J.K. Hippocampal CA2 activity patterns change over time to a larger extent than between spatial contexts. Neuron. 2015;85:190–201. doi: 10.1016/j.neuron.2014.12.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Fuhs M.C., Vanrhoads S.R., Casale A.E., McNaughton B., Touretzky D.S. Influence of path integration versus environmental orientation on place cell remapping between visually identical environments. J. Neurophysiol. 2005;94:2603–2616. doi: 10.1152/jn.00132.2005. [DOI] [PubMed] [Google Scholar]
  • 25.Spiers H.J., Hayman R.M.A., Jovalekic A., Marozzi E., Jeffery K.J. Place field repetition and purely local remapping in a multicompartment environment. Cereb. Cortex. 2015;25:10–25. doi: 10.1093/cercor/bht198. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Harland B., Grieves R.M., Bett D., Stentiford R., Wood E.R., Dudchenko P.A. Lesions of the Head Direction Cell System Increase Hippocampal Place Field Repetition. Curr. Biol. 2017;27:2706–2712.e2. doi: 10.1016/j.cub.2017.07.071. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Kaefer K., Nardin M., Blahna K., Csicsvari J. Replay of Behavioral Sequences in the Medial Prefrontal Cortex during Rule Switching. Neuron. 2020;106:154–165.e6. doi: 10.1016/j.neuron.2020.01.015. [DOI] [PubMed] [Google Scholar]
  • 28.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. 1998;79:1017–1044. doi: 10.1152/jn.1998.79.2.1017. [DOI] [PubMed] [Google Scholar]
  • 29.van der Meer M.A.A., Carey A.A., Tanaka Y. Optimizing for generalization in the decoding of internally generated activity in the hippocampus. Hippocampus. 2017;27:580–595. doi: 10.1002/hipo.22714. [DOI] [PubMed] [Google Scholar]
  • 30.Tolman E.C. Cognitive maps in rats and men. Psychol. Rev. 1948;55:189–208. doi: 10.1037/h0061626. [DOI] [PubMed] [Google Scholar]
  • 31.Poucet B., Herrmann T. Exploratory patterns of rats on a complex maze provide evidence for topological coding. Behav. Processes. 2001;53:155–162. doi: 10.1016/s0376-6357(00)00151-0. [DOI] [PubMed] [Google Scholar]
  • 32.Alvernhe A., Van Cauter T., Save E., Poucet B. Different CA1 and CA3 representations of novel routes in a shortcut situation. J. Neurosci. 2008;28:7324–7333. doi: 10.1523/JNEUROSCI.1909-08.2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Alvernhe A., Sargolini F., Poucet B. Rats build and update topological representations through exploration. Anim. Cogn. 2012;15:359–368. doi: 10.1007/s10071-011-0460-z. [DOI] [PubMed] [Google Scholar]
  • 34.Grieves R.M., Dudchenko P.A. Cognitive maps and spatial inference in animals: Rats fail to take a novel shortcut, but can take a previously experienced one. Learn. Motiv. 2013;44:81–92. [Google Scholar]
  • 35.Javadi A.-H., Patai E.Z., Marin-Garcia E., Margolis A., Tan H.M., Kumaran D., Nardini M., Penny W., Duzel E., Dayan P., Spiers H.J. Prefrontal Dynamics Associated with Efficient Detours and Shortcuts: A Combined Functional Magnetic Resonance Imaging and Magnetoencenphalography Study. J. Cogn. Neurosci. 2019;31:1227–1247. doi: 10.1162/jocn_a_01414. [DOI] [PubMed] [Google Scholar]
  • 36.Javadi A.-H., Patai E.Z., Marin-Garcia E., Margois A., Tan H.M., Kumaran D., Nardini M., Penny W., Duzel E., Dayan P., Spiers H.J. Backtracking during navigation is correlated with enhanced anterior cingulate activity and suppression of alpha oscillations and the ‘default-mode’ network. Proc. Biol. Sci. 2019;286:20191016. doi: 10.1098/rspb.2019.1016. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Simon D.A., Daw N.D. Neural correlates of forward planning in a spatial decision task in humans. J. Neurosci. 2011;31:5526–5539. doi: 10.1523/JNEUROSCI.4647-10.2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.de Cothi W., Nyberg N., Griesbauer E.-M., Ghanamé C., Zisch F., Lefort J., Fletcher L., Newton C., Renaudineau S., Bendor D. Predictive Maps in Rats and Humans for Spatial Navigation. bioRxiv. 2020 doi: 10.1016/j.cub.2022.06.090. 2020.09.26.314815. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Okaichi H. Effects of fimbria-fornix lesions on door discrimination and route choice in a lattice maze by rats. Neurobiol. Learn. Mem. 1996;66:155–166. doi: 10.1006/nlme.1996.0056. [DOI] [PubMed] [Google Scholar]
  • 40.Arleo A., Rondi-Reig L. Multimodal sensory integration and concurrent navigation strategies for spatial cognition in real and artificial organisms. J. Integr. Neurosci. 2007;6:327–366. doi: 10.1142/s0219635207001593. [DOI] [PubMed] [Google Scholar]
  • 41.Poucet B. Spatial cognitive maps in animals: new hypotheses on their structure and neural mechanisms. Psychol. Rev. 1993;100:163–182. doi: 10.1037/0033-295x.100.2.163. [DOI] [PubMed] [Google Scholar]
  • 42.Epstein R.A., Patai E.Z., Julian J.B., Spiers H.J. The cognitive map in humans: spatial navigation and beyond. Nat. Neurosci. 2017;20:1504–1513. doi: 10.1038/nn.4656. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Mankin E.A., Sparks F.T., Slayyeh B., Sutherland R.J., Leutgeb S., Leutgeb J.K. Neuronal code for extended time in the hippocampus. Proc. Natl. Acad. Sci. USA. 2012;109:19462–19467. doi: 10.1073/pnas.1214107109. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Grieves R.M., Duvelle É., Wood E.R., Dudchenko P.A. Field repetition and local mapping in the hippocampus and the medial entorhinal cortex. J. Neurophysiol. 2017;118:2378–2388. doi: 10.1152/jn.00933.2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Brotons-Mas J.R., Schaffelhofer S., Guger C., O’Mara S.M., Sanchez-Vives M.V. Heterogeneous spatial representation by different subpopulations of neurons in the subiculum. Neuroscience. 2017;343:174–189. doi: 10.1016/j.neuroscience.2016.11.042. [DOI] [PubMed] [Google Scholar]
  • 46.Lever C., Burton S., Jeewajee A., O’Keefe J., Burgess N. Boundary vector cells in the subiculum of the hippocampal formation. J. Neurosci. 2009;29:9771–9777. doi: 10.1523/JNEUROSCI.1319-09.2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Krupic J., Bauza M., Burton S., O’Keefe J. Framing the grid: effect of boundaries on grid cells and navigation. J. Physiol. 2016;594:6489–6499. doi: 10.1113/JP270607. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Wernle T., Waaga T., Mørreaunet M., Treves A., Moser M.-B., Moser E.I. Integration of grid maps in merged environments. Nat. Neurosci. 2018;21:92–101. doi: 10.1038/s41593-017-0036-6. [DOI] [PubMed] [Google Scholar]
  • 49.Javadi A.-H., Emo B., Howard L.R., Zisch F.E., Yu Y., Knight R., Pinelo Silva J., Spiers H.J. Hippocampal and prefrontal processing of network topology to simulate the future. Nat. Commun. 2017;8:14652. doi: 10.1038/ncomms14652. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Spiers H.J., Gilbert S.J. Solving the detour problem in navigation: a model of prefrontal and hippocampal interactions. Front. Hum. Neurosci. 2015;9:125. doi: 10.3389/fnhum.2015.00125. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Pezzulo G., Kemere C., van der Meer M.A.A. Internally generated hippocampal sequences as a vantage point to probe future-oriented cognition. Ann. N Y Acad. Sci. 2017;1396:144–165. doi: 10.1111/nyas.13329. [DOI] [PubMed] [Google Scholar]
  • 52.Stoianov I., Maisto D., Pezzulo G. The hippocampal formation as a hierarchical generative model supporting generative replay and continual learning. bioRxiv. 2020 doi: 10.1101/2020.01.16.908889. [DOI] [PubMed] [Google Scholar]
  • 53.Pfeiffer B.E., Foster D.J. Hippocampal place-cell sequences depict future paths to remembered goals. Nature. 2013;497:74–79. doi: 10.1038/nature12112. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54.de Cothi W., Barry C. Neurobiological successor features for spatial navigation. bioRxiv. 2019 doi: 10.1101/789412. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Grieves R.M., Duvelle É., Dudchenko P.A. A boundary vector cell model of place field repetition. Spat. Cogn. Comput. 2018;18:217–256. [Google Scholar]
  • 56.Jeffery K.J., Anderson M.I., Hayman R., Chakraborty S. A proposed architecture for the neural representation of spatial context. Neurosci. Biobehav. Rev. 2004;28:201–218. doi: 10.1016/j.neubiorev.2003.12.002. [DOI] [PubMed] [Google Scholar]
  • 57.Hayman R.M., Jeffery K.J. How heterogeneous place cell responding arises from homogeneous grids--a contextual gating hypothesis. Hippocampus. 2008;18:1301–1313. doi: 10.1002/hipo.20513. [DOI] [PubMed] [Google Scholar]
  • 58.Singer A.C., Karlsson M.P., Nathe A.R., Carr M.F., Frank L.M. Experience-dependent development of coordinated hippocampal spatial activity representing the similarity of related locations. J. Neurosci. 2010;30:11586–11604. doi: 10.1523/JNEUROSCI.0926-10.2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Derdikman D., Whitlock J.R., Tsao A., Fyhn M., Hafting T., Moser M.-B., Moser E.I. Fragmentation of grid cell maps in a multicompartment environment. Nat. Neurosci. 2009;12:1325–1332. doi: 10.1038/nn.2396. [DOI] [PubMed] [Google Scholar]
  • 60.Grieves R.M. 2015. The Neural Basis of a Cognitive Map.http://hdl.handle.net/1893/21878 [Google Scholar]
  • 61.Leutgeb J.K., Leutgeb S., Moser M.-B., Moser E.I. Pattern separation in the dentate gyrus and CA3 of the hippocampus. Science. 2007;315:961–966. doi: 10.1126/science.1135801. [DOI] [PubMed] [Google Scholar]
  • 62.Keinath A.T., Nieto-Posadas A., Robinson J.C., Brandon M.P. DG-CA3 circuitry mediates hippocampal representations of latent information. Nat. Commun. 2020;11:3026. doi: 10.1038/s41467-020-16825-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63.Sharp P.E., Kubie J.L., Muller R.U. Firing properties of hippocampal neurons in a visually symmetrical environment: contributions of multiple sensory cues and mnemonic processes. J. Neurosci. 1990;10:3093–3105. doi: 10.1523/JNEUROSCI.10-09-03093.1990. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64.Garcia D. Robust smoothing of gridded data in one and higher dimensions with missing values. Comput. Stat. Data Anal. 2010;54:1167–1178. doi: 10.1016/j.csda.2009.09.020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.Garcia D. A fast all-in-one method for automated post-processing of PIV data. Exp. Fluids. 2011;50:1247–1259. doi: 10.1007/s00348-010-0985-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 66.Kadir S.N., Goodman D.F.M., Harris K.D. High-dimensional cluster analysis with the masked EM algorithm. Neural Comput. 2014;26:2379–2394. doi: 10.1162/NECO_a_00661. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 67.Skaggs W.E., McNaughton B.L., Wilson M.A., Barnes C.A. Theta phase precession in hippocampal neuronal populations and the compression of temporal sequences. Hippocampus. 1996;6:149–172. doi: 10.1002/(SICI)1098-1063(1996)6:2<149::AID-HIPO6>3.0.CO;2-K. [DOI] [PubMed] [Google Scholar]
  • 68.Jercog P.E., Ahmadian Y., Woodruff C., Deb-Sen R., Abbott L.F., Kandel E.R. Heading direction with respect to a reference point modulates place-cell activity. Nat. Commun. 2019;10:2333. doi: 10.1038/s41467-019-10139-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69.Schmitzer-Torbert N., Jackson J., Henze D., Harris K., Redish A.D. Quantitative measures of cluster quality for use in extracellular recordings. Neuroscience. 2005;131:1–11. doi: 10.1016/j.neuroscience.2004.09.066. [DOI] [PubMed] [Google Scholar]
  • 70.Schmitzer-Torbert N., Redish A.D. Neuronal activity in the rodent dorsal striatum in sequential navigation: separation of spatial and reward responses on the multiple T task. J. Neurophysiol. 2004;91:2259–2272. doi: 10.1152/jn.00687.2003. [DOI] [PubMed] [Google Scholar]
  • 71.Holm S. A Simple Sequentially Rejective Multiple Test Procedure. Scand. J. Stat. 1979;6:65–70. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Video S1. Example behavior in the four-room environment, related to Figure 1

This provides examples of door-pushing behavior and trajectories through the maze (not recorded during the task).

Download video file (45.4MB, mp4)
Video S2. Spike plots and rate maps for all used place cells, related to Figure 2

This shows spike plots and rate maps for all used place cells (foraging + goal-directed) in both sequence types.

Download video file (35.9MB, mp4)
Document S1. Figures S1–S7 and Tables S1–S4
mmc1.pdf (5.8MB, pdf)
Document S2. Article plus supplemental information
mmc4.pdf (10.5MB, pdf)

Data Availability Statement

The behavioral and place cell data datasets generated in this study are available online at: EBRAINS: https://doi.org/10.25493/7NJQ-ANH. The MATLAB code generated and used for this study is available online at: EBRAINS: https://doi.org/10.25493/7NJQ-ANH.

RESOURCES