Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

  • Article
  • Published:

Using temperature to analyze the neural basis of a time-based decision

Abstract

The basal ganglia are thought to contribute to decision-making and motor control. These functions are critically dependent on timing information, which can be extracted from the evolving state of neural populations in their main input structure, the striatum. However, it is debated whether striatal activity underlies latent, dynamic decision processes or kinematics of overt movement. Here, we measured the impact of temperature on striatal population activity and the behavior of rats, and compared the observed effects with neural activity and behavior collected in multiple versions of a temporal categorization task. Cooling caused dilation, and warming contraction, of both neural activity and patterns of judgment in time, mimicking endogenous decision-related variability in striatal activity. However, temperature did not similarly affect movement kinematics. These data provide compelling evidence that the timecourse of evolving striatal activity dictates the speed of a latent process that is used to guide choices, but not continuous motor control. More broadly, they establish temporal scaling of population activity as a likely neural basis for variability in timing behavior.

This is a preview of subscription content, access via your institution

Access options

Buy this article

Prices may be subject to local taxes which are calculated during checkout

Fig. 1: Temperature rescaled single striatal neuron responses monotonically in time.
Fig. 2: Temperature rescaled striatal population activity in time leading to graded monotonic modulation of decoded time estimates.
Fig. 3: Conditioning striatal activity on behavior produced monotonic modulation of population speed and decoded estimates of elapsed time.
Fig. 4: Conditioning behavior on striatal population speed or temperature produced monotonic modulation of temporal judgments.
Fig. 5: Striatal temperature affected the kinematics of movement nonmonotonically.

Similar content being viewed by others

Data availability

Raw data are available in a Figshare public repository66.

Code availability

Analysis code that supports the findings of this study are available from the corresponding author upon reasonable request.

