AIFeed

Dopamine reward transients calibrate movement timing via next-trial updates

Summary

Nature, Published online: 02 December 2026; doi:10.1038/s41586-026-11286-w The functions of dopamine in reward, motivation and movement in mice are causally linked by a process in which phasic striatal dopamine rapidly and persistently recalibrates the propensity to move.

Original text(via Nature)

Main

Both electrical9 and optogenetic activation10,11,12 of dopamine neurons (DANs) can gradually reinforce actions10,11,12,13,14,15. It is widely believed that DANs drive gradual learning through dopamine (DA) transients, with ongoing debate over what these transients represent in reinforcement learning frameworks1,2,3,4,5,16,17,18,19,20,21,22. Yet, multiple lines of evidence suggest DA also has real-time roles in movement6,7,23,24,25,26 and motivation5,25 that are thought to be distinct from the function of DA in gradual learning6,22,24,27. For example, tonic DA levels are associated with movement vigour, with both tonic DA and vigour increasing in reward-rich environments4,5,6,27. Exogenous DA/DAN manipulations also causally modulate the probability7,23,24, number23, acceleration23,24 and variability11,28 of movements, and DA-modulating drugs are used ubiquitously in clinical settings as a tuning dial to adjust patients’ propensity to move up or down8,29. Yet, it remains unclear whether endogenous, DA-reward transients are related to the function of DA in modulating the propensity to move23,27,30,31,32.

As DA drugs bidirectionally influence the propensity to move, we suspected that the roles of DA in reinforcement and movement might be mechanistically linked by a tuning process, whereby endogenous DA transients calibrate this propensity based on feedback from recent reward history. Individual DANs encode both reward- and movement-related information32,33, suggesting that these functions may be intertwined or somehow co-dependent.

We recently showed that DANs have a causal, real-time role in movement initiation in mice performing a self-timed movement task7. Notably, in similar timing paradigms for humans and a variety of other species, hypokinetic conditions cause systematically late movement timing compared with control individuals34,35,36,37, whereas hyperkinetic conditions cause early timing38,39. Movement timing can therefore provide an intuitive, quantitative definition of propensity to move (earlier timing representing higher propensity; later timing representing lower propensity). Furthermore, because the mice in our task receive correct/incorrect feedback after each trial, they can update their timing on the next trial to improve their chances of receiving reward, enabling us to relate outcome-related DA signalling to how mice calibrate their propensity to move based on the timing requirements of the task.

Task for quantifying propensity to move

We trained head-fixed, water-controlled mice to perform a self-timed movement task7 (Fig. 1a). On each trial, mice had to estimate elapsed time to decide when to lick after a brief cue (tone and light-emitting diode (LED)). Mice received a juice reward if the first lick occurred during a hidden reward window (3.3–7 s after the cue), which had to be discovered through trial and error. Only the first lick determined the trial outcome (unrewarded/rewarded). Correctly timed first licks triggered an immediate correct tone, whereas early first licks triggered an error tone, and failure to lick before the end of the reward window triggered a miss tone.

Fig. 1: Outcome-related DA is related to timing on the next trial.
Fig. 1: Outcome-related DA is related to timing on the next trial.

a, Self-timed movement task. b, Example timing distributions, pooled among same five mice as in Fig. 4. The black distribution shows the beginning of the session (trials 1–125) and the red distribution shows trials 376–500. c,d, The average outcome-related SNc (c) and striatal (d) DAN/DA signals. Shading represents the s.d. e,f, Timing-related DAN signals. e, Single examples of an early (red) and rewarded (purple) trial on trial n. f, DAN signals pooled by movement time and plotted up to 150 ms before spout contact. The x axis breaks indicate change of alignment. Pearson’s r represents the baseline GCaMP correlation with lick time on trial n + 1. g, The median change in timing on trial n + 1 as a function of first lick time on trial n (all mice, all sessions), corrected for potential regression-to-the-median effects (two-sided 10,000× bootstrap procedure; Methods). Δt represents the change in movement time (trial n + 1 minus trial n). Rewarded trials were followed by systematically earlier timing, whereas unrewarded trials (early and late) were followed by later timing. Shading represents the 95% CI.

Mice learned to self-time licks, producing timing distributions with broad variability typical of natural timing behaviour7,34,40,41,42,43 (Fig. 1b). The peak of the timing distribution reproducibly occurred at or before the earliest possible rewarded time, even in well-trained animals, consistent with findings from previous primate and rodent timing studies7,41,42,43,44 (Extended Data Fig. 1a,b). We found that this bias was due to the fact that even well-trained mice initially favoured early movement times at the beginning of each session (Fig. 1b (dashed trace)) before gradually shifting toward the reward window later in the session (Fig. 1b (red trace)). These reproducible behavioural patterns presented a unique opportunity to observe the relationship between DAN signalling and timing updates. We first exploited this natural variability in behavioural timing to examine whether DAN signalling was related to trial-to-trial timing updates. We then examined whether DAN signalling could explain longer-term trends in movement timing, which could serve as a potential calibration mechanism for the propensity to move.

Outcome-related DA signals

We used fibre photometry to monitor intracellular Ca2+ in genetically defined DANs expressing GCaMP6f, recording from cell bodies (substantia nigra (SNc), n = 4 DAT-cre mice; ventral tegmental area, VTA, n = 3 mice) and axon terminals (dorsolateral striatum, DLS, n = 4 mice). DANs exhibited RPE-like transients: unrewarded first licks were followed by small decreases in intracellular Ca2+; rewarded trials were followed by large increases (Fig. 1c). These signals were surprisingly persistent, decaying for greater than 10 s after the reward, much longer than the off-kinetics of GCaMP6f (t1/2 < 300 ms at 37 °C)45, and lasting seconds past cessation of the lick-bout, indicating that persistence was not due to ongoing licking. The same basic RPE-like features were present across DAN recording sites (SNc, VTA, DLS) and in striatal DA release (Fig. 1d), which we monitored using fluorescent DA sensors (dLight or GRAB-DA2m), expressed in either DLS or ventrolateral dorsal striatum (VLS)46,47 (Extended Data Fig. 2a,b).

In somatic Ca2+ signals, the decay of the outcome-related DA transient persisted into the baseline of the next trial (Fig. 1e), such that its amplitude was strongly correlated with a baseline offset (Pearson’s r = 0.68, 95% confidence interval (CI) = 0.59 to 0.75; Extended Data Fig. 2c). This offset was also strongly inversely correlated with timing on the next trial (Fig. 1f; Pearson’s r = −0.79, 95% CI = −0.84 to −0.73). Thus, larger outcome-related DA transients were associated with higher subsequent baseline signals and relatively early timing on the next trial, whereas smaller DA transients (and dips) were associated with lower baselines and relatively late timing. These correlations prompted us to examine whether the trial outcome might be related to changes in timing on the next trial.

Trial outcome and next-trial timing

