Abstract
Learning to predict rewards is a fundamental driver of adaptive behavior. Midbrain dopamine neurons (DANs) play a key role in such learning by signaling reward prediction errors (RPEs) that teach recipient circuits about expected rewards given current circumstances and actions. However, the algorithm that DANs are thought to provide a substrate for, temporal difference (TD) reinforcement learning (RL), learns the mean of temporally discounted expected future rewards, discarding useful information concerning experienced distributions of reward amounts and delays. Here we present time-magnitude RL (TMRL), a multidimensional variant of distributional reinforcement learning that learns the joint distribution of future rewards over time and magnitude using an efficient code that adapts to environmental statistics. In addition, we discovered signatures of TMRL-like computations in the activity of optogenetically identified DANs in mice during a classical conditioning task. Specifically, we found significant diversity in both temporal discounting and tuning for the magnitude of rewards across DANs, features that allow the computation of a two dimensional, probabilistic map of future rewards from just 450ms of neural activity recorded from a population of DANs in response to a reward-predictive cue. In addition, reward time predictions derived from this population code correlated with the timing of anticipatory behavior, suggesting the information is used to guide decisions regarding when to act. Finally, by simulating behavior in a foraging environment, we highlight benefits of access to a joint probability distribution of reward over time and magnitude in the face of dynamic reward landscapes and internal physiological need states. These findings demonstrate surprisingly rich probabilistic reward information that is learned and communicated to DANs, and suggest a simple, local-in-time extension of TD learning algorithms that explains how such information may be acquired and computed.
Introduction
For decades, the "reward prediction error" (RPE) theory has been the cornerstone of systems neuroscience. It posits that midbrain dopamine neurons (DANs) signal the difference between expected and actual rewards to facilitate learning. However, standard Temporal Difference (TD) learning algorithms have a significant limitation: they collapse time and magnitude into a single scalar value. In these models, a small reward delivered immediately can appear identical to a large reward delivered after a delay, as both might result in the same discounted mean value. This ambiguity causes the brain to lose critical information about the specific distribution of rewards over time.
While recent "distributional RL" theories have explained how the brain might track the range of reward magnitudes, they typically treat the temporal discount factor as a single, fixed value. This research introduces Time-Magnitude Reinforcement Learning (TMRL), proposing that the dopamine system maintains a sophisticated, multi-dimensional map of the future, encoding both when a reward will arrive and how big it will be.
Methods and Modeling
The researchers developed the TMRL algorithm, a variant of reinforcement learning where parallel channels learn with different "impatience" levels (temporal discount factors, $\gamma$) and different "optimism" levels (asymmetric sensitivities to positive vs. negative errors, $\alpha^+$ and $\alpha^-$).
To test this model biologically, the team recorded from 174 dopamine neurons (43 optogenetically identified and 131 putative) in the VTA and SNc of mice. The mice performed a trace odor conditioning task where different odors predicted rewards with varying delays (0 to 6 seconds) and magnitudes (1 to 8 $\mu$l). Using linear regression, the researchers attempted to decode the full distribution of reward times and amounts from just 450ms of neural activity following a cue. They also conducted foraging simulations to compare TMRL agents against standard TD and Successor Representation (SR) agents in dynamic environments.
Key Insights and Results
Diversity as a Computational Feature
A central finding is that individual dopamine neurons are not identical; they exhibit stable diversity in their temporal discounting and magnitude tuning. Some neurons are "shortsighted" (high discount), while others are "farsighted." This heterogeneity is not noise but a functional feature that allows the population to represent a full probability distribution. By combining these diverse sensitivities, the population creates a 2D probabilistic map of future rewards.
Behavioral and Adaptive Significance
The reward-time predictions decoded from the neural population correlated significantly with the mice's anticipatory licking behavior. On trials where the neural map predicted an earlier reward, mice began licking earlier, suggesting this information guides action timing. Furthermore, the system demonstrates "efficient coding": when long-delay rewards were removed from the environment, the population's discount factors shifted ($p=0.01$) to better resolve the remaining short-delay rewards, optimizing the use of limited neural resources.
Superiority in Foraging
In simulations, TMRL agents outperformed standard models in non-stationary foraging environments. Access to the joint probability distribution allowed agents to be more flexible, for instance, prioritizing immediate rewards when in a high-need state (e.g., hunger) and becoming more patient when sated.
Discussion
While TMRL provides a powerful framework for understanding dopamine activity, questions remain regarding the biological implementation of the "imputation step"—the non-local update rule required by the model. It is still unclear how circuits implement these computations locally at the synapse. Additionally, further research is needed to determine if these functional differences map onto specific anatomical sub-regions or projection targets. Future work will explore how this 2D map functions during more complex, multi-step decision-making tasks beyond classical conditioning.
Summary updated