bioRxiv Science⌕ Search

bioRxiv · 10.1101/2025.03.21.644663

Deep Learning Improves Parameter Estimation in Reinforcement Learning Models

Abstract

AO_SCPLOWBSTRACTC_SCPLOWCognitive models are widely used in psychology and neuroscience to formulate and test hypotheses about cognitive processes. These processes are characterized by model parameters, which are then used for scientific inference. The reliability of scientific conclusions from cognitive modeling depends critically on the reliability of parameter estimation, yet estimating parameters remains a universal challenge particularly when data are too limited to constrain them. In such cases, multiple sets of parameters may explain the experimental data equally well within the same model, raising the question of which parameters are scientifically meaningful. We refer to this problem as parameter ambiguity. In this paper, we investigate parameter ambiguity in reinforcement learning under two optimization methods. We employ the de facto Nelder-Mead method (fminsearch) and a neural network trained to estimate parameters using a modern deep learning pipeline, which has seen limited application in cognitive modeling. Across ten decision-making datasets, we consistently find that the two methods produce substantially different parameter estimates despite achieving nearly identical fitting performance. To address this ambiguity, we introduce a systematic evaluation framework that goes beyond predictive accuracy to assess generalizability, robustness, identifiability, and test-retest reliability, thereby offering principled guidance on which parameter estimates should inform scientific inference. Applying this framework reveals that the neural network with a deep learning pipeline outperforms across these metrics. Our study establishes parameter ambiguity as an underappreciated challenge with significant implications for scientific replicability, highlighting that the choice of optimization method is a critical factor shaping scientific conclusions. We advocate for our multi-faceted evaluation approach to ensure reliable scientific inference and for broader integration of modern deep learning pipelines into cognitive modeling.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Xiong, H.-D., Ji-An, L., Mattar, M. G., Wilson, R. C.. 2025-03-24. Deep Learning Improves Parameter Estimation in Reinforcement Learning Models. https://doi.org/10.1101/2025.03.21.644663. https://biorxiv.science/record/biorxiv%3A10.1101%2F2025.03.21.644663/deep-learning-improves-parameter-estimation-in-reinforcement-learning-models

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↗