There were four possible trial outcomes: (1) early, (2) rewarded, (3) late (during the intertrial interval (ITI)) or (4) no lick. As mice only rarely licked too late or did not lick, we initially focused analyses on early versus rewarded outcomes. Intuitively, early (unrewarded) trials should prompt slower timing on the next trial. Conversely, rewarded trials might prompt mice to move at about the same time on the next trial. To examine this, we compared the change in the movement time between consecutive trials, Δt(n + 1) − n. A potential confound is that, on average, relatively late trials might by chance tend to be followed by earlier trials (and relatively early followed by later). This regression-to-the-median phenomenon could occur even in the absence of goal-directed timing updates. We therefore compared Δt(n + 1) − n to the timing change expected by chance (n = 17 mice, 155 sessions; Methods). We found that Δt(n + 1) − n was consistently in excess of chance (Fig. 1g). After unrewarded trials, mice moved significantly later on the next trial (update = +74 ms, 95% CI = +41 ms to +106 ms; 10,000× bootstrap procedure). However, mice moved significantly earlier after rewarded trials: rather than repeating the rewarded movement time, mice sped up (update = −317 ms, 95% CI = −406 ms to −223 ms).

These effects suggest a ‘sloshing’ phenomenon whereby timing updates tended to adjust back and forth, depending on whether the animal was rewarded or not on the previous trial. This may seem unintuitive (and inconsistent with normative reinforcement learning; Discussion), but is not necessarily irrational: a thirsty mouse may want to move at the earliest possible rewarded time, but this time is uncertain—mice had to discover it through trial and error. By slowing down after early trials and speeding up after rewarded trials, this sloshing effect can cause the timing distribution to build-up around the earliest possible rewarded time.

DA transients explain changes in timing

We initially were prompted to look for timing updates because of the baseline offsets in somatic DAN Ca2+ signals, but these were not clearly present in striatal DA (Fig. 1d), suggesting that the baseline signal was not communicated to the striatum. Instead, the outcome-related transient, of which the amplitude contained information similar to the baseline, was present across all recording sites (Extended Data Fig. 2a). We therefore hypothesized that the outcome-related DA-transient amplitude might predict the bidirectional timing update on the next trial. To test this, we derived a generalized linear model (GLM) predicting the change in the movement time on the next trial, Δt(n + 1) − n, from the amplitude of the outcome-related DA transient (Fig. 2a). This amplitude was encoded as the DA signal averaged over 0 to 500 ms after the previous trial’s first lick (DA; Fig. 2b). We controlled for optical artifacts and ongoing body movements by including the tdTomato photometry channel (tdT), accelerometer and/or neck EMG signals as predictors.

Fig. 2: Outcome-related DAN signals predict changes in next trial timing.
Fig. 2: Outcome-related DAN signals predict changes in next trial timing.

a, GLM. accel., accelerometer. b, The average outcome-related SNc GCaMP signals (top) (4 mice, 20 sessions). Bottom, trial-by-trial variability in single-trial DAN signals. Each point is from a single trial; the signal was averaged over a 0.5 s window after the first lick (shaded rectangles). Points are jittered horizontally for clarity. c–e, GLM fit. c, Both single-trial and pooled-trial model fits for one session. P values for the DA fit coefficient were calculated using two-sided Wald tests. d,e, The distribution of R2 values for the same models (single trial (d) and pooled trial (e)) fit on all single-session datasets (all recording sites, all mice). XVal, cross-validated. f, Lick-triggered averages from each SNc GCaMP session. The thick lines indicate the average among sessions, and the thin lines show single-sessions. The black lines show trials with outcome-related DA amplitude within 1% of the amplitude predicted by the GLM to have approximately no update in timing on the next trial (DA0); the red and blue lines show trials predicted to have the largest early shifts (red) and largest late shifts (blue; DA > 0.1 and DA < 0.8 are shown to ensure similar numbers of trials in each pool).

Across all recording sites (and both GCaMP and DA sensors), DA was independently predictive of Δt(n + 1) − n (Fig. 2c–e and Extended Data Fig. 2d). The larger the DA-transient amplitude, the larger the update on the next trial (highest DA: largest early shifts; lowest DA: largest late shifts; Fig. 2f). We report the results for the full model to show the effects of DA in excess of potential optical/movement-related confounds, although, notably, leave-one-out cross-validation (LOOCV) indicated that DA was the only predictor in the most parsimonious model (Extended Data Fig. 3a–g). Including other DA features (such as baseline or cue-evoked signals) did not improve the model (P = 0.14, paired t-test of squared residuals, LOOCV), further indicating that the relevant signal was the outcome-related DA transient.

The outcome-related DA transient was independently predictive of Δt(n + 1) − n even when models were fit on single-trial datasets from each session (Fig. 2c,e and Extended Data Fig. 2e)—which was surprising, given that single-trial photometry data are inherently noisy. We are aware of only a few of examples of single-trial DA effects detected with photometry, with variance explained in those studies ranging from R2 = 0.0001 to 0.03 (refs. 11,22,48,49). By contrast, across all of the recording sites, the R2 of the single-trial GLM was 0.18 on average (0.16 after cross-validation; Fig. 2e), suggestive of a particularly strong effect.

These effects manifested on the next trial—10 to 20 s later. To determine how long effects persisted, we extended the ITI in a subset of sessions. The amplitude of the DA transient maintained its predictive power for ITIs of at least 60 s (P = 3 × 10−4, Wilcoxon rank-sum test; 3 mice, 14 sessions; Extended Data Fig. 3j,k).

The amplitude of the DA transient was strongly correlated with trial outcome. Although this would not preclude a causal role for DA, we tested whether additional information was present in DA signals by fitting separate models for early and rewarded trials. Both early and rewarded DA-transient amplitudes showed considerable trial-by-trial variability (Fig. 2b), which had additional predictive power beyond the trial outcome (Extended Data Figs. 2f and 3h,i). These effects were also not explained away by a tendency to revert toward the median movement time (shuffled-trial-order model: P = 7.2 × 10−9, Wilcoxon rank-sum test; Extended Data Figs. 3o and 4).

These findings were corroborated by linear mixed effects (LME) models of Δt(n + 1) − n that included the following predictors: (1) the aforementioned potential confounds; (2) additional variables to control for behavioural non-stationarity over the course of sessions; and (3) the DA signal at other moments during the trial (Extended Data Fig. 3l). Consistent with the single-session GLMs, outcome-related DA remained a significant predictor in both the full model and most parsimonious model (as determined by leave-one-subject-out cross-validation (LOSO-CV); Extended Data Figs. 2g and 3m,n), indicating that outcome-related effects of DA were not explained-away by these other factors. Likewise, the variance explained in the LME models was similar to that found in the single-session GLMs (predictive marginal R2 across recording sites: single-trial LME = 0.15 to 0.19 versus GLM = 0.11 to 0.18; pooled-trial LME = 0.51 to 0.76 versus GLM = 0.61 to 0.79).

Together, outcome-related DA transients were positioned to produce next-trial timing updates. Such effects indicate a single exposure to an endogenous DA transient was associated with a quantitative behavioural update that manifested 10 to 60 s later. To our knowledge, learning effects based on trial-by-trial variability in endogenous DA-reward transients have not been observed.

DANs cause next-trial timing updates

