Manuscript Offprint
arXiv:2610.35856On the stability of learning
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Learning algorithms are usually analyzed under the assumption that informative gradients are continuously available. But this is not always true—learning signals in biological neural networks, for example, may be sparse, local, and only intermittently available at any given synapse. In this work, we show that if gradient information is noisy and only intermittently available, learning may be unstable. In particular, even if average learning dynamics converge to the correct optimum, variance in learning may be asymptotically infinite. We explore this point in a number of analytically tractable settings, including single-layer and multi-layer linear networks, and derive explicit conditions under which learning is stable. These conditions complement, but are conceptually distinct from, existing conditions related to the stability of stochastic gradient descent. Our work demonstrates that unbiased credit assignment is not enough for reliable learning; sufficiently frequent and informative feedback is also required, which yields an additional constraint on models of biologically plausible learning.
1 INTRODUCTION
The claim that the brain does not perform backpropagation (Rumelhart et al., 1986) rests in part on the idea that gradient information may be difficult to communicate. In particular, the gradient of an objective function with respect to any given synaptic weight depends on the synaptic weights of a large number of downstream neurons, and it is not obvious in general how such non-local information could be reliably communicated (Crick, 1989; Lillicrap et al., 2020). This issue has motivated a substantial body of work seeking alternative and more biologically plausible learning rules (Lillicrap et al., 2016; Scellier & Bengio, 2017), as well as schemes for approximately implementing backpropagation in specific contexts (Sacramento et al., 2018; Whittington & Bogacz, 2019; Millidge et al., 2022). It remains unknown if and how this information is communicated, but it is generally agreed that communicating it accurately would be difficult given locality constraints.
In this paper, we consider a related but conceptually distinct issue. If gradient information can be communicated, it is not at all obvious that it can be communicated reliably. It is plausible that a scheme which delivers the correct updates on average only delivers them occasionally, to different neurons at different times, and perhaps somewhat noise-corrupted. How do learning dynamics change when gradients are noisy and only intermittently available? We argue that learning changes substantially, and in fact can become unstable if updates are not delivered sufficiently frequently.
This idea is interesting for a few reasons. First, it implies that credit assignment which is correct on average is insufficient, since there remains the additional obstacle that weight updates cannot be too variable. Second, instability is not a generic consequence of noisy weight dynamics, but rather depends crucially on the multiplicative, sparse nature of the noise introduced by assuming intermittent gradient arrivals.
We show that the severity of this issue can be reduced by a few obvious noise mitigation strategies, but that the presence of the issue (i.e., learning becoming unstable if feedback is sufficiently sparse) survives. This problem exists in both linear and nonlinear networks; in shallow and deep networks; and after averaging parameters or recent gradients. The details of the issue change, but the core finding remains: an informative signal must arrive sufficiently often for learning to remain stable.
We proceed as follows. We begin by motivating the simplest version of our model. Next, by analyzing it in detail, we show that there exist gradient-variance-dependent stability issues that are exacerbated as informative feedback becomes less frequent. We then discuss simple examples of this issue near the fixed points of more complex networks, and the extent to which basic noise mitigation strategies address it.

