Linear and categorical coding units in the mouse gustatory cortex drive population dynamics and behavior in taste decision-making

  1. Liam Lang
  2. Camelia Yuejiao Zheng
  3. Jennifer M Blackwell
  4. Giancarlo La Camera  Is a corresponding author
  5. Alfredo Fontanini  Is a corresponding author
  1. Department of Neurobiology and Behavior, Stony Brook University, United States
  2. Graduate Program in Neuroscience, Stony Brook University, United States
  3. Center for Neural Circuit Dynamics, Stony Brook University, United States
  4. Medical Scientist Training Program, Stony Brook University, United States
7 figures, 4 tables and 1 additional file

Figures

Figure 1 with 1 supplement
Experimental paradigm.

(A) Schematic of the behavioral task. The blue rectangle indicates the temporal window over which all analyses were conducted, from 1 s before the first central lick, T, to 1 s after the first lateral lick, D. (B) Psychometric curve averaged across sessions and subjects. Circles and error bars represent mean ± s.e.m. (N = 23 sessions across 13 subjects) for the probability of a choice in the sucrose-associated direction for each stimulus value; the continuous curve is a sigmoidal curve fit to the means. (C) Schematic of acute probe insertion. (D) Example histological section indicating accurate probe placement in gustatory cortex (GC; blue: Hoechst; yellow: DiI applied to probe). (E) Example spike raster plot for neurons simultaneously recorded within a single session from GC of behaving mice.

Figure 1—figure supplement 1
Neuropixels probe trajectory reconstruction.