To test whether outcome-related DA could cause next-trial timing updates, we virally expressed channelrhodopsin (ChR2, n = 4 DAT-cre mice) in genetically defined DANs for optogenetic manipulations (Fig. 3a). To modulate outcome-related DAN signalling, we triggered stimulation in the SNc at the time of the first lick on 30% of randomly interleaved trials. Activation with ChR2 was calibrated7,32 outside the task to recapitulate endogenous DA-reward transients (Fig. 3b). During the task, activation triggered on unrewarded first licks produced outcome-related DA transients that matched the amplitude and width of the natural DA-reward transients observed on interleaved unstimulated trials (Fig. 3c and Extended Data Fig. 5a). Activation on rewarded trials slightly increased the reward-transient amplitude (Fig. 3c) but, on average, this remained within the range of unstimulated reward transients recorded on single trials during the same session (Extended Data Fig. 5b). To avoid photoswitching artifacts50 with rdLight1, we stimulated with comparatively low light power (5 mW) in the SNc, greater than 3 mm away from the striatal recording site. Control stimulations in mice expressing no opsin indicated that rdLight1 recordings were not contaminated by photoswitching50 (no-opsin control mice; Fig. 3d and Extended Data Fig. 5c,d).

Fig. 3: Outcome-related DA causes next-trial timing updates.
Fig. 3: Outcome-related DA causes next-trial timing updates.

a, Optogenetics strategy. b, Calibration of stimulation parameters outside the context of task. Mice received 10 unexpected juice rewards (approximately 4 µl) followed by sets of 10 trials of optogenetic stimulation, with each set testing different stimulation parameters (Methods). Left, stimulation-aligned rdLight1 signals from trials using the optimal stimulation parameters in one calibration session. Right, juice-aligned signals from the same calibration session. Coloured traces show ten single trials, and the black traces show the averages. c,d, Average VLS rdLight1 signals from all trials for one example ChR2 mouse (c) and one no-opsin mouse (d). Slight differences in DA dynamics before the lick between c and d were within the normal range of inter-animal variability seen in this task7. Data for all mice are shown in Extended Data Fig. 5. e, Single-trial (one-shot) stimulation effects. The box plots show the median (centre line), 25–75th percentiles (box limits) and the furthest point within 1.5 × interquartile range (IQR) of box edges (whiskers); points beyond whiskers are outliers. n = 4 (activation) and n = 4 (no-opsin) mice; 10 sessions per mouse. Statistical analysis was performed using two-sided Wilcoxon rank-sum tests; *P < 0.05.

DAN activation caused mice to move significantly earlier than expected on the next trial, with 4 out of 4 mice showing relatively early-shifted updates after stimulated trials compared with unstimulated trials (Fig. 3e and Methods; mean ΔΔt(n + 1) − n = −88 ms, P = 0.0019, 10,000× bootstrap procedure, n = 4 mice, 40 sessions). By contrast, stimulation in the no-opsin mice had no significant effect on Δt(n + 1) − n (mean ΔΔt(n + 1) − n = −6 ms, P = 0.40, 10,000× bootstrap test, n = 4 mice, 40 sessions). These results were consistent across three additional complementary statistical analyses (Extended Data Fig. 6a,b). The change in the amplitude of the DA transient between stimulated and unstimulated trials predicted the magnitude of the optogenetic effect on timing updates (P = 0.00030; Extended Data Fig. 5e), consistent with the predictions of the GLM (Extended Data Fig. 5f). Activation also caused significant early shifting of the timing distribution of the entire session compared with interleaved sham sessions (Extended Data Figs. 5g,h and 6c). This raised the possibility that outcome-related DA may normally control the set-point of the movement timing distribution, which we operationally define as the median first lick time.

Note that we also attempted to optogenetically inhibit DANs but, similar to others (ref. 33 and J. Dudman, personal communication), we could not block the reward transient by triggering inhibition on the first lick (Methods and Extended Data Fig. 5i,j)). We therefore examined reductions in outcome-related DA through non-optogenetic manipulations (discussed in the following sections).

DA explains the timing set-point

Counterintuitively, across timing paradigms, both rodents and primates often move too early, at the expense of a reward7,41,42,43,44 (Extended Data Fig. 1a). In our study, this early bias developed gradually over days (Extended Data Fig. 1c–f) and persisted even in expert mice with more than 70 sessions of experience7. Outcome-related DA also appeared highly skewed in this task, with disproportionately large reward transients compared with small unrewarded dips (Extended Data Fig. 7a), perhaps due to a floor effect. We also observed that high-amplitude (rewarded) DA transients caused much larger early shifts compared with relatively small late-shifts after DA dips and, overall, mice made larger updates after rewarded trials compared with unrewarded trials (median, −317 ms versus 74 ms; Fig. 1g). Together, this suggests that bias in DA signalling may explain early-biased timing behaviour.

However, behaviour was not early skewed for the entire session—all mice showed marked timing changes within each session, initially moving too early, but progressively shifting to later times (Fig. 4a,b and Extended Data Fig. 7b). If allowed to work until discontinuation of licking, the timing set-point (median of the timing distribution) ultimately eventually shifted into the reward window—suggestive of timing calibration (Extended Data Fig. 7c). Importantly, GLMs were robust to this non-stationarity (Extended Data Fig. 4c).

Fig. 4: Timing behaviour evolves over the course of each session.
Fig. 4: Timing behaviour evolves over the course of each session.

a, First-lick times (example session). Left, first-lick raster. Right, timing set-point (50-trial moving median of first-lick times; the shading shows the s.d.). b, Left, the set-point from 11 sessions and 5 mice (shown for comparison with the paired sessions in e and f). Right, quartile 1 (Q1) to Q4: pooled first-lick times from each quartile of trials. The proportion of timed responses (excluding false starts of <0.5 s) before the cross-over: 74.4% early, 25.1% correct and 0.5% late; and after the cross-over: 47.0% early, 46.1% correct and 6.9% late. c, The average lick-triggered DA from Q1 and Q4. d, Rewarded DA amplitude (rewDA) versus the set-point cross-over into the reward window (Methods). Example session (left), rewDA (middle). and unrewarded DA amplitude (unrewDA; right) for all sessions aligned to the cross-over. SNc GCaMP sessions are shown for clarity (for all mice; 28 mice, 193 sessions; Extended Data Fig. 7i). Pearson’s r was calculated for the average rewDA versus set-point. e,f, No-juice task (as in a,b). e, First-lick raster, example session. f, All 11 paired no-juice sessions (same mice as in b). Proportion of timed responses before the cross-over: 79.3% early, 20.2% correct, 0.5% late. After: 30.1% early, 46.7% correct, 23.2% late. g, The set-point at trial 250 for all paired +juice versus no-juice sessions (5 mice, 11 sessions each task). Statistical analysis was performed using a two-sided Wilcoxon rank-sum test; P = 0.0013. The box plots show the median (centre line), 25–75th percentiles (box limits) and the furthest point within 1.5 × IQR of box edges (whiskers); the points beyond the whiskers are outliers. h, The no-juice-task lick-triggered average DA. i,j, The rewDA for the +juice versus no-juice task (5 mice, 11 sessions each task). i, Q1 signals. j, Trial-number at 50% max rewDA. Statistical analysis was performed using a two-sided Wilcoxon rank-sum test P = 0.0073. k, No-juice cross-over versus rewDA (as in d). Median change: rewDA, 55% (s.d. = 24%); unrewDA, 81% (s.d. = 24%); set-point, 32% (s.d. = 9%).

We hypothesized that changes in outcome-related DA could explain changes in the set-point. Across each session, as the set-point shifted later, (1) rewarded trials were followed by progressively smaller updates (Extended Data Fig. 7d); and (2) rewarded-DA transient amplitudes progressively declined (Fig. 4c and Extended Data Figs. 7e,f and 8). Importantly, this decline was not explained away by bleaching or optical artifacts (Methods and Extended Data Fig. 7g).

