Abstract
Normative models of behavior typically assume that the goal of animals is to optimize some measure of reward. It is well known, however that animals don't always conform to this ideal. Especially in tasks involving repeated trials, attention waxes and wanes: sometimes performance is near optimal; other times it's near chance. Such variation in behavior must be driven by changes in the internal state of the animal. To gain insight into this process, we examined three potential measures of internal state in a two-alternative forced choice task: the complexity of physical movements, the degree to which animals make use of the stimulus, and pupil diameter. Pupil diameter was almost independent of behavior, whereas the first two measures were strongly correlated with it -- but in very different ways. This suggests that the internal state is at least two dimensional. In our experiments those dimensions corresponded to how much animals focus on the current stimulus, and how much they use their priors over task variables. These results add insight into internal states in general, and also provide a cautionary tale: internal state is not one-dimensional, and it may take several measurements to infer it accurately.
Introduction
In behavioral neuroscience, animals often exhibit inconsistent performance, fluctuating between near-perfect execution and near-chance guessing. While these shifts are typically attributed to changes in "internal state," most models treat this state as a single, one-dimensional variable—such as arousal or motivation. This study challenges that assumption, demonstrating that internal state is at least two-dimensional. By analyzing mouse behavior in a standardized task, researchers found that animals independently modulate their attention to sensory stimuli and their reliance on past experiences (priors).
Methods
The study utilized the International Brain Lab (IBL) dataset, comprising 2,415 sessions from 81 mice performing a two-alternative forced choice (2AFC) task. In this task, head-fixed mice turn a wheel to indicate the position of a visual grating. The task includes "biased blocks" where the stimulus appears on one side with 80% probability, encouraging the use of prior information.
The researchers compared three distinct measures of internal state:
- Engagement Index (Movement-based): A Variational Autoencoder (VAE) with LSTM layers compressed wheel-turning trajectories into a low-dimensional latent space. This identified an axis distinguishing "ballistic," decisive movements from slow, meandering ones.
- Stimulus Coefficient (Choice-based): A GLM-HMM (Generalized Linear Model - Hidden Markov Model) inferred hidden states based on choice and reward history, tracking how much the current choice was driven by the visual stimulus.
- Pupil Diameter (Autonomic-based): Extracted using the Lightning Pose algorithm as a proxy for arousal.
A Bayesian observer model was then used to map these behavioral metrics to cognitive parameters, specifically observation noise and assumed priors.
Key Results and Insights
The primary finding was the independence of the three measures. Movement complexity, stimulus use, and pupil size were almost entirely uncorrelated, suggesting they track different underlying processes.
Two Axes of Engagement
The study identified two distinct cognitive "knobs" that mice modulate:
- The Sensory Axis: Tracked by the Stimulus Coefficient. High values correlated with steeper psychometric slopes and lower internal sensory noise ($\sigma$).
- The Contextual Axis: Tracked by the Engagement Index. High values correlated with a larger "gap" at zero contrast, indicating a stronger reliance on the inferred prior ($\hat{p}_r$).
While high values in either dimension improved overall performance, they did so through different strategies: one by increasing sensory precision and the other by "playing the odds" based on task history. Furthermore, these dimensions exhibited different temporal stabilities; attention to stimuli changed slowly, whereas reliance on priors fluctuated more rapidly.
The Role of Pupil Diameter
Contrary to common expectations, pupil diameter was a poor predictor of behavior in this task, showing virtually no correlation with task performance or psychometric slope. This highlights the risk of relying on a single physiological marker to infer complex internal states.
Discussion
This research provides a cautionary tale for behavioral modeling: internal state is not a simple one-dimensional slider. Proving that the state is at least two-dimensional opens new avenues for understanding how the brain balances sensory input with contextual expectations.
Future work may explore whether these behavioral dimensions map onto specific neuromodulatory systems, such as the cholinergic versus noradrenergic pathways. While the study confirms at least two dimensions, higher-dimensional states likely exist. Understanding these multi-dimensional landscapes is crucial for accurately interpreting animal behavior and its underlying neural mechanisms.
Summary updated