Abstract
Identifying the learning rules that govern behavior is a central problem in neuroscience. While reinforcement learning (RL) offers a unifying theoretical framework, most empirical studies of animal learning behavior have focused on non-stationary environments (e.g. changing reward probabilities in a known task), as opposed to acquiring an entirely new task from scratch. Here we introduce a statistical framework to infer reinforcement learning rules directly from single-animal behavior. Applied to mice learning a perceptual decision-making task, our approach reveals that policy-gradient-like rules capture de novo task learning better than classical temporal-difference algorithms. By fitting flexible parametric learning rules, we uncover systematic deviations from standard RL models, including side-specific learning rates and negative reward baselines. Together, these parameters account for side-biased learning, as well as forgetting and consecutive errors due to aversive responses to incorrect trials. Extending the framework with latent, dynamic learning rates further reveals that animals adapt their learning rates over training and across curricula. These results provide a statistical account of how animals learn from scratch and highlight key departures from classical reinforcement learning algorithms.
Introduction
In neuroscience, Reinforcement Learning (RL) is the standard framework for describing how brains learn from rewards. However, most research focuses on "expert" animals adapting to minor changes in known tasks. This leaves a significant gap in our understanding of de novo learning: the complex process of acquiring an entirely new skill from scratch. During this phase, animals exhibit idiosyncratic biases, forgetting, and fluctuating internal states. This paper introduces a statistical framework to "reverse-engineer" the specific, often non-optimal learning rules used by individual animals during this critical early training phase.
Experimental Framework and Datasets
The study utilized data from the International Brain Laboratory (IBL), focusing on 31 mice performing a two-alternative forced choice (2AFC) task. Mice were required to move a wheel to center a visual stimulus on a screen. The dataset covers the entire training phase, totaling approximately 12,708 trials per mouse over a median of 22 days. This comprehensive longitudinal data allows for the tracking of behavioral evolution from the very first trial to task mastery.
Computational Modeling of Learning Rules
To infer learning rules, the authors modeled behavior using a two-part probabilistic system:
- The Policy (Decision Making): A Bernoulli Generalized Linear Model (GLM) acts as the mouse's internal decision engine, mapping inputs (like stimulus intensity and previous choices) to the probability of choosing Left or Right.
- The Learning Rule (Updating): The model tests how the GLM's internal weights ($w_t$) evolve trial-to-trial. The researchers compared Policy Gradient (PG) methods, which directly optimize the probability of rewarded actions, against Temporal Difference (TD) learning, which updates internal value estimates based on prediction errors.
To handle the inherent noise in animal behavior, the framework uses particle filtering (Sequential Monte Carlo) to estimate the hidden trajectories of these internal weights. They also introduced a parametric learning rule allowing for side-specific learning rates and a "reward baseline" to account for reactions to failure.
Results
The analysis revealed that Policy Gradient models fit the behavioral data significantly better than classical TD learning during de novo task acquisition. This suggests that animals may directly optimize their behavioral policy rather than building complex internal value maps of every state.
Key behavioral insights uncovered by the model include:
- Asymmetric Learning: Mice do not learn "Left" and "Right" equally. Individual mice often have a preferred side they master first, leading to temporary but significant behavioral biases.
- The Negative Baseline Penalty: Inferred rules showed a negative reward baseline, meaning incorrect trials act as aversive events that can push learning in the wrong direction, explaining strings of consecutive errors.
- Dynamic Learning Rates: Learning rates are not constant. In structured training curricula, the learning rate increases as the animal improves, correlating strongly with cumulative accuracy ($\rho = 0.92$). Conversely, in mice trained without a curriculum, learning rates actually decreased over time.
Discussion and Future Work
This framework successfully separates "true learning" (permanent weight changes) from "behavioral noise" (trial-to-trial fluctuations). While the model identifies that learning rates and baselines change, the biological origins—such as the role of dopamine or changes in attention—remain to be explored. Future work will aim to link these inferred behavioral rules to actual neural activity, providing a quantitative bridge between learning theory and biological implementation.
Summary updated