References

  1. Paton, J. J. & Buonomano, D. V. The neural basis of timing: distributed mechanisms for diverse functions. Neuron 98, 687–705 (2018).

    CAS  PubMed  PubMed Central  Google Scholar 

  2. Buonomano, D. V. & Merzenich, M. M. Temporal information transformed into a spatial code by a neural network with realistic properties. Science 267, 1028–1030 (1995).

    CAS  PubMed  Google Scholar 

  3. Wang, J., Narain, D., Hosseini, E. A. & Jazayeri, M. Flexible timing by temporal scaling of cortical responses. Nat. Neurosci. 21, 102–110 (2018).

    CAS  PubMed  Google Scholar 

  4. Merchant, H. & Averbeck, B. B. The computational and neural basis of rhythmic timing in medial premotor cortex. J. Neurosci. 37, 4552–4564 (2017).

    CAS  PubMed  PubMed Central  Google Scholar 

  5. Kim, J., Ghim, J.-W., Lee, J. H. & Jung, M. W. Neural correlates of interval timing in rodent prefrontal cortex. J. Neurosci. 33, 13834–13847 (2013).

    CAS  PubMed  PubMed Central  Google Scholar 

  6. Bakhurin, K. I. et al. Differential encoding of time by prefrontal and striatal network dynamics. J. Neurosci. 37, 854–870 (2017).

    PubMed  PubMed Central  Google Scholar 

  7. Jazayeri, M. & Shadlen, M. N. A neural mechanism for sensing and reproducing a time interval. Curr. Biol. 25, 2599–2609 (2015).

    CAS  PubMed  PubMed Central  Google Scholar 

  8. Doya, K. What are the computations of the cerebellum, the basal ganglia and the cerebral cortex? Neural Netw. 12, 961–974 (1999).

    CAS  PubMed  Google Scholar 

  9. Alexander, G. E., Crutcher, M. D. & DeLong, M. R. Basal ganglia-thalamocortical circuits: parallel substrates for motor, oculomotor, ‘prefrontal’ and ‘limbic’ functions. Prog. Brain Res. 85, 119–146 (1990).

    CAS  PubMed  Google Scholar 

  10. Gallistel, C. R. & Gibbon, J. Time, rate, and conditioning. Psychol. Rev. 107, 289–344 (2000).

    CAS  PubMed  Google Scholar 

  11. Graybiel, A. M. The basal ganglia and chunking of action repertoires. Neurobiol. Learn. Mem. 70, 119–136 (1998).

    CAS  PubMed  Google Scholar 

  12. Hidalgo-Balbuena, A. E., Luma, A. Y., Pimentel-Farfan, A. K., Peña-Rangel, T. & Rueda-Orozco, P. E. Sensory representations in the striatum provide a temporal reference for learning and executing motor habits. Nat. Commun. 10, 1–15 (2019).

    CAS  Google Scholar 

  13. Malapani, C. et al. Coupled temporal memories in Parkinson’s disease: a dopamine-related dysfunction. J. Cogn. Neurosci. 10, 316–331 (1998).

    CAS  PubMed  Google Scholar 

  14. Freeman, J. S. et al. Abnormalities of motor timing in Huntington’s disease. Parkinsonism Relat. Disord. 2, 81–93 (1996).

    CAS  PubMed  Google Scholar 

  15. Coull, J. T., Vidal, F., Nazarian, B. & Macar, F. Functional anatomy of the attentional modulation of time estimation. Science 303, 1506–1508 (2004).

    CAS  PubMed  Google Scholar 

  16. Rao, S. M., Mayer, A. R. & Harrington, D. L. The evolution of brain activation during temporal processing. Nat. Neurosci. 4, 317–323 (2001).

    CAS  PubMed  Google Scholar 

  17. Meck, W. H. Neuroanatomical localization of an internal clock: a functional link between mesolimbic, nigrostriatal, and mesocortical dopaminergic systems. Brain Res. 1109, 93–107 (2006).

    CAS  PubMed  Google Scholar 

  18. Mello, G. B. M., Soares, S. & Paton, J. J. A scalable population code for time in the striatum. Curr. Biol. 25, 1113–1122 (2015).

    CAS  PubMed  Google Scholar 

  19. Jin, D. Z., Fujii, N. & Graybiel, A. M. Neural representation of time in cortico-basal ganglia circuits. Proc. Natl Acad. Sci. USA 106, 19156–19161 (2009).

    CAS  PubMed  PubMed Central  Google Scholar 

  20. Matell, M. S., Meck, W. H. & Nicolelis, M. A. L. Interval timing and the encoding of signal duration by ensembles of cortical and striatal neurons. Behav. Neurosci. 117, 760–773 (2003).

    PubMed  Google Scholar 

  21. Kim, J., Kim, D. & Jung, M. W. Distinct dynamics of striatal and prefrontal neural activity during temporal discrimination. Front. Integr. Neurosci. 12, 34 (2018).

    PubMed  PubMed Central  Google Scholar 

  22. Gouvêa, T. S. et al. Striatal dynamics explain duration judgments.eLife 4, e11386 (2015).

    PubMed  PubMed Central  Google Scholar 

  23. Robertson, R. M. & Money, T. G. A. Temperature and neuronal circuit function: compensation, tuning and tolerance. Curr. Opin. Neurobiol. 22, 724–734 (2012).

    CAS  PubMed  Google Scholar 

  24. Tang, L. S. et al. Precise temperature compensation of phase in a rhythmic motor pattern. PLoS Biol. 8, e1000469 (2010).

    PubMed  PubMed Central  Google Scholar 

  25. Hamaguchi, K., Tanaka, M. & Mooney, R. A distributed recurrent network contributes to temporally precise vocalizations. Neuron 91, 680–693 (2016).

    CAS  PubMed  PubMed Central  Google Scholar 

  26. Banerjee, A., Egger, R. & Long, M. A. Using focal cooling to link neural dynamics and behavior. Neuron 109, 2508–2518 (2021).

    CAS  PubMed  PubMed Central  Google Scholar 

  27. Long, M. A. & Fee, M. S. Using temperature to analyse temporal dynamics in the songbird motor pathway. Nature 456, 189–194 (2008).

    CAS  PubMed  PubMed Central  Google Scholar 

  28. Long, M. A. et al. Functional segregation of cortical regions underlying speech timing and articulation. Neuron 89, 1187–1193 (2016).

    CAS  PubMed  PubMed Central  Google Scholar 

  29. Xu, M., Zhang, S.-Y., Dan, Y. & Poo, M.-M. Representation of interval timing by temporally scalable firing patterns in rat prefrontal cortex. Proc. Natl Acad. Sci. USA 111, 480–485 (2014).

    CAS  PubMed  Google Scholar 

  30. Owen, S. F., Liu, M. H. & Kreitzer, A. C. Thermal constraints on in vivo optogenetic manipulations. Nat. Neurosci. 22, 1061–1065 (2019).

    CAS  PubMed  PubMed Central  Google Scholar 

  31. Aronov, D. & Fee, M. S. Analyzing the dynamics of brain circuits with temperature: design and implementation of a miniature thermoelectric device. J. Neurosci. Methods 197, 32–47 (2011).

    PubMed  PubMed Central  Google Scholar 

  32. Jun, J. J. et al. Fully integrated silicon probes for high-density recording of neural activity. Nature 551, 232–236 (2017).

    CAS  PubMed  PubMed Central  Google Scholar 

  33. Machado, A., Malheiro, M. T. & Erlhagen, W. Learning to time: a perspective. J. Exp. Anal. Behav. 92, 423–458 (2009).

    PubMed  PubMed Central  Google Scholar 

  34. Gouvêa, T. S., Monteiro, T., Soares, S., Atallah, B. V. & Paton, J. J. Ongoing behavior predicts perceptual report of interval duration. Front. Neurorobot. 8, 10 (2014).

    PubMed  PubMed Central  Google Scholar 

  35. Kawai, R. et al. Motor cortex is required for learning but not for executing a motor skill. Neuron 86, 800–812 (2015).

    CAS  PubMed  PubMed Central  Google Scholar 

  36. Safaie, M. et al. Turning the body into a clock: accurate timing is facilitated by simple stereotyped interactions with the environment. Proc. Natl Acad. Sci. USA 117, 13084–13093 (2020).

    CAS  PubMed  PubMed Central  Google Scholar 

  37. De Kock, R., Gladhill, K. A., Ali, M. N., Joiner, W. M. & Wiener, M. How movements shape the perception of time. Trends Cogn. Sci. 25, 950–963 (2021).

    PubMed  PubMed Central  Google Scholar 

  38. Killeen, P. R. & Fetterman, J. G. A behavioral theory of timing. Psychol. Rev. 95, 274–295 (1988).

    CAS  PubMed  Google Scholar 

  39. Rueda-Orozco, P. E. & Robbe, D. The striatum multiplexes contextual and kinematic information to constrain motor habits execution. Nat. Neurosci. 18, 453–460 (2015).

    CAS  PubMed  PubMed Central  Google Scholar 

  40. Dhawale, A. K., Wolff, S. B. E., Ko, R. & Ölveczky, B. P. The basal ganglia control the detailed kinematics of learned motor skills. Nat. Neurosci. 24, 1256–1269 (2021).

    CAS  PubMed  Google Scholar 

  41. Cruz, B. F. et al. Action suppression reveals opponent parallel control via striatal circuits. Nature 607, 521–526 (2022).

    CAS  PubMed  Google Scholar 

  42. Panigrahi, B. et al. Dopamine is required for the neural representation and control of movement vigor. Cell 162, 1418–1430 (2015).

    CAS  PubMed  Google Scholar 

  43. Mathis, A. et al. DeepLabCut: markerless pose estimation of user-defined body parts with deep learning. Nat. Neurosci. 21, 1281–1289 (2018).

    CAS  PubMed  Google Scholar 

  44. Turner, R. S. & Desmurget, M. Basal ganglia contributions to motor control: a vigorous tutor. Curr. Opin. Neurobiol. 20, 704–716 (2010).

    CAS  PubMed  PubMed Central  Google Scholar 

  45. Murakami, M., Vicente, M. I., Costa, G. M. & Mainen, Z. F. Neural antecedents of self-initiated actions in secondary motor cortex. Nat. Neurosci. 17, 1574–1582 (2014).

    CAS  PubMed  Google Scholar 

  46. Crowe, D. A., Zarco, W., Bartolo, R. & Merchant, H. Dynamic representation of the temporal and sequential structure of rhythmic movements in the primate medial premotor cortex. J. Neurosci. 34, 11972–11983 (2014).

    CAS  PubMed  PubMed Central  Google Scholar 

  47. Leon, M. I. & Shadlen, M. N. Representation of time by neurons in the posterior parietal cortex of the macaque. Neuron 38, 317–327 (2003).

    CAS  PubMed  Google Scholar 

  48. Merel, J., Botvinick, M. & Wayne, G. Hierarchical motor control in mammals and machines. Nat. Commun. 10, 5489 (2019).

    PubMed  PubMed Central  Google Scholar 

  49. Markowitz, J. E. et al. The striatum organizes 3D behavior via moment-to-moment action selection. Cell 174, 44–58.e17 (2018).

    CAS  PubMed  PubMed Central  Google Scholar 

  50. Okobi, D. E. Jr, Banerjee, A., Matheson, A. M. M., Phelps, S. M. & Long, M. A. Motor cortical control of vocal interaction in neotropical singing mice. Science 363, 983–988 (2019).

    CAS  PubMed  Google Scholar 

  51. Parker, A. J. & Newsome, W. T. Sense and the single neuron: probing the physiology of perception. Annu. Rev. Neurosci. 21, 227–277 (1998).

    CAS  PubMed  Google Scholar 

  52. Pearl, J. Causality (Cambridge Univ. Press, 2009).

  53. Matell, M. S. & Meck, W. H. Cortico-striatal circuits and interval timing: coincidence detection of oscillatory processes. Brain Res. Cogn. Brain Res. 21, 139–170 (2004).

    PubMed  Google Scholar 

  54. Egger, R. et al. Local axonal conduction shapes the spatiotemporal properties of neural sequences. Cell 183, 537–548.e12 (2020).

    CAS  PubMed  PubMed Central  Google Scholar 

  55. Murray, J. M. & Escola, G. S. Learning multiple variable-speed sequences in striatum via cortical tutoring. eLife 6, e26084 (2017).

    PubMed  PubMed Central  Google Scholar 

  56. McHaffie, J. G., Stanford, T. R., Stein, B. E., Coizet, V. & Redgrave, P. Subcortical loops through the basal ganglia. Trends Neurosci. 28, 401–407 (2005).

    CAS  PubMed  Google Scholar 

  57. Soares, S., Atallah, B. V. & Paton, J. J. Midbrain dopamine neurons control judgment of time. Science 354, 1273–1277 (2016).

    CAS  PubMed  Google Scholar 

  58. Gibbon, J. Scalar expectancy theory and Weber’s law in animal timing. Psychol. Rev. 84, 279 (1977).

    Google Scholar 

  59. Vyas, S., Golub, M. D., Sussillo, D. & Shenoy, K. V. Computation through neural population dynamics. Annu. Rev. Neurosci. 43, 249–275 (2020).

    CAS  PubMed  PubMed Central  Google Scholar 

  60. Finnerty, G. T., Shadlen, M. N., Jazayeri, M., Nobre, A. C. & Buonomano, D. V. Time in cortical circuits. J. Neurosci. 35, 13912–13916 (2015).

    CAS  PubMed  PubMed Central  Google Scholar 

  61. Lopes, G. et al. Bonsai: an event-based framework for processing and controlling data streams. Front. Neuroinform. 9, 7 (2015).

    PubMed  PubMed Central  Google Scholar 

  62. Kim, S., Tathireddy, P., Normann, R. A. & Solzbacher, F. Thermal impact of an active 3D microelectrode array implanted in the brain. IEEE Trans. Neural Syst. Rehabil. Eng. 15, 493–501 (2007).

    PubMed  Google Scholar 

  63. Paxinos, G. & Watson, C. The Rat Brain in Stereotaxic Coordinates: Hard Cover Edition (Academic Press, 2013).

  64. Schütt, H., Harmeling, S., Macke, J. & Wichmann, F. Psignifit 4: pain-free Bayesian inference for psychometric functions. J. Vision 15, 474 (2015).

    Google Scholar 

  65. Jurado-Parras, M.-T. et al. The dorsal striatum energizes motor routines. Curr. Biol. 30, 4362–4372.e6 (2020).

    CAS  PubMed  Google Scholar 

  66. Monteiro, T., Rodrigues, F., Tomé, M. P. & Paton, J. Using temperature to analyze the neural basis of a time-based decision. https://doi.org/10.6084/m9.figshare.22341265.v2 (2023).

