Search bioRxiv⌕ Search

bioRxiv · 10.64898/2026.07.31.742044

Resource depletion accelerates rate learning but not composition learning in patch foraging

Abstract

Foraging is a universal animal behavior that has increasingly attracted the interest of both experimentalists and theorists. Most prior models assume an animal knows the distribution of resources in its environment, but this structure must be learned as the animal explores its environment. Foraging can thus be regarded as a hierarchical inference problem. We develop a normative Bayesian account of an agent learning a patchy environment while exploiting it, and show that resource depletion shapes the levels of that hierarchy differently. Within a patch, depletion accelerates rate learning, since successive encounters occur at falling rates whose spacing pins down the initial rate. Across patches, composition learning, inferring the fraction of patches that are high yield, is slow, set by the number of patches sampled rather than the time spent in each, and unaffected by depletion once the rates are known. Reward-maximizing and information-seeking strategies therefore diverge, a forager resolving the composition underharvesting rich patches because learning it requires departures, most sharply early in exposure. When a fixed set of patches replenishes between visits, the reward-maximizing policy collapses onto a stable orbit over the high-yield patches, and the replenishment rate sets whether the forager maps the whole environment or locks onto a rich subset. Which departure rule maximizes intake is itself set by how variable the patches are, switching from counting prey to timing the gaps between them once richness varies by more than about a quarter. Learning the environment thus buys significant intake over learning a rule from reward alone, as long as its assumptions about depletion leave room for the truth. Author summaryAnimals entering an unfamiliar landscape must both gather food and learn what kind of environment they face. We study this using a mathematical model of an animal moving among food patches and deciding when to keep feeding or leave. Feeding depletes a patch, usually viewed only as a cost. We show it is also informative. As food is removed items arrive more slowly, and that pattern reveals how rich the patch was to begin with, so an animal learns patch quality faster where supply runs down than where it does not. The benefit does not extend to every feature. Learning what fraction of patches are rich depends on how many patches are visited rather than how long the animal stays in each, so depletion neither helps nor harms it, and an animal seeking that information should leave even rich patches early to sample more locations. Finally, the best rule for when to leave depends on how much patches differ. Where patches are alike an animal should count what it has eaten, and where they differ it should time the gap since its last find, because a long gap then signals a poor patch rather than an emptied one.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Kilpatrick, Z. P., El Hady, A.. 2026-08-05. Resource depletion accelerates rate learning but not composition learning in patch foraging. https://doi.org/10.64898/2026.07.31.742044

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

roostR: An R package to examine diel activity patterns from Motus radio telemetry data

1. Monitoring the diel activity patterns of free-living animals is a methodological challenge. Signal strength fluctuations from Very High Frequency (VHF) radio transmitters deployed within the Motus Wildlife Tracking System can be used as a proxy for activity. However, analytical tools to extract behavioral metrics that quantify activity patterns from these data are needed. 2. We developed roostR, an open-source R package that converts Motus detection data into quantitative behavioral metrics, including roost initiation and departure, roost duration, observation time, and restlessness. The package uses a sequential pipeline built around signal volatility and rolling medians to detect transitions between active and inactive states. Default parameter values were tuned using data from 55 dark-eyed juncos (Junco hyemalis) overwintering in southeastern Ohio. 3. We provide an example from a dark-eyed junco over a 58-day period. roostR estimated roost onset on 48 nights and departure on 56 mornings, with higher rolling median signal differences during the day than at night, consistent with a diurnal animal, and variable restlessness periods each night. We also used the package to estimate roost behavior of an American tree sparrow (Spizelloides arborea) over 43-nights. 4. roostR enables researchers to extract individual activity data from Motus datasets. Because all thresholds are user-adjustable, the pipeline is adaptable across species, tag specifications, and ecological contexts, enabling researchers to test hypotheses about how environmental factors influence diel activity patterns.

animal behavior and cognition↗

Characterizing rhythmic wheel-turning behavioral patterns in cockroaches Rhyparobia maderae using machine learning

Organisms must adapt to environmental changes occurring across multiple time scales, with endogenous multiscale clocks coordinating physiology and behavior with recurring environmental rhythms, including the dominant 24-hour cycle and faster ultradian rhythms. The Madeira cockroach (Rhyparobia maderae) provides a suitable model for investigating such multiscale temporal organization. Here, locomotor activity was recorded in running-wheel experiments under constant darkness. While the endogenous circadian clock produces a clearly visible 24-hour rhythm, it remains unknown whether locomotor behavior also exhibits temporal patterns at additional time scales. These temporal patterns cannot be found by classical frequency analysis, as they are veiled by higher harmonics of the circadian rhythm which are in the same frequency range. Unsupervised machine learning methods such as K-Means clustering, self-organizing maps and Gaussian mixture are used in search for fast ultradian rhythms possibly linked to circadian cycles in locomotor activity. Prior to applying these methods, data metrics are defined which characterize bouts of activity (called activity impulses) compared to periods of reduced activity. A stochastic pattern was found in these activity metrics which characterizes the time distance between activity impulses. Across all approaches, a consistent ultradian rhythm of approximately one hour was identified in the timing of the activity maxima. This rhythm was mainly detected during the subjective night, suggesting circadian control, and appears to consist of two components with periods of approximately 40 minutes and 1.5 hours. The method proposed in this paper is applied to two cockroach groups with different levels of activity, and is generalizable to diverse datasets occurring in the form of a time series with a dominant rhythm.

animal behavior and cognition↗

Social inequity aversion and fairness preference in polar bears

Decision-making is key to survival, with choices and behaviour typically shaped by evolutionary pressures to enhance fitness and minimize loss. Inequity aversion, the tendency to respond negatively to unequal reward distributions, is therefore unexpected, as acts of fairness may be costly to the individual in the short term. In social, cooperative species, however, fairness may enhance long-term benefits through stable social interactions. Inequity aversion is believed to promote cooperative social structures and has only been demonstrated in certain social species. Yet, solitary species have not been tested, and whether this behaviour depends on social cooperative structures is unknown. Examining solitary species could clarify whether inequity aversion reflects an adaptation to cooperation or a general cognitive capacity linked to social comparison and reward evaluation. We studied inequity aversion in polar bears (Ursus maritimus), a largely solitary species, using three complementary, non-invasive cognition tests on seven bears from two zoos in the Netherlands. (1) An impunity experiment assessing effort-based inequity, in which bears performed a standardized action to obtain food rewards. (2) A choice-based experiment testing active selection between equal and unequal reward distributions. (3) A no-task control experiment assessing responses to unequal reward distribution without effort. Under effort-based inequity, bears reduced task performance and increased task latency when a partner received a superior reward. Unequal reward distributions did not affect reward acceptance independent of effort. In the choice-based paradigm, bears preferentially selected equal reward distributions with a partner present. Although generalizability to wild populations is limited, these findings demonstrate behavioural aversion of social inequity in a non-cooperative species. Inequality aversion may therefore not be restricted to social, cooperative animals but instead reflect a broadly distributed cognitive mechanism that emerges under relevant social conditions. These findings challenge current theories and advance our understanding of the cognitive foundations of fairness-related behaviour in animals.

animal behavior and cognition↗