Rewarded DA amplitude (hereafter, rewDA) was tightly correlated with the set-point within each session (median Pearson’s r (all datasets) = −0.74; Extended Data Fig. 7h). This was not the case for movement-related/optical artifacts (median Pearson’s r = −0.02 (tdTomato); Extended Data Fig. 7h). Notably, shifts were not always gradual—rewDA decreased precipitously during abrupt set-point shifts into the reward window (28 mice, 173 sessions; all recording sites; median rewDA versus set-point Pearson’s r = −0.97; Fig. 4d and Extended Data Fig. 7i), which was not explained away by optical/movement-related artifacts (Extended Data Fig. 7h). The decline in rewDA preceded the set-point change, consistent with the causal effects observed with optogenetics (P = 0.014, 10,000× bootstrap test of rewDA/set-point cross-correlation). Reinforcement learning frameworks predict that DA-reward-transient amplitudes should decline as rewards become more expected, but these observations suggest that this decline could have a biologically meaningful, causal effect on future behaviour, which we tested as follows.

DA calibrates the propensity to move

Together, across sessions and recording sites/modalities, the DA-reward transient amplitude decreased as timing shifted later, toward the reward window. Outcome-related DA transients also controlled trial-by-trial timing updates, and these updates became progressively smaller as behaviour became more accurate (Extended Data Fig. 7d). Together, these findings suggest an adaptive calibration process for motor timing. However, because the amplitude and set-point tended to change monotonically across the session, we tested several complementary manipulations to break the monotonicity between these co-variates, which produced late-to-early timing shifts and provided an alternative means of testing the impact of reduced DA-transient amplitude. In all settings, DA-reward transients explained bidirectional set-point changes as follows.

Different reward identities

First, we identified that well-trained mice continued to participate even when juice rewards were replaced by the usual correct tone (‘no-juice task’)—but set-point dynamics were markedly different (Fig. 4e,f and Extended Data Fig. 7j). Mice still tended to show early bias for the first approximately 150 trials but, notably, the set-point subsequently tended to suddenly shift into the reward window—significantly earlier in the session than in the +juice task (P = 0.001, Wilcoxon rank-sum test; 5 mice, 22 paired behaviour sessions; Fig. 4g). Mice continued to work for more than 700 trials per session with correct timing on most trials, exhibiting much more accurate timing than the same mice performing the +juice task on interleaved sessions.

Notably, mice still had DA reward transients in the no-juice task (in response to the correct tone; Fig. 4h), but these were narrower and smaller in amplitude than transients in the +juice task (Fig. 4i). Moreover, the transient amplitude declined significantly earlier in the session during no-juice sessions (n = 5 mice, 18 paired photometry sessions; P = 0.0073, Wilcoxon rank-sum test; Fig. 4j and Extended Data Fig. 7k–n), and the timing of this abrupt, early decline explained the rapid shift in the timing set-point (median single-session Pearson’s r = −0.78; Extended Data Fig. 7l,o). As in the +juice task, the rapid decline in rewDA preceded the set-point shift (Fig. 4k). These effects were not explained by ongoing body movements or optical artifacts (Extended Data Fig. 7l,n).

The persistence of high-amplitude reward transients in the +juice task suggests that juice skewed the normal timing updates: despite apparent motivation, mice received many fewer rewards/time compared to the no-juice task. The resulting early timing bias is reminiscent of the effects of DA-modulating drugs of abuse on timing behaviour, such as amphetamines38.

Abrupt changes in reward identity

Second, we trained mice to alternate between blocks of trials with either no-juice rewards (correct tone only) or with juice rewards. During no-juice blocks, the set-point rapidly late-shifted into the reward window (Fig. 5a). This was reversed in +juice blocks, in which the set-point rapidly shifted earlier (n = 3 mice, 5 block changes; P = 0.032, Wilcoxon rank-sum test). The DA-reward transient amplitude explained set-point shifts (median Pearson’s r = −0.89; Extended Data Fig. 9a,b).

Fig. 5: Outcome-related DA transients calibrate the propensity to move.
Fig. 5: Outcome-related DA transients calibrate the propensity to move.

a, Left, example alternating juice/no-juice task session (set-point: 35-trial moving median of first-lick time; Methods). Right, the set-point before and after block change (all mice, all block changes; Methods). A negative number indicates an early shift relative to the set-point at the block change. Statistical analysis was performed using a two-sided Wilcoxon rank-sum test; P = 0.032. b, Alternating stimulation blocks (stimulation only on rewarded trials). Left, the set-point (one example stimulation session). Right, comparison of the set-point as in a (ChR2 versus no-opsin mice, all block changes, all mice). c,d, The rapid satiation (RS) task. c, Left, set-point comparison for a paired rapid satiation session (red trace) versus a control session (purple trace) from the same mouse. ‘Pause’ indicates the trial at which mouse was given free access to juice (rapid satiation) or an empty syringe (control). Right, the set-point before versus after pause (all mice, all sessions), as in b. A positive value indicates late-shifting compared with the set-point at the pause. d, The rewDA before versus after the pause (all photometry sessions, all mice). The rewDA for each session was normalized to rewDA at the block change; a negative value indicates a decrease in rewDA. e–g, The timeshift task. e, The set-point for one example +juice session. f, Set-point versus rewDA (left) or unrewDA (right); example session. g, Pearson’s r was calculated for set-point versus rewDA (purple) or unrewDA (red; all sessions and mice). For a–d, the box plots show the median (centre line), 25–75th percentiles (box limits) and the furthest point within 1.5 × IQR of box edges (whiskers); the points beyond the whiskers are outliers. Statistical analysis was performed using two-sided Wilcoxon rank-sum tests; P < 0.01, P < 0.001. NS, not significant.

The rapid changes in DA-transient amplitude might be correlated—but not causal—to abrupt set-point shifts. We therefore had mice alternate between blocks of either no-juice or no-juice + stimulation, in which DANs were optogenetically activated triggered on first licks that occurred either within the reward window or on all trials (n = 3 mice, 20 block changes; Extended Data Fig. 9c–i). Stimulation was calibrated to recapitulate usual juice-related DA transients without delivering liquid rewards (Fig. 3b). The set-point rapidly late-shifted during no-juice blocks, but then rapidly early-shifted during +stimulation blocks (off–on, P = 0.001; on–off, P = 0.007; Wilcoxon rank-sum test; Extended Data Fig. 9d), even when stimulation was delivered only on rewarded trials (off–on, P = 0.009; on–off, P = 0.002; n = 2 mice, 12 block changes; Fig. 5b). Stimulation did not change the set-point in the no-opsin control mice (n = 4 mice, 20 block changes; Fig. 5b and Extended Data Fig. 9d–g). The amplitude of DA-reward transients explained set-point shifts (median Pearson’s r = −0.66 (stimulation), r = −0.56 (no-opsin); Extended Data Fig. 9f–i). These results emphasize that DA-reward transients induced early shifts—rather than reinforcing rewarded movement times.

Rapid satiation