Download references

Acknowledgements

We thank B. Atallah and C. Haimerl for comments on versions of the manuscript and the entire Paton laboratory, past and present, for feedback during the course of this project. We would also like to thank the ABBE Facility and the Scientific Hardware, Histopathology and Rodent Champalimaud Research Platforms for unparalleled technical assistance. Special thanks to A. Silva, P. Carriço, D. Bento and F. Carvalho for tireless support in designing and troubleshooting our closed-loop temperature control system. We thank F. Fernandes and D. Nunes for acquiring the MRI scans and M. Toro and R. Sousa for help with animal training. This work was developed with the support from the research infrastructure Congento, cofinanced by Lisboa Regional Operational Programme (Lisboa2020), under the PORTUGAL 2020 Partnership Agreement, through the European Regional Development Fund (ERDF) and Fundação para a Ciência e Tecnologia (FCT, Portugal) under the project LISBOA-01-0145-FEDER-022170. The work was funded by an HHMI International Research Scholar Award to J.J.P. (55008745), a European Research Council Consolidator grant (DYCOCIRC - REP-772339-1) to J.J.P., a Bial bursary for scientific research to J.J.P. (193/2016), internal support from the Champalimaud Foundation, and PhD fellowships from FCT to F.S.R. (SFRH/BD/130037/2017), B.F.C. (PD/BD/105945/2014) and A.I.G. (PD/BD/128291/2017). We thank the support of NVIDIA Corporation with the donation of the Titan X Pascal GPU used for this research. The funders had no role in study design, data collection and analysis, decision to publish or preparation of the manuscript.

