bioRxiv Science⌕ Search

bioRxiv · 10.1101/2025.07.28.667308

Human Strategy Adaptation in Reinforcement Learning Resembles Policy Gradient Ascent

Abstract

A hallmark of intelligence is the ability to adapt behavior to changing environments, which requires adapting ones own learning strategies. This phenomenon is known as learning to learn or meta-learning. Although well established in humans and animals, a computational framework that characterizes how biological agents adapt their learning strategies through experience remains elusive. Here we posit that humans update their learning strategies online through a gradient-based meta-learning process, effectively optimizing how they learn. However, estimating how these strategies evolve over time remains a significant challenge since traditional cognitive models, such as reinforcement learning (RL), typically assume that agents use static strategies. To address this, we introduce DynamicRL, a method that leverages neural networks to estimate the evolution of an individuals RL strategy by tracking cognitive parameters such as learning rates over time. Across four human bandit tasks, DynamicRL consistently outperforms traditional RL models with fixed parameters in fitting behavior, confirming that humans adapt their RL strategies over time. RL parameters estimated by DynamicRL reveal trajectories that systematically increase the expected reward of the RL strategy. The parameter updates at each step resemble policy gradient ascent, and their optimality correlates with the strength of the gradient signal. Moreover, these RL parameters evolve more slowly than decision variables, supporting the hierarchical relationship between strategy learning and value learning. Our work provides a computational framework that expands the hypothesis space from understanding strategies to understanding strategy adaptation, bridging adaptive behavior in biological and artificial intelligence through meta-learning.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Xiong, H.-D., Ji-An, L., Wilson, R. C., Mattar, M. G.. 2025-07-31. Human Strategy Adaptation in Reinforcement Learning Resembles Policy Gradient Ascent. https://doi.org/10.1101/2025.07.28.667308. https://biorxiv.science/record/biorxiv%3A10.1101%2F2025.07.28.667308/human-strategy-adaptation-in-reinforcement-learning-resembles-policy-gradient-ascent

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite bioRxiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related preprints

Beyond conventional endpoints: sex differences and individual behavioral profiles in zebrafish (Danio rerio) responses to novelty

Sex is increasingly recognized as an important source of behavioral variation, yet its influence is typically evaluated using a limited set of conventional endpoints. Here, we combined machine-learning-based behavioral state classification with conventional behavioral analysis to investigate sex-dependent responses to novelty in the novel tank test (NTT) in adult zebrafish. Adult female and male zebrafish were characterized using locomotor and spatial measures together with four machine-learning-derived behavioral states: Baseline Exploration, Hyperactive State, Thrashing, and Immobility. Behavior during the NTT was organized into distinct and recurring behavioral states with characteristic locomotor signatures. Females exhibited reduced vertical exploration and increased immobility relative to males, whereas total distance traveled did not differ significantly between sexes after correction for multiple comparisons. Both sexes habituated to novelty over time, and within-sex comparisons showed progressive increases in active behavioral states in males and in vertical exploration in females, although no Sex x Time interaction was detected. Exploratory clustering identified four behavioral profiles, and females were overrepresented in a passive, bottom-oriented profile characterized by elevated immobility and reduced exploration. Three profiles that did not differ significantly in vertical exploration differed markedly in behavioral-state composition, suggesting that comparable aggregate outcomes may arise through different behavioral organizations. Together, these findings show that sex-dependent variation in zebrafish behavior in the NTT is visible in behavioral-state occupancy and in the distribution of individual behavioral profiles, in addition to conventional anxiety-like measures. State-resolved analysis may therefore help distinguish behavioral organizations that aggregate endpoints do not separate.

animal behavior and cognition↗

Helping behaviour in pigs across two study sites: testing the effects of stress manipulation

A key question in the study of prosociality and helping behaviour is whether animals adjust their actions to the needs of others. We conducted a helping test with 238 pigs representing two different breeds at two research institutes. Each pig was trapped once in one of two compartments attached to its home pen, while the other remained empty. Only conspecifics in the pen could open the door to release it. Before being trapped, pigs were randomly assigned to a low-stress treatment, in which they were moved directly from the home pen to the compartment, or to a high-stress treatment, in which they spent 10 min in social isolation before entering the compartment. These treatments were not witnessed by potential helpers. Overall, pigs opened trapped-pig compartments more frequently than empty ones (82% versus 66%) and with shorter latencies. The high-stress treatment produced greater increases in salivary cortisol, but we found no evidence of corresponding increases in distress signalling or in the likelihood or speed of release. However, the rate of release was higher when the trapped pig had emitted a distress vocalisation within the preceding minute. Thus, vocal communication offers a promising focus for future research on helping behaviour across species.

animal behavior and cognition↗

Neuromodulators are involved in the adaptive shift in response strategy

Habituation is a type of non-associative learning in which a decrement in response after repeated exposure to a stimulus is observed. In the model organism Caenorhabditis elegans (C. elegans), this habituation response is seen as a decrease in magnitude and frequency of moving backwards after a mechanosensory tap. Although there is a common belief that habituation is simply animals learning to ignore the stimuli, Ardiel et al., (2017) found that with optogenetic stimulation of the C. elegans' ASH nociceptive neurons, which signal potentially lethal cues, there was a decrease in backward movement alongside an increase in forward movement in between stimuli. Thus, worms' shift their behavioral response strategy from simply decrementing backwards movement to simultaneously increasing forward movement between stimuli leading to greater dispersal away from the site of stimulation. Here, we follow up on this finding to investigate whether a similar shift is seen after repeated delivery of a mechanosensory stimulus, a tap. We found that over repeated taps, worms exhibited the same increase in dispersal seen in Ardiel et al., (2017), and we demonstrated that this behavior was mediated by a number of neuromodulators. Interestingly, while neuropeptides were important for increasing locomotory arousal over taps, dopamine and tyramine were responsible for reducing locomotory arousal. Multiple behavioral analyses reveal that this shift in response strategy is a combination of different behaviors: dispersal speed and responses duration, both of which are mediated by neuromodulators. Together, they create the overall dispersal distance showing the complex plasticity of habituation behavior

animal behavior and cognition↗