Deep Recurrent Q-Learning Captures the Behavioral DynamicsObserved in Deterministic and Stochastic Task Switching
Andrew H. FaggiD, Martin DigesiD, Abigail Z. RajalaiD, Golnaz HabibiiD, Aaron J. SuminskiiD, Luis C. PopuliniD
Abstract
Cognitive Flexibility (CF) is the ability to switch between tasks, even under conditions when the need to switch is not explicitly cued. While the prefrontal cortex and its interaction with subcortical regions are considered central to CF, a key question remains: what are the underlying computational mechanisms that implement the switch from one task to another? In particular, does the switch rely on 1) learning processes in which synaptic changes directly alter action execution choice, or 2) neural state processes that estimate a belief state from which actions can be chosen? Bartolo and Averbeck (2020) argue for the neural state change hypothesis, proposing a Bayesian belief state estimation model, and ruling out Reinforcement Learning as an approach to modeling CF tasks because of its reliance on synaptic changes to implement the switch. We propose instead a Reinforcement Learning-based Deep Recurrent Q-Learning (DRQL) model that simultaneously learns to update a belief state representation based on prior action outcomes, and an action preference representation based on this belief state. This model is presented with a repeated-trial, force-choice probability switching task (PST) in which actions are rewarded stochastically, and the reward probabilites switch between blocks of trials. Although the model is not explicitly cued to the task type, probability of reward, or time of switch, following training, the model performs the PST in the absence of synaptic changes. We show that the trained model produces behavior consistent with non-human primates performing a similar task, and that it develops a belief state representation that captures key information about the current state of the task. Significance StatementThe proposed DRQL model learns to perform the PST, even when reward probabilities vary across different blocks of trials. Behaviorally, the trained model requires different amounts of time to commit to a task switch, depending on the uncertainty of the reward information, with quicker switches for more certain outcomes. The learned belief state and other computed measures may give insight into the neural mechanisms underlying task switching in the primate brain. In contrast with other approaches, the DRQL model presents a more biologically tractable solution to CF, as it is easily adapted to other forms of the PST task, including altering the number of possible actions and the rules for providing rewards.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Organism
- Research Focus
- 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
- Anterior cingulate cortex represents action-state predictions and causally mediates model-based reinforcement learning in a two-step decision task.
Thomas E. Akam, Ines Rodrigues-Vaz, … Rui M. Costa·bioRxiv·May 23, 2020
- Dynamic belief representation and updating through learned attractor-like dynamics in the frontal cortex
Sandra Romero Pinto, Jay A. Hennig, … Naoshige Uchida·bioRxiv·Sep 23, 2026
- Dynamic reinforcement learning reveals time-dependent shifts in strategy during reward learning.
Sarah Jo C Venditto, Kevin J. Miller, … Nathaniel D. Daw·bioRxiv·Feb 28, 2024
- Fictive Learning in Model-based Reinforcement Learning by Generalized Reward Prediction Errors
Jianning Chen, Masakazu Taira, Kenji Doya·Communications in computer and information sciencePeer-reviewed·Nov 15, 2025
- Predictive representations can link model-based reinforcement learning to model-free mechanisms
Evan M. Russek, Ida Momennejad, … Nathaniel D. Daw·PLoS Computational BiologyPeer-reviewed·Sep 25, 2017
- Discovering dynamical models of human behavior
Paul I. Jaffe, Russell Alan Poldrack, … Patrick G. Bissett·Nature Human BehaviourPeer-reviewed·Jan 19, 2023