Figure 1: Sparse gradient arrivals: motivation and intuition. (a) A simple example of sparse gradient arrivals: a weight receives intermittent updates, in between which the regularization term produces relaxation toward zero. Three example stochastic simulations are shown. (b) Error as a function of number of arrivals in a toy model. If , error always decreases (left); if , error alternates in sign but decreases in magnitude (center); and if , learning becomes unstable, and error both alternates in sign and increases in magnitude (right).
Suppose we are interested in updating a set of weights to optimize an objective
where J is a task-related objective and the second term regularizes w. We explicitly separate J and the regularization term because their biological interpretation in what follows is different. In the gradient-flow limit typical of many theoretical treatments of learning (Saxe et al., 2013; Bordelon et al., 2020; Domine et al., 2025), gradient descent involves updates of the form
where is the learning rate and is the amount of elapsed training time. We will investigate the consequences of assuming only has intermittent access to the correct gradient. We do this as follows. We model sparse gradient arrivals via a Poisson process (Kingman, 1992): we assume that each synapse has a fixed probability per unit time of receiving a noise-corrupted version of the relevant gradient information. In doing things this way, we ignore potential temporal structure in gradient arrivals and correlations between the information arriving at different synapses; accounting for these factors will likely complexify the resulting model, and more importantly, make the associated stability issues worse rather than better.
Poisson gradient arrivals assumption. To model temporally sparse updates, we assume gradients are coupled to a Poisson process with mean arrival rate , where is the non-dimensionalized arrival rate. As increases, neurons tend to receive more gradient arrivals per learning time scale . If we denote a realization of this Poisson process by , our model corresponds to the replacement
where denotes the Hadamard (or elementwise) product. The quantity represents observation noise. Our main motivation for including it is to illustrate how, unlike sparse gradient arrivals, this kind of noise is comparatively benign.
According to this prescription, weight changes due to gradient arrivals have mean and covariance
Useful intuition. We can make a simple heuristic argument to explain why sparse gradient arrivals can destabilize learning. Consider gradient descent (Eq. 2) with only one weight and no regularization ( ) on a mean-squared error objective
For Poisson gradient arrivals, weights do not change until there is an arrival, so learning effectively occurs in discrete time. The error after gradient arrivals evolves according to the recurrence relation
These dynamics yield a geometric series with which has three regimes. For a sufficiently large arrival rate ( ), error consistently decreases and asymptotically approaches zero (Fig. 1b, left). For a moderately large arrival rate ( ), weight dynamics overshoots its target and the error alternates between positive and negative; it still asymptotically approaches zero (Fig. 1b, center). If the arrival rate is too small ( ), learning becomes unstable, and error both alternates in sign and increases in magnitude (Fig. 1b, right). This indicates that, at least for this toy model, the ratio between input variance and the gradient arrival rate controls whether learning is stable. Hence, the arrival rate must be larger than
We will see that more complex models exhibit surprisingly similar behavior, and in particular lead to similar expressions for the critical arrival rate .
3 INSTABILITY IN A LINEAR MODEL

Figure 2: Instability in a linear model. (a) Average dynamics are unconditionally stable and do not depend on the arrival rate . (b) Output variance converges more slowly as decreases and diverges to infinity when . (c) The steady state output variance diverges like . (d) decreases as increases, so one way to improve stability is to increase the regularization strength.
In this section, we study instability due to sparse gradient arrivals in a tractable linear model, in part because we think it reveals the essence of the phenomenon. Consider an objective
where the input is assumed to have mean zero and covariance . The negative gradient of equals , so our prescription yields dynamics
The average evolves according to standard-looking linear dynamics
(10) which approaches the fixed point at exponentially quickly. On the other hand, the dynamics of the covariance matrix are substantially more interesting (see Appendix A):
We can assess stability by determining the conditions under which is finite. While this is difficult to do analytically in general, it is possible to do if we make at least one additional assumption about : either that (i) is diagonal, or that (ii) is circulant.
3.1 STABILITY GIVEN A DIAGONAL INPUT COVARIANCE
If is diagonal, Eq. 11 simplifies since . Let us simplify notation by writing and . The diagonal elements of then evolve according to
These dynamics are linear, and whether converges to a stable value or diverges to infinity depends on the coefficient of —that is, it must be negative. For learning to be stable, the coefficients of all must be negative; hence, it must be true that
for all . Equivalently, , which depends on the largest input variance . Note that this condition reduces to the critical arrival rate associated with our naive model (Eq. 7) when we take .
As decreases, converges increasingly slowly, and below it becomes unstable (Fig. 2b). The steady state diagonal covariance elements diverge like (Fig. 2c), or more quantitatively,
Our formula indicates that the critical arrival rate threshold can be reduced in two ways: one can either decrease input variance or increase the regularization strength (Fig. 2d). The latter method recalls the standard bias-variance tradeoff (Bishop, 2006): we can decrease the (infinite) variance at the cost of increasing bias, since increasing makes more different from the target weight .
3.2 STABILITY GIVEN A CIRCULANT INPUT COVARIANCE
Suppose instead that is circulant. Then can be diagonalized via a discrete Fourier basis, i.e., (see Appendix A). The arrival-related term can be written in terms of the covariance matrix in that basis, , since
In this case, different do not decouple, but it is still possible to straightforwardly characterize dynamics. After some algebra, we obtain a critical arrival rate
Unlike the previous result, this one involves the entire spectrum of (although it reduces to the previous one when all are the same). Still, the result conveys the same qualitative message: increases as the input variance increases, and decreases as the regularization strength increases.
b


