Learning Dynamics of RNNs in Closed-Loop Environments
Abstract
Recurrent neural networks (RNNs) trained on neuroscience-inspired tasks offer powerful models of brain computation. However, typical training paradigms rely on open-loop, supervised settings, whereas real-world learning unfolds in closed-loop environments. Here, we develop a mathematical theory describing the learning dynamics of linear RNNs trained in closed-loop contexts. We first demonstrate that two otherwise identical RNNs, trained in either closed- or open-loop modes, follow markedly different learning trajectories. To probe this divergence, we analytically characterize the closed-loop case, revealing distinct stages aligned with the evolution of the training loss. Specifically, we show that the learning dynamics of closed-loop RNNs, in contrast to open-loop ones, are governed by an interplay between two competing objectives: short-term policy improvement and long-term stability of the agent-environment interaction. Finally, we apply our framework to a realistic motor control task, highlighting its broader applicability. Taken together, our results underscore the importance of modeling closed-loop dynamics in a biologically plausible setting.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Extracting computational mechanisms from neural data using low-rank RNNs cites The interplay between randomness and structure during learning in RNNs
- How connectivity structure shapes rich and lazy learning in neural circuits cites The interplay between randomness and structure during learning in RNNs
- Temporal superposition and feature geometry of RNNs under memory demands cites The interplay between randomness and structure during learning in RNNs
- Temporal superposition and feature geometry of RNNs under memory demands cites Resurrecting Recurrent Neural Networks for Long Sequences
- Saddle-to-Saddle Dynamics Explains A Simplicity Bias Across Neural Network Architectures cites Neural networks trained with SGD learn distributions of increasing complexity
- Saddle-to-Saddle Dynamics Explains A Simplicity Bias Across Neural Network Architectures cites How connectivity structure shapes rich and lazy learning in neural circuits
Cited by top-tier papers2
- Saddle-to-Saddle Dynamics Explains A Simplicity Bias Across Neural Network ArchitecturesYedi Zhang, Andrew M. Saxe, Peter E. LathamICLR 2026 · 15 citations
- Temporal superposition and feature geometry of RNNs under memory demandsPratyaksh Sharma, Alexandra Maria Proca, Lucas Prieto, Pedro A. M. MedianoICLR 2026
Builds on11
- Resurrecting Recurrent Neural Networks for Long SequencesAntonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando et al.ICML 2023 · 474 citations
- The interplay between randomness and structure during learning in RNNsFriedrich Schüßler, Francesca Mastrogiuseppe, Alexis M. Dubreuil, Srdjan Ostojic et al.NeurIPS 2020 · 91 citations
- Extracting computational mechanisms from neural data using low-rank RNNsAdrian Valente, Jonathan W. Pillow, Srdjan OstojicNeurIPS 2022 · 71 citations
- Neural networks trained with SGD learn distributions of increasing complexityMaria Refinetti, Alessandro Ingrosso, Sebastian GoldtICML 2023 · 58 citations
- How connectivity structure shapes rich and lazy learning in neural circuitsYuhan Helena Liu, Aristide Baratin, Jonathan Cornford, Stefan Mihalas et al.ICLR 2024 · 26 citations
Related papers
- Learning rule influences recurrent network representations but not attractor structure in decision-making tasksBrandon McMahan, Michael Kleinman, Jonathan C. KaoNeurIPS 2021 · 5 citations
- Learning dynamics in linear recurrent neural networksAlexandra Maria Proca, Clémentine Carla Juliette Dominé, Murray Shanahan, Pedro A. M. MedianoICML 2025
- RNNs of RNNs: Recursive Construction of Stable Assemblies of Recurrent Neural NetworksLeo Kozachkov, Michaela Ennis, Jean-Jacques E. SlotineNeurIPS 2022 · 30 citations
- Feedback Favors the Generalization of Neural ODEsJindou Jia, Zihan Yang, Meng Wang, Kexin Guo et al.ICLR 2025
- Curriculum learning as a tool to uncover learning principles in the brainDaniel R. Kepple, Rainer Engelken, Kanaka RajanICLR 2022 · 21 citations