Third, in addition to sudden shifts, the set-point also showed gradual late-drift across the session, potentially related to fatigue/satiation. We hypothesized that DA could also explain state/motivation-related shifts. We therefore tested whether rapid satiation could change DA-reward transients and set-point. After at least 100 trials of the +juice task and at least 10 rewards, the task was paused and the mice were allowed to drink ad libitum until they stopped licking available juice (n = 3 mice, 15 sessions; range = 0.75–1.8 ml; Fig. 5c,d). The task was then resumed. DA-reward transient amplitude and set-point remained highly anticorrelated (median Pearson’s r = −0.70; Extended Data Fig. 9j), but DA-reward transient amplitudes decreased precipitously after the pause (P = 8.5 × 10−5, Wilcoxon rank-sum test; n = 11 photometry sessions; Extended Data Fig. 9k), and the set-point showed significant late-shifting (P = 1.7 × 10−5, Wilcoxon rank-sum test; Extended Data Fig. 9l). By contrast, in interleaved control sessions (empty syringe; no juice during the pause), rewarded DA did not show this precipitous decrease (P = 0.0026; Fig. 5d) and there was no significant change in timing set-point (P = 0.18; Fig. 5c). Together, rapid juice consumption caused decreased DA-reward transient amplitudes and late-shifting.

Changing timing constraints

Finally, to test whether endogenous changes in DA-reward transients could re-calibrate the set-point, we changed the reward window in blocks of trials (timeshift task; for example, from 7–12 s to 2–3.3 s; n = 7 mice; Fig. 5e). The new reward window was not signalled and had to be discovered through trial and error. We hypothesized that DA-reward transient amplitudes would change as animals adapted to these changing timing constraints (for example, increase to produce early shifts; decrease to produce late shifts). As fatigue/satiety should increase monotonically across the session, we reasoned that early shifts would disentangle goal-directed processes from fatigue/satiation.

The timeshift task produced pronounced shifts in timing behaviour, including directed changes in timing in relation to the new reward window (Fig. 5e and Extended Data Fig. 9m) and exploratory behaviour that appeared to anticipate block changes (Extended Data Fig. 9n). The amplitude of rewarded-DA transients continued to explain the set-point (median Pearson’s r = −0.64; 7 mice, 54 sessions; Fig. 5f,g). Unrewarded DA transients were also significantly correlated with the set-point (median r = −0.36; Fig. 5g) and showed larger amplitude changes than in the original +juice task (Fig. 5f), possibly due to the need for much larger set-point shifts in the timeshift task. Early shifts were accompanied by increases in DA-transient amplitude (and late shifts by decreases). These effects were not explained away by optical artifacts (tdTomato: rewarded median r = −0.20; unrewarded r = 0.10; Extended Data Fig. 9o).

Together, these results show that changes in DA-reward transients cause shifts in the timing set-point, both in relation to changing environmental conditions (such as changes in timing contingencies for reward or the presence/absence of juice rewards) and internal state (such as gradual or rapid satiation). These findings demonstrate that DA-reward transients quantitatively and adaptively calibrate the propensity to move in response to both external and internal constraints.

Discussion

A cornerstone hypothesis of biological reinforcement learning is that DA-reward transients (whatever their nature3,5,16,19,51,52) lead to changes in future behaviour. However, to our knowledge, trial-by-trial variability in endogenous DA-reward transients has not been shown to relate to variability in subsequent behaviour, despite serious effort to detect such effects3,5,32,53,54. Here, we show that the amplitude of individual, native DA-reward transients is quantitatively predictive of a purposive, goal-directed update to movement timing on the next trial, as much as 60 s later. This suggests a functional link between reward signalling and the calibration of the propensity to move (an aspect of vigour), unifying two seemingly distinct aspects of DA function6. The relative amplitude of rewarded/unrewarded DA transients explained asymmetry in next-trial updates, and changes in the relative amplitude causally shifted the timing set-point, allowing animals to adjust to changing timing constraints. Similar effects were induced by changes in internal/motivational state (reward identity, satiety/fatigue), demonstrating that flexibility in reward-related DA signalling mediates both strategic and motivationally driven changes to movement timing. Together, the tripartite roles of DA in reward, movement and motivation are mechanistically linked through this calibration process.

Relationship to previous results

We and others have observed real-time effects of DA on movement—but over much shorter timescales (within hundreds of milliseconds before or during ongoing movements)7,23,24,25,26. Others have suggested that the endogenous effects of DA on vigour are related to slowly evolving or tonic DA signals6,22,27,30. Here we found that variability in baseline DAN Ca2+ signals could be traced back tens of seconds to variability in the amplitude of the previous trial’s outcome-related DA transient—and that variability in this transient can causally update timing on the next trial, greater than 10–60 s later, potentially by adjusting the set-point of the ramping process55,56,57.

Exogenous DA manipulations have been shown to gradually affect future behaviour, over many exposures10,12,14,28,58,59,60 (compare with ref. 33). Amplitudes of endogenous DA transients can also decrease across learning and in response to stress or punishment2,22,61,62, but again only gradually, and not linked to changes in behavioural vigour22. Recent work showed an increased repetition of behavioural motifs associated with spontaneous DA transients in freely behaving mice11, but this was outside a goal-directed context and did not explore the effects of DA-reward transients.

On the question of why we could detect next-trial effects of endogenous DA-reward transients on behavioural vigour when previous studies did not, one possibility is that our time-to-move metric provided a more sensitive behavioural readout than discrete reinforcement learning tasks, such as bandit tasks3,53,58, which may require multiple trials for effects to become manifest. Other work examining behavioural vigour in freely behaving animals (measured based on latency to initiate trials) may have missed next-trial effects due to high variance and long latency between trial starts4,5. Nevertheless, the accumulation of the next-trial effects of DA may be related to broader correlations between DA and vigour that have been observed when averaging over long timeframes4,5. The next-trial effects of DA might also be specific to movement initiation versus movement kinematics26,48—two potentially distinct aspects of vigour. Consistent with this idea, we could not detect differences in the EMG signals related to the first lick on early versus rewarded trials.

A recent mouse knockout model of action-potential-driven DA transients (RIMcKO) caused few gross motor deficits in these animals, although non-phasic DA release was still necessary for movement, and mice were generally less vigorous in a binary choice task27. Trial-by-trial timing updates might be absent in these mice, potentially preventing the mice from flexibly calibrating their timing based on trial outcome, therefore lowering overall vigour.

Proposed model

DA signals are often interpreted in the framework of normative reinforcement learning models. In the simplest model, rewards might reinforce rewarded lick times, but we found that DANs instead drove changes in timing on the next trial. This could still be consistent with reinforcement learning algorithms that learn to anticipate reward-relevant events, such as temporal difference learning63. If so, an informative case would be the infrequent late trials in our task, in which mice first licked after the end of the reward window and were therefore not rewarded. Reinforcement learning algorithms (such as Q-learning64) could, in principle, learn to promote earlier movements after late trials to increase the probability of reward. Instead, we found that late trials led to late-shifting on the next trial (Fig. 1g), in conjunction with DA dips (Extended Data Fig. 10a,b). This runs counter to the normative goal of maximizing future rewards. Parsimony therefore suggests a different model. We propose that DA transients rapidly—and in a fixed manner irrespective of the trial outcome—modulate the propensity to move, with larger DA transients leading to earlier movements and smaller transients, such as dips, leading to later movements (Extended Data Fig. 10c–e). Such an innate mechanism could quickly modulate vigour in response to action outcomes. It could also explain how DA-modulating drugs, such as amphetamines, increase vigour automatically and non-specifically without apparent learning65. Consistent with this idea, we found a similar negative correlation between DA-reward transients and trial-by-trial changes in the timing of movement when we re-analysed data from an unrelated cued-reaching task66, in which the timing of reaches had no bearing on whether reward was delivered or omitted (Extended Data Fig. 10f–h).