C
Figure 3: Instability in a two-layer network. (a) We trained a two-layer network to reproduce the output of an identical teacher network. To ensure our linear model provides a (locally) reasonable description of its dynamics, we initialized it near the teacher's weights. (b) Normalized objective and output variance throughout learning. Note that for (dark red), blows up. For somewhat above the threshold (red, orange), learning still looks unstable on this finite time scale. Learning only appears stable well beyond the threshold (green). (c) Instantaneous growth rate of the covariance dynamics near the fixed point. The black line indicates the linear model's prediction and the red dots indicate numerical measurements. Below , this local growth rate can be positive, which indicates instability.
4 INSTABILITY IN A NONLINEAR NETWORK
One virtue of our linear model analysis is that it implies sparse gradient arrivals pose problems for much more general networks. Near a stable fixed point of any well-behaved objective J,
where denotes the (positive definite) Hessian of at the fixed point . Hence, gradient descent dynamics are approximately linear near this fixed point, and if we make the identification , they are well-described by our linear model (Eq. 9).
Example: a two-layer network. Although the above mathematical argument is fairly persuasive, it remains helpful to see an explicit nonlinear example where sparse gradient arrivals destabilize learning. For concreteness' sake, we trained a simple two-layer network to reproduce the output of a teacher network with the same architecture (Fig. 3a). We initialized the student network near the teacher's weights and assessed how changing the arrival rate affected learning. For simplicity and to speed up computation, only the hidden layer's biases b and the output parameters v and c were trained; we found that this did not affect our conclusions, however.
We numerically computed the Hessian around the teacher network’s parameters in order to estimate the critical arrival rate below which learning ought to be unstable. For , we found that the loss function and output variance blew up as learning proceeded (Fig. 3b, c; the dark red line indicates ). In fact, we found that marginally above the critical arrival rate ( , red; , orange) also exhibited unstable learning dynamics on the finite time scales we examined. Learning only became stable, with a smoothly-decreasing loss, when was much larger than ( , green).
We also tested whether the instantaneous change in the output variance (or the “local growth rate”), which is predicted by Eq. 11, empirically describes small-time changes in output variance. We find that this is indeed the case, and that the local growth rate is positive below (Fig. 3c).
5 INSTABILITY IN A DEEP LINEAR NETWORK
Are deeper networks less stable in the sense we study here? To partially address this question in an analytically tractable setting, we consider an extremely simple deep linear network with layers whose hidden ‘layers’ are just scalars:
where is the scalar weight associated with the i-th ‘layer’, x is a scalar input, and y is a scalar output. Although deep linear networks are admittedly much simpler than their nonlinear counterparts,

b

Figure 4: Depth benignly modulates stability in a deep linear network. (a) can increase, decrease, or remain constant with depending on the value of the target . In all cases, the difference between and its asymptotic value is not substantial. (b) is non-monotonic as a function of ( shown), but this is mainly because sufficiently high regularization destabilizes the nontrivial fixed point.
they have the virtue that they are analytically tractable, and they recapitulate a surprising amount of the phenomenology associated with more realistic networks (Saxe et al., 2013; Saxe et al., 2019; Domine et al., 2025).
Consider a teacher-student setting in which our goal is to match y to a target output :
where we have assumed that has mean zero and variance . Although the gradient descent learning dynamics of this network are generally nonlinear and complicated, we can analyze it around the symmetric fixed point with . We will study the impact of depth on the stability of dynamics near this fixed point. Note that we are studying the fixed point of the regularized objective (see Eq. 1), not .
Define the quantity . The Hessian of about the symmetric fixed point has two eigenvalues (see Appendix B):
Since H is circulant, we can immediately reuse the result from Sec. 3 to find that
In the case of no regularization ( ), we have the simpler critical arrival rate
Interestingly, only depends benignly on , and moreover has a well-behaved infinite-depth ( ) limit (Fig. 4a). There is an apparent instability as increases, since diverges to infinity at a finite value of (Fig. 4b), but this is misleading; it occurs not because covariance dynamics become unstable, but because it is no longer optimal to match when there is too much regularization.
At least in this case, depth does not exacerbate stability issues. In some sense this should be unsurprising, since a result that suggests scales poorly with depth would seem inconsistent with biology, whose networks are often deep and highly recurrent; that is, learning is hard, but it should not be impossible.
6 POOLING PARAMETERS CAN IMPROVE STABILITY
One approach to improving stability is to average over parameters, since if nearby neurons have similar weights, it may make sense for them to share information (Fig. 5a). Spatially proximal neurons are known to communicate in a variety of non-synaptic ways, including through gap junctions

