Figures and data
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_fig1.tif/full/max/0/default.jpg)
Electrophysiology and calcium imaging during olfactory Pavlovian conditioning.
(A) Trial structure in Pavlovian conditioning task.
(B) Timeline for mouse training.
(C) Mean (+/− standard error of the mean (SEM)) lick rate across mice (n = 5) on each trial type for each odor set during electrophysiology sessions. CS50(r) and CS50(u) are rewarded and unrewarded trials, respectively. Inset: mean anticipatory licks (change from baseline) for the CS+ and CS50 cues for every session, color-coded by mouse. F (1, 66) = 36.6 for a main effect of cue in a two-way ANOVA including an effect of subject.
(D) Same as (C), for the third session of each odor set (n = 5 mice). t(4) = 5.4 for a t-test comparing anticipatory licks on CS+ and CS50 trials.
(E) Neuropixels probe tracks labeled with fluorescent dye (red) in cleared brain (autofluorescence, green). AP, anterior/posterior; ML, medial/lateral; DV, dorsal/ventral. Allen CCF regions delineated in gray. Outline of prelimbic area in purple.
(F) Reconstructed recording sites from all tracked probe insertions (n = 44 insertions, n = 5 mice), colored by mouse.
(G) Sample histology image of lens placement. Visualization includes DAPI (blue) and GCaMP (green) signal with lines indicating cortical regions from Allen Mouse Brain Common Coordinate Framework.
(H) Location of all lenses from experimental animals registered to Allen Mouse Brain Common Coordinate Framework. Blue line indicates location of lens in (A). The dotted black line represents approximate location of tissue that was too damaged to reconstruct an accurate lens track. The white dotted line indicates PL borders.
(I) ML and DV coordinates of all neurons recorded in one example session, colored by region, and spike raster from example PL neurons.
(J) ROI masks for identified neurons and fluorescence traces from 5 example neurons.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_fig2.tif/full/max/0/default.jpg)
Graded cue and lick coding across the recorded regions.
(A) Location of each recorded neuron relative to bregma, projected onto 1 hemisphere. Each neuron is colored by CCF region. Numbers indicate total neurons passing quality control from each region.
(B) Mean normalized activity of all neurons from each region, aligned to odor onset, grouped by whether peak cue activity (0 - 2.5 s) was above (top) or below (bottom) baseline in held out trials. Number of neurons noted for each plot.
(C) Example kernel regression prediction of an individual neuron’s normalized activity on an example trial.
(D) CS+ trial activity from an example neuron and predictions with full model and with cues, licks, and reward removed. Numbers in parentheses are model performance (fraction of variance explained).
(E) Coordinates relative to bregma of every neuron encoding only cues or only licks, projected onto one hemisphere.
(F) Fraction of neurons in each region and region group classified as coding cues, licks, reward, or all combinations of the three.
(G) Additional cue (left) or lick (right) neurons in region on Y-axis compared to region on X-axis as a fraction of all neurons, for regions with statistically different proportions (see Methods).
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_fig3.tif/full/max/0/default.jpg)
Robust value encoding and decoding among cue cells.
(A) Normalized activity of an example value cell with increasing modulation for cues with higher reward probability.
(B) For the same neuron, model-fit cue kernel for the original value model and with one of the 152 alternatively-permuted cue coding models.
(C) Distribution of best model fits across all cue neurons. Light blue is value model, purple is value-like models, gray is untuned model, and the remaining models are dark blue. Value-like models are shaded according to their correlation with ranked value, as illustrated in (D). Dashed line is chance proportion when assuming even distribution.
(D) Schematic of value assigned to each of the 6 cues for many of the cue coding models (full schematic in Fig. S7). Value-like models are sorted by their correlation with the ranked value model.
(E) Left: normalized activity of every value cell, sorted by mean firing 0 - 1.5 s following odor set A CS+ onset. Right: mean normalized activity of all value cells, grouped by whether peak cue activity (0 - 2.5 s) was above (top) or below (bottom) baseline in held out trials. Number of neurons noted for each plot.
(F) As in (E), for value-like cells.
(G) Accuracy (mean +/− SEM across neurons) of decoded cue identity for single neurons of value, value-like, and untuned neurons. * indicates where value, value-like, and untuned neurons significantly differed from each other and baseline (all p < 0.001, Bonferroni corrected). All pairwise comparisons in Supplemental Table 2.
(H) Accuracy (mean+/−std across bootstrapped iterations) of decoded cue identity using different numbers of neurons.
(I) Left: estimated value (mean +/− SD across 1000 bootstrapped iterations) of held out CS+ (top) and CS- (bottom) trials using linear models trained on the activity of value, value-like, or untuned neurons. Right: accuracy (mean+/−std across bootstrapped iterations) of decoded cue value using these value estimates. * indicates where the accuracy of value neurons exceeded value-like and untuned neurons (all p < 0.016, bootstrapped). All pairwise comparisons in Supplemental Table 2.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_fig4.tif/full/max/0/default.jpg)
Widespread cue value coding.
(A) Fraction of neurons in each region and region group classified as value cells (blue) and other cue neurons (gray), as well as fraction (+/− 95% CI) estimated from a linear mixed effects model with random effect of session (see Methods). PFC has more value cells than motor (p = 0.002) and olfactory (p = 0.00005) cortex. All pairwise comparisons in Supplemental Table 3.
(B) As in (A), for value-like cells. Motor cortex has fewer value-like cells than PFC (p = 8 10−6) and olfactory cortex (p = 4 10−8). All pairwise comparisons in Supplemental Table 3.
(C) First principal component value cells from all regions.
(D) As in (C), for value-like cells.
(E) Accuracy of decoded cue value (mean +/− SD across 1000 bootstrapped iterations) as in Fig. 3I, using 5 (with replacement) value cells from each region (left) and 25 value cells from each region group (right) using cue-evoked (blue) and baseline (black) activity. No regions or region groups significantly differed from each other (p > 0.46, Bonferroni corrected). All pairwise comparisons in Supplemental Table 3.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_fig5.tif/full/max/0/default.jpg)
A subset of cue cells incorporate reward history.
(A) Coefficient weight (+/− standard error from model fit) for reward outcome on the previous 10 trials of any type (left) and on the previous 10 trials of the same cue type (right) for the ‘trial value’ model: a linear model predicting the number of anticipatory licks on every trial of every session. Lick rates were normalized so that the maximum lick rate for each session was equal to 1. Colored lines are models fit to each individual mouse.
(B) Mean (+/− SEM) lick rate across mice (n = 5 mice) on trials binned according to value estimated from the trial value model.
(C) Normalized activity of an example history value cell with increasing modulation for cues of higher value.
(D) For the same neuron, model-predicted activity with the original value model (left) and with the history model, which uses trial-by-trial value estimates from the trial value model (right).
(E) For the same neuron, model-predicted activity using licks. Inset: variance explained using licks versus history for history neurons.
(F) The activity of all cells in each category projected onto the coding dimension maximally separating CS- and CS+ for trials binned by value estimated from the trial value model.
(G) The mean (+/− std across 5000 bootstrapped selections of neurons) activity (1 - 2.5 s from odor onset) along the coding dimension maximally separating CS- and CS+ for trials binned by value estimated from the lick model.
(H) The mean (+/− std across 5000 bootstrapped selections of neurons) slope of the activity on CS50 trials regressed onto the trial value model estimate for those trials. History and lick cells had greater slopes than the other groups (p < 0.0003, see Supplemental Table 4).
(I) Fraction of neurons in each region and region group classified as history cells (light blue) and other cue neurons (gray), as well as estimated fraction (+/−95% CI) with random effect of session (see Methods). PFC had more history cells than motor (p = 0.0016) and olfactory (p = 0.00053) cortex. All pairwise comparisons in Supplemental Table 4.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_fig6.tif/full/max/0/default.jpg)
Acquisition of conditioned behavior and cue encoding in PFC.
(A) Training schedule for 5 of the mice in the calcium imaging experiment. An additional 3 were trained only on odor set A.
(B) Mean (+/− SEM) licking on early (first 60) and late (last 60) trials from day 1 of odor set A (n = 8 mice).
(C) Mean (+/− SEM) baseline-subtracted anticipatory licks for early and late trials from each day of odor set A. Thin lines are individual mice (n = 8 mice).
(D) Standard deviation of fluorescence from example imaging plane.
(E) Normalized activity of each pixel following CS+ presentation on early and late trials of session A1.
(F) Normalized deconvolved spike rate of all individual neurons on early and late trials of session A1.
(G) Proportion of neurons classified as coding cues, licks, rewards, and all combinations for each third of session A1.
(H) Mean(+/− SEM) unique variance explained by cues, licks, and rewards for neurons from each mouse. Thin lines are individual mice. Unique variance was significantly different across session thirds for cues (F (2, 21) = 3.71, p = 0.04) but not licks (F (2, 21) = 0.37, p = 0.69) or reward (F (2, 21) = 0.65, p = 0.53, n = 8 mice, one-way ANOVA).
(I) Mean (+/− SEM) normalized deconvolved spike rate for cells coding cues, licks, both, or neither on early and late trials, sorted by whether peak cue activity (0 - 2.5 s) was above (top) or below (bottom) baseline for late trials.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_fig7.tif/full/max/0/default.jpg)
Cue and lick coding is stable across days.
(A) Standard deviation fluorescence from example imaging plane.
(B) Masks (randomly colored) for all tracked neurons from this imaging plane.
(C) Deconvolved spike rate on every CS+ trial from all three sessions of odor set A for an example neuron. Vertical dashed line is reward delivery. Color axis as in (D).
(D) Normalized deconvolved spike rate for all tracked neurons on all three sessions of odor set A.
(E) Correlation between the activity of a given neuron in one session and its own activity in the subsequent session, quantified as a percentile out of correlations with the activity of all other neurons on the subsequent day. Plotted as the median for each subject and the mean (+/− SEM) across these values. Real data was more correlated than shuffled data (p = 0.0078 for both comparisons, Wilcoxon signed-rank test).
(F) Fraction of tracked neurons coding cues, licks, rewards, and their combinations on day 3.
(G) Model performance when using models from session A3 to predict the activity of individual neurons across session thirds of odor set A training, plotted as mean (+/− SEM) correlation between true and predicted activity across mice, normalized to the correlation between model and training data. Thin lines are individual mice. Performance was greater than shuffled data at all time points (p < 0.002, Bonferroni-corrected, n = 8 mice). Non-normalized data in Fig. S12.
(H) Mean (+/− SEM) unique cue, lick, and reward variance for cells classified as coding cues, licks, both, or neither on session A3. A3 cue cells had increased cue variance in A2 (p < 10−7, see Methods) and A1 (p < 0.03) relative to lick and reward variance. Same pattern for A3 lick cells in A2 (p < 0.0001) and A1 (p < 0.01).
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_fig8.tif/full/max/0/default.jpg)
Cue and lick coding in separately trained odor sets.
(A) Normalized activity of all pixels in the imaging plane following CS+ presentation on the third day of each odor set (A3 and B3, days 5 and 6 of training).
(B) Fraction of neurons coding for cues, licks, rewards, and their combinations in A3 and B3 (days 5 and 6).
(C) Mean (+/− SEM, across mice) correlation between activity predicted by odor set A3 models and its training data (A3, cross-validated) or activity in B3, for true (black) and trial shuffled (gray) activity. Thin lines are individual mice. F (1, 16) = 3.2, p = 0.09 for main effect of odor set, F (1, 16) = 135, p < 10−8 for main effect of shuffle, F (1, 16) = 2.2, p = 0.16 for interaction, n = 5 mice, two-way ANOVA.
(D) Mean (+/− SEM, across mice) unique cue, lick, and reward variance for cells classified as coding cues, licks, both, or neither for odor set A. For each category, odor set A unique variance preference was maintained for odor set B (p < 0.04) except for both cells, for which lick and reward variance were not different in odor set B (p = 0.22, Bonferroni-corrected, n = 5 mice).
(E) Distribution of best model fits across all cue cells, with colors from Fig. 3C. Dashed line is chance proportion when assuming even distribution.
(F) Left: normalized activity of every value cell, sorted by mean firing 0 - 1.5 s following odor set A CS+ onset. Right: mean normalized activity of all value cells, grouped by whether peak cue activity (0 - 2.5 s) was above (top) or below (bottom) baseline in held out trials. Number of neurons noted for each plot.
(G) As in (E), for value-like cells.
(H) Mean (+/− SEM, across neurons) activity of cue cells tracked across A1, A2, and A3 with preferential CS+ firing, defined on half of A3 trials and plotted for the other half of A3 trials and all of A1 and A2 trials.
(I) For neurons in (H), correlation between a neuron’s activity in one session and its own activity in the subsequent session, quantified as a percentile out of correlations with the activity of all other neurons on the subsequent day. Plotted as the median for each subject (n = 7 with CS+ preferring cue cells) and the mean (+/− SEM) across these values. Real data was more correlated than shuffled data (p = 0.016 A1:A2, p = 0.031 A2:A3, Wilcoxon signed-rank test).
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_figs1.tif/full/max/0/default.jpg)
Anticipatory licking during the electrophysiology sessions.
(A) Mean anticipatory licks (change from baseline) for the CS+ and CS50 from odor set A (left) and B (right) for every session, color-coded by mouse. F (1, 66) = 32.07 and F (1, 66) = 26.93 in each odor set for a main effect of cue in a two-way ANOVA including an effect of subject.
(B) As above, for the CS+ and CS- from odor set A (left) and B (right). F (1, 66) = 433.1 and F (1, 66) = 574.6 in each odor set for a main effect of cue in a two-way ANOVA including an effect of subject.
(C) As above, for the CS50 and CS- from odor set A (left) and B (right). F (1, 66) = 252.3 and F (1, 66) = 450.1 in each odor set for a main effect of cue in a two-way ANOVA including an effect of subject.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_figs2.tif/full/max/0/default.jpg)
Similar neural activity in prelimbic area using electrophysiology and calcium imaging.
(A) Heatmap of the normalized activity of each neuron recorded with electrophysiology in PL, aligned to each of the 6 odors. All columns sorted by mean firing 0 - 1.5 s following odor onset for odor set A CS+ trials.
(B) As in (A), for all neurons imaged in PL on day 3 of each odor set.
(C) The score from the first 4 principal components of the normalized activity presented in (A), with variance explained in parentheses.
(D) As in (C), for the activity in (B).
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_figs3.tif/full/max/0/default.jpg)
Task-related neural activity across brain regions.
(A) For each of the 5 mice in the electrophysiology experiment, the number of neurons recorded in each region.
(B) Heatmap of the normalized activity of each neuron (n = 51 trials per cue). All columns sorted by region and then by mean firing 0 - 1.5 s following odor onset for odor set A CS+ trials.
(C) Mean (+/− SEM) activity of neurons from 4 regions aligned to each cue type, grouped by whether peak cue activity (0 - 2.5 s) was above (top) or below (bottom) baseline in held out trials.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_figs4.tif/full/max/0/default.jpg)
Validation of variance cutoff for variable coding.
(A) Fraction of neurons encoding cues, licks, and rewards in each region when varying the unique variance cutoff used (how much model performance drops when removing that variable).
(B) As in (A), for models where the reduced ranks are fit to neural activity with shuffled cue onset times.
(C) The fraction of cue cells (neurons with unique cue variance but no other variables) in each region when varying the variance cutoff.
(D) Pairwise region comparisons with each variance cutoff.
(E) Normalized activity of every neuron encoding cues, sorted by mean firing 0 - 1.5 s following odor onset. Left: neurons only passing as cue only with a 2% cutoff but a 5% cutoff. Right: neurons passing as cue only with either a 2% or a 5% cutoff.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_figs5.tif/full/max/0/default.jpg)
Identification of cue and lick cells with GLM.
(A) Mean variance explained (fraction) by linear models in each region for each session (x) and the mean (+/− SEM) across those sessions.
(B) Mean (+/− SEM) activity of neurons encoding cues, licks, both, or neither aligned to each cue type, grouped by whether peak cue activity (0 - 2.5 s) was above (top) or below (bottom) baseline in held out trials.
(C) Normalized activity of every neuron encoding cues, licks, or both, aligned to CS+ onset, sorted by mean firing 0 - 1.5 s following odor onset.
(D) Mean (+/− SEM) activity of neurons encoding cues or licks, grouped as in (B), on CS50 trials, divided into rewarded (lighter colors) or unrewarded (darker colors) trials.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_figs6.tif/full/max/0/default.jpg)
Comparing proportions of cue and lick neurons across regions.
(A) Fraction of neurons in each region classified as coding cues (left), licks (middle), or both (right), as well as estimated fraction(+/−95% CI) with random effect of session (see Methods). Data also shown in Fig. 2F.
(B) Additional cue/lick/both cells in region on Y-axis compared to region on X-axis as a fraction of all neurons, for regions with significantly different proportions. Pairwise comparisons in Supplemental Table 1. Data also shown in Fig. 2G.
(C) As in (A), for region groups.
(D) As in (B), for region groups.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_figs7.tif/full/max/0/default.jpg)
Schematic of value model shuffles.
(A) For each of the 153 cue coding models, the value taken on by the variable cue kernel on trials corresponding to each of the 6 cue types. Values were 0, 0.5, or 1. Also, the fraction of cue neurons best fit by each model. Dashed line is chance proportion when assuming even distribution.
(B) As in (A), sorted by correlation with the ranked value model.
(C) Data from Fig. 3C with color indicating models with the same values for cues of the same trial type across odor sets. Dashed line is chance proportion when assuming even distribution.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_figs8.tif/full/max/0/default.jpg)
Additional analysis of value coding schemes.
(A) Projecting the activity (0 to 2.5 s from odor onset) of all value and value-like cells onto the coding dimensions maximally separating CS- and CS+ (x-axis) and CS- and CS50 (y-axis). X marks baseline activity.
(B) For the odor set A projection, distribution of 5000 bootstrapped angles between CS+ and CS50 vectors (baseline to peak). Value cells had a smaller angle than value-like cells, evidence of a linear value scale.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_figs9.tif/full/max/0/default.jpg)
Relative proportions of value and value-like cells across regions.
(A) Additional cue value (left) or value-like (right) neurons in region on Y-axis compared to region on X-axis as a fraction of all neurons, for regions with non-overlapping 95% confidence intervals.
(B) As in (A), for region groups.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_figs10.tif/full/max/0/default.jpg)
Value coding as a proportion of cue cells.
(A) Fraction of cue neurons in each region classified as coding value (left) or value-like (right), as well as estimated fraction(+/− 95% CI) with random effect of session (see Methods).
(B) Additional value/value-like cue neurons in region on Y-axis compared to region on X- axis as a fraction of all cue neurons, for regions with significantly different fractions. Pairwise comparisons in Supplemental Figure 5.
(C) As in (A), for region groups.
(D) As in (B), for region groups.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_figs11.tif/full/max/0/default.jpg)
Comparing PFC and striatum.
(A) Fraction of neurons in each region and region group classified as coding cues (left), licks (middle), or both (right), as well as estimated fraction(+/−95% CI) with random effect of session (see Methods).
(B) Fraction of neurons in each region and region group classified as coding value (left) or value-like (right), as well as estimated fraction(+/−95% CI) with random effect of session. Light gray bars are remaining cue neurons not in that category.
![](https://prod--epp.elifesciences.org/iiif/2/84604%2Fv2%2Fcontent%2F499930v3_figs12.tif/full/max/0/default.jpg)
Correlation across days in PL.
(A) Cumulative distribution of percentile of correlation for the activity of a given neuron with its own activity on the subsequent day compared to its correlation with the activity of all other neurons. True data (black) and shuffled data (gray), revealing strong enrichment of correlated activity for a tracked neuron across days.
(B) Model performance when using models from session A3 to predict the activity of individual neurons across session thirds of odor set A training, plotted as mean (+/− SEM) correlation between true and predicted activity across mice. Thin lines are individual mice. Performance was greater than shuffled data at all time points (p < 0.0001) except early day 1 (p = 0.21, Bonferroni-corrected, n = 8 mice).