Critically, we are not arguing against the role of DA in reinforcement learning. On the contrary, rapid DA effects on vigour could operate in parallel—or even be synergistic—with slower, incremental DA-mediated reinforcement learning. For example, rapid vigour modulation could promote increased frequency and speed of all movements in reward-rich environments6, thereby increasing the number of opportunities to repeat rewarded actions that drive gradual reinforcement learning.

Regional DA heterogeneity has been proposed to mediate other aspects of reinforcement learning (such as learning across timescales, hierarchical/distributional reinforcement learning)67,68,69. We likewise observed typical regional differences in DA signals (for example, different DA-transient widths). Yet the trial-by-trial timing updates, encoded in the amplitude of the DA transient, were present everywhere we looked in the striatum. This suggests that, despite regional heterogeneity in DA dynamics, the amplitude-related timing updates of DA are broadcast more globally.

Potential biological mechanisms

Theories have been proposed to explain the effects of DA on vigour6,70, but their biological implementations were unclear. Given our findings, any proposed mechanism should (1) support bidirectional effects on timing; (2) have rapid onset (within seconds7); and (3) persist for at least tens of seconds.

One possibility is that DAN Ca2+ could carry over from the outcome-related transient to control next-trial timing updates—but we did not detect baseline offsets in striatal DA. Gradual DA-dependent plasticity in corticostriatal synapses59 might mediate longer-term learning in the task, but is probably too slow, incremental and metabolically inefficient to support back-and-forth trial-by-trial updates. Alternatively, DA also modulates the excitability of striatal projection neurons (SPNs)71,72. A salient example is a careful striatal slice study72, which found that calibrated, transient optogenetic stimulation of DAN axons caused rapid (subsecond) yet long-lasting (minutes) increases in the firing rate of direct pathway SPNs (dSPNs)72. This excitability effect was blocked by a specific inhibitor of protein kinase A (PKA). DA transients drive increased PKA activity in dSPNs in vivo, whereas DA dips cause increased PKA activity in indirect pathway SPNs (iSPNs), with a latency of seconds and persistence for tens of seconds73, similar to the dynamics of the effects we observed. DA-driven adjustments to the balance of dSPN–iSPN excitability could conceivably scale the dynamics of the cortical–basal ganglia–thalamic circuit65,74 to bidirectionally adjust timing, and modulate vigour more generally. The scaled-dynamics hypothesis suggested by our findings provides a testable framework for understanding vigour-related symptoms in movement disorders, such as bradykinesia in Parkinson’s disease.

Methods

Mice

We used adult male and female hemizygous DAT-cre mice75 (B6.SJL-Slc6a3tm1.1(cre)Bkmn/J; The Jackson Laboratory, 020080) or wild-type C57BL/6 mice (aged 2–12 months), which were randomly assigned to each cohort. Mice were housed in a temperature (20–22 °C) and humidity (30–70%) controlled facility on a reversed night/day cycle (12 h–12 h dark–light). Behavioural sessions occurred during the dark cycle. All protocols were approved by the Harvard Institutional Animal Care and Use Committee and MIT Committee on Animal Care (Harvard IACUC protocol 1343, Animal Welfare Assurance Number A3431-01; MIT CAC protocol 2306000543). All work was performed in accordance with the NIH Guide for the Care and Use of Laboratory Animals. Surgeries were conducted under aseptic conditions with every effort to minimize suffering, as we described previously7. Mice were water deprived as we described previously7 (≥80% initial body weight) with ad libitum feeding. Histology to confirm viral expression and fibre placement was conducted as we reported previously7.

Stereotaxic coordinates

Stereotaxic coordinates (from bregma and brain surface) were as follows. For viral injection: SNc7: 3.16 mm posterior, ±1.4 mm lateral, 4.2 mm ventral; VTA7: 3.1 mm posterior, ±0.6 mm lateral, 4.2 mm ventral; DLS7: 0 mm anterior, ±2.6 mm lateral, 2.5 mm ventral; VLS46: 0.34 mm anterior, ±2.75 mm lateral, 3.7 mm ventral (rdLight1/dLight1.3), 3.2 mm ventral (D1/A2A-cre; GCaMP).

Fibre optic tips (ventral position): 200 µm 0.53 NA or 0.55 NA blunt fibre optic cannulae (Doric Lenses) or tapered fibre optic cannulae (200 µm, 0.60 NA, 1.5, 2 or 2.5 mm tapered shank, OptogeniX) were positioned at the SNc, VTA, DLS or VLS as follows: SNc/VTA7: 4.0 mm (photometry) or 3.9 mm (optogenetics); DLS7: 2.311 mm (blunt) or 4.0 mm (tapered); VLS (rdLight1/dLight1.3): 3.4 mm (blunt); VLS46 (D1/A2A-cre; GCaMP): 3.0 mm (blunt or midpoint of 2.5 mm tapered).

Viruses

