Manuscript Offprint
arXiv:2610.35785A theory of noisy linear recurrent neural network learning dynamics
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Biological neural networks are noisy: their dynamics involve difficult-to-predict fluctuations which are likely due not just to chaos, but also to a variety of low-level biophysical processes. Despite the omnipresence of intrinsic noise, its theoretical consequences are incompletely understood, especially in the context of learning. For example, does noise meaningfully shape representation learning, or is it better viewed as a nuisance factor whose presence or absence changes little about what solution is found and when? Here, we argue that intrinsic noise can significantly modulate representation learning in recurrent neural networks (RNNs), since it can strongly break solution-space degeneracies and in some cases control whether a non-degenerate solution exists at all. We show that this is true for an analytically tractable model of noisy RNN learning with a linear activation function and white noise inputs. We find that, in the so-called rich regime (where weights are initialized with small values), noise strongly modulates the directions in which the read-in, readout, and recurrent weights align. Moreover, we find that noise produces a kind of phase transition: for sufficiently high noise, a non-degenerate solution is not even optimal if parameter scales are limited (e.g., via regularization). These results extend recent analytic work on RNN representation learning and show that noise can act as a fundamental determinant of representations.
1 INTRODUCTION
Recurrent neural networks (RNNs) are extraordinarily successful models of the brain (Vogels et al., 2005; Mante et al., 2013; Rajan et al., 2016; Vyas et al., 2020), and the past two decades of theory and experiment have produced a working understanding of what they learn and how. Their loss landscapes are generally more complex than those of feedforward networks, in part because recurrence can produce exploding and vanishing gradients (Bengio et al., 1994; Pascanu et al., 2013); their solution space is generally highly degenerate (Huang et al., 2025); and they can be biased towards learning low-rank solutions (Schuessler et al., 2020). But a major feature of RNNs that remains poorly understood is the significance of intrinsic noise.
Noise is omnipresent in biological neural networks: spike trains and firing rate traces throughout the nervous system involve difficult-to-predict fluctuations (Faisal et al., 2008), which may be a manifestation of chaotic behavior (Sompolinsky et al., 1988; Crisanti & Sompolinsky, 2018) or low-level stochasticity associated with chemical reactions. Although from one perspective noise is a nuisance, from another it provides pressure for networks to find more robust solutions. Noise is routinely used in RNN training (Yang et al., 2019; Driscoll et al., 2024), in part to improve generalization, and there is evidence that noise can drive networks into flatter loss landscape minima (Lim et al., 2021).
From a representation-learning perspective, it may be helpful to view noise as having two potential consequences. First, noise can provide geometric constraints on solutions: weights must be oriented in certain directions (i.e., the less noisy directions) and not others, and their overall scales must be chosen to minimize noise. Second, the goal of minimizing noise may compete with that of achieving good task performance; if there is too much noise, one expects that the system may be driven to a trivial solution at which task performance is poor, but there is little or no noise.
Although RNN learning dynamics are difficult to study, an interesting toy model of them has emerged in recent work: linear RNNs, especially linear RNNs trained to perform leaky integration of a white noise stimulus (Proca et al., 2025; Bordelon et al., 2025). As Bordelon et al. (2025) show, when network parameters are initially small, learning has two phases: an alignment phase, in which parameter movement concentrates along a specific (initialization-dependent) direction of state space, followed by a dynamics phase, in which an eigenvalue ‘escapes’ from the bulk in order to solve the task.
In this work, we consider an extremely similar theoretical setup, whose primary difference is the presence of (generally anisotropic) intrinsic noise. We show that their theory must be substantially modified even if there is only a small amount of noise, since noise affects both the alignment and dynamics phases, and even whether a nontrivial solution exists at all. Throughout, we focus on characterizing learning in the rich regime, as opposed to the lazy regime, in part because the rich regime is thought to be more representative of learning in performant RNNs.
Our main contributions are as follows.
• We develop an analytically tractable theory of representation learning in linear RNNs with intrinsic noise. We show that noise breaks degeneracies of the original objective, which yields preferred state space directions and read-in/readout scales.
• We characterize how intrinsic noise modifies rich-regime learning dynamics. During the alignment phase, anisotropic noise changes the growth rates of different state-space modes, which biases learning toward less noisy directions. Noise also breaks the symmetry between the read-in and readout weights, and in the absence of regularization, drives the input weight scale to infinity and the output weight scale to zero.
• We show that sufficiently strong noise can produce phase transitions beyond which only a trivial solution is learned. This is true both when all parameters are trainable and when some parameters are frozen.

