 Research
 Open Access
 Published:
Multiscale analysis of slowfast neuronal learning models with noise
The Journal of Mathematical Neuroscience volume 2, Article number: 13 (2012)
Abstract
This paper deals with the application of temporal averaging methods to recurrent networks of noisy neurons undergoing a slow and unsupervised modification of their connectivity matrix called learning. Three timescales arise for these models: (i) the fast neuronal dynamics, (ii) the intermediate external input to the system, and (iii) the slow learning mechanisms. Based on this timescale separation, we apply an extension of the mathematical theory of stochastic averaging with periodic forcing in order to derive a reduced deterministic model for the connectivity dynamics. We focus on a class of models where the activity is linear to understand the specificity of several learning rules (Hebbian, trace or antisymmetric learning). In a weakly connected regime, we study the equilibrium connectivity which gathers the entire ‘knowledge’ of the network about the inputs. We develop an asymptotic method to approximate this equilibrium. We show that the symmetric part of the connectivity postlearning encodes the correlation structure of the inputs, whereas the antisymmetric part corresponds to the cross correlation between the inputs and their time derivative. Moreover, the timescales ratio appears as an important parameter revealing temporal correlations.
1 Introduction
Complex systems are made of a large number of interacting elements leading to nontrivial behaviors. They arise in various areas of research such as biology, social sciences, physics or communication networks. In particular in neuroscience, the nervous system is composed of billions of interconnected neurons interacting with their environment. Two specific features of this class of complex systems are that (i) external inputs and (ii) internal sources of random fluctuations influence their dynamics. Their theoretical understanding is a great challenge and involves highdimensional nonlinear mathematical models integrating nonautonomous and stochastic perturbations.
Modeling these systems gives rise to many different scales both in space and in time. In particular, learning processes in the brain involve three timescales: from neuronal activity (fast), external stimulation (intermediate) to synaptic plasticity (slow). Here, fast timescale corresponds to a few milliseconds and slow timescale to minutes/hour, and intermediate timescale generally ranges between fast and slow scales, although some stimuli may be faster than neuronal activity timescale (e.g., submilliseconds auditory signals [1]). The separation of these timescales is an important and useful property in their study. Indeed, multiscale methods appear particularly relevant to handle and simplify such complex systems.
First, stochastic averaging principle [2, 3] is a powerful tool to analyze the impact of noise on slowfast dynamical systems. This method relies on approximating the fast dynamics by its quasistationary measure and averaging the slow evolution with respect to this measure. In the asymptotic regime of perfect timescale separation, this leads to a slow reduced system whose analysis enables a better understanding of the original stochastic model.
Second, periodic averaging theory [4], which has been originally developed for celestial mechanics, is particularly relevant to study the effect of fast deterministic and periodic perturbations (external input) on dynamical systems. This method also leads to a reduced model where the external perturbation is timeaveraged.
It seems appropriate to gather these two methods to address our case of a noisy and inputdriven slowfast dynamical system. This combined approach provides a novel way to understand the interactions between the three timescales relevant in our models. More precisely, we will consider the following class of multiscale stochastic differential equations (SDEs), with ${\u03f5}_{1},{\u03f5}_{2}>0$ two small parameters
where ${\mathbf{v}}^{\u03f5}\in {\mathbb{R}}^{p}$ represents the fast activity of the individual elements, ${\mathbf{w}}^{\u03f5}\in {\mathbb{R}}^{q}$ represents the connectivity weights that vary slowly due to plasticity, and $\mathbf{u}(t)\in {\mathbb{R}}^{p}$ represents the value of the external input at time t. Random perturbations are included in the form of a diffusion term, and $(B(t))$ is a standard Brownian motion.
We are interested in the double limit ${\u03f5}_{1}\to 0$ and ${\u03f5}_{2}\to 0$ to describe the evolution of the slow variable w in the asymptotic regime where both the variable v and the external input are much faster than w. This asymptotic regime corresponds to the study of a neuronal network in which both the external input u and the neuronal activity v operate on a faster timescale than the slow plasticitydriven evolution of synaptic weights W. To account for the possible difference of timescales between v and the input, we introduce the timescale ratio $\mu ={\u03f5}_{1}/{\u03f5}_{2}\in [0,\mathrm{\infty}]$. In the interesting case where $\mu \in (0,\mathrm{\infty})$, one needs to understand the longtime behavior of the rescaled periodically forced SDE for any ${\mathbf{w}}_{0}$ fixed
Recently, in an important contribution [5], a precise understanding of the longtime behavior of such processes has been obtained using methods from partial differential equations. In particular, conditions ensuring the existence of a periodic family of probability measures to which the law of v converges as time grows have been identified, together with a sharp estimation of the speed of mixing. These results are at the heart of the extension of the classical stochastic averaging principle [2] to the case of periodically forced slowfast SDEs [6]. As a result, we obtain a reduced equation describing the slow evolution of variable w in the form of an ordinary differential equation,
where $\overline{G}$ is constructed as an average of G with respect to a specific probability measure, as explained in Section 2.
This paper first introduces the appropriate mathematical framework and then focuses on applying these multiscale methods to learning neural networks.
The individual elements of these networks are neurons or populations of neurons. A common assumption at the basis of mathematical neuroscience [7] is to model their behavior by a stochastic differential equation which is made of four different contributions: (i) an intrinsic dynamics term, (ii) a communication term, (iii) a term for the external input, and (iv) a stochastic term for the intrinsic variability. Assuming that their activity is represented by the fast variable $\mathbf{v}\in {\mathbb{R}}^{n}$, the first equation of system (1) is a generic representation of a neural network (function F corresponds to the first three terms contributing to the dynamics). In the literature, the level of nonlinearity of the function F ranges from a linear (or almostlinear) system to spiking neuron dynamics [8], yet the structure of the system is universal.
These neurons are interconnected through a connectivity matrix which represents the strength of the synapses connecting the real neurons together. The slow modification of the connectivity between the neurons is commonly thought to be the essence of learning. Unsupervised learning rules update the connectivity exclusively based on the value of the activity variable. Therefore, this mechanism is represented by the slow equation above, where $\mathbf{w}\in {\mathbb{R}}^{n\times n}$ is the connectivity matrix and G is the learning rule. Probably the most famous of these rules is the Hebbian learning rule introduced in [9]. It says that if both neurons A and B are active at the same time, then the synapses from A to B and B to A should be strengthened proportionally to the product of the activity of A and B. There are many different variations of this correlationbased principle which can be found in [10, 11]. Another recent, unsupervised, biologically motivated learning rule is the spiketimingdependent plasticity (STDP) reviewed in [12]. It is similar to Hebbian learning except that it focuses on causation instead of correlation and that it occurs on a faster timescale. Both of these types of rule correspond to G being quadratic in v.
Previous literature about dynamic learning networks is thick, yet we take a significantly different approach to understand the problem. An historical focus was the understanding of feedforward deterministic networks [13–15]. Another approach consisted in precomputing the connectivity of a recurrent network according to the principles underlying the Hebbian rule [16]. Actually, most of current research in the field is focused on STDP and is based on the precise times of the spikes, making them explicit in computations [17–20]. Our approach is different from the others regarding at least one of the following points: (i) we consider recurrent networks, (ii) we study the evolution of the coupled system activity/connectivity, and (iii) we consider bounded dynamical systems for the activity without asking them to be spiking. Besides, our approach is a rigorous mathematical analysis in a field where most results rely heavily on heuristic arguments and numerical simulations. To our knowledge, this is the first time such models expressed in a slowfast SDE formalism are analyzed using temporal averaging principles.
The purpose of this application is to understand what the network learns from the exposition to timedependent inputs. In other words, we are interested in the evolution of the connectivity variable, which evolves on a slow timescale, under the influence of the external input and some noise added on the fast variable. More precisely, we intend to explicitly compute the equilibrium connectivities of such systems. This final matrix corresponds to the knowledge the network has extracted from the inputs. Although the derivation of the results is mathematically tough for untrained readers, we have tried to extract widely understandable conclusions from our mathematical results and we believe this paper brings novel elements to the debate about the role and mechanisms of learning in large scale networks.
Although the averaging method is a generic principle, we have made significant assumptions to keep the analysis of the averaged system mathematically tractable. In particular, we will assume that the activity evolves according to a linear stochastic differential equation. This is not very realistic when modeling individual neurons, but it seems more reasonable to model populations of neurons; see Chapter 11 of [7].
The paper is organized as follows. Section 2 is devoted to introducing the temporal averaging theory. Theorem 2.2 is the main result of this section. It provides the technical tool to tackle learning neural networks. Section 3 corresponds to application of the mathematical tools developed in the previous section onto the models of learning neural networks. A generic model is described and three different particular models of increasing complexity are analyzed. First, Hebbian learning, then tracelearning, and finally STDP learning are analyzed for linear activities. Finally, Section 4 is a discussion of the consequences of the previous results from the viewpoint of their biological interpretation.
2 Averaging principles: theory
In this section, we present multiscale theoretical results concerning stochastic averaging of periodically forced SDEs (Section 2.3). These results combine ideas from singular perturbations, classical periodic averaging and stochastic averaging principles. Therefore, we recall briefly, in Sections 2.1 and 2.2, several basic features of these principles, providing several examples that are closely related to the application developed in Section 3.
2.1 Periodic averaging principle
We present here an example of a slowfast ordinary differential equation perturbed by a fast external periodic input. We have chosen this example since it readily illustrates many ideas that will be developed in the following sections. In particular, this example shows how the ratio between the timescale separation of the system and the timescale of the input appears as a new crucial parameter.
Example 2.1 Consider the following linear timeinhomogeneous dynamical system with ${\u03f5}_{1},{\u03f5}_{2}>0$ two parameters:
This system is particularly handy since one can solve analytically the first ordinary differential equation, that is,
where we have introduced the timescales ratio
In this system, one can distinguish various asymptotic regimes when ${\u03f5}_{1}$ and ${\u03f5}_{2}$ are small according to the asymptotic value of μ:

Regime 1: Slow input $\mu =0$:
First, if ${\u03f5}_{1}\to 0$ and ${\u03f5}_{2}$ is fixed, then $v(t)$ is close to $sin(\frac{t}{{\u03f5}_{2}})$, and from geometric singular perturbation theory [21, 22] one can approximate the slow variable ${w}^{\u03f5}$ by the solution of
Now taking the limit ${\u03f5}_{2}\to 0$ and applying the classical averaging principle [4] for periodically driven differential equations, one can approximate ${w}^{\u03f5}$ by the solution of
since $\frac{1}{2\pi}{\int}_{0}^{2\pi}sin{(s)}^{2}\phantom{\rule{0.2em}{0ex}}ds=\frac{1}{2}$.

Regime 2: Fast input $\mu =\mathrm{\infty}$:
If ${\u03f5}_{2}\to 0$ and ${\u03f5}_{1}$ is fixed, then the classical averaging principle implies that ${v}^{\u03f5}$ is close to the solution of
so that ${w}^{\u03f5}$ can be approximated by
and when ${\u03f5}_{1}\to 0$, one does not recover the same asymptotic behavior as in Regime 1.

Regime 3: Timescales matching $0<\mu <\mathrm{\infty}$:
Now consider the intermediate case where ${\u03f5}_{1}$ is asymptotically proportional to ${\u03f5}_{2}$. In this case, ${v}^{\u03f5}$ can be approximated on the fast timescale $t/{\u03f5}_{1}$ by the periodic solution ${\overline{v}}_{\mu}(t)=\frac{1}{1+{\mu}^{2}}(sin(\mu t)\mu cos(\mu t))$ of $\frac{dv}{dt}=v+sin(\mu t)$. As a consequence, ${w}^{\u03f5}$ will be close to the solution of
since $\frac{1}{2\pi}{\int}_{0}^{2\pi}{\overline{v}}_{\mu}{(t/\mu )}^{2}\phantom{\rule{0.2em}{0ex}}dt=\frac{1}{2(1+{\mu}^{2})}$.
Thus, we have seen in this example that

1.
the two limits ${\u03f5}_{1}\to 0$ and ${\u03f5}_{2}\to 0$ do not commute,

