Abstract
Patch foraging presents a ubiquitous decision-making process in which animals decide when to abandon a resource patch of diminishing value to pursue an alternative. We developed a virtual foraging task in which mouse behavior varied systematically with patch value. Mouse behavior could be explained by a model integrating time and rewards antagonistically, scaled by a latent patience state. The model accounted for deviations from predictions of optimal foraging theory. Neural recordings throughout frontal areas revealed encoding of decision variables from the integrator model, most robustly in frontal cortex. Regression modeling followed by unsupervised clustering identified a subset of ramping neurons. These neurons' firing rates ramped up gradually (up to tens of seconds), were inhibited by rewards, and were better described as a continuous ramp than a discrete stepping process. Together, these results identify integration via frontal cortex ramping dynamics as a candidate mechanism for solving patch foraging problems.
Introduction
In natural environments, animals face a constant trade-off: should they stay in a depleting food patch or expend energy to find a new one? This fundamental challenge, known as the patch foraging problem, has long been studied through the lens of the Marginal Value Theorem (MVT). MVT suggests that an optimal forager should leave a patch when the instantaneous intake rate drops below the average intake rate for the entire environment. However, real-world behavior often deviates from this mathematical ideal, suggesting that the brain employs a more complex, dynamic algorithm to manage these decisions.
This research bridges the gap between behavioral ecology and neurobiology by identifying the specific algorithm mice use to track value over long timescales and locating the neural circuits responsible for executing this "stay-or-go" calculation.
Behavioral Modeling and the "Patience" State
To investigate these dynamics, researchers developed a virtual foraging task where head-fixed mice "ran" on a treadmill through a 1D virtual corridor. Mice encountered nine types of resource patches that varied in reward size (1, 2, or 4 µL) and frequency.
The team compared three mathematical models to explain the resulting behavior:
- Reward Indifferent: A model where the drive to leave increases solely based on time spent in the patch.
- Reward Reset: A memoryless model where the drive to leave resets to zero every time a reward is received.
- Reward Integrator: A model that antagonistically integrates time (which increases the drive to leave) and reward history (which decreases the drive to leave).
The Reward Integrator (Model 3) was the clear winner, achieving the lowest Bayesian Information Criterion (BIC) and accurately predicting patch residence times (PRT) with an $R^2$ of up to 0.80 in some subjects. A critical component of this model's success was the inclusion of a "patience" variable. This latent state, calculated using a Gaussian kernel over surrounding trials, accounts for slow fluctuations in the animal's willingness to wait. Interestingly, patience acts as a multiplier: when a mouse is in a "patient" state, its sensitivity to reward size and frequency increases proportionally, rather than just shifting by a constant offset.
Neural Mechanisms of Integration
Using Neuropixels to record from 6,090 individual neurons across the frontal cortex (including the ACC, OFC, and M2) and various subcortical areas, the researchers sought the physical manifestation of this integration algorithm.
They identified a specific cluster of neurons ("Cluster 1") whose firing rates exhibited slow, ramping activity over tens of seconds. These neurons reached a common threshold just before the mouse decided to leave the patch. Crucially, these ramps were inhibited by rewards, effectively "pulling" the signal back from the threshold and delaying the decision to leave. This supports the "antagonistic" integration theory, where the cost of time and the benefit of rewards compete to determine the exit point.
Continuous Ramping vs. Discrete Stepping
A key question in decision science is whether the brain moves toward a decision through a continuous buildup of evidence or through discrete "steps" between internal states. By applying state-space modeling (SSM), the researchers compared a continuous ramping model against a discrete stepping model. In all 16 sessions with sufficient data, the continuous ramping model outperformed the discrete model, suggesting that the pressure to leave builds gradually rather than jumping suddenly.
Regional Specialization in the Frontal Cortex
While task-related signals were distributed across many brain regions, the frontal cortex showed a specialized role in the foraging process. Decision variables derived from the Reward Integrator model could be decoded with significantly higher fidelity in the frontal cortex ($R^2 \approx 0.34$) compared to subcortical areas ($R^2 \approx 0.28$). This suggests that while the entire brain may be aware of the task, the frontal cortex is a primary hub for the integration of time and reward history.
Discussion and Future Directions
These findings identify frontal cortex ramping dynamics as a candidate mechanism for solving patch foraging problems. However, several questions remain. As an observational study, the link between neural ramping and behavior is correlational; future research using optogenetic perturbations is required to establish a causal link.
Additionally, the researchers addressed the potential confound of "embodied cognition," where ramping activity might simply reflect the physical movement of the animal. While they successfully regressed out movement variables to show that ramps persist even in the absence of motion, the interplay between decision-making and physical action remains complex. Finally, the biological origin of the "patience" variable—perhaps linked to neuromodulators like serotonin—remains an open and fertile ground for future investigation.
Summary updated