b
C
d Task:
match filter
while minimizing noise
Figure 1: Theoretical setting. (a) We study a noisy linear RNN which receives a scalar white noise signal as input and produces an output . The dynamics of individual are noisy (bottom). (b) On average, the network filters its input. (c) Output variance is input-independent and eventually saturates (assuming the network is stable). (d) We assume the network is trained to optimize an objective with three terms: a filter-matching term that incentivizes matching its average behavior to that of a target filter , a noise reduction term, and a regularization term.
Our setup largely mirrors that of Bordelon et al. (2025). Throughout this paper, we study a linear RNN with neurons whose instantaneous state is characterized by a vector . We assume dynamics
where is a time-dependent input signal, are the read-in weights, is the coefficient of the leak term, and are the recurrent weights (Fig. 1a). To ease notation, we sometimes work with the combination . The remaining term instantiates intrinsic noise: controls its amplitude, and is a vector of Gaussian white noise processes. We are most interested in understanding how the structure of shapes learning.
Because Eq. 1 is linear in and involves only state-independent additive noise, we can immediately write down the distribution of conditional on any initial condition, although we will assume for simplicity. We find that is normally distributed with
where is, up to a factor of 2, the diffusion tensor associated with (which we take to be positive definite). On average, the network linearly filters its input (Fig. 1b). But because this integration is noisy, -dependent noise accumulates until (provided the eigenvalues of all have negative real parts) it saturates (Fig. 1c).
2.1 OBJECTIVE FUNCTION
Following Bordelon et al. (2025), assume a linear readout determined by readout weights :
This readout defines a filter since, on average,
Assume we train some combination of u, v, and W so that matches a target output
which linearly filters its input using the target filter . Here, controls the time scale on which input is leaky-integrated. Assume we do this using the supervised objective
which demands that the network output agrees with on average. Note that we have also included a regularization term whose strength is determined by . This objective can be simplified if the input has white noise statistics (Proca et al., 2025; Bordelon et al., 2025), i.e., if and . We find (see Appendix A)
Note that J has three terms: (i) a filter-matching term , (ii) a noise term , and (iii) a regularization term (Fig. 1d). Bordelon et al. (2025) only considered the filter-matching term; we will see that the other two terms strongly modulate learning dynamics.
2.2 LEARNING DYNAMICS
RNNs are normally trained via backpropagation through time (Werbos, 1990), FORCE (Sussillo & Abbott, 2009), or real-time recurrent learning (Williams & Zipser, 1989; Irie et al., 2024). One virtue of linear RNNs, at least for theory, is that gradients of J with respect to u, v, and W can be computed exactly, so we can ignore the extra structure associated with those learning rules. Assuming parameters are updated via gradient descent, in the gradient-flow limit in which the learning rate is taken infinitesimally small, we recover ordinary differential equations (ODEs) (see Appendix A)
(8) parameterized by a real-valued ‘learning time’ . These dynamics are generically highly nonlinear and high-dimensional, although we will see shortly that they simplify substantially if the initial weights are assumed to be small.
3 NOISE PRODUCES REPRESENTATIONAL PRESSURE
a

b
C
d
Figure 2: Noise produces representational pressure. (a) Two representations with the same filter but different readout vectors differ in noise level if is anisotropic. Pictured is a schematic 2D example with a high-noise direction (horizontal) and a low-noise direction (vertical). One can reduce noise by rotating (white arrow). (b) The noise term in the schematic example as a function of orientation. is unaffected as long as the filter remains the same. (c) and as a function of (see main text); a zero readout scale is preferred given noise. (d) and vs (see main text) generally have different optima, and their competition can change where the minimum of is, or whether it has a finite minimum at all.
One elemental observation is that noise produces representational pressure: whereas the noiseless system has many representations compatible with good performance, the noisy system must minimize the corrupting influence of noise, which can greatly reduce the number of good solutions.
The deterministic solution is highly degenerate. In order for to match , assuming is diagonalizable, it must be true that (i) is an eigenvalue of ; (ii) has a component along one of the corresponding right eigenvectors; (iii) has a component along one of the corresponding left eigenvectors; and (iv) . But this yields a solution space with huge parameter degeneracies, including invariance to arbitrary invertible linear transformations. In particular, if is an invertible linear transformation, then remains invariant to the mapping with , , and , since
Interesting special cases include when T is a rotation or a change in read-in/readout scale. Meanwhile, the noise term in our objective does not generally respect those degeneracies:
We discuss various interesting consequences of this simple observation below.
Noise picks out preferred state-space directions. If multiple state-space directions could solve the task (i.e., if has multiple correct eigenvalues), the presence of noise causes less noisy directions to be preferred (Fig. 2a, b). For example, if (i.e., all eigenvalues are correct) and (so that ), then the noise term is minimized when
i.e., when state-space directions are read out according to how noisy they are, with aligning more with less noisy directions. Essentially this solution is found when only the readout v is trained, i.e., when a ‘reservoir computing’ approach (Lukoševičius & Jaeger, 2009) is used (see Appendix B).
Noise produces preferred read-in and readout scales. A trivial way to reduce the noise term is to take the scale of the readout weights to zero. This is consistent with the above general observation; if , the filter-matching term remains unchanged but the noise term picks up a factor of , and the overall term is minimized when we take (Fig. 2c). This implies, given no regularization ( ), that it is optimal to take the readout scale to zero and the read-in scale to infinity.
Noise minimization can compete with filter-matching accuracy. The filter-matching term and the noise term generally do not share optima, so their relative size can determine where the fixed points of learning dynamics are, or whether there is any finite fixed point at all. Fig. 2d depicts an example we will consider later in Sec. 7: the balance of the two terms determines whether the recurrent weight scale c converges to a finite value near or diverges to infinity.
4 NOISE DETERMINES WEIGHT ALIGNMENT IN RICH REGIME