Author information

Authors and Affiliations

Authors

Contributions

T.M., F.S.R., M.P. and J.J.P. devised the experiments. T.M., F.S.R. and M.P. performed all experiments, analyzed the data and drafted and edited the manuscript. B.F.C. helped design and perform the acute electrophysiology experiments and reviewed the manuscript. A.I.G. performed a subset of temperature manipulation experiments during behavior and reviewed the manuscript. P.E.R.-O. devised and assisted in implementing the method of optogenetically stimulating reproducible striatal dynamics and reviewed the manuscript. J.J.P. supervised all aspects of the project and drafted and edited the manuscript.

Corresponding author

Correspondence to Joseph J. Paton.

Ethics declarations

Competing interests

The authors declare no competing interests.

Peer review

Peer review information

Nature Neuroscience thanks David Robbe and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Extended data

Extended Data Fig. 1 Spatiotemporal characterization of thermoelectric device (TED).

(a) Schematic of the preparation in which we set our TED to one of several manipulation temperatures (T = {5, 15, 20, 25, 30, 45} °C) while measuring temperature at its lower plate and probe tip simultaneously. (b) Temperature measured at the TED plate and probe tip thermistors. (c) Temperature traces measured at the probe tip thermistor during manipulation blocks aligned to block transitions. Solid lines represent model fits. (d) Schematic of the preparation in which we set our TED to one of several manipulation temperatures (T = {15, 25, 42, 45} °C) while measuring temperature at its lower plate a movable temperature probe simultaneously. (e) Decay parameters for models fit to manipulation temperatures (as shown in (C)) across the 2 experiments (manipulation temperatures that are common to both experiments are connected with solid colored lines). (f) Same as (E), but for the gain / offset parameter across all model fits.