b
c
d
e
Figure 5: Pooling parameters can improve stability. (a) If nearby synapses store similar information, neurons may benefit from sharing information with their spatial neighbors. Pictured is a line of synaptic weights; arrows indicate bidirectional information sharing. (b) The eigenvalues of are indexed by spatial frequencies , and decreases as increases. (c) The -dependence of causes higher spatial frequencies of the fixed point to be damped, and the effect size increases as the amount of diffusion increases (more purple higher ). (d) One effect of this frequency-dependence is to smooth the fixed point of the average dynamics. In the pictured example, is highly oscillatory (black), but dynamics converge to a smoothed version of it (shades of purple). (e) decreases as increases, so although parameter-pooling produces bias, it also improves stability.
(Shimizu & Stopfer, 2013) and extracellular vesicles (Nieves Torres & Lee, 2023), and although the computational role of these features is unknown, it is plausible that they share computationally relevant information, including regarding synaptic weights. Parameter-pooling inevitably increases bias, but this tradeoff may be worth it if learning is otherwise unstable.
Assume that weights are arranged along a one-dimensional ring, so that is ‘near’ and . Also assume that is circulant. Consider a slight modification of Eq. 9 which incorporates parameter sharing via a ‘diffusion’ matrix which satisfies :
Here, quantifies the strength of diffusion. This model reduces to the one studied in Sec. 3 when , but otherwise behaves differently. Its average dynamics read
and, in the Fourier basis that diagonalizes D and S, the components of the fixed point are
The prefactor , which controls the asymptotic bias in learning, is highly spatial-frequency-dependent: because is more negative for large frequencies (Fig. 5b), is closer to zero for large , and the effect size increases as the diffusion strength increases (Fig. 5c). This implies that what is learned is a spatially smoothed version of the target (Fig. 5d).
Meanwhile, following algebra similar to what we encountered in Sec. 3 (see Appendix C), covariance dynamics are stable provided that a stability condition
holds. Since decreases as k increases, pooling increases stability (Fig. 5e).
7 AVERAGING OVER GRADIENT ARRIVALS CAN IMPROVE STABILITY
Another plausible way to improve stability is to effectively reduce the variance of gradient arrivals by not learning directly from the available gradient signal, but from a temporal average of recent arrivals (Fig. 6a). We can concretely instantiate this idea by assuming that each parameter has a
reduce noise by temporally
averaging recent gradients