2.
the ratio μ between the internal timescale separation ${\u03f5}_{1}$ and the input timescale ${\u03f5}_{2}$ is a key parameter in the study of slowfast systems subject to a timedependent perturbation.
2.2 Stochastic averaging principle
Timescales separation is a key property to investigate the dynamical behavior of nonlinear multiscale systems, with techniques ranging from averaging principles to geometric singular perturbation theory. This property appears to be also crucial to understanding the impact of noise. Instead of carrying a small noise analysis, a multiscale approach based on the stochastic averaging principle [2] can be a powerful tool to unravel subtle interplays between noise properties and nonlinearities. More precisely, consider a system of SDEs in ${\mathbb{R}}^{p+q}$:
with initial conditions ${\mathbf{v}}^{\u03f5}(0)={\mathbf{v}}_{0}$, ${\mathbf{w}}^{\u03f5}(0)={\mathbf{w}}_{0}$, and where ${\mathbf{w}}^{\u03f5}\in {\mathbb{R}}^{q}$ is called the slow variable, ${\mathbf{v}}^{\u03f5}\in {\mathbb{R}}^{p}$ is the fast variable, with F, G, Σ smooth functions ensuring the existence and uniqueness for the solution $({\mathbf{v}}^{\u03f5},{\mathbf{w}}^{\u03f5})$, and $B(t)$ a pdimensional standard Brownian motion, defined on a filtered probability space $(\mathrm{\Omega},\mathcal{F},\mathbb{P})$. Timescale separation in encoded in the small parameter ϵ, which denotes in this section a single positive real number.
In order to approximate the behavior of $({\mathbf{v}}^{\u03f5},{\mathbf{w}}^{\u03f5})$ for small ϵ, the idea is to average out the equation for the slow variable with respect to the stationary distribution of the fast one. More precisely, one first assumes that for each $\mathbf{w}\in {\mathbb{R}}^{q}$ fixed, the frozen fast SDE,
admits a unique invariant measure, denoted ${\rho}^{\mathbf{w}}(d\mathbf{v})$. Then, one defines the averaged drift vector field $\overline{G}$
and w the solution of $\frac{d\mathbf{w}}{dt}=\overline{G}(\mathbf{w})$ with the initial condition $\mathbf{w}(0)={y}_{0}$. Under some dissipativity assumptions, the stochastic averaging principle [2] states:
Theorem 2.1 For any $\delta >0$ and $T>0$,
As a consequence, analyzing the behavior of the deterministic solution w can help to understand useful features of the stochastic process $({\mathbf{v}}^{\u03f5},{\mathbf{w}}^{\u03f5})$.
Example 2.2 In this example we consider a similar system as in Example 2.1, but with a noise term instead of the periodic perturbation. Namely, we consider $({\mathbf{v}}^{\u03f5},{\mathbf{w}}^{\u03f5})$ the solution of the system of SDEs,
with $\u03f5>0$ a small parameter and $\sigma >0$ a positive constant. From Theorem 2.1, the stochastic slow variable ${w}^{\u03f5}$ can be approximated in the sense of (3) by the deterministic solution w of
where $\rho (dv)$ is the stationary measure of the linear diffusion process,
that is,
Consequently, ${w}^{\u03f5}$ can be approximated in the limit $\u03f5\to 0$ by the solution of
Applying (3) leads to the following result: for any $T>0$ and $\delta >0$,
Interestingly, the asymptotic behavior of ${w}^{\u03f5}$ for small ϵ is characterized by a deterministic trajectory that depends on the strength σ of the noise applied to the system. Thus, the stochastic averaging principle appears particularly interesting when unraveling the impact of noise strength on slowfast systems.
Many other results have been developed since, extending the setup to the case where the slow variable has a diffusion component or to infinitedimensional settings for instance, and also refining the convergence study, providing homogenization results concerning the limit of ${\u03f5}^{1/2}({\mathbf{w}}^{\u03f5}\mathbf{w})$ or establishing large deviation principles (see [23] for a recent monograph). However, fewer results are available in the case of nonhomogeneous SDEs, that is, when the system is perturbed by an external timedependent signal. This setting is of particular interest in the framework of stochastic learning models, and we present the main relevant mathematical results in the following section.
2.3 Double averaging principle
Combining ideas of periodic and stochastic averaging introduced previously, we present here theoretical results concerning multiscale SDEs driven by an external timeperiodic input. Consider $({\mathbf{v}}^{\u03f5},{\mathbf{w}}^{\u03f5})$ the solution of
with $t\to F(\mathbf{v},\mathbf{w},t)\in {\mathbb{R}}^{p}$ a τperiodic function and $\u03f5=({\u03f5}_{1},{\u03f5}_{2})\in {\mathbb{R}}_{+}^{2}$. Parameter ${\u03f5}_{1}$ represents the internal timescale separation and ${\u03f5}_{2}$ the input timescale. We consider the case where both ${\u03f5}_{1}$ and ${\u03f5}_{2}$ are small, that is, a strong timescale separation between the fast variable ${\mathbf{v}}^{\u03f5}\in {\mathbb{R}}^{p}$ and the slow one ${\mathbf{w}}^{\u03f5}\in {\mathbb{R}}^{q}$, and a fast periodic modulation of the fast drift $F(\mathbf{v},\mathbf{w},\cdot )$.
We further denote $\mathbf{z}=(\mathbf{v},\mathbf{w})$.
Definition 2.1 We define the asymptotic timescale ratio
Accordingly, we denote ${lim}_{\u03f5\to 0}^{\mu}$ the distinguished limit when ${\u03f5}_{1}\to 0$, ${\u03f5}_{2}\to 0$ with ${\u03f5}_{1}/{\u03f5}_{2}\to \mu $.
The following assumption is made to ensure existence and uniqueness of a strong solution to system (4). In the following, $\u3008{\mathbf{z}}_{1},{\mathbf{z}}_{2}\u3009$ will denote the usual scalar product for vectors.
Assumption 2.1 Existence and uniqueness of a strong solution

(i)
The functions F, G, and Σ are locally Lipschitz continuous in the space variable z. More precisely, for any $R>0$, there exists a constant ${\alpha}_{R}$ such that
$$\parallel F(\mathbf{z})F\left({\mathbf{z}}^{\prime}\right)\parallel \le {\alpha}_{R}\parallel \mathbf{z}{\mathbf{z}}^{\prime}\parallel \phantom{\rule{1em}{0ex}}\text{for any}\mathbf{z},{\mathbf{z}}^{\prime}\in {\mathbb{R}}^{p+q}\text{with}\parallel \mathbf{z}\parallel \le R\text{and}\parallel {\mathbf{z}}^{\prime}\parallel \le R.$$ 
(ii)
There exists a constant $R>0$ such that
$$\underset{\parallel \mathbf{z}\parallel >R,t>0}{sup}\frac{\u3008(F(\mathbf{z},t),G(\mathbf{z})),\mathbf{z}\u3009}{{\parallel \mathbf{z}\parallel}^{2}}<0.$$
To control the asymptotic behavior of the fast variable, one further assumes the following.
Assumption 2.2 Asymptotic behavior of the fast process:

(i)
The diffusion matrix Σ is bounded
$$\mathrm{\exists}{M}_{\mathbf{\Sigma}}>0\phantom{\rule{1em}{0ex}}\text{s.t.}\mathrm{\forall}\mathbf{z},\parallel \mathbf{\Sigma}(\mathbf{z})\parallel {M}_{\mathbf{\Sigma}}$$
and uniformly nondegenerate

(ii)
There exists ${r}_{0}<0$ such that for all $t\ge 0$ and for all $\mathbf{z},\mathbf{x}\in {\mathbb{R}}^{p+q}$,
$$\u3008{\mathrm{\nabla}}_{\mathbf{z}}F(\mathbf{z},t)\cdot \mathbf{x},\mathbf{x}\u3009\le {r}_{0}{\parallel \mathbf{x}\parallel}^{2}.$$
According to the value of $\mu \in \{0,{\mathbb{R}}_{+}^{\ast},\mathrm{\infty}\}$, the stochastic averaging principle is based on a description of the asymptotic behavior of various rescaled fast frozen processes. More precisely, under Assumptions 2.1 and 2.2, one can deduce that:

For any fixed ${\mathbf{w}}_{0}\in {\mathbb{R}}^{q}$ and ${t}_{0}>0$ fixed, the law of the rescaled timehomogeneous frozen process,
$$d\mathbf{v}=F(\mathbf{v},{\mathbf{w}}_{0},{t}_{0})\phantom{\rule{0.2em}{0ex}}dt+\mathbf{\Sigma}(\mathbf{v},{\mathbf{w}}_{0})\phantom{\rule{0.2em}{0ex}}dB(t),$$
converges exponentially fast to a unique invariant probability measure denoted by ${\rho}^{{\mathbf{w}}_{0},{t}_{0}}(d\mathbf{v})$.

For any fixed ${\mathbf{w}}_{0}\in {\mathbb{R}}^{q}$, there exists a $\frac{\tau}{\mu}$periodic evolution system of measures ${\nu}_{\mu}^{{\mathbf{w}}_{0}}(t,d\mathbf{v})$, different from ${\rho}^{{\mathbf{w}}_{0},t}(d\mathbf{v})$ above, such that the law of the rescaled timeinhomogeneous frozen process,
$$d\mathbf{v}=F(\mathbf{v},{\mathbf{w}}_{0},\mu t)\phantom{\rule{0.2em}{0ex}}dt+\mathbf{\Sigma}(\mathbf{v},{\mathbf{w}}_{0})\phantom{\rule{0.2em}{0ex}}dB(t),$$(6)
converges exponentially fast towards ${\nu}_{\mu}^{{\mathbf{w}}_{0}}(t,\cdot )$, uniformly with respect to ${\mathbf{w}}_{0}$ (cf. the Appendix Theorem A.1).

For any fixed ${\mathbf{w}}_{0}\in {\mathbb{R}}^{q}$, the law of the rescaled timehomogeneous frozen process,
$$d\mathbf{v}=\overline{F}(\mathbf{v},{\mathbf{w}}_{0})\phantom{\rule{0.2em}{0ex}}dt+\mathbf{\Sigma}(\mathbf{v},{\mathbf{w}}_{0})\phantom{\rule{0.2em}{0ex}}dB(t),$$
where $\overline{F}(\mathbf{v},{\mathbf{w}}_{0}):={\tau}^{1}{\int}_{0}^{\tau}F(\mathbf{v},{\mathbf{w}}_{0},t)\phantom{\rule{0.2em}{0ex}}dt$, converges exponentially fast towards a unique invariant probability measure denoted by ${\overline{\rho}}^{{\mathbf{w}}_{0}}(d\mathbf{v})$.
According to the value of μ, we introduce a vector field ${\overline{G}}_{\mu}$ which will play a role similar to $\overline{G}$ introduced in equation (2).
Definition 2.2 We define ${\overline{G}}_{\mu}:{\mathbb{R}}^{q}\to {\mathbb{R}}^{q}$ as follows. In the timescale matching case, that is, when $0<\mu <\mathrm{\infty}$, then
Notation We may denote the periodic system of measures ${\nu}_{\mu}^{\mathbf{w}}(t,d\mathbf{v})$ associated with (6) by ${\nu}_{\mu}^{\mathbf{w}}[F,\mathbf{\Sigma}](t,d\mathbf{v})$ to emphasize its relationship with F and Σ. Accordingly, we may denote ${\overline{G}}_{\mu}(\mathbf{w})$ by ${\overline{G}}_{\mu}^{[F,\mathbf{\Sigma}]}(\mathbf{w})$.
We are now able to present our main mathematical result. Extending Theorem 2.1, the following theorem describes the asymptotic behavior of the slow variable ${\mathbf{w}}^{\u03f5}$ when $\u03f5\to 0$ with ${\u03f5}_{1}/{\u03f5}_{2}\to \mu $. We refer to [6] for more details about the full mathematical proof of this result.
Theorem 2.2 Let $\mu \in (0,\mathrm{\infty})$. If w is the solution of
then the following convergence result holds, for all $T>0$ and $\delta >0$:
Remark 2.1

1.
The extremal cases $\mu =0$ and $\mu =\mathrm{\infty}$ are not covered in full rigor by Theorem 2.2. However, the study of the sequential limits ${\u03f5}_{1}\to 0$ followed by ${\u03f5}_{2}\to 0$ or ${\u03f5}_{2}\to 0$ followed by ${\u03f5}_{1}\to 0$ can be deduced from an appropriate combination of classical periodic and stochastic averaging theorems:

Slow input: If one considers the case where the limit ${\u03f5}_{1}\to 0$ is taken first, so that from Theorem 2.1 with fast variable ${\mathbf{v}}^{\u03f5}$ and slow variables ${\mathbf{w}}^{\u03f5}$ and t (with the trivial equation $\dot{t}=1$), ${\mathbf{w}}^{\u03f5}$ is close in probability on finite timeintervals to the solution of the following inhomogeneous ordinary differential equation:
$$\frac{d\tilde{\mathbf{w}}}{dt}={\int}_{\mathbf{v}\in {\mathbb{R}}^{p}}G(\mathbf{v},\tilde{\mathbf{w}}){\rho}^{\tilde{\mathbf{w}},t/{\u03f5}_{2}}(d\mathbf{v}):=\tilde{G}(\tilde{\mathbf{w}},t/{\u03f5}_{2}).$$
Then taking the limit ${\u03f5}_{2}\to 0$, one can apply the deterministic averaging principle to the fast periodic vector field $\tilde{G}(\mathbf{w},t/{\u03f5}_{2})$, so that $\tilde{\mathbf{w}}$ converges when ${\u03f5}_{2}\to 0$ to the solution of
where

Fast input: If the limit ${\u03f5}_{2}\to 0$ is taken first, one first has to perform a classical averaging of the periodic drift $F(\mathbf{v},\mathbf{w},t/{\u03f5}_{2})$ leading to the homogeneous system of SDEs (4), but with $\overline{F}(\mathbf{v},\mathbf{w})$ instead of $F(\mathbf{v},\mathbf{w},t/{\u03f5}_{2})$. Then, an application of Theorem 2.1 on this system gives an averaged vector field
$${\overline{G}}_{\mathrm{\infty}}(\mathbf{w}):={\int}_{\mathbf{v}\in {\mathbf{R}}^{p}}G(\mathbf{v},\mathbf{w}){\overline{\rho}}^{\mathbf{w}}(d\mathbf{v}).$$

