A ghost mechanism: An analytical model of abrupt learning in recurrent networks
Not on the map. Why?
Abstract (arXiv)
Abrupt learning is a common phenomenon in recurrent neural networks (RNNs) trained on working memory tasks. In such cases, the networks develop transient slow regions in state space that extend the effective timescales of computation. However, the mechanisms driving sudden performance improvements and their causal role remain unclear. To address this gap, we introduce the ghost mechanism, a process by which dynamical systems exhibit transient slowdown near the remnant of a saddle-node bifurcation. By reducing the high-dimensional dynamics near ghost points, we derive a one-dimensional canonical form that analytically captures learning as a process controlled by a single scale parameter. Using this model, we study a form of abrupt learning emerging from ghost points and identify a critical learning rate that scales as an inverse power law with the timescale of the learned computation. Beyond this rate, learning collapses through two interacting modes: (i) vanishing gradients and (ii) oscillatory gradients near minima. These features can lock the system into high-confidence but incorrect predictions when parameter updates trigger a no-learning zone, a region of parameter space where gradients vanish. We validate these predictions in low-rank RNNs, where ghost points precede abrupt transitions, and further demonstrate their generality in full-rank RNNs trained on canonical working memory tasks. Our theory offers two approaches to address these learning difficulties: increasing trainable ranks stabilizes learning trajectories, while reducing output confidence mitigates entrapment in no-learning zones. Overall, the ghost mechanism reveals how the computational demands of a task constrain the optimization landscape, demonstrating that well-known learning difficulties in RNNs partly arise from the dynamical systems they must learn to implement.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 28 of its 97 references that are in the map. First posted on arXiv 4 Jan 2025.
Builds on
28 of 97 references.
References · 28
- 2017Attention Is All You Needcited by 60,361
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
- 2022In-context Learning and Induction Headscited by 964
- 2017The Marginal Value of Adaptive Gradient Methods in Machine Learningcited by 250
- 2020The large learning rate phase of deep learning: the catapult mechanismcited by 216
- 2014Qualitatively characterizing neural network optimization problemscited by 188
- 2021Deep physical neural networks enabled by a backpropagation algorithm for arbitrary physical systemscited by 128
- 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 118
- 2023A Theory for Emergence of Complex Skills in Language Modelscited by 113
- 2023Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Taskcited by 93
16 more
- 2023Skill-Mix: a Flexible and Expandable Family of Evaluations for AI modelscited by 64
- 2019Universality and individuality in neural dynamics across large populations of recurrent networkscited by 61
- 2023Generalized Teacher Forcing for Learning Chaotic Dynamicscited by 58
- 2017Linking connectivity, dynamics and computations in low-rank recurrent neural networkscited by 51
- 2022Experimentally realized in situ backpropagation for deep learning in nanophotonic neural networkscited by 44
- 2019Reverse engineering recurrent networks for sentiment classification reveals line attractor dynamicscited by 39
- 2023The physics of optical computingcited by 33
- 2021Large-scale neural recordings call for new insights to link brain and behaviorcited by 28
- 2024A Percolation Model of Emergence: Analyzing Transformers Trained on a Formal Languagecited by 26
- 2016Recurrent Network Models Of Sequence Generation And Memorycited by 21
- 2020The interplay between randomness and structure during learning in RNNscited by 20
- 2020Shaping dynamics with multiple populations in low-rank recurrent networkscited by 10
- 2023Smooth Exact Gradient Descent Learning in Spiking Neural Networkscited by 10
- 2024Back to the Continuous Attractorcited by 6
- 2023CORNN: Convex optimization of recurrent neural networks for rapid inference of neural dynamicscited by 5
- 2023On the Dynamics of Learning Time-Aware Behavior with Recurrent Neural Networkscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.