Figures and data

Goal directed navigation on the Tree-Maze task a. Top view of the Tree-Maze layout and segmentation (indicated by upper and lower case letters) used for analyses (height = 1.4 m, width = 1.2 m). The LED cue panel was located at the end of the maze (flattened for illustration). Colored cue cards on the side of the maze indicate the two cue types by trial (Purple = Right-Cue [RC], Green = Left-Cue [LC]). Possible reward locations denoted by capital letters (Home = H, Decision = D, Goal = G1-G4). Lower case letters correspond to the segments shown on the right side of panel c. Reward wells highlighted in blue. b. Colored lines indicate example trajectories of a rat, 5 trials per panel. L Dec indicates a trajectory towards the left branch and R Dec indicates a trajectory towards the right branch. Left column (Left/Green cue), trajectories to G3 (top) and G4 (bottom) for reward. Both of these were correct navigational decisions and were rewarded. Right column (Right/Purple cue), trajectories to G2 (top) and G3 (bottom), only the top trajectories resulted in reward at a goal. c. Binary trajectory segmentation time window. At any given time-point, the subject can only be at one location in the maze (indicated by the white bins). Bottom axis indicates trial start times (seconds). Top axis indicates the trial number (tr), colored coded by cue. Left/Right axis indicates the identity of the segment, lower case letters on the right correspond to those in panel a. Blue and red dashed vertical lines indicate the end of a trial (blue = correct; red = incorrect). d. Task performance by subject. Each dot corresponds to a session by subject. For

Spatial remapping was associated with the visual cue and correlated with task performance. a. Example session trajectories for all LC (Left-Cue) and RC (Right-Cue) trials. b. Four example single-units. For each example unit: Top row, left and middle, outbound trajectories separated by cue (red dots = spikes). Top-right, trial median activity by cue and maze segment (left, stem, right), numbers at the top indicate the Mann-Whitney Z transformed U statistic for the difference between the RC and LC trial distributions Uz. Bottom row, mean spatial rate maps by zone and cue, color coded for minimum (firing rate [FR] = 0, blue) and maximum (yellow) values. Bottom right, re-sampled distribution of correlations between RC and LC maps in blue for that unit, and in grey the corresponding null distribution. Remapping score

Cue modeling revealed rate remapping and trial-wise correlations to behavior. a. Linear zone encoding model with cue Z + C, at a given sample time t, the current position of the animal and the cue identity is multiplied by learned weights to predict FR for each recorded unit

Absence of reward leads to higher activity and spatial remapping. a. Example session RW (reward) and NRW (no-reward) trials. b. Four example units (i-iv). Top rows, inbound trials trajectories by RW/NRW (red dots = spikes). Top-right, trial median activity by RW and segment in the maze. Firing rate difference score Uz as described in the main text. Bottom rows, mean spatial rate maps by zone and RW, minimum FR=0. Bottom right, re-sampled distribution of correlations between RW and NRW maps in blue for that unit, and in grey the corresponding null distribution. Remapping score

Encoding model of reward remapping. a. Linear zone encoding model with reward Zi + R, at a given sample time t, the current position of the animal and the reward identity is multiplied by learned weights to predict FR for each recorded unit

Modeling navigational/spatial variables in neural coding during open-field foraging. a. Neural responses of four example units for subjects foraging an open-field (OF) arena [1.3m x 1.5m]. For each unit sub-panel (c0-c3): top-left, firing-rate map (number is the peak FR); top-right, head-direction tuning curve, color indicates FR magnitude by angle; bottom-left, speed tuning curve (s=speed); bottom-right, model-based variance explained on test data (R2) by variable (h=heading-direction, p=position, a=aggregate model). b. Model-based responses by variable for a selected test time-window for units c0-c3. Each row corresponds to a different model prediction

Matched units across tasks reveal that head-direction coding units remap the strongest. a. Procedure for matching units across tasks (OF-open field, TM-tree maze). Top, 6 tetrode waveforms color-coded by matched units; bottom-left, fitted Gaussians to the dimensionally reduced unit waveforms for that tetrode across matched depth sessions (grey, unmatched units); bottom-right, symmetric confusion error matrix across units, threshold for matching PE <= 0.5. b. Venn diagram of matched units across tasks. c. UMAP clustering of the aggregate model coefficients for matched units. d. Head-direction (h) vs speed (s) coefficients formed a clustering subspace. e. Model coefficients of aggregate model used for finding clusters (p=position). Horizontal lines are the population mean, and error bars are the mean’s 95% CI. Statistics not performed, as the clusters were fitted from these parameters. f. Tuning metric scores (p=split-half rate-map correlation; s=speed-score; h=resultant-vector length score). Paired statistics through Mann-Whitney U tests (*=p < 0.05, **=p < 0.01, ***=p < 0.001, ****=p < 1e-4) h. Remap scores by OF cluster. g. TM model scores by OF cluster.