Journal of NeurophysiologyNeurosciencePeer-reviewed journal article
Considerations in using recurrent neural networks to probe neural dynamics
Abstract
Recurrent neural networks (RNNs) are increasingly being used to model complex cognitive and motor tasks performed by behaving animals. Here, RNNs are trained to reproduce animal behavior while also recapitulating key statistics of empirically recorded neural activity. In this manner, the RNN can be viewed as an in silico circuit whose computational elements share similar motifs with the cortical area it is modeling. Further, as the RNN's governing equations and parameters are fully known, they can be analyzed to propose hypotheses for how neural populations compute. In this context, we present important considerations when using RNNs to model motor behavior in a delayed reach task. First, by varying the network's nonlinear activation and rate regularization, we show that RNNs reproducing single neuron firing rate motifs may not adequately capture important population motifs. Second, by visualizing the RNN's dynamics in low-dimensional projections, we demonstrate that even when RNNs recapitulate key neurophysiological features on both the single neuron and population levels, it can do so through distinctly different dynamical mechanisms. To militate between these mechanisms, we show that an RNN consistent with a previously proposed dynamical mechanism is more robust to noise. Finally, we show that these dynamics are sufficient for the RNN to generalize to a target switch task it was not trained on. Together, these results emphasize important considerations when using RNN models to probe neural dynamics.
- Citations
- 23
- FWCI
- 1.16
- Field percentile
- top 23%
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
- Reconstructing Computational Dynamics from Neural Measurements with Recurrent Neural Networks
Daniel Durstewitz, Georgia Koppe, Max Ingo Thurm·bioRxiv·Oct 31, 2022
- Task-Parametrized Dynamics: Representation of Time and Decisions in Recurrent Neural Networks
C. Jarne, Ryeongkyung Yoon, … Krešimir Josić́·Journal of Computational NeurosciencePeer-reviewed·Aug 18, 2026
- In search for the invisible: motor inhibition in monkey premotor cortex and its RNN replicas
Nicola Alboré, Andrea Galluzzi, … Maurizio Mattia·bioRxiv·Nov 24, 2025
- NeuralRNN: a unified framework for recurrent neural network methods in cognitive neuroscience
Honghua Chen, Nai Ding·bioRxiv·Sep 21, 2026
- Engineering recurrent neural networks from task-relevant manifolds and dynamics
Eli Pollock, Mehrdad Jazayeri·PLoS Computational BiologyPeer-reviewed·Aug 12, 2020
- Encoding time in neural dynamic regimes with distinct computational tradeoffs
Shanglin Zhou, Sotiris C. Masmanidis, Dean V. Buonomano·PLoS Computational BiologyPeer-reviewed·Mar 3, 2022