(A) 3D reconstruction of the 23 probe trajectories from the experimental dataset. (B) 2D reconstruction of the same 23 probe trajectories, overlaid on the Allen Brain Atlas at varying anteroposterior (AP) distances (relative to Bregma in mm) around gustatory cortex (GC). At these coordinates, both GU (gustatory areas) and AI (anterior insular areas) account for GC. Reconstructions performed with open-source Allen CCF Tools (Shamash et al., 2018; https://github.com/cortex-lab/allenCCF).

Population activity and information encoding during taste mixture-based decision-making.

(A) Population peristimulus time histogram (PSTH; N = 626). Vertical dashed lines indicate the first central (T) and lateral licks (D), respectively. The trace represents mean firing rate; shading represents s.e.m. (B) Population heatmaps for single unit differential activity between correct predominantly sucrose and correct predominantly NaCl trials. White dots indicate each unit’s time of peak differential activity. Traces are ordered by peak time and separated by whether peak differential activity is in favor of NaCl (‘NaCl-preferring’) or sucrose (‘Sucrose-preferring’). White trace is the mean auROC across neurons. (C, D) Decoding of task-relevant variables. For each session (gray trace), accuracy is plotted over time with colored shaded traces representing the mean ± s.e.m. over sessions. Trial labels to be decoded were mixtures (C) and choice (D). Horizontal solid line represents theoretical chance level. Horizontal dashed line represents theoretical significant decoding threshold (α = 0.01). Dashed rectangles mark the ‘sampling’ and ‘delay’ analysis windows.

Low-dimensional population activity trajectories.

(A) Euclidean distances between pairs of trial-averaged pseudo-population activity trajectories. (B) t-Distributed stochastic neighbor embedding (t-SNE) of trial-averaged pseudo-population trajectories for all stimuli (%Sucrose/%NaCl) based on pairwise Euclidean distances between activities. (C) One-dimensional linear projections of trial-averaged pseudo-population trajectories onto the demixed principal component explaining maximum stimulus-specific variance. Solid lines are correct trial averages; dotted lines are incorrect trial averages. (D) Same as C, but for the demixed principal component explaining maximum choice-specific variance. T: time of first central lick; (D) time of first lateral lick.

Classification of single unit coding types.

(A) Representative single unit peristimulus time histogram (PSTH, top) and response profiles (bottom) exemplifying the different coding types within a time window (gray bar, top): linear (left), step-perception (middle), and step-choice (right). Step-perception (middle) and step-choice (right) types were disentangled by comparing correct trials to error trials (dashed lines in bottom plots). Color scale corresponds to different mixture stimuli (%Sucrose/%NaCl). (B) Visualization of each neuron’s coding type label (vertical axis) between two time windows (horizontal axis). Each neuron is a point in both windows, with lines connecting the same neurons. T: time of first central lick; (D) time of first lateral lick. (C) Distribution of coding types across all neurons (pooled over all sessions) over time. For each time point (a window ∼200 ms wide), the coding type classification analysis depicted in A was applied to each neuron.

Figure 5 with 3 supplements
Recurrent neural network design and behavior.

(A) Model architecture. N neurons are modeled as dynamic units with internal activity h that is influenced by the external stimulus input (m(x); the time course of an example x for mixture stimulus 75/25 is shown), recurrent input (via Wrec), and noise input (not shown). A decision unit z measures the network’s choice by taking a weighted sum of activities via wz. The loss function L is minimized during training based on choice (z) and the activity of the constrained units (gray dots). T: time of stimulus onset; (D) decision time. (B) Psychometric curve fit to across-model means for the probability of the sucrose choice as a function of the stimulus. Circles and error bars represent mean and s.e.m. (C) Example of experimentally observed peristimulus time histogram (PSTH, left) and the corresponding firing rate activity for the unit in the network trained to match it (right). (D) Example firing rate activity for a unit in the network not explicitly trained to match any experimentally observed PSTH. Color scale corresponds to different mixture stimuli (%Sucrose/%NaCl).

Figure 5—figure supplement 1
Model constrained unit activity.

(A) Three examples (columns) of experimentally observed peristimulus time histograms (PSTHs, top) and corresponding model unit firing rate activities trained to match them (bottom). Color scale corresponds to different mixture stimuli (%Sucrose/%NaCl). (B) Comparison of firing rate activities (stimulus-averaged PSTHs) between all experimental neurons and their corresponding model constrained units. Vertical whitespace separates individual sessions/models. Firing rates are normalized to the maximum within each session. T: time of first central lick/stimulus onset; D: time of first lateral lick/decision time.

Figure 5—figure supplement 2
Recurrent neural network (RNN) unit responsiveness.

(A) Activity of all RNN units grouped by responsiveness during the sampling period. If the unit’s firing rate distribution during the sampling period (T to T + 0.5 s for T the stimulus onset time) was significantly different from its baseline (T – 0.5 s to T) firing rate distribution, it was sampling responsive and grouped by whether its mean firing rate increased (left) or decreased (middle); otherwise it was non-responsive (right). (B) Activity of all RNN units grouped by responsiveness during the delay period. Same as A except the firing rate distribution of interest is calculated over D – 0.5 s to D for D the decision time. (C, D) Same as A and B, respectively, except that the only units considered are those labeled ‘other’ by the response profile analysis of Figure 6C. Firing rates are expressed relative to baseline, and traces are population mean ± s.e.m.

Figure 5—figure supplement 3
Recurrent neural network (RNN) unit activity patterns.

(A) Heatmaps of firing rate activities for units that responded significantly during the sampling and/or delay periods, broken down into coding units (linear, step-perception, and/or step-choice) (top) and ‘other’ units (not linear, not step-perception, and not step-choice) (bottom). Firing rates are expressed relative to baseline and normalized to the maximum absolute value. T: time of stimulus onset; D: decision time. (B) Two example ‘other’ unit responses. Both respond significantly during the sampling period, but neither response pattern matches the linear or step templates. Color scale corresponds to different mixture stimuli (%Sucrose/%NaCl).

Figure 6 with 2 supplements
Modeled population activity and single unit coding properties.

(A) Trial-averaged pseudo-population activity trajectories projected onto demixed principal component of maximal stimulus-specific variance. Solid lines are correct trial averages; dotted lines are incorrect trial averages. Color scale corresponds to different mixture stimuli (%Sucrose/%NaCl). T: time of stimulus onset; D: decision time. (B) Same as A but for the demixed principal component of maximal choice-specific variance. (C) Left: Venn diagram showing percentages of neurons with all possible combinations of coding types over time. Right: Distribution of coding types across all units (pooled over all models) over time.

Figure 6—figure supplement 1
Modeled population activity and single unit coding properties: constrained units only.

Compare with Figure 6 and Figure 6—figure supplement 2. (A) Trial-averaged constrained pseudo-population activity projected onto demixed principal component of maximal stimulus-specific variance. Solid lines are correct trial averages; dotted lines are incorrect trial averages. Color scale corresponds to different mixture stimuli (%Sucrose/%NaCl). T: time of stimulus onset; D: decision time. (B) Same as A but for the demixed principal component of maximal choice-specific variance. (C) Left: Venn diagram showing percentages of constrained units (pooled over all models) with all possible combinations of coding types over time. Right: Distribution of coding types across constrained units over time.

Figure 6—figure supplement 2
Modeled population activity and single unit coding properties: unconstrained units only.

Compare with Figure 6, Figure 6—figure supplement 1. (A) Trial-averaged unconstrained pseudo-population activity projected onto demixed principal component of maximal stimulus-specific variance. Solid lines are correct trial averages; dotted lines are incorrect trial averages. Color scale corresponds to different mixture stimuli (%Sucrose/%NaCl). T: time of stimulus onset; D: decision time. (B) Same as A but for the demixed principal component of maximal choice-specific variance. (C) Left: Venn diagram showing percentages of unconstrained units (pooled over all models) with all possible combinations of coding types over time. Right: Distribution of coding types across unconstrained units over time.

Figure 7 with 2 supplements
Effect of selective ablations on model dynamics and behavior.

(A) Model dynamics after selectively ablating linear coding units, step-perception coding units, step-choice coding units, or ‘other’ units. Post-ablation pseudo-population activity is projected onto the stimulus- (left column) and choice-coding (right column) components identified in the control condition (i.e., the same ones in Figure 6A, B). Color scale corresponds to different mixture stimuli (%Sucrose/%NaCl); solid and dashed lines correspond to correct and error trials. T: time of stimulus onset; D: decision time. (B) Pairwise overlaps between stimulus- (top) and choice-coding (bottom) components for control (-) and each ablation condition (o: ‘other’, l: linear, p: step-perception, c: step-choice). (C) Behavioral performance of the model after selectively ablating categories of coding units. Left: across-model distributions of task accuracy vs ablation condition. Bars represent means. * indicates significant difference vs control condition (post hoc paired t-test Bonferroni-adjusted p < 0.01). Right: psychometric functions fit to across-model mean probability of sucrose choice for different ablation conditions. Circles and error bars represent mean and s.e.m.

Figure 7—figure supplement 1
Effect of selective ablations on model dynamics and behavior: constrained vs unconstrained.

(A, B) Model dynamics after selectively ablating linear coding units, step-perception coding units, step-choice coding units, or ‘other’ units in the constrained (left columns) or unconstrained (right columns) populations. Post-ablation pseudo-population activity is projected onto the stimulus (A) and choice-coding (B) components identified in the control condition (top). Color scale corresponds to different mixture stimuli (%Sucrose/%NaCl); solid and dashed lines correspond to correct and error trials. * indicates significant difference in mean absolute projections vs corresponding control condition (Dunnett’s test p < 0.01). T: time of stimulus onset; D: decision time. (C) Behavioral performance of all models after selectively ablating categories of coding units. Bars represent means. * indicates significant difference in task accuracy vs control condition (Dunnett’s test p < 0.01).

Figure 7—figure supplement 2
Effect of temporally restricted selective ablations on model dynamics and behavior: beginning vs end.

(A, B) Model dynamics after selectively ablating linear coding units, step-perception coding units, step-choice coding units, or ‘other’ units at the beginning of the trial (left columns) or the end of the trial (right columns). Post-ablation pseudo-population activity is projected onto the stimulus (A) and choice-coding (B) components identified in the control condition (top). Color scale corresponds to different mixture stimuli (%Sucrose/%NaCl); solid and dashed lines correspond to correct and error trials. * indicates significant difference in mean absolute projections vs corresponding control condition (Dunnett’s test p < 0.01). T: time of stimulus onset; D: decision time. The beginning is [T, T+ 1 .2 s]; the end is [D – 1.2 s, D]. (C) Behavioral performance of all models after selectively ablating categories of coding units in the beginning or end of the trial. Bars represent means. * indicates significant difference in task accuracy vs control condition (Dunnett’s test p < 0.01).

Tables

Appendix 1—table 1
Session-by-session responsive and selective neuron counts for experimental data.

Responsivity indicates a difference in firing rate distributions between baseline and a window of interest (from the first central lick to 500 ms after it for taste; from 500 ms before the first lateral lick to the first lateral lick for delay). Selectivity indicates a difference in firing rate distributions between categories within the window of interest (predominantly sucrose vs predominantly NaCl for taste; left vs right for delay).

SessionTotalTaste responsiveTaste selectiveDelay responsiveDelay selective
1176311
244286197
32112583
4483092312
529143125
6684310357
7168133
8412692512
9178062
1038234187
11148474
1274211
13119231
1427217123
1594162
1683122
1730151146
1826198157
193117581
2028112123
2140222152
221915574
2337243234
Total6263709327599
Appendix 1—table 2
Session-by-session neuron coding type counts for experimental data.

Neurons are assigned coding type labels if they exhibit the response profile pattern in any time bin (as per analysis in Figure 4C) and, thus, the labels are not mutually exclusive.

SessionTotalLinearStep-perceptionStep-choiceOther
1174618
244139827
32131119
4482211923
52985618
66816161038
7163629
8418121717
91712410
1038641222
11146424
1273114
13114205
142758514
1594005
1683224
173069417
1826814127
1931511814
202867216
214076425
22196925
2337812221
Total626155167114322
Appendix 1—table 3
Session-by-session responsive and selective unit counts for model data.

Responsivity indicates a difference in firing rate distributions between baseline and a window of interest (from stimulus onset to 500 ms after it for taste; from 500 ms before the decision to the decision for delay). Selectivity indicates a difference in firing rate distributions between categories within the window of interest (predominantly sucrose vs predominantly NaCl for taste; left vs right for delay). Con.: constrained units; Unc.: unconstrained units.

SessionTotal Con.Total Unc.Taste responsive Con.Taste responsive Unc.Taste selective Con.Taste selective Unc.Delay responsive Con.Delay responsive Unc.Delay selective Con.Delay selective Unc.
1178310551042848538
2442159255151014710
32110211628381351842
44823410799529591049
529142209787719741379
66833225144201093011518115
71678104572712361342
8412001979136417621021
91783834319629413
1038185107553515671029
111468642331937940
12734323218522324
131154839531225634
1427132137585616981071
15944634838929338
16839729425626427
1730146168611601055749
18261271974104617551437
193115125101128618611169
2028137149185910571067
214019520106138724841671
22199313605431043729
23371811778126517631259
Total62630552991533189112329212102101053
Appendix 1—table 4
Session-by-session unit coding type counts for model data.

Units are assigned coding type labels if they exhibit their response profile pattern in any time bin (as per analysis in Figure 6C) and, thus, the labels are not mutually exclusive. Con.: constrained units; Unc.: unconstrained units.

SessionTotal Con.Total Unc.Linear Con.Linear Unc.Step-perception Con.Step-perception Unc.Step-choice Con.Step-choice Unc.Other Con.Other Unc.
117835176326421028
2442158951891433191
3211026134292361456
44823493784632537175
529142115712613571152
6683321353870118047204
7167811171234932339
84120012214281427163
91783412723391056
1038185122831982726137
111468733840432421
1273421522201936
131154432238435410
142713210399508441452
159443190343944
1683941551732906
17301464224387462088
182612716311739527667
1931151143865014581263
20281379533494411862
214019516481062115719102
221993531425628948
233718195184743322109
Total62630551946911478401298143531739

Additional files

Download links

A two-part list of links to download the article, or parts of the article, in various formats.

Downloads (link to download the article as PDF)

Open citations (links to open the citations from this article in various online reference manager services)

Cite this article (links to download the citations from this article in formats compatible with various reference manager tools)

  1. Liam Lang
  2. Camelia Yuejiao Zheng
  3. Jennifer M Blackwell
  4. Giancarlo La Camera
  5. Alfredo Fontanini
(2026)
Linear and categorical coding units in the mouse gustatory cortex drive population dynamics and behavior in taste decision-making
eLife 14:RP109313.
https://doi.org/10.7554/eLife.109313.3