2.
To study the extremal cases $\mu =0$ and $\mu =\mathrm{\infty}$ in full generality, one would need to consider all the possible relationships between ${\u03f5}_{1}$ and ${\u03f5}_{2}$, not only the linear one as in the present article, but also of the type ${\u03f5}_{1}={\u03f5}_{2}^{\alpha}$ for example. In this case, we believe that the regime $\alpha <1$ converges to the same limit as taking the limit ${\u03f5}_{2}$ first and the regime $\alpha >1$ corresponds to taking the limit ${\u03f5}_{1}$ first. The intermediate regime $\alpha =1$ seems to be the only one for which the limit cannot be obtained by combining classical averaging principles. Therefore, the present article is focused on this case, in which the averaged system depends explicitly on the scaling parameter μ. Moreover, in terms of applications, this parameter can have a relatively easy interpretation in terms of the ratio of timescales between intrinsic neuronal activity and typical stimulus timescales in a given situation. Although the zeroth order limit (i.e., the averaged system) seems to depend only on the position of α with respect to 1, it seems reasonable to expect that the fluctuations around the limit would depend on the precise value of α. This is a difficult question which may deserve further analysis.
The case $0<\mu <\mathrm{\infty}$ is already very rich in the sense that it combines simultaneously both the periodic and stochastic averaging principles in a new way that cannot be recovered by sequential applications of those principles. A particular role is played by the frozen periodicallyforced SDE (6). The equivalent of the quasistationary measure ${\rho}^{\mathbf{w}}$ of Theorem 2.1 is given by the asymptotically periodic behavior of equation (6), represented by the periodic family of measures ${\nu}_{\mu}^{\mathbf{w}}(t,d\mathbf{v})$.

3.
By a rescaling of the frozen process (6), one deduces the following scaling relationships:
$${\nu}_{\mu}^{\mathbf{w}}[F,\mathbf{\Sigma}](t,d\mathbf{v})={\nu}_{1}^{\mathbf{w}}[\frac{F}{\mu},\frac{\mathbf{\Sigma}}{\sqrt{\mu}}](\mu t,d\mathbf{v})$$
and
Therefore, if one knows, in the case $\mu =1$, the averaged vector field associated with the fast process generated by a drift F and a diffusion coefficient σ, denoted ${\overline{G}}_{1}[F,\mathbf{\Sigma}]$, it is possible to deduce ${\overline{G}}_{\mu}$ in the general case $\mu \in (0,\mathrm{\infty})$ with a change $F\to \mu F$ and $\mathbf{\Sigma}\to \sqrt{\mu}\mathbf{\Sigma}$.

4.
It seems reasonable to expect that the above result is still valid when considering ergodic, but not necessarily periodic, time dependency of the function $F(\mathbf{v},\mathbf{w},\cdot )$. In equation (7), instead of integrating ${\nu}_{\mu}^{\mathbf{w}}(t,d\mathbf{v})$ over one period, one should integrate it with respect to an ergodic stationary measure. However, this extension requires nontrivial technical improvements of [5] which are beyond the scope of this paper.
2.3.1 Case of a fast linear SDE with periodic input
We present here an elementary case where one can compute explicitly the quasistationary timeperiodic family of measures ${\nu}_{\mu}^{\mathbf{w}}(t,x)$, when the equation for the fast variable is linear. Namely, we consider $\mathbf{v}\in {\mathbb{R}}^{p}$ the solution of
with initial condition $\mathbf{v}(0)={\mathbf{v}}_{0}\in {\mathbb{R}}^{p}$, and where $\mathbf{A}\in {\mathbb{R}}^{p\times p}$ is a matrix whose eigenvalues have positive real parts and $\mathbf{u}(\cdot )$ is a τperiodic function.
We are interested in the large time behavior of the law of $\mathbf{v}(t)$, which is a timeinhomogeneous OrnsteinUhlenbeck process. From [5] we know that its law converges to a τperiodic family of probability measures $\nu (t,d\mathbf{v})$. Due to the linearity in the previous equation, $\nu (t,d\mathbf{v})$ is Gaussian with a timedependent mean and a constant covariance matrix
where $\overline{\mathbf{v}}$ is the $\frac{\tau}{\mu}$periodic attractor of $\frac{d\overline{\mathbf{v}}}{dt}=\mathbf{A}\cdot \overline{\mathbf{v}}(t)+\mathbf{u}(\mu t)$, i.e.,
and Q is the unique solution of the Lyapunov equation
Indeed, if one denotes $\mathbf{c}(t)=\mathbf{v}(t)\overline{\mathbf{v}}(t)$, then $\mathbf{c}(t)$ is a solution of the classical homogeneous OrnsteinUhlenbeck equation
whose stationary distribution is known to be a centered Gaussian measure with the covariance matrix Q solution of (9); see Chapter 3.2 of [24]. Notice that if A is selfadjoint with respect to ${(\mathbf{\Sigma}\cdot {\mathbf{\Sigma}}^{\prime})}^{1}$ (i.e., $\mathbf{A}\cdot (\mathbf{\Sigma}\cdot {\mathbf{\Sigma}}^{\prime})=(\mathbf{\Sigma}\cdot {\mathbf{\Sigma}}^{\prime})\cdot {\mathbf{A}}^{\prime}$), then the solution is $\mathbf{Q}=\frac{{\mathbf{A}}^{1}\cdot (\mathbf{\Sigma}\cdot {\mathbf{\Sigma}}^{\prime})}{2}=\frac{(\mathbf{\Sigma}\cdot {\mathbf{\Sigma}}^{\prime})\cdot {{\mathbf{A}}^{\prime}}^{1}}{2}$, which will be used in Appendix B.2.
Hence, in the linear case, the averaged vector field of equation (7) becomes
where ${\mathcal{N}}_{\mathbf{x},\mathbf{Q}}$ is the probability density function of the Gaussian law with mean $\mathbf{x}\in {\mathbb{R}}^{q}$ and covariance $\mathbf{Q}\in {\mathbb{R}}^{p\times p}$.
Therefore, due to the linearity of the fast SDE, the periodic system of measure ν is just a constant Gaussian distribution shifted by a periodic function of time $\mathbf{v}(t)$. In case G is quadratic in v, this remark implies that one can perform independently the integral over time and over ${\mathbb{R}}^{p}$ in formula (10) (noting that the crossed term has a zero average). In this case, contributions from the periodic input and from noise appear in the averaged vector field in an additive way.
Example 2.3 In this last example, we consider a combination between Example 2.1 and Example 2.2, namely we consider the following system of periodically forced SDEs:
As in Example 2.1 and as shown above, the behavior of this system when both ${\u03f5}_{1}$ and ${\u03f5}_{2}$ are small depends on the parameter μ defined in (5). More precisely, we have the following three regimes:

Regime 1: slow input:
$${\overline{G}}_{0}(w)=w+\frac{{\sigma}^{2}}{2}+\frac{1}{2}.$$ 
Regime 2: fast input:
$${\overline{G}}_{\mathrm{\infty}}(w)=w+\frac{{\sigma}^{2}}{2}.$$ 
Regime 3: timescale matching:
$${\overline{G}}_{\mu}(w)=w+\frac{{\sigma}^{2}}{2}+\frac{1}{2(1+{\mu}^{2})}.$$
2.4 Truncation and asymptotic wellposedness
In some cases, Assumptions 2.12.2 may not be satisfied on the entire phase space ${\mathbb{R}}^{p}\times {\mathbb{R}}^{q}$, but only on a subset. Such situations will appear in Section 3 when considering learning models. We introduce here a more refined set of assumptions ensuring that Theorem 2.2 still applies.
Let us start with an example, namely the following bidimensional system with white noise input:
with $\u03f5>0$, $\sigma >0$, $l>0$, $\mu >0$.
For the fast drift $(lw)v$ to be nonexplosive, it is necessary to have $w<l\alpha $ with $\alpha >0$ for all time. The concern about this system comes from the fact that the slow variable w may reach l due to the fluctuations captured in the term ${v}^{2}$, for instance, if κ is not large enough. Such a system may have exponentially growing trajectories. However, we claim that for small enough ϵ, ${w}^{\u03f5}$ will remain close to its averaged limit w for a very long time, and if this limit remains below $l\alpha $, then ${w}^{\u03f5}$ can be considered as wellposed in the asymptotic limit $\u03f5\to 0$. To make this argument more rigorous, we suggest the following definition.
Definition 2.3 A stochastic differential equation with a given initial condition is asymptotically well posed in probability if for the given initial condition,

1.
a unique solution exists until a random time ${\tau}_{\u03f5}$

2.
for all $T>0$,
$$\underset{\u03f5\to 0}{lim}\mathbb{P}[{\tau}_{\u03f5}\ge T]=1.$$
We give in the following proposition sufficient conditions for system (4) to be asymptotically well posed in probability and to satisfy conclusions of Theorem 2.2.
Let us introduce the following set of additional assumptions.
Assumption 2.3 Moment conditions:

(i)
There exists $p>2$ such that
$$\text{for any}T0,\phantom{\rule{1em}{0ex}}\underset{\u03f5}{sup}\mathbb{E}[\underset{0\le t\le T}{sup}{\parallel {\mathbf{v}}_{t}^{\u03f5}\parallel}^{p}+{\parallel {\mathbf{w}}_{t}^{\u03f5}\parallel}^{p}]\mathrm{\infty}.$$ 
(ii)
For any $T>0$ and any bounded subset K of ${\mathbb{R}}^{q}$,
$$\underset{{\u03f5}_{1}>0,\u03f52>0,\mathbf{w}\in K}{sup}\mathbb{E}\left[\underset{0\le t\le T}{sup}{\parallel G({\mathbf{v}}_{t}^{\u03f5},\mathbf{w})\parallel}^{2}\right]<\mathrm{\infty}.$$
Remark 2.2 This last set of assumptions will be satisfied in all the applications of Section 3 since we consider linear models with additive noise for the equation of v, implying this variable to be Gaussian and the function G only involves quadratic moments of v; therefore, the moment conditions (i) and (ii) will be satisfied without any difficulty. Moreover, if one considers nonlinear models for the variable v, then the Gaussian property may be lost; however, adding sigmoidal nonlinearity has, in general, the effect of bounding the dynamics, thus making these moment assumptions reasonable to check in most models of interest.
Property 2.3 If there exists a subset ℰ of ${\mathbb{R}}^{q}$ such that

1.
The functions F, G, Σ satisfy Assumptions 2.12.3 restricted on ${\mathbb{R}}^{p}\times \mathcal{E}$.

