Ecologically pre-trained RNNs explain suboptimal animal decisions
Manuel Molano‐MazóniD, Yuxiu ShaoiD, Daniel DuqueiD, Guangyu Robert YangiD, Srdjan OstojiciD, Jaime de la RochaiD
Abstract
The strategies found by animals facing a new task are determined both by individual experience and by structural priors evolved to leverage the statistics of natural environments. Rats can quickly learn to capitalize on the trial sequence correlations of two-alternative forced choice (2AFC) tasks after correct trials, but consistently deviate from optimal behavior after error trials, when they waive the accumulated evidence. To understand this outcome-dependent gating, we first show that Recurrent Neural Networks (RNNs) trained in the same 2AFC task outperform rats as they can readily learn to use across-trial information both after correct and error trials. We hypothesize that, while RNNs can optimize their behavior in the 2AFC task without any a priori restrictions, rats strategy is constrained by a structural prior adapted to a natural environment in which rewarded and non-rewarded actions provide largely asymmetric information. When pre-training RNNs in a more ecological task with more than two possible choices, networks develop a strategy by which they gate off the across-trial evidence after errors, mimicking rats behavior. Population analyses show that the pre-trained networks form an accurate representation of the sequence statistics independently of the outcome in the previous trial. After error trials, gating is implemented by a change in the network dynamics which temporarily decouples the categorization of the stimulus from the across-trial accumulated evidence. Our results suggest that the suboptimal behavior observed in rats reflects the influence of a structural prior that reacts to errors by isolating the network decision dynamics from the context, ultimately constraining the performance in a 2AFC laboratory task.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 6
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Structured experience shapes strategy learning and neural dynamics in the medial entorhinal cortex
John C. Bowler, Dua Azhar, … James G. Heys·Nature NeurosciencePeer-reviewed·Sep 3, 2026
- Reward-based training of recurrent neural networks for cognitive and value-based tasks
H. Francis Song, Guangyu R. Yang, Xiao-Jing Wang·bioRxiv·Aug 19, 2016
- Compositional pretraining improves computational efficiency and matches animal behavior on complex tasks
David L. Hocker, Christine M. Constantinople, Cristina Savin·bioRxiv·Jan 12, 2024
- Emergence of belief-like representations through reinforcement learning
Jay A. Hennig, Sandra Romero Pinto, … Samuel Joseph Gershman·PLoS Computational BiologyPeer-reviewed·Sep 11, 2023
- Exploration-exploitation mechanisms in recurrent neural networks and human learners in restless bandit problems
Deniz Tuzsus, A.M.A. Brands, … Jan Peters·Computational Brain & BehaviorPeer-reviewed·May 24, 2024
- A recurrent neural network model of prefrontal brain activity during a working memory task
Emilia P. Piwek, Mark G. Stokes, Christopher Summerfield·PLoS Computational BiologyPeer-reviewed·Oct 18, 2023