b
C
d
Figure 3: Noise determines alignment. (a) The dominant contribution to and grows exponentially quickly at a rate that decreases as the corresponding eigenvalue (i.e., noise level) increases, so higher-noise modes grow more slowly. (b) Although dynamics involves both growing and decaying contributions, after enough learning time has elapsed, mode amplitudes (solid lines) are well-approximated by only their growing contribution (dashed lines). (c) The dot product between and , and the least noisy eigenvector of , increases during this phase. aligns in the same direction and becomes approximately rank-one. (d) The discrepancy between the scales of and grows with learning, and is higher in directions with larger noise levels.
In this section, we begin our analysis of this model’s learning dynamics (Eq. 8). We focus on the so-called rich regime, in which weights are initialized to small values and low-rank structure emerges. Our analysis here follows the spirit of Bordelon et al. (2025) but differs in its details.
4.1 DYNAMICS GIVEN SMALL INITIAL WEIGHTS
Assume u, v, and W are initialized with small values (say, of order ). To leading order in , gradient descent learning dynamics become (see Appendix A)
In other words, u and v tend to evolve according to a certain linear system, while W depends only on input from u and v. This is a major improvement, since Eq. 8 is in general a highly nonlinear system of ODEs. Note that the presence of S yields dynamics different from those studied by Bordelon et al. (2025); S breaks the symmetry between u and v dynamics, since components of v along high-noise eigenvectors of S are penalized while the analogous components of u are not.
4.2 WEIGHTS ROTATE AWAY FROM HIGHLY NOISY STATE SPACE DIRECTIONS
The alignment-phase ODEs (Eq. 12) simplify if we use the eigenvectors of S as a basis. Letting and denote the components of u and v along an eigenvector whose eigenvalue is , we have
(13) i.e., components along different eigenvectors evolve independently. The matrix that governs these dynamics has two eigenvalues (see Appendix C):
If the regularization strength is too large, both eigenvalues are negative, and and collapse to a trivial zero solution. Otherwise, is positive and is negative, which means that the component of the solution tends to dominate after an initial transient. More quantitatively,
(15)
One interesting feature of this result is that the growth rate is a decreasing function of (Fig. 3a), which implies that components of and in noisier directions grow more slowly (Fig. 3b). Because small differences are exponentially amplified, to good approximation and align along the least noisy eigenvectors of (Fig. 3c). In particular,
where is a projection matrix that projects onto the subspace with the smallest eigenvalue (which may be one-dimensional), and where . Note that Eq. 12 implies that aligns in the same direction as and (Fig. 3c). Another interesting feature of this result is that generally does not equal even if they are initialized to the same value—noise breaks the ‘balancing’ condition that can be assumed in the noise-free case (Domine et al., 2025; Bordelon et al., 2025). For large , this discrepancy in scale can be quite large (Fig. 3d).
4.3 THE OUTCOME OF ALIGNMENT
To very good approximation, we can assume u and v align and that W is a rank-one matrix supported on the same vector. Letting denote that (normalized) vector,
for some training-time-dependent coefficients , , and . Because gradient-flow dynamics does not change parameter directions under this ansatz, to characterize the next phase it suffices to analyze the dynamics of the scalars , , and . In the next few sections, we will use to denote the noise level associated with the alignment direction (i.e., to denote the smallest eigenvalue of S).
5 RICH REGIME LEARNING DYNAMICS
Alignment reduces an -dimensional problem to a three-dimensional one. Post-alignment learning dynamics correspond to gradient descent on an effective objective (see Appendix D)
where we will refer to as the “noise level”. Learning dynamics in this regime follow
(19)

Figure 4: Rich regime learning dynamics. For plotting, we take , , and . (a) In the absence of regularization, learning dynamics drive toward its target, , and the amplitude toward 1. (b) Unlike the noise-free ( ) dynamics, noisy dynamics produce asymmetric trajectories for and , even if they are initialized to the same value. Asymptotically, , continues to increase, and continues to decrease. (c) The filter-matching term and noise term are both driven to zero, although in this case the latter occurs on a slower time scale.
In the remainder of this section, we will assume no regularization ( ). Let denote the filter amplitude, so that . is obviously minimized when and , since these choices set the first two terms to zero. Learning dynamics drive and toward those values (Fig. 4a).
A key difference between the noisy and noise-free ( ) dynamics is that noise breaks the symmetry between and . In the noise-free case, if and are initialized to the same value—i.e., if one makes a balancing assumption (Domine et al., 2025; Bordelon et al., 2025)— holds throughout training. In the noisy case, if there is no regularization, continues to grow while continues to shrink (Fig. 4b). In fact, Eq. 19 implies that
which means and . This makes sense, since taking and is precisely the combination that minimizes both the filter-matching term and the noise term (Fig. 4c).
6 A NOISE-INDUCED PHASE TRANSITION IN RICH REGIME DYNAMICS
a

b
C
d
Figure 5: Excessive noise causes amplitude collapse. For plotting, we take and . (a) Below a critical noise level , learning dynamics drives the filter amplitude toward a nontrivial fixed point. Above that noise level, is driven to zero. (b) The optimal amplitude as a function of noise level. For , the trivial solution with is optimal. (c) Below , is minimized at a specific value. Above it, is insensitive to since . (d) The phase boundary . The noise threshold separating trivial and nontrivial solutions depends on the regularization strength; it is higher when is small, and as .
The behavior described in the previous section, aside from the asymmetry between u and v dynamics, is not substantially different from what Bordelon et al. (2025) observed in the noise-free case. However, the noisy case becomes significantly different when the regularization strength is taken to be nonzero. Without regularization, we saw that the system minimizes noise by taking and ; however, if high u values are penalized, the system can become frustrated. If the noise level is sufficiently high, there is a phase transition, and a trivial solution—which minimizes noise at the cost of a collapse in filter-matching performance—becomes optimal.
Below a critical noise level (which depends on the regularization strength ), the filter amplitude approaches a nonzero fixed point . When , this equals one, but it decreases as increases, since the scales of and are penalized by the regularization term. Beyond the critical noise level, dynamics drive to zero (Fig. 5a), and moreover is minimized at (Fig. 5b).
One can show algebraically (see Appendix E) that, after minimizing J over u and v, it becomes
where denotes rectification (i.e., a ReLU). This simplified objective only has a nontrivial solution if the bracketed quantity is greater than zero; otherwise, J becomes independent of c (Fig. 5c).
We can identify the corresponding phase boundary by determining the noise level at which the bracketed quantity and its derivative equal zero. We find (see Appendix E) that
for , and for . Here,
The phase boundary is plotted in Fig. 5d. It has a few features worth emphasizing. First, since as , diverges to infinity in this limit; this is consistent with the observation that there is no phase transition without regularization. Second, for small , we have the comparatively simple expressions
which qualitatively match Fig. 5d. In summary, if there is too much noise, it is almost as if the system’s learning dynamics seek an ‘escape route’: parameters are pushed into trivial regimes (here, the filter amplitude N is taken to zero) in order to minimize noise at the expense of task accuracy.
7 A SECOND PHASE TRANSITION WHEN SCALE CHANGES ARE IMPOSSIBLE