Extended Data Fig. 2 Histological reconstruction of TED, optical fiber and recordings probe placements for acute and chronic experiments.

(a) Intermediate medial-lateral (ML) locations of TED probes (black markers), optical fibers (blue markers) and Neuropixels probes (white triangles) projected onto a reference sagittal slice (ML = 2.62 mm from Bregma). (b) Distributions of relative recording depths for all animals (N = 4) and recorded units (N = 335, before enforcing the minimum firing rate selection criterion, see methods). Horizontal dashed line depicts corpus callosum. Putative motor cortical and striatal neurons in gray and black, respectively. Histograms’ relative depth is overlaid in (A) using the same color scheme. We were unable to clearly identify the Neuropixels tract for animal I. (ce) Intermediate anterior posterior (AP) location of microwire recording bundles in the no-fixation (C, orange, N = 3 animals implanted unilaterally), fixation version (D, petrol blue, N = 3 animals implanted bilaterally) and TED (E) probes for striatal (black markers, N = 6) and cortical (gray markers, N = 4) targets projected onto target coronal slice (AP = +0.84 mm from Bregma). White markers show implant locations for the no-fixation cohort (N = 5).

Extended Data Fig. 3 Temporal scaling as opposed to shifting provided a better account of temperature’s effect on neural activity.

(a) Top: Simulated spike density functions exhibiting bidirectional and dose-dependent temporal scaling with temperature. Middle: Templates built by warping a control spike density function (thicker black line) in time by scale factors ranging from 0.625 (maximum contraction) to 1.75 (maximum dilation). Note that when applying this method to data, this control response is not the same as the one shown in the top panel, as the two are built using two non-overlapping random sets of control trials. Bottom: Thick lines represent the coefficient of determination (R2) for all scaled templates in the middle panel regressed against each of the target spike density functions shown at the top. We computed this objective function for each neuron-temperature condition pair and took its global maximum as the corresponding temporal scaling factor, highlighted here by the larger markers. Thinner lines and smaller markers depict R2 values for a similar regression procedure applied to a series of shifted, as opposed to scaled, templates. (b) Same as (A), except that for artificially temporally shifted responses relative to control (top), temporally shifted templates (middle), and their regression outcomes (bottom). The thinner lines and smaller markers respectively represent the R2 curves and maxima resulting from regressing the scaled templates from A (middle) against the shifted targets in B (top). Conversely, the result of regressing shifted templates against scaled targets is plotted in the same manner in (A, bottom). (c) To assess whether the effects of temperature on individual striatal responses were better accounted for by temporal scaling or shifting, we built two separate spiking models in which we either injected one effect or the other. Briefly, we modeled 500 control firing rate functions as gaussian bumps defined over 1.5 s with means spanning the interval from 150 ms to 750 ms (Fig. 1e) and a standard deviation of 50 ms. The amplitudes of the resulting probability density functions were rescaled so that their distribution of mean firing rates matched that of striatal data. Next, we created one additional rate function per neuron per manipulation condition by either shifting or scaling its control response in time. Again, the distribution of generative temporal scaling factors and shifts used was informed by the empirical distributions of these metrics extracted from striatal data. We then generated 150 spike trains of each condition per neuron by sampling spike times from inhomogeneous Poisson point processes with the aforementioned condition-specific responses as their time-dependent rate parameters. From this point on, we proceeded to analyze the resulting surrogate spike data in the exact same way we did for the striatal data, by first averaging trials within condition, generating libraries of templates and then computing temporal scaling factors and shifts. Finally, for each ‘neuron’-condition pair within each model, we stored the R2 values corresponding to the best-matching scaled and shifted templates and subtracted the former from the latter to build the distributions shown here at the top (scaling model) and middle (shifting model) panels. Thick solid sigmoidal lines represent the CDFs of each condition’s R2 difference. Thin vertical black lines denote control mean differences. Small horizontal colored lines link the respective means of the corresponding manipulation and control distributions. (d) Same as (C), but for striatal data.

