Bifurcations and loss jumps in RNN training
Lukas Eisenmann, Zahra Monfared, Niclas Alexander Göring, Daniel Durstewitz
Abstract
Recurrent neural networks (RNNs) are popular machine learning tools for modeling and forecasting sequential data and for inferring dynamical systems (DS) from observed time series. Concepts from DS theory (DST) have variously been used to further our understanding of both, how trained RNNs solve complex tasks, and the training process itself. Bifurcations are particularly important phenomena in DS, including RNNs, that refer to topological (qualitative) changes in a system's dynamical behavior as one or more of its parameters are varied. Knowing the bifurcation structure of an RNN will thus allow to deduce many of its computational and dynamical properties, like its sensitivity to parameter variations or its behavior during training. In particular, bifurcations may account for sudden loss jumps observed in RNN training that could severely impede the training process. Here we first mathematically prove for a particular class of ReLU-based RNNs that certain bifurcations are indeed associated with loss gradients tending toward infinity or zero. We then introduce a novel heuristic algorithm for detecting all fixed points and k-cycles in ReLU-based RNNs and their existence and stability regions, hence bifurcation manifolds in parameter space. In contrast to previous numerical algorithms for finding fixed points and common continuation methods, our algorithm provides exact results and returns fixed points and cycles up to high orders with surprisingly good scaling behavior. We exemplify the algorithm on the analysis of the training process of RNNs, and find that the recently introduced technique of generalized teacher forcing completely avoids certain types of bifurcations in training. Thus, besides facilitating the DST analysis of trained RNNs, our algorithm provides a powerful instrument for analyzing the training process itself.
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.
8 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
- On the difficulty of learning chaotic dynamics with RNNs cites Tractable Dendritic RNNs for Reconstructing Nonlinear Dynamical Systems
- Optimal Recurrent Network Topologies for Dynamical Systems Reconstruction cites Tractable Dendritic RNNs for Reconstructing Nonlinear Dynamical Systems
- Optimal Recurrent Network Topologies for Dynamical Systems Reconstruction cites Generalized Teacher Forcing for Learning Chaotic Dynamics
- Integrating Multimodal Data for Joint Generative Modeling of Complex Dynamics cites On the difficulty of learning chaotic dynamics with RNNs
- Integrating Multimodal Data for Joint Generative Modeling of Complex Dynamics cites Tractable Dendritic RNNs for Reconstructing Nonlinear Dynamical Systems
- Integrating Multimodal Data for Joint Generative Modeling of Complex Dynamics cites Generalized Teacher Forcing for Learning Chaotic Dynamics
- Inferring stochastic low-rank recurrent neural networks from neural data cites Tractable Dendritic RNNs for Reconstructing Nonlinear Dynamical Systems
- Inferring stochastic low-rank recurrent neural networks from neural data cites Integrating Multimodal Data for Joint Generative Modeling of Complex Dynamics
- Inferring stochastic low-rank recurrent neural networks from neural data cites Generalized Teacher Forcing for Learning Chaotic Dynamics
- Almost-Linear RNNs Yield Highly Interpretable Symbolic Codes in Dynamical Systems Reconstruction cites On the difficulty of learning chaotic dynamics with RNNs
- Almost-Linear RNNs Yield Highly Interpretable Symbolic Codes in Dynamical Systems Reconstruction cites Tractable Dendritic RNNs for Reconstructing Nonlinear Dynamical Systems
- Almost-Linear RNNs Yield Highly Interpretable Symbolic Codes in Dynamical Systems Reconstruction cites Optimal Recurrent Network Topologies for Dynamical Systems Reconstruction
- Almost-Linear RNNs Yield Highly Interpretable Symbolic Codes in Dynamical Systems Reconstruction cites Integrating Multimodal Data for Joint Generative Modeling of Complex Dynamics
- Almost-Linear RNNs Yield Highly Interpretable Symbolic Codes in Dynamical Systems Reconstruction cites Generalized Teacher Forcing for Learning Chaotic Dynamics
- Generalized Teacher Forcing for Learning Chaotic Dynamics cites On the difficulty of learning chaotic dynamics with RNNs
- Generalized Teacher Forcing for Learning Chaotic Dynamics cites Tractable Dendritic RNNs for Reconstructing Nonlinear Dynamical Systems
- Generalized Teacher Forcing for Learning Chaotic Dynamics cites Reverse engineering recurrent neural networks with Jacobian switching linear dynamical systems
- True Zero-Shot Inference of Dynamical Systems Preserving Long-Term Statistics cites On the difficulty of learning chaotic dynamics with RNNs
- True Zero-Shot Inference of Dynamical Systems Preserving Long-Term Statistics cites Tractable Dendritic RNNs for Reconstructing Nonlinear Dynamical Systems
- True Zero-Shot Inference of Dynamical Systems Preserving Long-Term Statistics cites Optimal Recurrent Network Topologies for Dynamical Systems Reconstruction
- True Zero-Shot Inference of Dynamical Systems Preserving Long-Term Statistics cites Integrating Multimodal Data for Joint Generative Modeling of Complex Dynamics
- True Zero-Shot Inference of Dynamical Systems Preserving Long-Term Statistics cites Inferring stochastic low-rank recurrent neural networks from neural data
- True Zero-Shot Inference of Dynamical Systems Preserving Long-Term Statistics cites Almost-Linear RNNs Yield Highly Interpretable Symbolic Codes in Dynamical Systems Reconstruction
- True Zero-Shot Inference of Dynamical Systems Preserving Long-Term Statistics cites Generalized Teacher Forcing for Learning Chaotic Dynamics
Cited by top-tier papers8
- Inferring stochastic low-rank recurrent neural networks from neural dataMatthijs Pals, A Erdem Sagtekin, Felix Pei, Manuel Glöckler et al.NeurIPS 2024 · 37 citations
- True Zero-Shot Inference of Dynamical Systems Preserving Long-Term StatisticsChristoph Jürgen Hemmer, Daniel DurstewitzNeurIPS 2025 · 25 citations
- Almost-Linear RNNs Yield Highly Interpretable Symbolic Codes in Dynamical Systems ReconstructionManuel Brenner, Christoph Jürgen Hemmer, Zahra Monfared, Daniel DurstewitzNeurIPS 2024 · 22 citations
- Integrating Multimodal Data for Joint Generative Modeling of Complex DynamicsManuel Brenner, Florian Hess, Georgia Koppe, Daniel DurstewitzICML 2024 · 18 citations
- Optimal Recurrent Network Topologies for Dynamical Systems ReconstructionChristoph Jürgen Hemmer, Manuel Brenner, Florian Hess, Daniel DurstewitzICML 2024 · 6 citations
Builds on12
- Understanding Gradient Descent on the Edge of Stability in Deep LearningSanjeev Arora, Zhiyuan Li, Abhishek PanigrahiICML 2022 · 139 citations
- On the difficulty of learning chaotic dynamics with RNNsJonas M. Mikhaeil, Zahra Monfared, Daniel DurstewitzNeurIPS 2022 · 109 citations
- Generalized Teacher Forcing for Learning Chaotic DynamicsFlorian Hess, Zahra Monfared, Manuel Brenner, Daniel DurstewitzICML 2023 · 67 citations
- Tractable Dendritic RNNs for Reconstructing Nonlinear Dynamical SystemsManuel Brenner, Florian Hess, Jonas M. Mikhaeil, Leonard F. Bereska et al.ICML 2022 · 48 citations
- Reverse engineering recurrent neural networks with Jacobian switching linear dynamical systemsJimmy T. H. Smith, Scott W. Linderman, David SussilloNeurIPS 2021 · 44 citations
Related papers
- Detecting Invariant Manifolds in ReLU-Based RNNsLukas Eisenmann, Alena Brändle, Zahra Monfared, Daniel DurstewitzICLR 2026 · 3 citations
- Topology and geometry of the learning space of ReLU networks: connectivity and singularitiesMarco Nurisso, Pierrick Leroy, Giovanni Petri, Francesco VaccarinoICLR 2026 · 6 citations
- Identifying nonlinear dynamical systems with multiple time scales and long-range dependenciesDominik Schmidt, Georgia Koppe, Zahra Monfared, Max Beutelspacher et al.ICLR 2021 · 41 citations
- Continuous-Time Piecewise-Linear Recurrent Neural NetworksAlena Brändle, Lukas Eisenmann, Florian Götz, Daniel DurstewitzICML 2026 · 2 citations
- On Logical Extrapolation for Mazes with Recurrent and Implicit NetworksBrandon Knutson, Amandin Chyba Rabeendran, Michael I. Ivanitskiy, Jordan Pettyjohn et al.AAAI 2026 · 7 citations
