Training biologically plausible recurrent neural networks on cognitive tasks with long-term dependencies
Abstract
Training recurrent neural networks (RNNs) has become a go-to approach for generating and evaluating mechanistic neural hypotheses for cognition. The ease and efficiency of training RNNs with backpropagation through time and the availability of robustly supported deep learning libraries has made RNN modeling more approachable and accessible to neuroscience. Yet, a major technical hindrance remains. Cognitive processes such as working memory and decision making involve neural population dynamics over a long period of time within a behavioral trial and across trials. It is difficult to train RNNs to accomplish tasks where neural representations and dynamics have long temporal dependencies without gating mechanisms such as LSTMs or GRUs which currently lack experimental support and prohibit direct comparison between RNNs and biological neural circuits. We tackled this problem based on the idea of specialized skip-connections through time to support the emergence of task-relevant dynamics, and subsequently reinstitute biological plausibility by reverting to the original architecture. We show that this approach enables RNNs to successfully learn cognitive tasks that prove impractical if not impossible to learn using conventional methods. Over numerous tasks considered here, we achieve less training steps and shorter wall-clock times, particularly in tasks that require learning long-term dependencies via temporal integration over long timescales or maintaining a memory of past events in hidden-states. Our methods expand the range of experimental tasks that biologically plausible RNN models can learn, thereby supporting the development of theory for the emergent neural mechanisms of computations involving long-term dependencies.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 4
- FWCI
- 0.71
- Field percentile
- top 26%
- 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
- A novel framework for expanding RNNs with biophysical detail to solve cognitive tasks
Nicholas M. Tolley, Stephanie R. Jones·bioRxiv·Mar 17, 2026
- Local online learning in recurrent networks with random feedback
James M. Murray·eLifePeer-reviewed·May 24, 2019
- Random noise promotes slow heterogeneous synaptic dynamics important for robust working memory computation
Nuttida Rungratsameetaweemana, Robert Kim, … Terrence J. Sejnowski A B·Proceedings of the National Academy of SciencesPeer-reviewed·Jan 16, 2025
- PsychRNN: An Accessible and Flexible Python Package for Training Recurrent Neural Network Models on Cognitive Tasks
Daniel B. Ehrlich, Jasmine T. Stone, … John D. Murray·eNeuroPeer-reviewed·Dec 16, 2020
- Compositional pretraining improves computational efficiency and matches animal behavior on complex tasks
David L. Hocker, Christine M. Constantinople, Cristina Savin·bioRxiv·Jan 12, 2024
- Learning complex temporal dependencies via local synaptic plasticity
Koy Chong Ng Kee Kwong, Mufeng Tang, … Rafał Bogacz·bioRxiv·Jul 10, 2026