Extended Data Fig. 4 Discrimination performance in both task variants was qualitatively similar before and after TED implantation.

(a) Discrimination performance of rats trained on the no-fixation variant of the interval discrimination task and implanted with the initial version of our custom TED targeting the DS (N = 4) on the last day of training before surgery. Gray lines are psychometric fits to individual animals. The black line is a fit to the average across animals. The underlying choice data is shown for the cohort average (± s.e.m.). (b) Same as (A), but for rats that trained on the fixation task variant and implanted with the initial (N = 1) or final version of our custom TED targeting the DS (N = 6). (c) Same as (B), but for rats implanted with the final version of our custom TED targeting M1 (N = 4). (d) Schematized timeline for a typical experimental rat. Elongated bars illustrate long periods of time, whereas squares represent individual daily sessions, which, with the exception of surgeries, lasted for 2 hours. (e-g) Same as (A-C), but for the last post-surgery training session in advance of starting temperature manipulation sessions.

Extended Data Fig. 5 An initial TED capable of a single mild cooling temperature produced qualitatively similar effects on timing judgments in both variants of the interval discrimination task.

(a) Performance in the no-fixation version of the interval discrimination task conditioned on neural population speed (N = 3). Psychometric curves split by whether activity progressed more slowly (blue) or at a typical speed (black, see methods). Bottom right inset: Differences in proportion of long choices from the slow speed condition to the typical speed condition (mean ± propagated s.e.m.). Top-left inset: Marginal posterior distributions of the threshold parameter for each speed condition’s psychometric fit. Solid black lines represent the M.A.P. point estimates. (b) Analogous to (A), but conditioned on whether striatal temperature was set to control (black) or a mild cooling (teal) dose (N = 4). Psychometric functions fit to cross-animal averages (± s.e.m.) of temperature-split psychophysical data, respectively shown as solid lines and markers of matching color. Bottom right inset: Average differences in proportion of long choices from the mild cooling condition to control (± propagated s.e.m.). Top-left inset: Marginal posterior distributions of the threshold parameter for each condition’s psychometric fit. Solid black lines represent the M.A.P. point estimates. (C-D) Effect of temperature on psychophysical thresholds. (c) Markers represent M.A.P. estimates and transparent patches the corresponding 95% confidence intervals of threshold parameters fit to individual animals’ performance on control (vertical axis) versus mild cooling blocks (horizontal axis). Single animals contribute one data point of each color. Top-right inset: Distribution of threshold differences between the mild cooling and control conditions (mean ± s.e.m.). (d) Left: Distributions of threshold dilation as a function of induced temperature changes (one-sample two-tailed t-test, t(3) = 5.67, P = 0.01). Markers linked by solid black lines represent individual animal threshold dilations. Boxplots show animal means (horizontal thick lines) and s.e.m. (colored bars). Right: Distribution of threshold stretch (one-sample two-tailed t-test, t(3) = −5.67, P = 0.01). Markers represent individual animals, and their size and color denote bootstrapped significance. Boxplots show animal means (horizontal thick lines) and s.e.m. (colored bars). (e) Same as (A), but in the fixation task variant. (f-h) Analogous to (B-D), but in the fixation task variant (N = 1 animal, mean ± propagated s.e.m. across trials instead of animals in (F)).

Extended Data Fig. 6 Manipulating M1 temperature did not produce discernible effects on timing judgments.

(a) Average discrimination performance in the fixation version of the interval discrimination task at the onset of M1 temperature manipulations. Psychometric functions fit to cross-animal averages (N = 4) of temperature-split psychophysical data, respectively shown as solid lines and markers of matching color (mean ± s.e.m.). Bottom right inset: Average differences in proportion of long choices from each manipulation condition to control (mean ± propagated s.e.m.). Top-left inset: Marginal posterior distributions of the threshold parameter for each condition’s psychometric fit. Solid black lines represent the M.A.P. point estimates implicit in the fits shown in the main axes. (b) Animal-split discrimination behavior. Markers represent M.A.P. estimates and transparent patches the corresponding 95% confidence intervals of threshold parameters fit to individual animals’ performance on control (vertical axis) versus manipulation blocks (horizontal axis). Inset: Distribution of threshold differences between manipulation and control conditions. Markers represent individual animal differences (mean ± s.e.m.). (c) Effect of motor cortical temperature manipulations on psychophysical threshold (all non-significant |ts(3)| = [0.93, 2.90], P = [0.06, 0.42]; repeated measures ANOVA, F(2, 9) = 1.93, P = 0.20). Markers represent individual threshold dilations, linked within animals by thin solid black lines. Boxplots show animal means (horizontal black lines) and s.e.m. (colored bars). (d) Threshold dynamics aligned to and across block transitions. Condition-split cross-animal average thresholds (mean ± s.e.m.) were computed using trials that fell into a sliding window lasting 90 s (half the block duration) that was swept from the preceding to the succeeding control blocks in increments of 9 s. Each marker corresponds to one sweep, and its color shading denotes the fraction of that sweep’s window that was inside a control block (with black markers corresponding to 100% control trials), and by extension its complement that fell in a manipulation block (with pure manipulation colors corresponding to 100% manipulation trials).