2.
ℰ is invariant under the flow of ${\overline{G}}_{\mu}$, as defined in (7).
Then for any initial condition ${\mathbf{w}}_{0}\in \mathcal{E}$, system (4) is asymptotically well posed in probability and ${\mathbf{w}}^{\u03f5}$ satisfies the conclusion of Theorem 2.2.
Proof See Appendix A.2. □
Here, we show that it applies to system (11). First, with ${\mathcal{E}}_{\alpha}=\{w\in \mathbb{R},w<l\alpha \}$, for some $\alpha \in \phantom{\rule{0.2em}{0ex}}]0,l[$, it is possible to show that Assumptions 2.12.2 are satisfied on ${\mathbb{R}}^{p}\times {\mathcal{E}}_{\alpha}$. Then, as a special case of (10), we obtain the following averaged system:
It remains to check that the solution of this system satisfies
that is, the subset ${\mathcal{E}}_{\alpha}$ is invariant under the flow of $\overline{G}$.
This property is satisfied as soon as
Indeed, one can show that $\overline{G}(w)=0$ admits two solutions iff $\eta <1$,
and that ${w}_{}$ is stable whereas ${w}_{+}$ is unstable. Thus, if $w(0)<l\alpha $ with $\alpha =l{w}_{+}>0$, then $w(t)<l\alpha $ for all $t>0$. In fact, the invariance property is true for all $\alpha \in \phantom{\rule{0.2em}{0ex}}]l{w}_{},l{w}_{+}[$.
3 Averaging learning neural networks
In this section, we apply the temporal averaging methods derived in Section 2 on models of unsupervised learning neural networks. First, we design a generic learning model and show that one can define formally an averaged system with equation (7). However, going beyond the mere definition of the averaged system seems very difficult and we only manage to get explicit results for simple systems where the fast activity dynamics is linear. In the three last subsections, we push the analysis for three examples of increasing complexity.
In the following, we always consider that the initial connectivity is 0. This is an arbitrary choice but without consequences, because we focus on the regime where there is a single globally stable equilibrium point (see Section 3.2.3).
3.1 A generic learning neural network
We now introduce a large class of stochastic neuronal networks with learning models. They are defined as coupled systems describing the simultaneous evolution of the activity of $n\in \mathbb{N}$ neurons and the connectivity between them. We define $\mathbf{v}\in {\mathbb{R}}^{n}$, the activity field of the network, and $\mathbf{W}\in {\mathbb{R}}^{n\times n}$, the connectivity matrix.
Each neuron variable ${\mathbf{v}}_{i}$ is assumed to follow the SDE
where the function ${f}_{i}$ characterizes the intrinsic nonlinear dynamical behavior of neuron i and ${\mathbf{u}}_{i}$ is the input received by neuron i. The stochastic term $\mathbf{\Sigma}\cdot d{B}_{i}(t)$ is added to account for internal sources of noise. In terms of notations, ${(B(t))}_{t\ge 0}$ is a standard ndimensional Brownian motion, Σ is an $n\times n$ matrix, possibly function of v or other variables, and $\mathbf{\Sigma}\cdot d{B}_{i}(t)$ denotes the i th component of the vector $\mathbf{\Sigma}\cdot dB(t)$.
The input ${\mathbf{u}}_{i}$ to neuron i has mainly two components: the external input ${\mathbf{u}}_{i}^{\mathrm{ext}}$ and the input coming from other neurons in the network ${\mathbf{u}}_{i}^{\mathrm{syn}}$. The latter is a priori a complex combination of postsynaptic potentials coming from many other neurons. The coefficient ${\mathbf{W}}_{ij}$ of the connectivity matrix accounts for the strength of a synapse $j\to i$. Note that neurons can be connected to themselves, i.e., ${\mathbf{W}}_{ii}$ is not necessarily null. Thus, we can write
where $\mathcal{S}:\mathbb{R}\to \mathbb{R}$ and ℋ is a function taking the history of ${\mathbf{v}}_{i}$ and ${\mathbf{v}}_{j}$ and returning a real for each time t (to take convolutions into account). In practical cases, they are often taken to be sigmoidal functions. We abusively redefine $\mathcal{S}$ and ℋ as vector valued operators corresponding to the elementwise application of their real counterparts. We also define the function $\mathcal{F}:{\mathbb{R}}^{n}\to {\mathbb{R}}^{n}$ such that $\mathcal{F}{(\mathbf{v})}_{i}={f}_{i}({\mathbf{v}}_{i})$. Together with a slow generic learning rule, this leads to defining a stochastic learning model as the following system of SDEs.
Definition 3.1
Before applying the general theory of Section 2, let us make several comments about this generic model of neural network with learning. This model is a nonautonomous, stochastic, nonlinear slowfast system.
In order to apply Theorem 2.2, one needs Assumptions 2.1, 2.2, and 2.3 to be satisfied, restricting the space of possible functions $\mathcal{S}$, ℋ, ℱ, Σ, and G. In particular, Assumption 2.2(ii) seems rather restrictive since it excludes systems with multiple equilibria and suggests that the general theory is more suited to deal with ratebased networks. However, one should keep in mind that these assumptions are only sufficient, and that the double averaging principle may work as well in systems which do not satisfy readily those assumptions.
As we will show in Section 3.3, a particular form of historydependence can be taken into account, to a certain extent. Indeed, for instance, if the function ℱ is actually a functional of the past trajectory of variable ${\mathbf{v}}^{\u03f5}$ which can be expressed as the solution of an additional SDE, then it may be possible to include a certain form of historydependence. However, purely timedelayed systems do not enter the scope of this theory, although it might be possible to derive an analogous averaging method in this framework.
The noise term can be purely additive or set by a particular function $\mathrm{\Sigma}(\mathbf{v},\mathbf{W})$ as long as it satisfies Assumption 2.2(i), meaning that it must be uniformly nondegenerate.
In the following subsection, we apply the averaging theory to various combinations of neuronal network models, embodied by choices of functions $\mathcal{S}$, ℋ, ℱ, Σ, and various learning rules, embodied by a choice of the function G. We will also analyze the obtained averaged system, describing the slow dynamics of the connectivity matrix in the limit of perfect timescale separation and, in particular, study the convergence of this averaged system to an equilibrium point.
3.2 Symmetric Hebbian learning
One of the simplest, yet nontrivial, stochastic learning models is obtained when considering

A linear model for neuronal activity, namely ${f}_{i}({\mathbf{v}}_{i})=l{\mathbf{v}}_{i}$ with l a positive constant.

A linear model for the synaptic transmission, namely $\mathcal{S}({\mathbf{v}}_{i})={\mathbf{v}}_{i}$ and $\mathcal{H}({\mathbf{v}}_{i},{\mathbf{v}}_{j})={\mathbf{v}}_{j}$.

A constant diffusion matrix Σ (additive noise) proportional to the identity $\mathbf{\Sigma}=\sigma Id$ (spatially uncorrelated noise).

A Hebbian learning rule with linear decay, namely ${G}_{ij}(\mathbf{W},\mathbf{v})=\kappa {\mathbf{W}}_{ij}+{\mathbf{v}}_{i}{\mathbf{v}}_{j}$. Actually, it corresponds to the tensor product: ${\{\mathbf{v}\otimes \mathbf{v}\}}_{ij}={\mathbf{v}}_{i}{\mathbf{v}}_{j}$.
This model can be written as follows:
where neurons are assumed to have the same decay constant: $\mathbf{L}=l{I}_{d}$; u is a periodic continuous input (it replaces ${\mathbf{u}}^{\mathrm{ext}}$ in the previous section); $\sigma ,{\u03f5}_{1},{\u03f5}_{2},\kappa \in {\mathbb{R}}_{+}$ with ${\u03f5}_{1},{\u03f5}_{2}\ll 1$ and $B(t)$ is ndimensional Brownian noise.
The first question that arises is about the wellposedness of the system: What is the definition interval of the solutions of system (12)? Do they explode in finite time? At first sight, it seems there may be a runaway of the solution if the largest real part among the eigenvalues of W grows bigger than l. In fact, it turns out this scenario can be avoided if the following assumption linking the parameters of the system is satisfied.
Assumption 3.1 There exists $p\in \phantom{\rule{0.2em}{0ex}}]0,1[$ such that
where ${u}_{m}={sup}_{t\in {\mathbb{R}}_{+}}{\parallel \mathbf{u}(t)\parallel}_{2}$.
It corresponds to making sure the external (i.e., ${u}_{m}$) or internal (i.e., σ) excitations are not too large compared to the decay mechanism (represented by κ and l). Note that if $p\in \phantom{\rule{0.2em}{0ex}}]0,1[$, ${u}_{m}$ and d are fixed, it is sufficient to increase κ or l for this assumption to be satisfied.
Under this assumption, the space
is invariant by the flow of the averaged system $\overline{G}$, where $\mathbf{W}\ge 0$ means W is semidefinite positive and $\mathbf{W}<p\mathbf{L}$ means $p\mathbf{L}\mathbf{W}$ is definite positive. Therefore, the averaged system is defined and bounded on ${\mathbb{R}}_{+}$. The slow/fast system being asymptotically close to the averaged system, it is therefore asymptotically welldefined in probability. This is summarized in the following theorem.
Theorem 3.1 If Assumption 3.1 is verified for $p\in \phantom{\rule{0.2em}{0ex}}]0,1[$, then system (12) is asymptotically well posed in probability and the connectivity matrix ${\mathbf{W}}^{\u03f5}$, the solution of system (12), converges to W in the sense that for all $\delta ,T>0$,
where W is the deterministic solution of
where $\overline{\mathbf{v}}(t)$ is the $\frac{\tau}{\mu}$periodic attractor of $\frac{d\overline{\mathbf{v}}}{dt}=(\mathbf{W}\mathbf{L})\cdot \overline{\mathbf{v}}+\mathbf{u}(\mu t)$, where $\mathbf{W}\in {\mathbb{R}}^{n\times n}$ is supposed to be fixed.
Proof See Theorem B.1 in Appendix B.2. □
In the following, we focus on the averaged system described by (13). Its righthand side is made of three terms: a linear and homogeneous decay, a correlation term, and a noise term. The last two terms are made explicit in the following.
3.2.1 Noise term
As seen in Section 2, in the linear case, the noise term Q is the unique solution of the Lyapunov equation (9) with $\mathbf{A}=\mathbf{W}\mathbf{L}$ and $\mathrm{\Sigma}=\sigma Id$. Because the noise is spatially uncorrelated and identical for each neuron and also because the connectivity is symmetric, observe that $\mathbf{Q}=\frac{{\sigma}^{2}}{2}{(\mathbf{L}\mathbf{W})}^{1}$ is the unique solution of the system.
In more complicated cases, the computation of this term appears to be much more difficult as we will see in Section 3.4.
3.2.2 Correlation term
This term corresponds to the autocorrelation of neuronal activity. It is only implicitly defined; thus, this section is devoted to finding an explicit form depending only on the parameters l, μ, τ, the connectivity W, and the inputs u. Actually, one can perform an expansion of this term with respect to a small parameter corresponding to a weakly connected expansion. Most terms vanish if the connectivity W is small compared to the strength of the intrinsic decaying dynamics of neurons l.
The autocorrelation term of a $\frac{\tau}{\mu}$periodic function can be rewritten as
With this notation, it is simple to think of v as a ‘semicontinuous matrix’ of ${\mathbb{R}}^{n\times [0,\frac{\tau}{\mu}[}$. Hence, the operator ‘⋅’ can be though of as a matrix multiplication. Similarly, the transpose operator turns a matrix $\overline{\mathbf{v}}\in {\mathbb{R}}^{n\times [0,\frac{\tau}{\mu}[}$ into a matrix ${\overline{\mathbf{v}}}^{\prime}\in {\mathbb{R}}^{[0,\frac{\tau}{\mu}[\times n}$. See Appendix B.1 for details about the notations.
It is common knowledge, see [17] for instance, that this term gathers information about the correlation of the inputs. Indeed, if we assume that the input is sufficiently slow, then $\overline{\mathbf{v}}$ has enough time to converge to $\mathbf{u}(t)$ for all $t\in [0,+\mathrm{\infty}[$. Therefore, in the first order $\overline{\mathbf{v}}(t)\simeq {(\mathbf{W}\mathbf{L})}^{1}\cdot \mathbf{u}(t)$. This leads to $\overline{\mathbf{v}}\cdot {\overline{\mathbf{v}}}^{\prime}\simeq {(\mathbf{W}\mathbf{L})}^{1}\cdot \mathbf{u}\cdot {\mathbf{u}}^{\prime}\cdot {({\mathbf{W}}^{\prime}\mathbf{L})}^{1}$. In the weakly connected regime, one can assume that $\mathbf{W}\mathbf{L}\simeq \mathbf{L}$ leading to $\overline{\mathbf{v}}\cdot {\overline{\mathbf{v}}}^{\prime}\simeq \frac{1}{{l}^{2}}\mathbf{u}\cdot {\mathbf{u}}^{\prime}$ which is the autocorrelation of the inputs.
Actually, without the assumption of a slow input, lagged correlations of the input appear in the averaged system. Before giving the expression of these temporal correlations, we need to introduce some notations. First, define the convolution filter ${g}_{l/\mu}:t\mapsto \frac{l}{\mu}{e}^{\frac{l}{\mu}t}H(t)$, where H is the Heaviside function. This family of functions is displayed for different values of $\frac{l}{\mu}$ in Figure 4(a). Note that ${g}_{l/\mu}\to {\delta}_{0}$ when $\frac{l}{\mu}\to +\mathrm{\infty}$, where ${\delta}_{0}$ is the Dirac distribution centered at the origin. In this asymptotic regime, the convolution filter and its iterates ${g}_{l/\mu}\ast \cdots \ast {g}_{l/\mu}$ are equal to the identity.
We also define the filtered correlation of the inputs ${\mathbf{C}}^{k,p}\in {\mathbb{R}}^{n\times n}$ by
where ${g}_{l/\mu}^{(k+1)}={g}_{l/\mu}\ast \cdots \ast {g}_{l/\mu}$ is the k th convolution of ${g}_{l/\mu}$ with itself and ${u}_{m}={sup}_{t\in {\mathbb{R}}_{+}}{\parallel \mathbf{u}(t)\parallel}_{2}$. This is the correlation matrix of the inputs filtered by two different functions. It is easy to show that this is similar to computing the crosscorrelation of the inputs with the inputs filtered by another function,
which motivates the definition of the $(k,p)$temporal profile ${g}_{l/\mu}^{(k+1)}\ast {{g}_{l/\mu}^{\prime}}^{(q+1)}$, where ${({g}_{l/\mu}^{\prime})}^{(k)}(t)={({g}_{l/\mu}^{(k)})}^{\prime}(t)={g}_{l/\mu}^{(k)}(t)$. This notation is deliberately similar to that of the transpose operator we use in the proofs. These functions are shown in Figure 1. We have not found a way to make them explicit; therefore, the following remarks are simply based on numerical illustrations. When $k=q$, the temporal profiles are centered. The larger the difference $kq$, the larger the center of the bell. The larger the sum $k+q$, the larger the standard deviation. This motivates the idea that ${\mathbf{C}}^{k,p}$ can be thought of as the $kq$ lagged correlation of the inputs. One can also say that ${\mathbf{C}}^{10,10}$ is more blurred than ${\mathbf{C}}^{0,0}$ in the sense that the inputs are temporally integrated over a ‘wider’ window in the first case.
Observe that ${g}_{l/\mu}^{(k+1)}(t)=\frac{{l}^{k+1}}{{\mu}^{k+1}k!}{t}^{k}{e}^{\frac{l}{\mu}t}H(t)$. Therefore, ${\parallel {g}_{l/\mu}^{(k+1)}\parallel}_{1}=\frac{\mathrm{\Gamma}(k+1)}{k!}=1$. Thanks to Young’s inequality for convolutions, which says that ${\parallel \mathbf{u}\ast {g}_{l/\mu}^{(k)}\parallel}_{2}\le {\parallel \mathbf{u}\parallel}_{2}{\parallel {g}_{l/\mu}^{(k)}\parallel}_{1}$, it can be proved that ${\parallel {\mathbf{C}}^{k,q}\parallel}_{2}\le 1$.
We intend to express the correlation term as an infinite converging sum involving these filtered correlations. In this perspective, we use a result we have proved in [25] to write the solution of a general class of nonautonomous linear systems (e.g., $\frac{d\overline{\mathbf{v}}}{dt}=(\mathbf{W}\mathbf{L})\cdot \overline{\mathbf{v}}+\mathbf{u}(t)$) as an infinite sum, in the case $\mu =1$.
Lemma 3.2 If $\overline{\mathbf{v}}$ is the solution, with zero as initial condition, of $\frac{d\overline{\mathbf{v}}}{dt}=(\mathbf{W}\mathbf{L})\cdot \overline{\mathbf{v}}+\mathbf{u}(t)$ it can be written by the sum below which converges if W is in ${E}_{p}$ for $p\in \phantom{\rule{0.2em}{0ex}}]0,1[$.
where ${g}_{l}:t\mapsto l{e}^{lt}H(t)$.
Proof See Lemma B.2 in Appendix B.2. □
This is a decomposition of the solution of a linear differential system on the basis of operators where the spatial and temporal parts are decoupled. This important step in a detailed study of the averaged equation cannot be achieved easily in models with nonlinear activity. Everything is now set up to introduce the explicit expansion of the correlation we are using in what follows. Indeed, we use the previous result to rewrite the correlation term as follows.
Property 3.3 The correlation term can be written
Proof See Theorem B.3 in Appendix B.2. □
This infinite sum of convolved filters is reminiscent of a property of Hawkes processes that have a linear inputoutput gain [26].
The speed of inputs characterized by μ only appears in the temporal profiles ${g}_{l/\mu}^{(k)}\ast {{g}_{l/\mu}^{\prime}}^{(q)}$. In particular, if the inputs are much slower than neuronal activity timescale, i.e., $\mu =0$, then ${g}_{+\mathrm{\infty}}={\delta}_{0}$ and $\mathbf{u}\ast {g}_{+\mathrm{\infty}}=\mathbf{u}$. Therefore, ${\mathbf{C}}^{k,q}={\mathbf{C}}^{0,0}$ and the sums in the formula of Property 3.3 are separable, leading to $\overline{\mathbf{v}}\cdot {\overline{\mathbf{v}}}^{\prime}={(\mathbf{L}\mathbf{W})}^{1}\cdot \mathbf{u}\cdot {\mathbf{u}}^{\prime}\cdot {(\mathbf{L}{\mathbf{W}}^{\prime})}^{1}$, which corresponds to the heuristic result previously explained.
Therefore, the averaged equation can be explicitly rewritten
In Figure 2, we illustrate this result by comparing, for different $\u03f5={\u03f5}_{1}={\u03f5}_{2}$ (i.e., we choose $\mu =1$ in this example), the stochastic system and its averaged version. The above decomposition has been used as the basis for numerical computation of trajectories of the averaged system.
3.2.3 Global stability of the equilibrium point
Now that we have found an explicit formulation for the averaged system, it is natural to study its dynamics. Actually, we prove in the following that if the connectivity W is kept smaller than $\frac{l}{3}$, i.e., Assumption 3.1 is verified with $p\le \frac{1}{3}$, then the dynamics is trivial: the system converges to a single equilibrium point. Indeed, under the previous assumption, the system can be written $\overline{G}(\mathbf{W})=\kappa \mathbf{W}+F(\mathbf{W})$, where F is a contraction operator on ${E}_{\frac{1}{3}}$. Therefore, one can prove the uniqueness of the fixed point with the Banach fixed point argument and exhibit an energy function for the system.
Theorem 3.4 If Assumption 3.1 is verified for $p\le \frac{1}{3}$, then there is a unique equilibrium point in the invariant subset ${E}_{p}$ which is globally, asymptotically stable.
Proof See Theorem B.4 in Appendix B.2. □
The fact that the equilibrium point is unique means that the ‘knowledge’ of the network about its environment (corresponding by hypothesis to the connectivity) eventually is unique. For a given input and any initial condition, the network can only converge to the same ‘knowledge’ or ‘understanding’ of this input.
3.2.4 Explicit expansion of the equilibrium point
When the network is weakly connected, the highorder terms in expansion (15) may be neglected. In this section, we follow this idea and find an explicit expansion for the equilibrium connectivity where the strength of the connectivity is the small parameter enabling the expansion. The weaker the connectivity, the more terms can be neglected in the expansion.
In fact, it is not natural to speak about a weakly connected learning network since the connectivity is a variable. However, we are able to identify a weak connectivity index which controls the strength of the connectivity. We say the connectivity is weak when it is negligible compared to the intrinsic leak term, i.e., $\frac{\u2980\mathbf{W}\u2980}{l}$ is small. We show in the Appendix that this weak connectivity index depends only on the parameters of the network and can be written
In the asymptotic regime $\tilde{p}\to 0$, we have $\frac{\mathbf{W}}{\tilde{p}l}=\mathcal{O}(1)$. This index is the ‘small’ parameter needed to perform the expansion. We also define $\lambda =\frac{{\sigma}^{2}l}{2{u}_{m}^{2}}$, which has information about the way $\tilde{p}$ is converging to zero. In fact, it is the ratio of the two terms of $\tilde{p}$.
With these, we can prove that the equilibrium connectivity ${\mathbf{W}}^{\ast}$ has the following asymptotic expansion in $\tilde{p}$.
Theorem 3.5
Proof See Theorem B.5 in Appendix B.2. □
At the first order, the final connectivity is ${\mathbf{C}}^{0,0}$, the filtered correlation of the inputs convolved with a bellshaped centered temporal profile. In the case of Figure 3, this is quite a good approximation of the final connectivity.
Not only the spatial correlation is encoded in the weights, but there is also some information about the temporal correlation, i.e., two successive but orthogonal events occurring in the inputs will be wired in the connectivity although they do not appear in the spatial correlations; see Figure 3 for an example.
3.3 Trace learning: bandpass filter effect
In this section, we study an improvement of the learning model by adding a certain form of history dependence in the system and explain the way it changes the results of the previous section. Given that Theorem 2.2 only applies to an instantaneous process, we will only be able to treat the historydependent systems which can be reformulated as instantaneous processes. Actually, this class of systems contains models which are biologically more relevant than the previous model and which will exhibit interesting additional functional behaviors. In particular, this covers the following features:

Trace learning.
It is likely that a biological learning rule will integrate the activity over a short time. As Földiàk suggested in [27], it makes sense to consider the learning equation as being
where ∗ is the convolution and ${g}_{1}:t\in \mathbb{R}\mapsto {\beta}_{1}{e}^{{\beta}_{1}t}H(t)$. Rolls and Deco numerically show [15] that the temporal convolution, leading to a spatiotemporal learning, makes it possible to perform invariant object recognition. Besides, trace learning appears to be the symmetric part of the biological STDP rule that we detail in Section 3.4.

Damped oscillatory neurons.
Many neurons have an oscillatory behavior. Although we cannot take this into account in a linear model, we can model a neuron by a damped oscillator, which also introduces a new important timescale in the system. Adding adaptation to neuronal dynamics is an elementary way to implement this idea. This corresponds to modeling a single neuron without inputs by the equivalent formulations

Dynamic synapses.
The electrochemical process of synaptic communication is very complicated and nonlinear. Yet, one of the features of synaptic communication we can take into account in a linear model is the shape of the postsynaptic potentials. In this section, we consider that each synapse is a linear filter whose finite impulse response (i.e., the postsynaptic potential) has the shape ${g}_{3}(t)={\beta}_{3}{e}^{{\beta}_{3}t}H(t)$. This is a common assumption which, for instance, is at the basis of traditional rate based models; see Chapter 11 of [7].
For mathematical tractability, we assume in the following that $\beta ={\beta}_{1}={\beta}_{2}={\beta}_{3}\in {\mathbb{R}}_{+}$ such that ${g}_{\beta}={g}_{1}={g}_{2}={g}_{3}$, i.e., the timescales of the neurons, those of the synapses and those of the learning windows are the same. Actually, there is a large variety of temporal scales of neurons, synapses, and learning windows, which makes this assumption not absurd. Besides, in many brain areas, examples of these time constants are in the same range (≃10 ms). Yet, investigating the impact of breaking this assumption would be necessary to model better biological networks. This leads to the following system:
where the notations are the same as in Section 3.2. The behavior of a single neuron will be oscillatory damped if $\mathrm{\Delta}=\sqrt{14\frac{l}{\beta}}$ is a pure imaginary number, i.e., $4l>\beta $. This is the regime on which we focus. Actually, the Hebbian linear case of Section 3.2 corresponds to $\beta =+\mathrm{\infty}$ in this delayed system.
To comply with the hypotheses of Theorem 2.2 (i.e., no dependence of the history of the process), we can add a variable z to the system which takes care of integrating the variable v over an exponential window. It leads to the equivalent system (in the limit ${\sigma}_{\mathbf{z}}\to 0$)
This trick makes it possible to deal with some historybased processes where the dependence on the past is exponential.
It turns out most of the results of Section 3.2 remain true for system (16) as detailed in the following. The existence of the solution on ${\mathbb{R}}_{+}$ is proved in Theorem B.6. The computations show that in the averaged system, the noise term remains identical, whereas the correlation term is to be replaced by $\frac{\mu}{\tau}(\overline{\mathbf{v}}\ast {g}_{\beta})\cdot {(\overline{\mathbf{v}}\ast {g}_{\beta})}^{\prime}$. Besides, Lemma 3.2 can be extended to our delayed system by changing only the temporal filters; see Lemma 34. Together with Lemma C.3, this proves the result of Theorem B.8.
where
where $v:t\to \frac{l}{\mu \mathrm{\Delta}}({e}^{\frac{\beta}{2\mu}(1\mathrm{\Delta})t}{e}^{\frac{\beta}{2\mu}(1+\mathrm{\Delta})t})H(t)$. Observe that applying Young’s inequality to convolutions leads to ${\parallel {\tilde{\mathbf{C}}}^{k,q}\parallel}_{2}\le 1$. Actually, Lemma C.3 shows that ${v}^{(k)}={v}_{k}:t\mapsto \frac{\sqrt{\pi \beta}}{k!}{e}^{\frac{\beta}{2}t}{(\frac{t}{\mathrm{\Delta}})}^{k+\frac{1}{2}}{J}_{k+\frac{1}{2}}(\frac{\beta \mathrm{\Delta}}{2}t)H(t)$, where ${J}_{n}(z)$ is the Bessel function of the first kind. The value of the L1 norm of v is computed in Appendix C.3. It leads to ${\parallel v\parallel}_{1}=coth(\frac{\pi}{2\mathrm{\Delta}})$ if Δ is a pure imaginary number and ${\parallel v\parallel}_{1}=1$ else.
Therefore, the averaged system can be rewritten
As before, the existence and uniqueness of a globally attractive equilibrium point is guaranteed if Assumption 3.1 is verified for $p\le \frac{1}{2{\parallel v\parallel}_{1}^{3}+1}$; see Theorem B.9.
Besides, the weakly connected expansion of the equilibrium point we did in Section 3.2.4 can be derived in this case (see Theorem B.10). At the first order, this leads to the equilibrium connectivity
The second order is given in Theorem B.10. The main difference with the Hebbian linear case is the shape of the temporal filters. Actually, the temporal filters have an oscillatory damped behavior if Δ is purely imaginary. These two cases are compared in Figure 4.
These oscillatory damped filters have the effect of amplifying a particular frequency of the input signal. As shown in Figure 5, if Δ is a pure imaginary number, then ${\mathbf{D}}^{0,0}$ is the crosscorrelation of the bandpass filtered inputs with themselves. This bandpass filter effect can also be observed in the higherorder terms of the weakly connected expansion. This suggests that the biophysical oscillatory behavior of neurons and synapses leads to selecting the corresponding frequency of the inputs and performing the same computation as for the Hebbian linear case of the previous section: computing the correlation of the (filtered) inputs.
3.4 Asymmetric ‘STDP’ learning with correlated noise
Here, we extend the results to temporally asymmetric learning rules and spatially correlated noise. We consider a learning rule that is similar to the spiketimingdependent plasticity (STDP) which is closer to biological experiments than the previous Hebbian rules. It has been observed that the strength of the connection between two neurons depends mainly on the difference between the time of the spikes emitted by each neuron as shown in Figure 6; see [12].
Assuming that the decay time of the positive and negative parts of Figure 6 are equal, we approximate this function by $t\mapsto {a}_{+}{g}_{\gamma}(t){a}_{}{g}_{\gamma}(t)$, where ${g}_{\gamma}(t)=\gamma {e}^{\gamma t}H(t)$. Actually, this corresponds to ${\dot{{\mathbf{W}}^{\u03f5}}}_{ij}=\kappa {\mathbf{W}}_{ij}^{\u03f5}+{a}_{+}{\mathbf{v}}_{i}({\mathbf{v}}_{j}^{\u03f5}\ast {g}_{\gamma}){a}_{}({\mathbf{v}}_{i}^{\u03f5}\ast {g}_{\gamma}){\mathbf{v}}_{j}^{\u03f5}$. If the neuron has a spiking behavior, then the term ${a}_{+}{\mathbf{v}}_{i}^{\u03f5}(t)({\mathbf{v}}_{j}^{\u03f5}\ast {g}_{\gamma})(t)$ is significant when the postsynaptic neuron i is spiking at time t, and then it counts the number of previous spikes from the presynaptic neuron j that might have caused the postsynaptic spike. This calculus is weighted by an exponentially decaying function. This accounts for the left part of Figure 6. The last term ${a}_{}({\mathbf{v}}_{i}^{\u03f5}\ast {g}_{\gamma}){\mathbf{v}}_{j}^{\u03f5}$ takes the opposite perspective. It is significant when the presynaptic neuron j is spiking and counts the number of previous spikes from the postsynaptic neuron i that are not likely to have been caused by the presynaptic neuron. The computation is also weighted by the mirrored function of an exponentially decaying function. This accounts for the right part of Figure 6. This leads to the coupled system
where the nonlinear intrinsic dynamics of the neurons is represented by f. Indeed, the term ${\{{a}_{+}{\mathbf{v}}^{\u03f5}(t)\otimes ({\mathbf{v}}^{\u03f5}\ast {g}_{\gamma})(t)\}}_{ij}={a}_{+}{\mathbf{v}}_{i}^{\u03f5}(t){({\mathbf{v}}^{\u03f5}\ast {g}_{\gamma})}_{j}(t)$ is negligible when the neuron is quiet and maximal at the top of the spikes emitted by neuron i. Therefore, it records the value of the presynaptic membrane potential weighted by the function ${g}_{\gamma}$ when the postsynaptic neuron spikes. This accounts for the positive part of Figure 6. Similarly, the negative part corresponds to ${a}_{}({\mathbf{v}}^{\u03f5}\ast {g}_{\gamma})\otimes {\mathbf{v}}^{\u03f5}$.
Actually, this formulation is valid for any nonlinear activity with correlated noise. However, studying the role of STDP in spiking networks is beyond the scope of this paper since we are only able to have explicit results for models with linear activity. Therefore, we will assume that the activity is linear while keeping the learning rule as it was derived in the spiking case, i.e., we assume $f(\mathbf{v})=l\mathbf{v}=\mathbf{L}\cdot \mathbf{v}$ in the system above.
We also use the trick of adding additional variables to get rid of the historydependency. This reads
In this framework, the method exposed in Section 3.2 holds with small changes. First, the wellposedness assumption becomes
Assumption 3.2 There exists $p\in \phantom{\rule{0.2em}{0ex}}]0,1[$ such that
where ${s}^{2}$ is the maximal eigenvalue of $\mathbf{\Sigma}\cdot {\mathbf{\Sigma}}^{\prime}$.
Under this assumption, the system is asymptotically well posed in probability (Theorem B.11). And we show the averaged system is
where we have used Theorem B.12 to expand the correlation term. The noise term Q is equal to ${\mathbf{Q}}_{11}\cdot {(\mathbf{L}+\gamma {\mathbf{W}}^{\prime})}^{1}$, where ${\mathbf{Q}}_{11}$ is the unique solution of the Lyapunov equation $(\mathbf{W}\mathbf{L})\cdot {\mathbf{Q}}_{11}+{\mathbf{Q}}_{11}\cdot ({\mathbf{W}}^{\prime}\mathbf{L})+\mathbf{\Sigma}\cdot {\mathbf{\Sigma}}^{\prime}=0$. Lemma D.1 gives a solution for this equation which leads to $\mathbf{Q}=\gamma {\sum}_{k=0}^{+\mathrm{\infty}}{\mathbf{W}}^{k}\cdot \mathbf{\Sigma}\cdot {\mathbf{\Sigma}}^{\prime}\cdot {(2\mathbf{L}{\mathbf{W}}^{\prime})}^{(k+1)}\cdot {(\mathbf{L}+\gamma {\mathbf{W}}^{\prime})}^{1}$. In equation (18), the correlation matrices ${\mathbf{D}}^{k,q}$ are given by
According to Theorem B.13, the system is also globally asymptotically convergent to a single equilibrium, which we study in the following.
We perform a weakly connected expansion of the equilibrium connectivity of system (18). As shown in Theorem B.14, the first order of the expansion is
Writing ${\mathbf{D}}^{0,0}=\frac{1}{{u}_{m}^{2}\tau ({a}_{+}+{a}_{})}(\mathbf{S}+\mathbf{A})$, where S is symmetric and A is skewsymmetric, leads to
According to Lemma C.1, the symmetric part is very similar to the trace learning case in Section 3.3. Applying Lemma C.2 leads to
Therefore, the STDP learning rule simply adds an antisymmetric part to the final connectivity keeping the symmetric part as the Hebbian case. Besides, the antisymmetric part corresponds to computing the crosscorrelation of the inputs with its derivative. For highorder terms, this remains true although the temporal profiles are different from the first order. These results are in line with previous works underlying the similarity between STDP learning and differential Hebbian learning, where $G(\mathbf{v})\sim \dot{\mathbf{v}}\otimes \mathbf{v}$; see [29].
Figure 7 shows an example of purely antisymmetric STDP learning, i.e., ${a}_{+}={a}_{}$. The final connectivity matrix is therefore antisymmetric as shown in Figure 7(b) and the noise has no impact on learning. It shows the network finally approximates the connectivity given in (19).
4 Discussion
We have applied temporal averaging methods on slow/fast systems modeling the learning mechanisms occurring in linear stochastic neural networks. When we make sure the connectivity remains small, the dynamics of the averaged system appears to be simple: the connectivity always converges to a unique equilibrium point. Then, we performed a weakly connected expansion of this final connectivity whose terms are combinations of the noise covariance and the lagged correlations of the inputs: the firstorder term is simply the sum of the noise covariance and the correlation of the inputs.

As opposed to the former input/ouput vision of the neurons, we have considered the membrane potential v to be the solution of a dynamical system. The consequence of this modeling choice is that not only the spatial correlations, but also the temporal correlations are learned. Due to the fact we take the transients into account, the activity never converges but it lives between the representation of the inputs. Therefore, it links concepts together.
The parameter μ is the ratio of the timescales between the inputs and the activity variable. If $\mu =0$, the inputs are infinitely slow and the activity variable has enough time to converge towards its equilibrium point. When μ grows, the dynamics becomes more and more transient, it has no time to converge. Therefore, if the inputs are extremely slow, the network only learns the spatial correlation of the inputs. If the inputs are fast, it also learns the temporal correlations. This is illustrated in Figure 3.
This suggests that learning associations between concepts, for instance, learning words in two different languages, may be optimized by presenting two words to be associated circularly with a certain frequency. Indeed, increasing the frequency (with a fixed duration of exposition to each word) amounts to increasing μ. Therefore, the network learns better the temporal correlations of the inputs and thus strengthens the link between these two concepts.

According to the model of resonator neuron [30], Section 3.3 suggests that neurons and synapses with a preferred frequency of oscillation will preferably extract the correlation of the inputs filtered by a band pass filter centered on the intrinsic frequency of the neurons.
Actually, it has been observed that the auditory cortex is tonotopically organized, i.e., the neurons are arranged by frequency [31]. It is traditionally thought that this is achieved thanks to a particular connectivity between the neurons. We exhibit here another mechanism to select this frequency which is solely based on the parameters of the neurons: a network with a lot of different neurons whose intrinsic frequencies are uniformly spread is likely to perform a Fourierlike operation: decomposing the signal by frequency.
In particular, this emphasizes the fact that the network does not treat space and time similarly. Roughly speaking, associating several pictures and associating several sounds are therefore two different tasks which involve different mechanisms.

In this paper, the original hierarchy of the network has been neglected: the network is made of neurons which receive external inputs. A natural way to include a hierarchical structure (with layers for instance), without changing the setup of the paper, is therefore to remove the external input to some neurons. However, according to Theorem 3.5 (and its extensions Theorems B.10 and B.14), one can see that these neurons will be disconnected from the others at the first order (if the noise is spatially uncorrelated). Linear activities imply that the high level neurons disconnect from others, which is a problem. In fact, one can observe that the secondorder term in Theorem 3.5 is not null if the noise matrix Σ is not diagonal. In fact, this is the noise between neurons which will recruit the high level neurons to build connections from and to them.
It is likely that a significant part of noise in the brain is locally induced, e.g., local perturbations due to blood vessels or local chemical signals. In a way, the neurons close to each other share their noise and it seems reasonable to choose the matrix Σ so that it reflects the biological proximity between neurons. In fact, Σ specifies the original structure of the network and makes it possible for closeby neurons to recruit each other.
Another idea to address hierarchy in networks would be to replace the synaptic decay term $\kappa \mathbf{W}$ by another homeostatic term [32] which would enforce the emergence of a strong hierarchical structure.

It is also interesting to observe that most of the noise contribution to the equilibrium connectivity for STDP learning (see Theorem B.14) vanishes if the learning is purely skewsymmetric, i.e., ${a}_{+}={a}_{}$. In fact, it is only the symmetric part of learning, i.e., the Hebbian mechanism, that writes the noise in the connectivity.

We have shown that there is a natural analogous STDP learning for spiking neurons in our case of linear neurons. This asymmetric rule converges to a final connectivity which can be decomposed into symmetric and skewsymmetric parts. The first one is similar to the symmetric Hebbian learning case, emphasizing that the STDP is nothing more than an asymmetric Hebbianlike learning rule. The skewsymmetric part of the final connectivity is the crosscorrelation between the inputs and their derivatives.
This has an interesting signification when looking at the spontaneous activity of the network postlearning. In fact, if we assume that the inputs are generated by an autonomous system $\frac{d\mathbf{u}}{dt}=\zeta (\mathbf{u})$, then according to the bottom equation in formula (19), the spontaneous activity is governed by
In a way, the noise terms generate random patterns which tend to be forgotten by the network due to the leak term $l\mathbf{v}$. The only drift is due to $\zeta (\mathbf{u})\cdot {\mathbf{u}}^{\prime}\cdot \mathbf{v}\simeq {\mathbf{E}}_{\u3008\mathbf{v},\mathbf{u}\u3009}(\zeta (\mathbf{u}))$ which is the expectation of the vector field defining the dynamics of inputs with a measure being the scalar product between the activity variable and the inputs. In other words, if the activity is close to the inputs at a given time ${t}^{\ast}\in {\mathbb{R}}_{+}$, i.e., $\u3008\mathbf{v},\mathbf{u}({t}^{\ast})\u3009$ is large, then the activity will evolve in the same direction as what this input would have done. The network has modeled the temporal structure of the inputs. The spontaneous activity predicts and replays the inputs the network has learned.
There are still numerous challenges to carry on in this direction.
First, it seems natural to look for an application of these mathematical methods to more realistic models. The two main limitations of the class of models we study in Section 3 are (i) the activity variable is governed by a linear equation and (ii) all the neurons are assumed to be identical. The mathematical analysis in this paper was made possible by the assumption that the neural network has a linear dynamics, which does not reflect the intrinsic nonlinear behavior of the neurons. However, the cornerstone of the application of temporal averaging methods to a learning neural network, namely Property 3.3, is similar to the behavior of Poisson processes [26] which has useful applications for learning neural networks [19, 20]. This suggests that the dynamics studied in this paper might be quite similar to some nonlinear network models. Studying more rigorously the extension of the present theory to nonlinear and heterogeneous models is the next step toward a better modeling of biologically plausible neural networks.
Second, we have shown that the equilibrium connectivity was made of a symmetric and antisymmetric term. In terms of statistical analysis of data sets, the symmetric part corresponds to classical correlation matrices. However, the antisymmetric part suggests a way to improve the purely correlationbased approach used in many statistical analyses (e.g., PCA) toward a causalityoriented framework which might be better suited to deal with dynamical data.
Appendix A: Stochastic and periodic averaging
A.1 Longtime behavior of inhomogeneous Markov processes
In order to construct the averaged vector field ${\overline{G}}_{\mu}(\mathbf{w})$ in the timescale matching case ($0<\mu <\mathrm{\infty}$), one needs to understand properly the longtime behavior of the rescaled inhomogeneous frozen process
Under regularity and dissipativity conditions, [5] proves the following general result about the asymptotic behavior of the solution of
where $t\to b(x,t)$ and $t\to \sigma (x,t)$ are τperiodic.
The first point of the following theorem gives the definition of evolution systems of measures, which generalizes the notion of invariant measures in the case of inhomogeneous Markov processes. The exponential estimate of 2. in the following theorem is a key point to prove the averaging principle of Theorem 2.2.
Theorem A.1 ([5])

1.
There exists a unique τperiodic family of probability measures $\{\mu (s,\cdot ),s\in \mathbf{R}\}$ such that for all functions ϕ continuous and bounded,
$${\int}_{x\in {\mathbf{R}}^{p}}\mathbf{E}[\varphi ({X}_{t})]\mu (s,dx)={\int}_{x\in {\mathbf{R}}^{p}}\varphi (x)\mu (t,dx).$$
Such a family is called evolution systems of measures.

2.
Furthermore, under stronger dissipativity condition, the convergence of the law of X to μ is exponentially fast. More precisely, for any $r\in (1,+\mathrm{\infty})$, there exist $M>0$ and $\omega <0$ such that for all ϕ in the space of pintegrable functions with respect to $\mu (t,\cdot )$, ${L}^{r}({\mathbf{R}}^{p},\mu (t,\cdot ))$,
$$\begin{array}{r}{\int}_{x\in {\mathbf{R}}^{p}}{\parallel \mathbf{E}\left[\varphi \left({X}_{t}^{s,x}\right)\right]{\int}_{{x}^{\prime}\in {\mathbf{R}}^{p}}\varphi \left({x}^{\prime}\right)\mu (t,d{x}^{\prime})\parallel}^{r}\mu (s,dx)\\ \phantom{\rule{1em}{0ex}}\le M{e}^{\omega (ts)}{\int}_{x\in {\mathbf{R}}^{p}}{\parallel \varphi (x)\parallel}^{r}\mu (t,dx).\end{array}$$
A.2 Proof of Property 2.3
Property A.2 If there exists a smooth subset ℰ of ${\mathbb{R}}^{q}$ such that

1.
The functions F, G, Σ satisfy Assumptions 2.12.3 restricted on ${\mathbb{R}}^{p}\times \mathcal{E}$.

2.
ℰ is invariant under the flow of ${\overline{G}}_{\mu}$, as defined in (7).
Then for any initial condition ${\mathbf{w}}_{0}\in \mathcal{E}$, system (4) is asymptotically well posed in probability and ${\mathbf{w}}^{\u03f5}$ satisfies the conclusion of Theorem 2.2.
Proof The idea of the proof is to truncate the original system, replacing G by a smooth truncation which coincides with G on ℰ and which is close to 0 outside ℰ. More precisely, for $\beta >0$, we introduce ${\psi}_{\beta}:{\mathbb{R}}^{q}\to {\mathbb{R}}^{q}$ a regular function (locally Lipschitz) such that ${\psi}_{\beta}(\mathbf{w})=0$ if $\mathbf{w}\notin \mathcal{E}$ or $\mathbf{w}\in \partial \mathcal{E}$ and ${lim}_{\beta \to 0}{\psi}_{\beta}(\mathbf{w})=1$ if $\mathbf{w}\in \mathcal{E}\partial \mathcal{E}$. We define
Then, we introduce $({\tilde{\mathbf{v}}}^{\u03f5,\beta},{\tilde{\mathbf{w}}}^{\u03f5,\beta})$ the solution of the auxiliary system
with the same initial condition as $({\mathbf{v}}^{\u03f5},{\mathbf{w}}^{\u03f5})$.
Let $T,\delta ,\eta >0$ be three positive reals. Let us introduce a few more notations. We will need to consider a subset of ℰ defined by
We also introduce the following stopping times:
Finally, we define ${T}_{\u03f5}:=min(T,{\tau}_{\u03f5},{\tilde{\tau}}_{\u03f5})$ and ${T}_{\u03f5}^{\beta}:=min(T,{\tau}_{\u03f5}^{\beta},{\tilde{\tau}}_{\u03f5}^{\beta})$.
Let us remark at this point that in order to prove that $\mathbb{P}[{\tau}_{\u03f5}\ge T]\to 1$ (which is our aim), it is sufficient to work on the bounded stopping time $min(T,{\tau}_{\u03f5})$, since $\mathbb{P}[{\tau}_{\u03f5}\ge T]=\mathbb{P}[min(T,{\tau}_{\u03f5})\ge T]$. In other words, the realizations of ${\mathbf{w}}^{\u03f5}$ which stay longer than T inside ℰ are not problematic. Therefore, we introduce $\stackrel{\u02c6}{{\tau}_{\u03f5}}:=min(T,{\tau}_{\u03f5})$.
Our first claim is that on finite time intervals $[0,T]$, ${\tilde{\mathbf{w}}}^{\u03f5,\beta}$ is a good approximation of ${\mathbf{w}}^{\u03f5}$ inside ℰ as long as one chooses β sufficiently small. To prove our claim, we proceed in two steps, first working inside ${\mathcal{E}}^{\beta}$ and then in $\mathcal{E}{\mathcal{E}}^{\beta}$:

1.
For any $\beta >0$, one controls the difference between ${\mathbf{w}}^{\u03f5}$ and ${\tilde{\mathbf{w}}}^{\u03f5,\beta}$ on ${\mathcal{E}}^{\beta}$ since one controls the difference between the drifts. By an application of Lemma A.3 below (we need here the moment Assumption 2.3(i)), there exists a constant C (which may depend on $T,\beta ,\dots $) such that
$$\mathbb{E}\left[\underset{0\le t\le {T}_{\u03f5}^{\beta}}{sup}{\parallel {\mathbf{w}}_{t}^{\u03f5}{\tilde{\mathbf{w}}}_{t}^{\u03f5,\beta}\parallel}^{2}\right]\le C\eta {\delta}^{2}.$$(21)
We conclude by an application of the Markov inequality, implying

2.
One needs now to control the situation outside ${\mathcal{E}}^{\beta}$, that is, on $\mathcal{E}{\mathcal{E}}^{\beta}$. The idea is that while one does not control the difference between G and ${\tilde{G}}_{\beta}$ anymore, one can still choose β sufficiently small such that ${\mathcal{E}}^{\beta}$ becomes arbitrary close to ℰ, hence implying that ${\stackrel{\u02c6}{\tau}}_{\u03f5}$ and ${T}_{\u03f5}^{\beta}$ are arbitrary close with high probability, namely
$$\mathrm{\forall}\theta ,\lambda >0,\mathrm{\exists}\beta >0,\phantom{\rule{1em}{0ex}}\mathbb{P}[{\tau}_{\u03f5}{T}_{\u03f5}^{\beta}>\lambda ]<\theta .$$(23)
With $\theta ={(\delta \eta )}^{2}$ and $\lambda =\delta \eta $, one obtains that for sufficiently small β,
Let us denote $S:={sup}_{{T}_{\u03f5}^{\beta}\le t\le \stackrel{\u02c6}{{\tau}_{\u03f5}}}\parallel {\mathbf{w}}_{t}^{\u03f5}{\tilde{\mathbf{w}}}_{t}^{\u03f5,\beta}\parallel $. Then, one can split the calculus of $\mathbb{E}[S]$ according to the event $A=\{\stackrel{\u02c6}{{\tau}_{\u03f5}}{T}_{\u03f5}^{\beta}>\eta \delta \}$:
where we have used the CauchySchwarz inequality and the moment Assumption 2.3(ii) (yielding the constant ${K}_{G}$) in the second line.
So, we deduce by the Markov inequality that ${sup}_{{T}_{\u03f5}^{\beta}\le t\le {\stackrel{\u02c6}{\tau}}_{\u03f5}}\parallel {\mathbf{w}}_{t}^{\u03f5}{\tilde{\mathbf{w}}}_{t}^{\u03f5,\beta}\parallel $ is arbitrary small in probability.
From the combination of 1. and 2., we deduce that one can choose β small enough such that
We can now proceed to the application of Theorem 2.2 to the truncated system. As $({\tilde{\mathbf{v}}}^{\u03f5,{\beta}_{0}},{\tilde{\mathbf{w}}}^{\u03f5,{\beta}_{0}})$ remains in ${\mathbb{R}}^{p}\times \mathcal{E}$, one can extend smoothly F and Σ outside ℰ so that $(F,\mathbf{\Sigma})$ satisfies Assumptions 2.12.2. Therefore, one can apply Theorem 2.2 to the auxiliary system: for all $\delta ,T>0$,
where w is defined by (8). As a consequence, there exists ${\u03f5}_{0}$ such that for all ϵ with $\parallel \u03f5\parallel <{\u03f5}_{0}$,
Then, as ${\stackrel{\u02c6}{\mathbf{w}}}_{t}^{\u03f5}{\mathbf{w}}_{t}\le {\stackrel{\u02c6}{\mathbf{w}}}_{t}^{\u03f5}{\tilde{\mathbf{w}}}_{t}^{\u03f5,{\beta}_{0}}+{\tilde{\mathbf{w}}}_{t}^{\u03f5,{\beta}_{0}}{\mathbf{w}}_{t}$, one deduces that for all ϵ with $\parallel \u03f5\parallel <{\u03f5}_{0}$,
that is to say,
We know by assumption 2. of the statement of Property 2.3, for all $t\ge 0$, ${\mathbf{w}}_{t}\in \mathcal{E}$, so we conclude the proof by observing that for all $T>0$,
□
In the following lemma, we show that the solutions of two SDEs, whose drifts are close on a subset of the state space, remain close on a finite time interval. The difficulty here lies in the fact that we deal with only locally Lipschitz coefficients.
Lemma A.3 Suppose x and y are solutions, with identical initial conditions in $\mathcal{H}\subset {\mathbb{R}}^{n}$, of the following stochastic differential equations in ${\mathbb{R}}^{n}$:
Let $T>0$ be a fixed time. We define
We make the following assumptions:

1.
Approximation assumption:
$$\underset{y\in \mathcal{H}}{sup}\parallel h(y)1\parallel \le \xi ;$$ 
2.
Local Lipschitz assumption: for all $a,b\in {\mathbb{R}}^{n}$ with $max(\parallel a\parallel ,\parallel b\parallel )\le R$, there exists a constant ${C}_{R}$ such that
$${\parallel a(x,t)a(y,t)\parallel}^{2}\le {C}_{R}{\parallel xy\parallel}^{2};$$ 
3.
Boundedness assumption: there exists $p>2$ and $A>0$ such that
$$\mathbb{E}\left[\underset{0\le t\le T}{sup}{\parallel {x}_{t}\parallel}^{p}\right]\le A\phantom{\rule{1em}{0ex}}\mathit{\text{and}}\phantom{\rule{1em}{0ex}}\mathbb{E}\left[\underset{0\le t\le T}{sup}{\parallel {y}_{t}\parallel}^{p}\right]\le A,$$
and if $\parallel x\parallel \le R$, then there exists ${K}_{R}$ such that $\parallel a(x)\parallel \le {K}_{R}$.
Under the above assumptions, there exists a constant C (depending on the quantities defined above, but not on ξ) such that
Proof Although the Lipschitz constant is not bounded on ℋ, we can use the boundedness assumption to show that the probability of reaching a level R before time T will be very small for large R, and then use the classical strategy inside $\{\parallel {x}_{t}\parallel \le R\}$ where everything works as if the coefficients were globally Lipschitz. A similar strategy is used in [33] to prove a strong convergence theorem for the Euler scheme without the global Lipschitz assumption. We adapt here the ideas of their proof to our setting.
Therefore, we introduce the following stopping times:
We also denote $e(t):={x}_{t}{y}_{t}$.
Splitting the following expectation according to the value of ρ, and applying the Young inequality,
we obtain, for any $d>0$,
Then we use the boundedness assumption and the Markov inequality to deduce that
Now, we can focus on the supremum of the error before time ρ. We first apply the CauchySchwarz inequality
Then, we use the local Lipschitz and the boundedness assumptions, together with the Doob inequality (the first inequality) to deal with the stochastic integral: for any $u>0$,
We then apply the Gronwall lemma
Finally, we choose d small enough such that
and R large enough such that
yielding
□
Appendix B: Proofs of Section 3
B.1 Notations and definitions
Throughout the paper, lowercase normal letters are constants, lowercase bold letters are vectors or vectorvalued functions, and uppercase bold letters are matrices.

$$l,\kappa ,\tau ,{\u03f5}_{1},{\u03f5}_{2},\mu ,{\sigma}^{2},\beta ,\gamma ,{a}_{\pm}\in {\mathbb{R}}_{+}$$
are parameters of the network. We also define $\mathrm{\Delta}=\sqrt{14\frac{l}{\beta}}$ for Section 3.3 and $\mathbf{\Sigma}\in {\mathbb{R}}^{n\times n}$, a fixed noise matrix, for Section 3.4. We write ${s}^{2}=\u2980\mathbf{\Sigma}\cdot {\mathbf{\Sigma}}^{\prime}\u2980$.

$$n\in \mathbb{N}$$
is the number of neurons in the network.

$$\mathbf{v}\in {C}^{1}({\mathbb{R}}_{+},{\mathbb{R}}^{n})$$
is the field of membrane potential in the network.

$$\mathbf{u}\in {C}^{1}({\mathbb{R}}_{+},{\mathbb{R}}^{n})$$
is the field of inputs to the network. We write
$${u}_{m}=\underset{t\in {\mathbb{R}}_{+}}{sup}{\parallel \mathbf{u}(t)\parallel}_{2}.$$ 
$$\mathbf{v}\otimes \mathbf{u}\in {C}^{1}({\mathbb{R}}_{+},{\mathbb{R}}^{n\times n})$$
is the tensor product between u and v, which simply means ${\{\mathbf{u}\otimes \mathbf{v}\}}_{ij}(t)={\mathbf{u}}_{i}(t){\mathbf{v}}_{j}(t)$.

$$\mathbf{W}\in {C}^{1}({\mathbb{R}}_{+},{\mathbb{R}}^{n\times n})$$
is the connectivity of the network. Throughout the paper, we assume $\mathbf{W}(0)=0$.

$$\u3008\mathbf{x},\mathbf{y}\u3009$$
is the scalar product between two vectors $\mathbf{x},\mathbf{y}\in {\mathbb{R}}^{n}$.

$${\parallel \mathbf{u}(t)\parallel}_{p}$$
for $p=1,2$ is the ${L}^{p}$ norm of $\mathbf{u}(t)\in {\mathbb{R}}^{n}$, i.e., ${\parallel \mathbf{u}(t)\parallel}_{p}={({\sum}_{i=1}^{n}{{\mathbf{u}}_{i}(t)}^{p})}^{\frac{1}{p}}$. And similarly for the connectivity matrices of ${\mathbb{R}}^{n\times n}$ with a double sum.

$$\u2980\mathbf{W}\u2980={sup}_{\mathbf{x}\in {\mathbb{C}}^{n},\parallel \mathbf{x}\parallel =1}\u3008\mathbf{x},\mathbf{W}\cdot \mathbf{x}\u3009={max}_{i\in \{1,\dots ,n\}}\{{\lambda}_{i}:{\lambda}_{i}\text{is an eigenvalue of}\mathbf{W}\}$$
.

$${\mathbf{J}}^{\prime}$$
is the transpose of the matrix $\mathbf{J}\in {\mathbb{R}}^{n\times n}$.

$$\mathbf{x}\cdot {\mathbf{y}}^{\prime}\in {\mathbb{R}}^{n\times n}$$
is the crosscorrelation matrix of two compactly supported and differentiable functions from ℝ to ${\mathbb{R}}^{n}$, i.e.,
$${\{\mathbf{x}\cdot {\mathbf{y}}^{\prime}\}}_{ij}={\int}_{\mathrm{\infty}}^{+\mathrm{\infty}}{\mathbf{x}}_{i}(t){\mathbf{y}}_{j}(t)\phantom{\rule{0.2em}{0ex}}dt.$$ 
H is the Heaviside function, i.e.,
$$H(t)=\{\begin{array}{cc}0\hfill & \text{if}t\le 0,\hfill \\ 1\hfill & \text{if}t0.\hfill \end{array}$$ 
The real functions
$$\begin{array}{rl}{g}_{\gamma}:t\mapsto & \gamma {e}^{\gamma t}H(t),\\ v:t\mapsto & \frac{l}{\mu \mathrm{\Delta}}({e}^{\frac{\beta}{2\mu}(1\mathrm{\Delta})t}{e}^{\frac{\beta}{2\mu}(1+\mathrm{\Delta})t})H(t),\\ w:t\mapsto & \frac{l}{2\mu \mathrm{\Delta}}((1+\mathrm{\Delta}){e}^{\frac{\beta}{2\mu}(1\mathrm{\Delta})t}(1\mathrm{\Delta}){e}^{\frac{\beta}{2\mu}(1+\mathrm{\Delta})t})H(t)\end{array}$$(30)
are integrable on ℝ.
B.1.1 Notations for the Appendix
The computations involve a lot of convolutions and, for readability of the Appendix, we introduce some new notations. Indeed, we rewrite the timeconvolution between u and g, an integrable function on ℝ,
This suggests one should think of v as a semicontinuous matrix of ${\mathbb{R}}^{n\times \mathbb{R}}$ and of ${\mathcal{G}}_{\gamma}$ as a continuous matrix of ${\mathbb{R}}^{\mathbb{R}\times \mathbb{R}}$, such that ${\mathbf{u}}_{it}={u}_{i}(t)$ and ${\mathcal{G}}_{st}=g(ts)$. Indeed, in this framework the convolution with g is nothing but the continuous matrix multiplication between v and a continuous Toeplitz matrix generated row by row by g. Hence, the operator ‘⋅’ can be though of as a matrix multiplication.
Therefore, it is natural to define ${(\mathbf{u}\ast g)}^{\prime}={(\mathbf{u}\cdot \mathcal{G})}^{\prime}={\mathcal{G}}^{\prime}\cdot {\mathbf{u}}^{\prime}$, where ${\mathcal{G}}^{\prime}\in {\mathbb{R}}^{\mathbb{R}\times \mathbb{R}}$ is the transpose of $\mathcal{G}$, i.e., the continuous Toeplitz matrix generated row by row by $g(\cdot ):t\mapsto g(t)$ and ${\mathbf{u}}^{\prime}\in {\mathbb{R}}^{\mathbb{R}\times n}$. Thus, for g and h, two integrable functions on ℝ, we can rewrite
where $\mathcal{G}$ and ℋ are their associated continuous matrices. More generally, the bold curved letters $\mathcal{G}$, $\mathcal{V}$, $\mathcal{W}$ represent these continuous Toeplitz matrices which are well defined through their action as convolution operators with g, v, and w. The previous formulation naturally expresses the symmetry of relation (14).
B.2 Hebbian learning with linear activity
In this part, we consider system (12).
B.2.1 Application of temporal averaging theory
Theorem B.1 If Assumption 3.1 is verified for $p\in \phantom{\rule{0.2em}{0ex}}]0,1[$, then system (12) is asymptotically well posed in probability and the connectivity matrix ${\mathbf{W}}^{\u03f5}$, the solution of system (12), converges to W, in the sense that for all $\delta ,T>0$,
where W is the deterministic solution of
where $\overline{\mathbf{v}}(t)$ is the $\frac{\tau}{\mu}$periodic attractor of $\frac{d\overline{\mathbf{v}}}{dt}=(\mathbf{W}\mathbf{L})\cdot \overline{\mathbf{v}}+\mathbf{u}(\mu t)$, where $\mathbf{W}\in {\mathbb{R}}^{n\times n}$ is supposed to be fixed.
Proof We are going to apply Property 2.3. For $p\in \phantom{\rule{0.2em}{0ex}}]0,1[$, consider the space
First, since $\mathbf{L}\mathbf{W}$ is strictly positive for W in ${E}_{p}$, Assumptions 2.12.2 are satisfied on ${\mathbb{R}}^{n}\times {E}_{p}$. Then, we only need to compute the averaged vector field $\overline{G}$ and show that ${E}_{p}$ is invariant under the flow of $\overline{G}$.

1.
Computation of the averaged vector field $\overline{G}$:
The fast variable is linear, the averaged vector field is given by (10). This reads
where ${\mathcal{N}}_{\mathbf{v},\mathbf{Q}}$ is the probability density function of the Gaussian law with mean v and covariance Q. And Q is the unique solution of (9), with $\mathbf{\Sigma}=\sigma Id$. This leads to $\mathbf{Q}=\frac{{\sigma}^{2}}{2}{(\mathbf{L}\mathbf{W})}^{1}$.
Therefore,
The integral term in the equation above is the correlation matrix of the $\frac{\tau}{\mu}$periodic function $\overline{\overline{\mathbf{v}}}$. To rewrite this term, we define $\overline{\mathbf{v}}\in {\mathbb{R}}^{n\times [0,\frac{\tau}{\mu}[}$ such that $\overline{\mathbf{v}}(i,t)=\overline{\mathbf{v}}{(t)}_{i}$. $\overline{\mathbf{v}}$ can be seen as a matrix gathering the history of $\overline{\mathbf{v}}$, i.e., each column of $\overline{\mathbf{v}}$ corresponds to the vector $\overline{\mathbf{v}}(t)$ for a given $t\in [0,\frac{\tau}{\mu}[$. It turns out
Therefore,
According to the results in Section 2, the solutions of a differential system with such a righthand side are close to that of the initial system (12). Hence, we focus exclusively on it and try to unveil the properties of its solutions which will be retrospectively extended to those of the initial system (12).

2.
Invariance of ${E}_{p}$ under the flow of (13):
Here we assume that $\mathbf{W}(0)\in {E}_{p}$ and we want to prove that the trajectory of W is in ${E}_{p}$, too.

(a)
Symmetry:
It is clear that each term in $\overline{G}$ is symmetric. Their sum is therefore symmetric and so is $\mathbf{W}(t)$.

(b)
Inequality $\mathbf{W}\ge 0$:
The correlation term $\overline{\mathbf{v}}\cdot {\overline{\mathbf{v}}}^{\prime}$ is a Gramian matrix and is therefore positive. Because $\mathbf{L}\mathbf{W}$ is assumed to be positive, therefore, its inverse is also positive. Therefore, if ${\mathbf{e}}_{i}$ is an eigenvector of $\mathbf{W}\ge 0$ associated with a null eigenvalue, then ${\mathbf{e}}_{i}^{\prime}\cdot \overline{G}(\mathbf{W})\cdot {\mathbf{e}}_{i}\ge 0$. Thus, the trajectories of (13) remain positive.

(c)
Inequality $\u2980\mathbf{W}\u2980<lp$:
The argument here is that of the inward pointing subspace. We intend to find a condition under which the flow $\overline{G}$ is pointing inward the space $\{\mathbf{W}:\u2980\mathbf{W}\u2980<lp\}$. Roughly speaking, this will be done by defining a real valued function g strictly negative on the subspace and positive outside and then showing that its gradient (or differential) on the border goes in the opposite direction of the flow, i.e., ${d}_{\mathbf{W}}g(\overline{G}(\mathbf{W}))<0$ for $\mathbf{W}\in {g}^{1}(0)$.
For all $\mathbf{x}\in {\mathbb{C}}^{n}$ such that $\parallel \mathbf{x}\parallel =1$, define a family of positive numbers $({\alpha}_{\mathbf{x}})$ whose supremum is written ${\alpha}^{\ast}$ and a family of functions $({g}^{\mathbf{x}})$ such that
Observe that the differential of ${g}^{\mathbf{x}}$ at W applied to J is $d{g}_{\mathbf{W}}^{\mathbf{x}}(\mathbf{J})=\frac{1}{2}\u3008\mathbf{W}\cdot \mathbf{x},\mathbf{J}\cdot \mathbf{x}\u3009$. For $\mathbf{W}\in {{g}^{\mathbf{x}}}^{1}(0)$, i.e., $\parallel \mathbf{W}\cdot \mathbf{x}\parallel ={\alpha}_{\mathbf{x}}$, compute
Therefore, for ${\alpha}^{\ast}<l$
where
Now write ${\alpha}^{\ast}=pl$ with $p\in \phantom{\rule{0.2em}{0ex}}]0,1[$. Equation (31) becomes
When there exists p such that $P(p)<0$ (which corresponds to Assumption 3.1), then their exists a ball of radius pl on which the dynamics is pointing inward. It means any matrix W whose maximal eigenvalue is ${\alpha}^{\ast}=pl$ will see this eigenvalue (and those which are sufficiently close to it, i.e., for which ${\alpha}^{\ast}{\alpha}_{\mathbf{x}}>0$ is sufficiently small) decreasing along the trajectories of the system. Therefore, the space ${E}_{p}$ is invariant by the flow of the system iff Assumption 3.1 is satisfied.

Upper bound of A:
Applying CauchySchwarz leads to
However, for $t\ge 0$
Therefore, $A\le \frac{{\alpha}_{\mathbf{x}}\tau {u}_{m}^{2}}{\mu {(l\alpha )}^{2}}$.

Upper bound of B:
Observe that for J a positive definite matrix whose eigenvalues are the ${\lambda}_{i}$, then the spectrum of ${\mathbf{J}}^{1}$ is $\{\frac{1}{{\lambda}_{i}}\}$. Therefore, $\u2980{\mathbf{J}}^{1}\u2980=\frac{1}{min({\lambda}_{i})}$. Therefore, if $\mathbf{J}=\mathbf{L}\mathbf{W}$, then $\u2980{\mathbf{J}}^{1}\u2980\le \frac{1}{l{\alpha}^{\ast}}$.
Using the previous observation and CauchySchwarz leads to
The trajectories of system (13) with the initial condition in ${E}_{p}$ are defined on ${\mathbb{R}}_{+}$ and remain bounded. Indeed, if $\mathbf{W}(0)\in {E}_{p}$, the connectivity will stay in ${E}_{p}$, in particular $0<\mathbf{L}\mathbf{W}\le \mathbf{L}$ along the trajectories, more precisely $\mathbf{L}\mathbf{W}$ is a strictly positive constant since $p\in \phantom{\rule{0.2em}{0ex}}]0,1[$. Because $\overline{\mathbf{v}}$ is also bounded by $\frac{{u}_{m}}{l(1p)}$, $\overline{\mathbf{v}}\cdot {\overline{\mathbf{v}}}^{\prime}+\frac{{\sigma}^{2}}{2}{(\mathbf{L}\mathbf{W})}^{1}$ is bounded. The righthand side of system (13) is the sum a bounded term and a linear term multiplied by a negative constant; therefore, the system remains bounded and it cannot explode in finite time: it is defined on ${\mathbb{R}}_{+}$. □
B.2.2 An expansion for the correlation term
We first state a useful lemma.
Lemma B.2 If $\overline{\mathbf{v}}$ is the solution, with zero as initial condition, of $\frac{d\overline{\mathbf{v}}}{dt}=(\mathbf{W}\mathbf{L})\cdot \overline{\mathbf{v}}+\mathbf{u}(t)$, it can be written by the sum below which converges if W is in ${E}_{p}$ for $p\in \phantom{\rule{0.2em}{0ex}}]0,1[$.
where ${g}_{l}:t\mapsto l{e}^{lt}H(t)$.
Proof It can be proven as a trivial rewriting of the variation of parameters formula for linear systems. A more general approach, which extends to delayed systems, was developed by Galtier and Touboul [25]; see the first example for the proof of this lemma. □
This is useful to find the next result.
Property B.3 The correlation term can be written
Proof We can use Lemma 3.2 with $\mu \ne 1$ and compute the cross product $\overline{\mathbf{v}}\cdot {\overline{\mathbf{v}}}^{\prime}$.
Therefore, consider $\mathbf{u}(\mu \cdot ):t\mapsto \mathbf{u}(\mu t)$ instead of u. A change of variable shows that $(\mathbf{u}(\mu \cdot )\ast {g}_{l}^{(k)})(t)=\frac{1}{\mu}(\mathbf{u}\ast {g}_{l}^{(k)}(\frac{\cdot}{\mu}))(\mu t)$. Therefore,