For photometry: optical control fluorophores were used as 500 nl alone (tdTomato: AAV1-CAG-FLEX-tdT, 5.3 × 1010 to 5.3 × 1012 genome copies (gc) per ml, UNC Vector Core; and GFP: AAV9.CB7.CI.eGFP.WPRE.rBG, 2.3 × 1012 vg per ml; Addgene, 105542) or mixed with the other following fluorophores: GCaMP6f (at the SNc or VTA): 300 nl AAV1.Syn.Flex.GCaMP6f.WPRE.SV40 (2.5 × 1013 gc per ml; Penn Vector Core) mixed 3:1 with tdTomato or mCherry (D1/A2A-cre experiments; AAV8-Syn-DIO-mCherry, 2 × 1012 gc per ml; Datta Lab); DA2m (at DLS): 200–300 nl AAV9-hSyn-DA4.4(DA2m) (3 × 1012 gc per ml; Vigene, MD) mixed 2:1 or 3:1 with tdTomato; dLight1.1 (at DLS): 300 nl AAV9.hSyn.dLight1.1.wPRE (9.6 × 1012 gc per ml, Children’s Hospital Boston) mixed 3:1 with AAV1.CB7.CI.TurboRFP.WPRE.rBG (1012 gc per ml, Penn Vector Core); rdLight1 (at VLS): 500 nl AAV2/9-Syn-RdLight1.0 (2 × 1012 gc per ml; #construct-1646-aav2-9, Canadian Neurophotonics Platform (CNP)); dLight1.3 (at VLS): 500 nl AAV2/DJ-CAG-dLight1.3b (2 × 1012 gc per ml, CNP).

For optogenetic stimulation/inhibition (bilateral at the SNc), ChR2: 1,000 nl AAV5-EF1a-DIO-hChR2(H134R)-eYFP-WPRE-pA (3.2 × 1013 gc per ml, UNC Vector Core); and stGtACR2: 300 nl AAV2/8-hSyn1-SIO-stGtACR2-FusionRed (4.7 × 1011 gc per ml, Addgene/Janelia Viral Core) were used.

Behaviour

Software

Behaviour was run using a custom behavioural recording set up with an Arduino-based state system architecture coupled to a MATLAB serial interface, and behavioural data were recorded with a CED Power or Micro 1401 data acquisition system running Spike2 v.7 or 12 software from Cambridge Electronic Devices. Behavioural software was designed for use with Arduino IDE 2.3.10 and MATLAB 2023B.

Self-timed movement task (original + Juice version)

Mice were head-fixed with a juice tube positioned in front of the tongue. The spout was placed ~1–1.5 mm ventral and ~1–1.5 mm anterior to the mouth. During periods when rewards were not available, a houselamp was illuminated. At the trial start, the houselamp turned off, and a random delay ensued (0.4–1.5 s) before a cue (simultaneous LED flash and 3,300 Hz tone, 100 ms) indicated start of the timing interval. The timing interval was divided into two windows, early (0–3.333 s) and reward (3.333–7 s), followed by the ITI (10 s in the usual task; 60 s in the long-ITI task). The window in which the mouse first licked determined the trial outcome (early, reward, late or no-lick). An early first lick caused an error tone (440 Hz, 200 ms) and houselamp illumination, and the mouse had to wait until the full trial interval had elapsed before beginning the ITI. Thus, there was no advantage to licking early. A first lick during the reward window caused a reward tone (5,050 Hz, 200 ms) and juice delivery (~4 µl apple juice or Gatorade; +juice task), and the houselamp remained off until the end of the trial. If the timing interval elapsed with no lick, a time-out miss tone played (131 Hz, 2 s), the houselamp turned on and the ITI commenced. During the ITI and pre-cue delay (lamp-off interval), there was no penalty or feedback for licking. Mice learned the task in three stages (beginner, intermediate and expert), as described previously7. All mice learned the task and typically worked for around 500 trials per session. Details on all other task variants and training protocols are provided in the ‘Details of behavioural tasks’ section of the Supplementary Methods.

R2M analyses

We define regression-to-the-median (R2M) on each trial, n, as:

Where tn is the movement time on trial n and Tn is the vector of local movement times in consideration. We say ‘in consideration’ because we cannot simply use all movement times in the session due to slow, non-stationarity in the timing distribution across the session, which might arise from processes other than learning (such as satiation/fatigue) and which necessitates a more local calculation of median(Tn) to isolate local non-stationarity arising from trial-by-trial updates. Thus, the median(Tn) is an uncertain quantity. To address this, we calculated median(Tn) using three complementary methods (detailed derivation and validation of these analyses are provided in the ‘Regression-to-the-median analyses’ section of the Supplementary Methods). The results reported were robust to the method used to estimate median(Tn).

R2Mn for each method was then compared to the true Δtn on each trial, defined as in the rest of the paper (Δtn = tn + 1 − tn; where late-shifting is positive by convention). Owing to the high level of trial-by-trial variability, we resolved Δt in excess of R2M as a significant difference between the distributions of R2Mn versus Δtn across all trials (R2M and ΔT), calculated by Wilcoxon rank-sum test. The median of each distribution was then used to calculate ΔT in excess of chance (Fig. 1g) defined as:

Photometry

Recording sites and modalities

Photometry datasets were collected from all recording sites/modalities in the original +juice task. Consequently, GLM/LME-modelling and cross-over analyses were performed for all datasets. Optogenetic and task manipulations (Figs. 3–5) were all collected from the VLS rdLight1 cohort.

Signal collection

Fibre optics were illuminated with 475 nm blue LED light (Plexon, TX or Doric Lenses Integrated Photometry Cube) (SNc/VTA, 50μW; DLS, 35μW; VLS, 30 µW) measured at the patch cable tip with a light-power meter (Thorlabs). Green fluorescence was collected using a custom dichroic mirror (Doric Lenses) and detected with a Newport 1401 Photodiode (Newport) or integrated Doric cube. For red florescence, 550 nm lime LEDs were used (Plexon or Doric Lenses Integrated Photometry Cube). Fluorescence was allowed to recover for at least 1 day between recording sessions. To avoid optical cross-talk, the optical control channel (such as tdTomato or GFP) was recorded at one of the other implanted sites while GCaMP6f, dLight1.1/1.3/rdLight1 or DA2m were recorded simultaneously only at the other implanted sites.

ΔF/F

Raw fluorescence for each session was pre-processed by removing rare singularities (single points >15 s.d. from the mean) by interpolation to obtain F(t). To correct photometry signals for bleaching, ΔF/F was calculated as:

where F0(t) is the mean fluorescence during the 5 s preceding the current trial, as well as 5 trials before the current trial and the 5 trials after the current trial (as we characterized and validated previously)7.

GLM

To test the independent contribution of each task-related input to the photometry signal and select the best model, we used nested fitting, in which each dataset was fit multiple times (in permuted nests), with models becoming progressively more complex in subsequent nests.

The outcome-related photometry signal was taken as the mean ΔF/F signal within the first 500 ms after the first lick (peak or median dF/F produced similar results). All dj design matrix predictors were 0,1 normalized.

The GLM for each nest took the form:

where Y is the 1 × N vector of the change in the movement time between the current trial, n, and the next trial, n + 1 (Δt(n + 1) − n), where N is the total number of trials in the session; X(j) is the d × N design matrix for nest j, where the rows correspond to the dj predictors for nest j and the columns correspond to each of the N trials of Y; and Θ is the d × 1 vector of fit weights. Owing to day-to-day/mouse-to-mouse variation (ascribable to many possible sources, for example, different neural subpopulations, expression levels, behavioural states), each session was fit separately. To guard against a trivial relationship between the trial outcome and DA signal, separate models were fit for early or rewarded trials.

Model selection was performed by leave-one-out cross-validation on nested models from each session and dataset. The most predictive model was identified as the model with the lowest cross-validated MSE for each session (further details on model development and selection are provided in the ‘GLM’ section of the Supplementary Methods).

Details on the residual GLM (Extended Data Fig. 4a) are provided in the ‘Residual GLM’ section of the Supplementary Methods.

Details on the shuffled models (Extended Data Fig. 4a–c) are provided in the ‘Shuffled GLM’ section of the Supplementary Methods.

LME model. As a complementary approach to the GLM modelling of Δt, we fit a LME model of the form:

Where \(\Delta {T}_{m,s,n}={T}_{m,s,(n+1)}-{T}_{m,s,n}\) is the update to timing after trial n for each m mouse, s session and trials n = 1, …, N − 1 in each session; the notations (r) and (f) denote random and fixed effects, respectively; \({{\bf{X}}}_{m,s,n}^{(f)}\) is a row vector of covariates, and \({{\boldsymbol{\beta }}}^{(f)}\) denotes a column vector of fixed effects. Crossed random intercepts for subject and session were included to account for repeated measures. All fixed effect predictors were 0–1 normalized to allow for directly comparable coefficient values across the full range of each predictor.

The LME was fit using MATLAB’s fitlme function, specified in their notation as Δt ~ X + (1|subject) + (1|session). If the design matrix was rank deficient, redundant predictors were identified by QR decomposition with column pivoting and removed before fitting. Model selection proceeded by fitting a nested sequence of models of increasing complexity; the most predictive model (best model) was selected by leave-one-subject-out cross-validation (LOSO-CV), whereby each mouse was held out in turn and predictions were generated from a model fit on the data of the remaining mice. Nesting was displayed in two sequences to highlight different forms of the model: the first sequence assessed for DA effects versus trial-outcome and R2M predictors. The second sequence included all predictors. Model selection was based on the model with the lowest predictive marginal MSE out of both sequences. Both the marginal predictive R2 (fixed effects only, reflecting population-level generalization) and conditional predictive R2 (variation explained by both fixed + random effects) were computed (and verified to be approximately equal, as expected for LOSO-CV); the model with the highest marginal predictive R2 consistently had the lowest predictive marginal MSE. These nested models were fit both for single-trial data and pooled-trial data, whereby each session’s trials were pooled into ten evenly sized bins based on the DA signal and all predictors within the bin were averaged.

Additional details on model design are provided in the ‘LME’ section of the Supplementary Methods.

Bleaching analyses

Details on the bleaching analyses are provided in the ‘Bleaching analyses’ section of the Supplementary Methods.

Optogenetics

Opsin expression

Three cohorts of mice were tested: activation (ChR2, 4 mice), inhibition (stGtACR2, 4 mice; or JAWS, 1 mouse) and no-opsin (no SNc injection, 4 mice). All mice co-expressed rdLight1 at the VLS for co-monitoring of stimulation effects on DA release. All stimulations were delivered through fibre optic cannulae implanted over the SNc.

Co-monitored photometry

We selected ChR2 (blue-activated opsin)/rdLight1 (green-excited fluorophore) as our DA co-monitoring strategy because we had previously observed issues with off-target excitation of red light activated opsins (such as ChrimsonR) during prolonged co-recording of dLight1.1 (a blue-light-excited fluorophore) in DLS (red opsins are also activated by blue light, albeit with lower efficiency, which becomes significant during hours-long time courses of photometry illumination in our behavioural sessions)7. This off-target excitation would have created a confound, because we had previously shown that DAN activation limited to the self-timing interval increases the probability of early first licks7. By contrast, ChR2 is not appreciably activated by green light (used for rdLight1 excitation), and was therefore a cleaner preparation. One challenge of blue stimulation/green-excited photometry is that the stimulation light causes a DC-offset artifact in the red photometry channel while the stimulation LED is turned on. To avoid cross-talk between the stimulation LED and the photometry recording, two complimentary correction methods were used, with similar results: (1) the brief stimulation up-times were omitted from the photometry signal (missing points filled by interpolation); or (2) the signal was decontaminated by measuring the instantaneous increase in the rdLight1 signal at the onset of each pulse of blue light, which was subtracted from the voltage trace during each pulse. Both corrections were taken before dF/F correction and yielded similar photometry signals; however, the second method had the advantage of compatibility with continuous illuminations used during stGtACR2 inhibition experiments (see below).

Stimulation parameter calibration

Stimulation parameters were initially calibrated outside the context of the task. Mice sat on the typical behavioural platform and received 10 unexpected juice rewards (approximately 4 µl each), spaced at least 15 s apart. A grid screen of stimulation parameters and light powers identified conditions that best recapitulated both the amplitude and width of the typical reward-related transient. Mice received ten stimulations with each stimulation protocol, and DA release in the VLS was monitored throughout the calibration procedure with rdLight1. The light intensity and pulse width were varied until the resulting rdLight transient matched the amplitude and width typically seen with unexpected juice rewards.

Final parameters used in activation experiments were as follows: optogenetic stimulation was delivered bilaterally through blunt fibre optics at the SNc (5 mW 465 nm LED, 10 Hz, 250 ms, 35% duty cycle). One ChR2 mouse had a partial response to 5 mW blue light and therefore received 10 mW blue light, with a larger but still partial effect (mouse X4-3-1M). One mouse from the pilot study (X4-1-1M) had different parameters for its first four sessions (10 Hz, 500 ms, 20% duty cycle), which produced slightly wider DA transients but behavioural effects consistent with the optimized parameters.

Details on inhibition experiments are provided in the ‘Stimulation parameter calibration: inhibition’ section of the Supplementary Methods.

One-shot stimulation analyses

Initial power simulations indicated that approximately 5,000 trials (10 × 500 trial sessions) would be necessary to achieve 80% power to detect a 20% change in first-lick time. Thus, at least 10 sessions of stimulation (around 500 trials each) were collected from eachmouse. Three complementary analyses examined single-trial stimulation effects (Extended Data Fig. 6b). (1) deldel: the difference in the timing update between stimulated (del1) versus unstimulated trials (del2): \(\Delta ({\Delta t}_{(n+1)-n}{)}_{\text{stim}-\text{unstim}}\,=\) \({\Delta t}_{(n+1)-n|{\text{trial}}_{n}\text{stimulated}}-{\Delta t}_{(n+1)-n|{\text{trial}}_{n}\text{unstimulated}}\). (2) dAUC: the difference in the area under the first-lick empirical continuous distribution function (eCDF) curve of the next trial (n + 1) timing distribution for stimulated versus unstimulated trials (as described previously7). (3) cdf-rank: the percentage of points in the n+1th trial eCDF after stimulated trials that were less than matching points in the n+1th trial eCDF after unstimulated trials. eCDFs were interpolated such that each point was matched between the stimulated and unstimulated curves.

Further details are provided in the ‘One-shot stimulation analysis’ section of the Supplementary Methods.

Optogenetic dose–response relationship

In a separate set of sessions, stimulation was delivered in blocks of trials that were at least 100 trials long (no-stim blocks: no stimulation; stim blocks: stimulation triggered on 100% of correct first licks). Light powers were varied between sessions to examine different optogenetic effect sizes (0–10 mW, where 0 mW and no-opsin mice were used as controls). The magnitude of stimulation effects on behaviour and DA was quantified as the ratio (stim block:no-stim block) of the median of the timing distribution in each block (optogenetic timing effect) and the mean amplitude of the rewarded DA transient in each block (rewDA; optogenetic DA effect; further details are provided in the ‘Dose–response experiments’ section of the Supplementary Methods).

Cued-reaching task

Behaviour and analysis

dLight1.1 fibre photometry recordings were taken from the pDMSt during the cued-reaching task as previously described66. z-normalized ΔF/F was calculated over a 30 s running baseline window. Reaches were determined from the video, as described in ref. 66. The metric of DA for rewarded trials was encoded as the single-trial maximum signal within a 12 s window starting 1.5 s before the reach, minus the average baseline signal over the 1.5 s interval preceding the reach. As miss trials, defined as a reach when the pellet was omitted, were not associated with transient DA increases, the metric of DA on miss trials was designated to capture sustained DA signals. The metric of DA on miss trials was the mean signal 0.95 to 2.7 s after the cued reach (these means were not baseline subtracted). Δt-reach was defined as the reaction time on trial n + 1 minus the reaction time on trial n. A minimum ITI of 18 s was enforced to ensure a several second delay between cessation of food pellet chewing and the next trial-start. Ongoing body movements/optical artifacts were controlled for with a movement predictor, computed as a robust z-score of the absolute derivative of video pixel intensity within the video zone overlapping the position of the paws before the start of a reach. GLMs of the form Δt-reach ~ DA + movement + b0 were fit on 0–1-normalized predictors. Single-session models were fit on all sessions with over 20 trials of each category of trial. For regression models that pooled trials among sessions, regressions were fit on 0–1-normalized predictors normalized within each session.

Ethics statement

All animal protocols were approved by the Harvard Institutional Animal Care and Use Committee and MIT Committee on Animal Care (Harvard IACUC protocol 1343, Animal Welfare Assurance number A3431-01; MIT CAC protocol 2306000543). All work was performed in accordance with the NIH Guide for the Care and Use of Laboratory Animals.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by Nature
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