Extended Data Fig. 7 Striatal temperature did not produce monotonic effects on movement during stimulus presentation, latency to initiate, or time to execute choice movements.

(a) x (top) and y (bottom) coordinates of implant position aligned to stimulus onset (representative DS-implanted animal). Dashed (solid) lines correspond to short (long) choices with individual control trials ghosted in the background, and condition-split averages on top (mean ± s.e.m.). Filled and open markers show average position at reaction and choice, respectively. (b) Same data as in (A), combined into an overall speed metric (see Methods). (c) Left: Distributions of median implant speed dilation for DS animals (one-sample two-tailed t-tests, t(5) = [0.11, 0.87], P = [0.43, 0.92]; repeated measures ANOVA, F(2, 15) = 0.11, P = 0.89). Right: Distribution of median implant speed stretches for DS (N = 6) and M1 (N = 4) animals (one-sample two-tailed t-tests, tDS(5) = −0.07, P = 0.95; tM1(3) = −0.76, P = 0.51; two-sample two-tailed t-test, t(8) = 0.56, P = 0.59). Markers represent individual animals, and their size and color denote bootstrapped significance. (d) Schematics highlighting the task epoch in between stimulus offset and the initiation of the choice movement (reaction time). (e) Markers represent the median and transparent patches the corresponding i.q.r. of individual animals’ reaction times on control (vertical axis) versus manipulation blocks (horizontal axis). Single animals contribute one data point of each color. Top-right inset: Distribution of reaction time differences between manipulation and control condition. Markers represent individual animal differences, bars and error bars are animal means and s.e.m. (f) Same as (C), but for median reaction times (left: one-sample two-tailed t-tests, t(5) = [1.31, 2.01], P = [0.10, 0.25]; repeated measures ANOVA, F(2, 15) = 1.43, P = 0.27; right: one-sample two-tailed t-tests, tDS(5) = −1.84, P = 0.12; tM1(3) = −0.52, P = 0.64; two-sample two-tailed t-test, t(8) = −0.94, P = 0.37). (g-i) Same as (D-F), but for the task epoch in between the initiation of the choice movement and the moment that choice is registered (movement time; I-left: one-sample two-tailed t-tests, t(5) = [0.28, 1.04], P = [0.35, 0.79]; repeated measures ANOVA, F(2, 15) = 0.60, P = 0.56; I-right: one-sample two-tailed t-tests tDS(5) = −1.01, P = 0.36; tM1(3) = −1.04, P = 0.38; two-sample two-tailed t-test, t(8) = −0.30, P = 0.77). (j) Comparison between two one-parameter models of how DS temperature affected all movement-related metric dilations reported (speed profile of choice movements: one-sample two-tailed t-tests tβ-∆T(5) = 1.78, P = 0.13; tβ+|∆T|(5) = 3.72, P = 1.38e-2; paired-sample two-tailed t-test, t(5) = −0.25, P = 0.82; average speed of choice movements: one-sample two-tailed t-tests, tβ+∆T(5) = −1.19, P = 0.29; tβ-|∆T|(5) = 3.21, P = 2.36e-2; paired-sample two-tailed t-test, t(5) = −2.72, P = 4.16e-2; speed profile during stimulus period: one-sample two-tailed t-tests, tβ-∆T(5) = −0.77, P = 0.48; tβ+|∆T|(5) = 0.58, P = 0.59; paired-sample two-tailed t-test, t(5) = −1.27, P = 0.26; reaction time: one-sample two-tailed t-tests tβ-∆T(5) = 3.30, P = 2.14e-2; tβ+|∆T|(5) = 6.86, P = 1.21e-3; paired-sample two-tailed t-test, t(5) = −1.50, P = 0.19; movement time: one-sample two-tailed t-tests, tβ-∆T(5) = 0.64, P = 0.55; tβ+|∆T|(5) = 1.48, P = 0.20; paired-sample two-tailed t-test, t(5) = −1.46, P = 0.20). On each panel, the goodness of fit of the monotonic (left) and the non-monotonic (right) model, as measured by its coefficient of determination (R2), is shown for individual animals (open markers) and the population (mean ± s.e.m.). Note that the β coefficients were constrained to positive or negative values, as indicated by their subscripts. The highlighted panel (dashed gray rectangle) is reproduced from Fig. 5f (right panel).