b
c
d
Figure 6: Excessive noise produces an infinitely fast filter. = 1 assumed throughout. (a) When the read-in and readout scales are fixed, is a function of only, and for low enough noise it has a single attractor basin at . As increases, this basin becomes increasingly shallow. (b) For , is a decreasing function of with no finite minimum. (c) Below the noise threshold, dynamics drive toward the unique stable fixed point; above it, grows without bound. (d) diverges like just below the noise threshold.
We just saw how, for sufficiently large intrinsic noise , the system may converge to a trivial solution with zero amplitude, i.e., . One may wonder whether this behavior is peculiar to our setup—for example, whether it depends on trainable read-in and readout weights. Interestingly, if u and v are frozen, a different type of noise-induced phase transition is possible.
Consider the specialization of the simplified objective (Eq. 18):
where we have removed the regularization term because it is constant. The corresponding learning dynamics are (see Appendix F)
For sufficiently small noise, these dynamics have a stable positive fixed point at
As one might expect, equals the target rate when there is no noise. However, as increases, the corresponding basin of becomes increasingly shallow (Fig. 6a). Pushing the noise level higher than causes this basin to disappear (Fig. 6b), and for to be minimized at . Indeed, Eq. 26 has for all if , so learning drives toward infinity (Fig. 6c). Just below , the optimal value diverges as (Fig. 6d). We conclude that, although the precise representational ‘escape route’ may vary, the system may be driven toward trivial solutions that minimize noise when is excessively large.
8 DISCUSSION
We developed a theory of noisy linear RNN learning dynamics and mathematically showed that noise can decisively shape representation learning. Consistent with Bordelon et al. (2025), in the ‘rich’ regime, where parameters are initialized to small values, a low-rank task (here, matching a single leaky integration time scale) yields an approximately low-rank solution. But our findings differ from those of Bordelon et al. (2025) in three important ways. First, noise strongly modulates the initial alignment phase, and u, v, and W preferentially align along the least noisy eigenvector (or eigenvectors) of S, rather than simply in the average direction of the initial u and v; this is interesting in part because it makes the network’s solution depend much less on its initial condition.
Second, noise produces asymmetry between the read-in and readout weights, and in the second phase u tends to become large while v tends to become small. This is true even if u and v are initialized to identical values because noise breaks the balancing property that holds in the noise-free case. Finally, noise produces multiple types of phase transitions, because minimizing noise can compete with achieving good task performance. If u and v are trainable, we find that excessive noise drives the network toward a solution whose filter amplitude equals zero; interestingly, this only occurs if regularization constrains the scales of u and v. If only W is trainable, excessive noise drives the system to in a different way, by making the filter's frequency infinitely fast.
In other machine learning settings, noise is known to shape what types of representations systems learn. Noise in optimization due to using stochastic rather than full-batch gradient descent tends to produce convergence to broader loss landscape minima that generalize better (Smith & Le, 2018; Smith et al., 2020). Noise in diffusion generative modeling may similarly improve generalization, albeit potentially through a different mechanism (Vastola, 2025). Our work suggests that noise shapes RNN representation learning, but does not necessarily produce better solutions—only different ones. Here, noise reduces solution-space degeneracy by constraining the direction of weight alignment and the relative scales of the read-in and readout weights. If there is too much noise, it is clear that noise has deleterious effects, since it drives the system toward trivial solutions.
Limitations and future work. For tractability’s sake, we made a large number of simplifying assumptions: we assumed a whitened scalar input; a linear network; a simple filter-matching task involving learning one time scale; and near-zero parameter initializations that yield low-rank learning dynamics. Although the work we build on makes similar assumptions, it may be possible to relax some of them. For example, it may be possible to study nonlinear networks by linearizing them around a fixed point (either in state space or parameter space), or by exploiting dynamical mean-field theory machinery (Bordelon & Pehlevan, 2023). One class of tasks which is more realistic, but whose learning dynamics may remain tractable, is target pursuit (Vastola & Rajan, 2026).
ACKNOWLEDGMENTS
KR was funded by the NIH (RF1DA056403, U01NS136507), James S. McDonnell Foundation (220020466), Simons Foundation (Pilot Extension-00003332-02), McKnight Endowment Fund, CIFAR Azrieli Global Scholar Program, NSF (2046583), a Harvard Medical School Neurobiology Lefler Small Grant Award, and a Harvard Medical School Dean's Innovation Award. This work has been made possible in part by a gift from the Chan Zuckerberg Initiative Foundation to establish the Kempner Institute for the Study of Natural and Artificial Intelligence at Harvard University.
AI USE STATEMENT
In this work, we used generative AI tools for brainstorming, literature search, to assist with checking the mathematical correctness of our results, and to assist with code generation. The authors have checked all text and results and take full responsibility for them.
REFERENCES
Y. Bengio, P. Simard, and P. Frasconi. Learning long-term dependencies with gradient descent is difficult. IEEE Transactions on Neural Networks, 5(2):157–166, 1994. doi: 10.1109/72.279181.
Blake Bordelon and Cengiz Pehlevan. Self-consistent dynamical field theory of kernel evolution in wide neural networks*. Journal of Statistical Mechanics: Theory and Experiment, 2023(11):114009, November 2023. doi: 10.1088/1742-5468/ad01b0. URL https://doi.org/10.1088/1742-5468/ad01b0.
Blake Bordelon, Jordan Cotler, Cengiz Pehlevan, and Jacob A. Zavatone-Veth. Dynamics of learning to integrate in linear recurrent neural networks. arXiv e-prints, art. arXiv:2503.18754, March 2025. doi: 10.48550/arXiv.2503.18754.
A. Crisanti and H. Sompolinsky. Path integral approach to random neural networks. Phys. Rev. E, 98:062120, Dec 2018. doi: 10.1103/PhysRevE.98.062120. URL https://link.aps.org/doi/10.1103/PhysRevE.98.062120.
Clementine Domine, Nicolas Anguita, Alexandra M Proca, Lukas Braun, Daniel Kunin, Pedro Mediano, and Andrew Saxe. From Lazy to Rich: Exact Learning Dynamics in Deep Linear Networks. In Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu (eds.), International Conference on Learning Representations, volume 2025, pp. 102485–102536, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/file/fdela69a5b6e554b2f1f727197d2651d-Paper-Conference.pdf.
Laura N. Driscoll, Krishna Shenoy, and David Sussillo. Flexible multitask computation in recurrent networks utilizes shared dynamical motifs. Nature Neuroscience, 27(7):1349–1363, July 2024. ISSN 1546-1726. doi: 10.1038/s41593-024-01668-6. URL https://doi.org/10.1038/s41593-024-01668-6.
A. Aldo Faisal, Luc P. J. Selen, and Daniel M. Wolpert. Noise in the nervous system. Nature Reviews Neuroscience, 9(4):292–303, April 2008. ISSN 1471-0048. doi: 10.1038/nrn2258. URL https://doi.org/10.1038/nrn2258.
Ann Huang, Satpreet Harcharan Singh, Flavio Martinelli, and Kanaka Rajan. Measuring and Controlling Solution Degeneracy across Task-Trained Recurrent Neural Networks. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (eds.), Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 105259–105304. Curran Associates, Inc., 2025. doi: 10.52202/085713-3517. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/979d5a0ecc2cc3653928c5b793fc416b-Paper-Conference.pdf.
Kazuki Irie, Anand Gopalakrishnan, and Jürgen Schmidhuber. Exploring the Promise and Limits of Real-Time Recurrent Learning. In B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, and Y. Sun (eds.), International Conference on Learning Representations, volume 2024, pp. 27575–27598, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/file/74aec30590e07dbe2e29879f9df14fb2-Paper-Conference.pdf.
Soon Hoe Lim, N. Benjamin Erichson, Liam Hodgkinson, and Michael Mahoney. Noisy Recurrent Neural Networks. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P. S. Liang, and J. Wortman Vaughan (eds.), Advances in Neural Information Processing Systems, volume 34, pp. 5124–5137. Curran Associates, Inc., 2021. URL https://proceedings.neurips.cc/paper_files/paper/2021/file/29301521774ff3cbd26652b2d5c95996-Paper.pdf.
Mantas Lukoševičius and Herbert Jaeger. Reservoir computing approaches to recurrent neural network training. Computer Science Review, 3(3):127–149, 2009. ISSN 1574-0137. doi: https://doi.org/10.1016/j.cosrev.2009.03.005. URL https://www.sciencedirect.com/science/article/pii/S1574013709000173.
Valerio Mante, David Sussillo, Krishna V. Shenoy, and William T. Newsome. Context-dependent computation by recurrent dynamics in prefrontal cortex. Nature, 503(7474):78–84, November 2013. ISSN 1476-4687. doi: 10.1038/nature12742. URL https://doi.org/10.1038/nature12742.
Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. On the difficulty of training recurrent neural networks. In Sanjoy Dasgupta and David McAllester (eds.), Proceedings of the 30th International Conference on Machine Learning, volume 28 of Proceedings of Machine Learning Research, pp. 1310–1318, Atlanta, Georgia, USA, 17–19 Jun 2013. PMLR. URL https://proceedings.mlr.press/v28/pascanu13.html.
Alexandra Maria Proca, Clémentine Carla Juliette Dominé, Murray Shanahan, and Pedro A. M. Mediano. Learning dynamics in linear recurrent neural networks. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu (eds.), Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 49860–49902. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v267/proca25a.html.
Kanaka Rajan, Christopher D. Harvey, and David W. Tank. Recurrent Network Models of Sequence Generation and Memory. Neuron, 90(1):128–142, April 2016. ISSN 0896-6273. doi: 10.1016/j.neuron.2016.02.009. URL https://doi.org/10.1016/j.neuron.2016.02.009.
Friedrich Schuessler, Francesca Mastrogiuseppe, Alexis Dubreuil, Srdjan Ostojic, and Omri Barak. The interplay between randomness and structure during learning in RNNs. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 13352–13362. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper_files/paper/2020/file/9ac1382fd8fc4b631594aa135d16ad75-Paper.pdf.
Samuel Smith, Erich Elsen, and Soham De. On the generalization benefit of noise in stochastic gradient descent. In Hal Daumé III and Aarti Singh (eds.), Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pp. 9058–9067. PMLR, 13–18 Jul 2020. URL https://proceedings.mlr.press/v119/smith20a.html.
Samuel L. Smith and Quoc V. Le. A bayesian perspective on generalization and stochastic gradient descent. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id=BJij4yg0Z.
H. Sompolinsky, A. Crisanti, and H. J. Sommers. Chaos in random neural networks. Phys. Rev. Lett., 61:259–262, Jul 1988. doi: 10.1103/PhysRevLett.61.259. URL https://link.aps.org/doi/10.1103/PhysRevLett.61.259.
David Sussillo and L.F. Abbott. Generating Coherent Patterns of Activity from Chaotic Neural Networks. Neuron, 63(4):544–557, August 2009. ISSN 0896-6273. doi: 10.1016/j.neuron.2009.07.018. URL https://doi.org/10.1016/j.neuron.2009.07.018.
John Vastola. Generalization through variance: how noise shapes inductive biases in diffusion models. In Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu (eds.), International Conference on Learning Representations, volume 2025, pp. 34922–34960, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/file/564ccf9de3a2a959d3d338889bad9d88-Paper-Conference.pdf.
John J. Vastola and Kanaka Rajan. Solvable models of learning to pursue a moving target. Reinforcement Learning Journal, 7, 2026.
Tim P. Vogels, Kanaka Rajan, and L.F. Abbott. Neural network dynamics. Annual Review of Neuroscience, 28(Volume 28, 2005):357–376, 2005. ISSN 1545-4126. doi: https://doi.org/10.1146/annurev.neuro.28.061604.135637. URL https://www.annualreviews.org/content/journals/10.1146/annurev.neuro.28.061604.135637.
Saurabh Vyas, Matthew D. Golub, David Sussillo, and Krishna V. Shenoy. Computation Through Neural Population Dynamics. Annual Review of Neuroscience, 43(Volume 43, 2020):249–275, 2020. ISSN 1545-4126. doi: https://doi.org/10.1146/annurev-neuro-092619-094115. URL https://www.annualreviews.org/content/journals/10.1146/annurev-neuro-092619-094115.
P.J. Werbos. Backpropagation through time: what it does and how to do it. Proceedings of the IEEE, 78(10):1550–1560, 1990. doi: 10.1109/5.58337.
Ronald J. Williams and David Zipser. A learning algorithm for continually running fully recurrent neural networks. Neural Computation, 1(2):270–280, 1989. doi: 10.1162/neco.1989.1.2.270.
Guangyu Robert Yang, Madhura R. Joglekar, H. Francis Song, William T. Newsome, and Xiao-Jing Wang. Task representations in neural networks trained to perform many cognitive tasks. Nature Neuroscience, 22(2):297–306, February 2019. ISSN 1546-1726. doi: 10.1038/s41593-018-0310-2. URL https://doi.org/10.1038/s41593-018-0310-2.
A OBJECTIVE FUNCTION AND DERIVATION OF LEARNING DYNAMICS
In this appendix, we simplify our original objective function and derive expressions for the associated gradient descent learning dynamics (in the gradient-flow limit that yields ODEs rather than a discrete-time recurrence).
A.1 SETUP
Recall from Sec. 2 that the objective function has the form
where is the RNN's output and
is the target output. If we assume zero initial activity (i.e., ), then as we mention in Sec. 2,
This implies that the output has statistics
where is the learned filter and the covariance is defined as
Also recall that the input signal is assumed to have white noise statistics, i.e., and .
A.2 SIMPLIFYING THE OBJECTIVE
Decomposing into a bias and variance term. First, average over r:
where the second equality uses the fact that variance in is input-independent.
Simplifying the mean term. The second term is input-independent; it represents noise due to recurrent dynamics. The first term can be written in terms of filters:
(34)
This can be simplified with a clever rearrangement. Note,
(35)
If the eigenvalues of A have negative real parts (i.e., if dynamics is stable), then we can drop the s/T term, since it vanishes in the limit. We conclude that
Simplifying the variance term. The noise term can be rewritten as
(37)
Once again, if dynamics are stable, we can drop the s/T term in the infinite T limit. We obtain
Total objective. Adding all of the terms, we obtain the simplified objective
A.3 USEFUL DERIVATIVES
A few derivatives are necessary to compute the gradients of J. First, the derivative of the matrix exponential with respect to W has components
Similarly, the derivative of its transpose is
The derivative of the learned filter with respect to W has components
Finally, the derivative of the variance term with respect to W has components
(43)
A.4 DERIVATION OF LEARNING DYNAMICS
Using the aforementioned derivatives, we can immediately compute the relevant gradients of J:
(44)
This result immediately implies that our gradient descent learning dynamics have the form
(45)
By a change of variables , one can show that the two noise terms in the W dynamics are identical. This allows the final result to be written in a slightly more compact form:
(46)
A.5 LEARNING DYNAMICS GIVEN SMALL INITIAL WEIGHTS
We can expand these learning dynamics to leading order in u, v, and W (supposing they are all of order , say). Doing so, we find that
(47)
We can be more explicit using the fact that . Simplifying yields
(48)
B RESERVOIR COMPUTING CASE
In this appendix, we work out the learning dynamics of the reservoir computing model in which only the readout v is trained. Its primary virtue is that it illustrates, even when learning dynamics are linear, how noise produces representational pressure. For simplicity, we ignore regularization and set .
Recall from Appendix A that v has dynamics
(49)
These dynamics are linear, and the matrix that controls which directions of v are learned first is
The fixed point of these dynamics is
Informative simplification. Assume for simplicity that is diagonal and , i.e., that all state-space directions are compatible with the target filter. In this case,
(52)
so the optimal readout is
For a large read-in vector u, this approximately equals
which weighs each input direction by how noisy it is. This prescription also yields the correct optimal filter, since
which implies
This approximate solution is intuitive since it is precisely the choice of v that, for this choice of W and u, minimizes the quadratic noise term subject to the constraint that .
C ALIGNMENT DYNAMICS
In this appendix, we solve the dynamics associated with the alignment phase (see Sec. 4). Using the small-parameter gradient descent updates from Appendix A, we have
Because u and v dynamics form a closed system, we will begin by studying u and v only. Once we determine how u and v change with time, we will use them to determine how W changes.
C.1 SOLVING READ-IN AND READOUT DYNAMICS
Naively, u and v together determine a 2N-dimensional system of ODEs, since
Note that, to ease notation, we will write equalities instead of .
This system substantially simplifies if we work in a basis of eigenvectors of S. Along the i-th such eigenvector, if denotes the corresponding eigenvalue,
Relevant eigenvalues and eigenvectors. This is just a two-dimensional system governed by the matrix
whose characteristic equation is
Equivalently,
The solutions of this equation (i.e., the eigenvalues of M) are
(63)
Note that is always negative, and so corresponds to decay. The other root may be positive or negative depending on the size of the regularization strength . Beyond a critical value
where is the smallest of the , all modes decay and one obtains only the trivial zero solution for all and . For , at least some modes survive.
Assume in what follows that . Then at least some will be positive, which means that and along those directions have components which grow with time. In particular, since the eigenvectors of are
the solution equals
for some coefficients and .
Enforcing initial conditions. We can determine and by choosing them so that . This requires enforcing
(67)
The first condition implies . The second implies
SO
Because the mode which grows as opposed to shrinks will dominate after enough time has passed, to good approximation we have
(70)
for moderate .
Note that is a decreasing function of . This implies that u and v will tend to get amplified more quickly along less noisy directions. After enough time has passed, the coefficients along the least noisy direction will tend to dwarf the others, so to good approximation we have
after the alignment phase, where is the negative eigenvalue associated with the least noisy direction (i.e., the smallest , which we can call ). Here, is a matrix that projects into the least noisy subspace (which may be of arbitrary dimensionality) and and are mode amplitudes whose precise form is given above. Equivalently, and align in the least noisy state-space direction.
Define the quantity
which is an increasing function of . quantifies the gap between the noise-free solution and the noisy solution. In terms of it, we can write our answer as
(73)
C.2 W DYNAMICS
Given u and v dynamics, W dynamics are extremely simple. Because u and v are, to good approximation, collinear, we can write
for some vector (which is an eigenvector of with eigenvalue ) and scalar amplitudes and . Eq. 57 then implies that
or equivalently that
since these updates are all in the same direction. is a scalar which determines the overall amplitude of W. In other words, W becomes a rank-one matrix aligned in the same direction as u and v.
D DERIVATION OF LOW-DIMENSIONAL EFFECTIVE DYNAMICS In this appendix, we derive the effective learning dynamics associated with the post-alignment phase. Recall from Appendix C and Sec. 4 that the outcome of alignment has u(τ ) ≈ u(τ )u0 v(τ ) ≈ v(τ )u0 W(τ ) ≈ [γ − c(τ )]u0u T 0 (77) for some (assumed normalized) u0 which is an eigenvector of S with Su0 = σ 2u0. As we found earlier, this ought to be the least noisy state-space direction. We will call this the alignment ansatz. We want to show that dynamics are closed under this ansatz, in the sense that it suffices to track the time evolution of the scalars u, v, and c. We will also show that gradient descent dynamics on the full objective become equivalent to gradient descent dynamics on a simpler effective objective. Note that, under the alignment ansatz, f(t) = v T e Atu = u(τ )v(τ )e −c(τ)t . (78) D.1 DYNAMICS ARE CLOSED UNDER THE ALIGNMENT ANSATZ u dynamics. General u dynamics have the form d dτ u = Z ∞ 0 [f∗(t) − f(t)]e −γteWT tv dt − κu . (79) Under our ansatz, this simplifies to d dτ u(τ )u0 = Z ∞ 0 [f∗(t) − f(t)]e −c(τ)t v(τ ) dt − κu(τ ) u0
Z ∞ 0 [e −c∗t − u(τ )v(τ )e −c(τ)t ]e −c(τ)t v(τ ) dt − κu(τ ) u0
v(τ ) c∗ + c(τ ) − u(τ )v(τ ) 2 2c(τ ) − κu(τ ) u0 . (80) We indeed find that only the scalar u(τ ) changes, as desired. v dynamics. General v dynamics have the form d dτ v = Z ∞ 0 [f∗(t) − f(t)]e −γteWtu − e −2γteWtSeWT tv dt − κv . (81) Under the ansatz, d dτ v(τ )u0 = Z ∞ 0 [f∗(t) − f(t)]u(τ )e −c(τ)t − σ 2 v(τ )e −2c(τ)t dt − κv(τ ) u0
Z ∞ 0 [e −c∗t − u(τ )v(τ )e −c(τ)t ]u(τ )e −c(τ)t − σ 2 v(τ )e −2c(τ)t dt − κv(τ ) u0
u(τ ) c∗ + c(τ ) − [u(τ ) 2 + σ 2 ]v(τ ) 2c(τ ) − κv(τ ) u0 (82) where σ 2 := u T 0 Su0 is the noise level in the alignment direction. W dynamics. General W dynamics have the form d dτ W = Z ∞ 0 [f∗(t) − f(t)]e −γt Z t 0 eWT t ′ vuT eWT (t−t ′ ) dt′ dt − Z ∞ 0 e −2γt Z t 0 eWT t ′ vvT eWtSeWT (t−t ′ ) dt′ dt . (83) 21
Under the ansatz,
(84)
Simplifying further,
(85)
or
In all cases, we indeed discover that the dynamics are closed under this ansatz. In summary, because the direction never changes under gradient descent dynamics, it suffices to study the reduced system
(87)
D.2 REDUCED DYNAMICS ARE GRADIENT DESCENT ON AN EFFECTIVE OBJECTIVE
We can make an additional theoretically interesting point about this ansatz: not only is it dynamically closed, but the above ODEs are equivalent to gradient descent on an effective objective function. Fortunately, this objective is exactly what one obtains by naively substituting the ansatz into the original objective.
Recall that the full objective equals
Substituting our ansatz, it becomes
(89)
Simplifying, we obtain
(90)
It is straightforward to verify that the above ODEs directly correspond to gradient descent on this objective, which establishes our claim.
E CHARACTERIZATION OF AMPLITUDE-COLLAPSE PHASE TRANSITION
In this appendix, we characterize the noise-induced phase transition associated with amplitude collapse (see Sec. 6). The objective J has the form
This amounts to determining the conditions under which J has a nontrivial optimum.
E.1 MINIMIZING J WITH RESPECT TO ITS ARGUMENTS
Let us begin by trying to optimize with respect to its arguments—although we will find it useful to work in terms of slightly different variables. Define the filter amplitude and the scale ratio . Since and , we can write as
Minimizing with respect to r. The derivative of J with respect to r equals
which implies that
at the minimum. Note that it depends on c but not on N. In a slight abuse of notation, below we will use r to denote the value of the scale ratio at the minimum. Without loss of generality, choose the positive solution so that
Since is defined as the ratio of and , this immediately implies that and have the same sign at a nontrivial minimum. Relatedly, it must be true that , since .
Minimizing with respect to N. The derivative of J with respect to N equals
(96)
Setting the left-hand side equal to zero, it appears true that
at the minimum. But since our minimization implied that , we actually have
where denotes rectification (i.e., a ReLU). That is, if the bracketed quantity is negative or zero, is minimized when . This is a sign of amplitude collapse—if is optimal, it is optimal to take .
If we define the quantity
we can write the optimal N as
Rewriting the objective in terms of N. In terms of N, the objective can be written at its minimum as
(101)
Either , in which case the bracketed quantity equals , or , in which case the prefactor makes the entire quantity zero. We conclude that
at the minimum. This immediately tells us that if for all , there is a trivial solution with and independent of (see Fig. 5c).
E.2 DETERMINING THE PHASE BOUNDARY
While it appears prohibitively difficult to derive the exact c that minimizes J (since this requires solving a high-order polynomial equation), we can instead determine where there is a transition from a nontrivial solution to a trivial one.
Phase boundary conditions. Eq. 102 implies that a nontrivial solution exists if and only if for some , since this yields and a nontrivial value at the minimum. On the other hand, if for all , then and the trivial solution is optimal. The phase boundary therefore occurs when the maximum of just touches zero. Hence, the phase boundary is characterized by the two conditions
Explicitly, we want
Relatedly, a nontrivial solution only exists when , since for ,
for all . In this regime, because is always nonpositive, .
Some algebra. It will be helpful to write and separately in terms of c. Divide the second equation by the first to obtain
Rearranging,
SO
This implies that r can be written in terms of c as
Using this result, the first condition can be rewritten as
Let denote the non-dimensionalized learned rate. In terms of , our two conditions read
Since both and can be written in terms of the optimal value of (or equivalently, ), it suffices to determine this value. We can then write in terms of , and hence determine the phase boundary.
Solving a cubic equation. Note that the first condition expresses a cubic equation (in terms of and ) whose solution is :
Note that it only has a valid solution if .
Generic cubic equations are annoying to solve, but they can be made tractable with a clever substitution. Consider the inspired choice
which implies that
Relatedly,
In terms of this new variable q, our cubic equation becomes
Since by definition, we can take the square root of both sides to find that
or equivalently that
This is a depressed cubic equation. Its discriminant equals
so it has one real root and two complex conjugate roots. Because a valid solution must be real, we are interested in the real root.
Using a standard formula for this root, we find that it equals
where
Determining the critical noise level. Combining this result with our earlier formula for in terms of ,
Since , this becomes
The final phase boundary result. Summarizing, at the boundary, provided ,
F CHARACTERIZATION OF FREQUENCY-RUNAWAY PHASE TRANSITION
In this appendix, we characterize the ‘frequency-runaway’ phase transition discussed in Sec. 7 that occurs when u and v are frozen (with u = v = 1) but c is trainable.
If u and v are frozen after alignment, the reduced objective becomes
up to an additive constant. (Because it is constant, we have removed the regularization term). The negative gradient of J equals
(126)
so c has dynamics
The fixed point of dynamics can only depend on the second factor in the numerator, since the first factor is always positive for and . The second factor equals zero at
so when is well-defined, it is the fixed point of c dynamics.
Importantly, this quantity blows up when its denominator equals zero, which occurs at the critical noise level . Just below that noise level,
so it diverges as . For , the second factor equals
which is always positive. This means that, beyond the critical noise level, dynamics drive c to infinity. Hence, beyond the threshold, J is a decreasing function of c and has no finite minimum.