Figure 6: Averaging over gradient arrivals can improve stability. (a) Intuitively, one can reduce variance by performing a temporal average over recent gradient arrivals. (b) Mean dynamics are linear but not monotonic. As the gradient-averaging time scale increases, they converge more slowly. (black: ; lightest green: ) (c, d) Increasing improves stability since decreases as long as . But if , there is no stability benefit.
matching accumulator variable which leaky-integrates recent gradients on a time scale :
(27)
By construction, the fixed point of average dynamics is the same as before, although its transient behavior is slightly different (Fig. 6b). Significantly, though, the addition of the accumulator variable greatly changes covariance dynamics. The covariances , , and evolve according to the ODEs (see Appendix D)
(28)
As before, it is much easier to analyze these dynamics if we make specific assumptions about S. We will again assume that S is either diagonal or circulant.
7.1 STABILITY GIVEN A DIAGONAL INPUT COVARIANCE
If is diagonal, the dynamics of for any fixed are independent of those for , and are characterized by a matrix
Covariance dynamics are stable provided that has only negative eigenvalues, and this holds unless is sufficiently small. We can find where the critical value is by computing where the determinant of becomes zero. This yields a stability condition
analogous to what we discovered before. It reduces to our earlier result (Eq. 13) in the limit, but otherwise produces a lower critical value of (Fig. 6c, d). Relatedly, we obtain steady state weight variances
which again diverge like . It is important to emphasize that this gain in stability does not come for free: increases in can also greatly slow down the convergence of average learning dynamics (Fig. 6b, light green line).
7.2 STABILITY GIVEN A CIRCULANT INPUT COVARIANCE
For circulant S, after some algebra, we obtain a result
which is again similar to what we found before (c.f. Eq. 16), and reduces to it in the limit.
8 DISCUSSION
Learning is difficult, and in this work we have identified and analyzed yet another reason why. It is not enough to perform accurate credit assignment on average if the relevant learning signal is highly variable, since this high variance can produce unstable learning. The source of this variance, sparse gradient arrivals, is distinct from other types of noise relevant to learning (e.g., noise due to using stochastic rather than full-batch gradient descent), and its effects are apparently more insidious.
Because any well-behaved network is approximately linear near a stable fixed point, one expects this issue to be generic rather than architecture-dependent. We considered three ways of addressing the problem—regularization, parameter-sharing, and gradient-averaging—and each reduces the severity of the issue but involves tradeoffs. Regularization and parameter-sharing reduce the (infinite) variance at the expense of bias; moreover, parameter-sharing may only be natural when there is specific (e.g., topographic) structure according to which spatial relationships correlate with relationships between synaptic weights. Gradient-averaging does not produce bias, but does slow down learning. It is plausible that all of these mechanisms, and perhaps others, are utilized by biological networks to avoid the kind of instability we study here.
Connection to analyses of stochastic gradient descent. Standard analyses of stochastic gradient descent (Wu et al., 2018; Ahn et al., 2022) involve a mathematical idea similar to the one we study here, whose content is especially similar to the naive model we considered in Sec. 2: if the learning rate or step size is taken to be too large, errors will accumulate and learning will become unstable. In other ways, the issue is qualitatively different. Our model is defined in continuous- rather than discrete-time, and moreover involves a nontrivial interaction between discrete and stochastic gradient arrivals on the one hand, and continuous relaxation (due to regularization) and accumulation (in the model considered in Sec. 7) on the other. Moreover, the biological interpretation of sparse arrivals—which can be viewed as related to error-communication difficulties rather than simply an overall learning rate—is conceptually distinct. Finally, average dynamics are unconditionally stable.
Speculation regarding biological means of variance reduction. If biological systems do indeed confront the problem of potential instability due to sparse gradient (or more generally, learning signal) arrivals, it is plausible that evolution has developed mechanisms to partially combat it. There is biological precedent for each of the three mechanisms—regularization, parameter-pooling, and gradient-averaging—we considered. It is known that the dendritic spines, which are sites of synaptic plasticity, turn over on relatively short time scales, e.g., on the order of one or two weeks in the hippocampus (Attardo et al., 2015). This continual ‘forgetting’ of synaptic weights can be modeled in the same way we have incorporated regularization. Our gradient-averaging model can be viewed as maintaining a kind of eligibility trace of learning-related information, and there is mounting evidence that such traces exist and play a major role in biological learning (He et al., 2015; Gerstner et al., 2018). Parameter-pooling has not been directly observed to our knowledge, but as we have mentioned, there are plausible means by which it could occur.
Limitations and future work. For clarity and tractability, we have mainly analyzed simple linear models here. More interesting behavior may be possible in less linear regimes, e.g., away from a stable fixed point. Another major assumption we made is that sparse gradients arrive independently at each synapse according to a Poisson process. In reality, the delivery of gradient information to any given neuron is likely correlated with the delivery of gradients to other neurons (e.g., because the information is coming from roughly the same source). Although details associated with this issue likely differ for more general models, our observations suggest that it is worth further study. Putative methods of credit assignment must produce both good average performance and stable variance.
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 author has checked all text and results and takes full responsibility for them.
REFERENCES
Kwangjun Ahn, Jingzhao Zhang, and Suvrit Sra. Understanding the unstable convergence of gradient descent. In Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato (eds.), Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pp. 247–257. PMLR, 17–23 Jul 2022. URL https://proceedings.mlr.press/v162/ahn22a.html.
Alessio Attardo, James E. Fitzgerald, and Mark J. Schnitzer. Impermanence of dendritic spines in live adult CA1 hippocampus. Nature, 523(7562):592–596, July 2015. ISSN 1476-4687. doi:10.1038/nature14467. URL https://doi.org/10.1038/nature14467.
Christopher M Bishop. Pattern recognition and machine learning. Springer, 2006.
Blake Bordelon, Abdulkadir Canatar, and Cengiz Pehlevan. Spectrum dependent learning curves in kernel regression and wide neural networks. 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. 1024–1034. PMLR, 13–18 Jul 2020. URL https://proceedings.mlr.press/v119/bordelon20a.html.
Francis Crick. The recent excitement about neural networks. Nature, 337(6203):129–132, January 1989. ISSN 1476-4687. doi: 10.1038/337129a0. URL https://doi.org/10.1038/337129a0.
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.
Wulfram Gerstner, Marco Lehmann, Vasiliki Liakoni, Dane Corneil, and Johanni Brea. Eligibility Traces and Plasticity on Behavioral Time Scales: Experimental Support of NeoHebbian Three-Factor Learning Rules. Frontiers in Neural Circuits, Volume 12 - 2018, 2018. ISSN 1662-5110. doi: 10.3389/fncir.2018.00053. URL https://www.frontiersin.org/journals/neural-circuits/articles/10.3389/fncir.2018.00053.
Kaiwen He, Marco Huertas, Su Z. Hong, XiaoXiu Tie, Johannes W. Hell, Harel Shouval, and Alfredo Kirkwood. Distinct Eligibility Traces for LTP and LTD in Cortical Synapses. Neuron, 88(3):528–538, November 2015. ISSN 0896-6273. doi: 10.1016/j.neuron.2015.09.037. URL https://doi.org/10.1016/j.neuron.2015.09.037.
John Frank Charles Kingman. Poisson processes, volume 3. Clarendon Press, 1992.
Timothy P. Lillicrap, Daniel Cownden, Douglas B. Tweed, and Colin J. Akerman. Random synaptic feedback weights support error backpropagation for deep learning. Nature Communications, 7(1):13276, November 2016. ISSN 2041-1723. doi: 10.1038/ncomms13276. URL https://doi.org/10.1038/ncomms13276.
Timothy P. Lillicrap, Adam Santoro, Luke Marris, Colin J. Akerman, and Geoffrey Hinton. Backpropagation and the brain. Nature Reviews Neuroscience, 21(6):335–346, June 2020. ISSN 1471-0048. doi: 10.1038/s41583-020-0277-3. URL https://doi.org/10.1038/s41583-020-0277-3.
Beren Millidge, Alexander Tschantz, and Christopher L. Buckley. Predictive Coding Approximates Backprop Along Arbitrary Computation Graphs. Neural Computation, 34(6):1329–1368, May 2022. ISSN 0899-7667. doi: 10.1162/neco_a_01497. URL https://doi.org/10.1162/neco_a_01497.
Damaris Nieves Torres and Sang H Lee. Inter-neuronal signaling mediated by small extracellular vesicles: wireless communication? Frontiers in Molecular Neuroscience, Volume 16 - 2023, 2023. ISSN 1662-5099. doi: 10.3389/fnmol.2023.1187300. URL https://www.frontiersin.org/journals/molecular-neuroscience/articles/10.3389/fnmol.2023.1187300.
David E. Rumelhart, Geoffrey E. Hinton, and Ronald J. Williams. Learning representations by back-propagating errors. Nature, 323(6088):533–536, October 1986. ISSN 1476-4687. doi:10.1038/323533a0. URL https://doi.org/10.1038/323533a0.
João Sacramento, Rui Ponte Costa, Yoshua Bengio, and Walter Senn. Dendritic cortical microcircuits approximate the backpropagation algorithm. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018. URL https://proceedings.neurips.cc/paper_files/paper/2018/file/1dc3a89d0d440ba31729b0ba74b93a33-Paper.pdf.
Andrew M. Saxe, James L. McClelland, and Surya Ganguli. Exact solutions to the nonlinear dynamics of learning in deep linear neural networks. arXiv e-prints, art. arXiv:1312.6120, December 2013. doi: 10.48550/arXiv.1312.6120.
Andrew M. Saxe, James L. McClelland, and Surya Ganguli. A mathematical theory of semantic development in deep neural networks. Proceedings of the National Academy of Sciences, 116(23):11537–11546, 2019. doi: 10.1073/pnas.1820226116. URL https://www.pnas.org/doi/abs/10.1073/pnas.1820226116.
Benjamin Scellier and Yoshua Bengio. Equilibrium Propagation: Bridging the Gap between Energy-Based Models and Backpropagation. Frontiers in Computational Neuroscience, Volume 11 - 2017, 2017. ISSN 1662-5188. doi: 10.3389/fncom.2017.00024. URL https://www.frontiersin.org/journals/computational-neuroscience/articles/10.3389/fncom.2017.00024.
Kazumichi Shimizu and Mark Stopfer. Gap junctions. Current Biology, 23(23):R1026–R1031, December 2013. ISSN 0960-9822. doi: 10.1016/j.cub.2013.10.067. URL https://doi.org/10.1016/j.cub.2013.10.067.
James C.R. Whittington and Rafal Bogacz. Theories of Error Back-Propagation in the Brain. Trends in Cognitive Sciences, 23(3):235–250, March 2019. ISSN 1364-6613. doi: 10.1016/j.tics.2018.12.005. URL https://doi.org/10.1016/j.tics.2018.12.005.
Lei Wu, Chao Ma, and Weinan E. How SGD Selects the Global Minima in Overparameterized Learning: A Dynamical Stability Perspective. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018. URL https://proceedings.neurips.cc/paper_files/paper/2018/file/6651526b6fb8f29a00507de6a49ce30f-Paper.pdf.
A ANALYSIS OF LINEAR MODEL
In this appendix, we analyze the behavior of the linear model discussed in Sec. 3 of the main text. Recall that it has
where is distributed according to a Poisson arrival process with rate and is observation noise associated with a gradient arrival. The master equation that defines how the distribution of weight values evolves in time is
where denotes the standard basis vector with a 1 as its -th component and zeros elsewhere. is shorthand notation for the -th component of , the true gradient.
A.1 DERIVATION OF MEAN DYNAMICS
Let us first derive the dynamics of the mean weight . The master equation (Eq. 34) has the form of a Fokker-Planck equation plus the Poisson arrival term. The regularization term contributes the expected . We can determine the contribution of the Poisson arrival term by computing its average over . Note that
(35)
Summing over i, we find that average dynamics are
i.e., they are unbiased.
A.2 DERIVATION OF COVARIANCE DYNAMICS
Let us now derive the dynamics of the covariance matrix . Again, the regularization term contributes to its dynamics in the usual way; the hard part is to determine how the Poisson arrival term contributes.
The average of the Poisson arrival term times equals
(37)
Summing over i, this becomes
(38)
Meanwhile, the time derivative of the mean product equals
(39)
Putting these results together, we find that evolves according to
This result can be slightly simplified using the fact that
i.e., using the fact that the squared gradient can be written as a sum of ‘bias’ and ‘variance’ terms. Here is shorthand notation for . We conclude that
Analysis of Eq. 42 is cumbersome for general S, but greatly simplifies for specific choices of S. In the next two subsections, we perform a stability analysis of these covariance dynamics assuming S is either diagonal or circulant.
A.3 STABILITY ANALYSIS FOR DIAGONAL S
Assume is diagonal. Let and , and collect both into the vectors and . Eq. 42 implies that the diagonal entries of satisfy
where we use to denote the vector whose components are and to denote the vector whose components are all ones.
Stability. Because this ODE is linear, it is clear that stability requires that
for all i. Rearranging, this implies that we require
for all i, or equivalently that
where is the largest input variance .
Steady state covariance. Setting the left-hand side of Eq. 43 to zero, we find that the steady state covariance is
where denotes the fixed point of mean dynamics, provided that .
A.4 STABILITY ANALYSIS FOR CIRCULANT S
Assume is circulant. Importantly, circulant matrices can be diagonalized via (discrete) Fourier basis functions. Concretely, let denote the matrix whose components are
Then we can write , where is a diagonal matrix containing the eigenvalues of . Moreover, if we define the transformed covariance , then
where here denotes the q-th eigenvalue of S. The virtue of this result, and hence the reason the circulant assumption is useful, is that the above quantity is independent of the index i.
Combining this result with Eq. 42, we find that the diagonal entries of the transformed covariance satisfy
where .
Stability. Define and collect the into the vector . Also, collect the into . Eq. 50 can be written in the form
(51)
From this result, it is clear that the stability of c dynamics depends on the matrix
This a diagonal matrix plus a rank-one perturbation. We can use the matrix determinant lemma to compute its determinant:
(53)
For sufficiently high , it is clear that this determinant is positive, which indicates stability. We can identify the stability threshold by determining where the determinant is zero; since the eigenvalues of S are all positive, this can only happen when the bracketed factor equals zero.
We conclude that stability requires
since beyond this value of , the determinant is negative.
Steady state covariance. The above covariance dynamics can be rewritten as
so its steady state occurs at
This can be simplified if we write out explicitly. By the Sherman-Morrison formula,
(57)
Although the expression we obtain is more complicated than in the case of diagonal , we still see a divergence that goes like as approaches the critical arrival rate from above.
B MORE DETAILS ON THE DEEP LINEAR NETWORK
In this appendix, we provide a more thorough account of the deep linear network analysis described in Sec. 5. We consider a scalar deep network with ‘layers’:
Here, is the input, is the weight associated with the -th ‘layer’, and is the output. is assumed to have mean zero and variance .
We assume this network is trained via gradient descent to match a target output which also depends linearly on its input. The corresponding objective equals
Fixed point assumption. Although learning dynamics are generally nonlinear, they are approximately linear near a fixed point. For simplicity, we will consider the symmetric fixed point with
where q is chosen to minimize the objective, i.e.,
Since minimizes , , so the condition
holds.
Hessian near fixed point. To characterize linear dynamics near the symmetric fixed point, we need to compute the corresponding Hessian matrix. Note that the first derivatives at an arbitrary point are
where we define . The Hessian's components at an arbitrary point are
At the symmetric fixed point,
To ease notation, define . This result implies that we can write the Hessian matrix at the symmetric fixed point as
i.e., it is a diagonal matrix plus a rank-one ‘correction’. We immediately learn that H has two eigenvalues: one associated with the correction, and another eigenvalue (with multiplicity ) associated with the orthogonal directions:
Stability condition near symmetric fixed point. This Hessian is circulant, so we can reuse a linear model result (see Appendix A) to immediately learn that
In the case of no regularization (), we have the simpler critical arrival rate
which asymptotically approaches as .
C MORE DETAILS ON POOLING PARAMETERS
In this appendix, we derive results related to the parameter-pooling model discussed in Sec. 6. It is defined in almost the same way as our linear model (see Sec. 3 and Appendix A):
The main difference is that there is an additional term , where is a ‘diffusion’ matrix that implements a sort of spatial parameter pooling. In particular, is defined such that
for all i. The interpretation is that information flows from nodes and to node i, and from node i to nodes and .
For simplicity, we assume periodic boundary conditions, so that D is circulant rather than tridiagonal. Under this assumption, its eigenvalues are
where , and it can be diagonalized using discrete Fourier basis functions.
The derivation of mean and covariance dynamics for this model is almost the same as it was for the linear model studied in Appendix A; everything is the same up to the identification
For this reason, we omit the derivation and directly state the results. As in Appendix A, we assume that S is circulant for analytic tractability. This assumption is particularly important here because it implies that S and D commute.
Mean dynamics. Mean dynamics follow
The corresponding fixed point is
In the discrete Fourier basis, this becomes
where denotes the q-th eigenvalue of S and denotes the q-th eigenvalue of D. As noted in the main text, the specific form of makes the overall associated prefactor fairly spatial-frequency-dependent.
Covariance dynamics. Covariance dynamics follow
Moreover, the diagonal elements of the discrete-Fourier-transformed matrix (see Appendix A for more context) satisfy
Following a slight modification of the argument from Appendix A, we obtain the stability condition
D MORE DETAILS ON AVERAGING OVER GRADIENT ARRIVALS
In this appendix, we analyze the mean and covariance dynamics of the gradient-accumulation model discussed in Sec. 7 of the main text. It is defined similarly to the linear model (see Sec. 3 and Appendix A), but with a ‘gradient accumulation’ variable for each weight :
This model’s master equation has the form
(81)
In this section, because there are multiple covariance matrices, we will use different notation than elsewhere. Let , denote the cross-covariance, and .
The calculations required to treat this model largely resemble those from Appendix A, but are lengthier, and hence more tedious. Because they are straightforward, we skip a number of intermediate steps and mostly present the final results.
Mean dynamics. This model’s average dynamics are
In particular, the steady state value of is the same as it is in the linear model; this kind of gradient accumulation does not produce bias, at least asymptotically.
Covariance dynamics. After a tedious calculation, one can find that
Diagonal S. Assume S is diagonal and let , , and denote the diagonals of these covariance matrices. The diagonal entries have dynamics
(84)
The stability of this three-dimensional system of ODEs is characterized by the matrix
We can directly compute that its determinant is
(86)
Stability requires that the determinant is negative. Hence, we need it to be true that
Equivalently,
In the infinitely fast integration limit ( ), this reduces to the linear model result (see Appendix A).
The corresponding steady state weight variances are
Interestingly, this expression is the same as what we found for the linear model, except that has a different form.
Circulant S. If S is instead circulant, we must go through a lengthier version of the circulant algebra from Appendix A. In the end, we find almost the same results. Most importantly, we find a stability condition
which reduces to the corresponding linear model condition in the limit.