Extended Data Fig. 8 Baseline DS firing rate correlates with reaction but not movement times in the fixation version of the interval discrimination task.

(a) Average TED implant speeds aligned to stimulus onset recorded during control blocks in the fixation version of the interval discrimination task (DS cohort, N = 6 animals). Solid black lines and shaded gray patches represent individual animal medians and interquartile ranges, respectively. (b) Distribution of correlation coefficients between baseline firing rates of individual striatal neurons (N = 483) and subsequent reaction (top; one-sample two-tailed t-test, t(482) = −8.56, P = 1.55e-16) or movement times (bottom; one-sample two-tailed t-test, t(482) = 0.15, P = 0.88) for the DS-recorded animals trained on the fixation variant of the interval discrimination task (N = 3).

Extended Data Fig. 9 Animals adapted their behavior to both temperature and category boundary manipulations.

(a) Threshold dilation across the first three temperature manipulation sessions for the striatal cohort shown in Figs. 4 and 5 (N = 6). Small markers and thin lines linking them refer to threshold dilations for individual animals. Larger markers correspond to cross-animal averages (mean ± s.e.m.), and their facecolor being any other than black indicates that the underlying dilation distribution was significantly shifted from zero (p < 0.05, one-sample two-tailed t-test). The gradient bar and arrow symbolize the uneven contribution of the last two sessions to the data pool shown in (D), with the last session contributing the most. (b) Time course of the boundary manipulation experiment. The thin horizontal dotted lines represent the four categorical boundaries animals experienced in these sessions (that is, boundary changes followed the same rules as the temperature manipulation experiments: a control-manipulation-control 3-min block design with boundaries drawn at random and without replacement from the set B = {1.32, 1.5, 1.68, 1.85} s until exhaustion, at which point the set was replenished and the sampling process resumed). The color scheme introduced in this panel is preserved throughout the figure. (c) Same as (A), but for the first five boundary manipulation sessions (N = 5). (d) Average discrimination performance on the last and second to last sessions of striatal temperature manipulations. Psychometric functions fit to cross-animal averages of temperature-split psychophysical data, respectively shown as solid lines and markers of matching color (mean ± s.e.m.). Bottom right inset: Average differences in proportion of long choices from each manipulation condition to control (mean ± propagated s.e.m.). Top-left inset: Marginal posterior distributions of the threshold parameter for each condition’s psychometric fit. Solid black lines represent the M.A.P. point estimates implicit in the fits shown in the main axes. (e) Distributions of percentage change in threshold relative to control (dilation) as a function of which categorical boundary was enforced (N = 5; one-sample two-tailed t-tests, significant ts(4) = [−7.21; 2.89], P = [0.04; 2e-3], non-significant t(4) = 2.61, P = 0.06; repeated measures ANOVA followed by post-hoc contrasts with Tukey correction for multiple comparisons, F(2, 12) = 15.64, P = 5e-4; smallest significant qs(8) = 5.18, P = 0.01, non-significant qs(8) = 2.43, P = 0.15). Markers represent individual threshold dilations, linked within animals by thin solid black lines. Boxplots show animal means (horizontal black lines) and s.e.m. (colored bars). (f) Same as (D), but for the last two days of boundary manipulations, with all boundaries in our manipulation set as dotted vertical dashed lines. (g) Threshold dynamics aligned to and across block transitions early and late during DS temperature manipulations (left and right, respectively), and late during boundary manipulations (middle). Condition-split cross-animal average thresholds (mean ± s.e.m.) were computed using trials that fell into a sliding window lasting 90 s (half the block duration) that was swept from the preceding to the succeeding control blocks in increments of 9 s. Each marker corresponds to one sweep, and its color shading denotes the fraction of that sweep’s window that was inside a control block (with black markers corresponding to 100% control trials), and by extension its complement that fell in a manipulation block (with pure manipulation colors corresponding to 100% manipulation trials).

Supplementary information

Supplementary Information

Supplementary Notes 1 and 2.

Reporting Summary

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Monteiro, T., Rodrigues, F.S., Pexirra, M. et al. Using temperature to analyze the neural basis of a time-based decision. Nat Neurosci 26, 1407–1416 (2023). https://doi.org/10.1038/s41593-023-01378-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1038/s41593-023-01378-5

This article is cited by

Search

Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing