Full text
90,435 characters
· extracted from
preprint-html
· click to expand
Stochastic activity in low-rank recurrent neural networks | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results Stochastic activity in low-rank recurrent neural networks View ORCID Profile Francesca Mastrogiuseppe , Joana Carmona , View ORCID Profile Christian K. Machens doi: https://doi.org/10.1101/2025.04.22.649933 Francesca Mastrogiuseppe 1 Champalimaud Foundation, Neuroscience Research Programme , Lisbon ( Portugal ) Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Francesca Mastrogiuseppe For correspondence: francesca.mastrogiuseppe{at}research.fchampalimaud.org Joana Carmona 1 Champalimaud Foundation, Neuroscience Research Programme , Lisbon ( Portugal ) Find this author on Google Scholar Find this author on PubMed Search for this author on this site Christian K. Machens 1 Champalimaud Foundation, Neuroscience Research Programme , Lisbon ( Portugal ) Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Christian K. Machens Abstract Full Text Info/History Metrics Preview PDF Abstract The geometrical and statistical properties of brain activity depend on the way neurons connect to form recurrent circuits. However, the link between connectivity structure and emergent activity remains incompletely understood. We investigate this relationship in recurrent neural networks with additive stochastic inputs. We assume that the synaptic connectivity can be expressed in a low-rank form, parameterized by a handful of connectivity vectors, and examine how the geometry of emergent activity relates to these vectors. Our findings reveal that this relationship critically depends on the dimensionality of the external stochastic inputs. When inputs are low-dimensional, activity remains low-dimensional, and recurrent dynamics influence it within a subspace spanned by a subset of the connectivity vectors, with dimensionality equal to the rank of the connectivity matrix. In contrast, when inputs are high-dimensional, activity also becomes potentially high-dimensional. The contribution of recurrent dynamics is apparent within a subspace spanned by the totality of the connectivity vectors, with dimensionality equal to twice the rank of the connectivity matrix. Applying our formalism to excitatory-inhibitory networks, we discuss how the input configuration also plays a crucial role in determining the amount of amplification generated by non-normal dynamics. Our work provides a foundation for studying activity in structured brain circuits under realistic noise conditions, and offers a framework for interpreting stochastic models inferred from experimental data. Introduction Understanding the relationship between connectivity and activity in neural circuits is a central focus of theoretical neuroscience. A particularly active area of research investigates how large-scale circuits can give rise to low-dimensional activity patterns [ 1 , 2 , 3 ]. This type of activity is commonly observed in neural recordings during behavioral tasks, particularly in cortical areas involved in high-level functions like motor planning and decision-making [ 4 , 5 , 6 ]. Recurrent neural networks (RNNs) with low-rank connectivity have emerged as a flexible and mathematically-tractable framework for studying this phenomenon [ 7 , 8 , 9 , 10 ]. Low-rank matrices are characterized by a simple structure: they are defined by a finite number of non-zero singular values and can be constructed from a small set of connectivity vectors. This simplicity facilitates the study of the relationship between connectivity and activity, offering insights that are harder to extract from generic models [ 11 , 1 , 12 , 13 , 14 ]. Previous studies on low-rank RNNs have primarily focused on models with autonomous dynamics or specific types of external inputs. These inputs were assumed to have a simple and smooth temporal structure (e.g. constant [ 8 ] or sinusoidal [ 15 ]). Furthermore, they were low-dimensional: the inputs received by different neurons were highly correlated over time, as they originated from a small set of temporal signals broadcast across the entire network. Under these conditions, low-rank RNNs have been shown to generate low-dimensional activity, whose statistical properties can be directly traced back to the structure of the network’s external inputs and recurrent connectivity [ 8 , 13 ]. Far less is known about the behavior of low-rank RNNs in response to rapidly varying and stochastic inputs, which are routinely used to model trial-to-trial variability in circuit models [ 16 , 17 , 18 ]. These inputs can be either low-dimensional, when they are generated from a small set of stochastic signals and exhibit high correlations across units, or high-dimensional, when they arise from a large number of stochastic signals and remain uncorrelated across units. Investigating the dynamics of low-rank RNNs in response to this type of input is important for several reasons. First, stochastic inputs naturally arise in cortical circuits from irregular spiking activity and the stochastic nature of biological processes like synaptic transmission [ 19 , 20 ]. Understanding how these inputs influence the emergence of low-dimensional activity in recurrent circuits is therefore an important biological question. Second, stochastic inputs are routinely used during the optimization of RNNs on behavioural tasks [ 21 , 22 ], where they help regularize the learning dynamics [ 23 , 24 ] and improve the robustness of internal representations [ 25 ]. As optimization often results in approximately low-rank connectivity [ 26 , 27 ], developing tools for describing stochastic activity in low-rank RNNs is essential for studying learning. Finally, statistical models for inferring circuit dynamics from recorded neural activity often explicitly incorporate stochastic terms [ 28 , 29 , 30 ]. Understanding activity in stochastic models is therefore essential for interpreting the results of fitting procedures. In this work, we study the emergent activity in linear, low-rank recurrent neural networks driven by fast stochastic inputs, exploring both low-and high-dimensional input regimes. We analyze the statistical and geometrical properties of activity by examining its covariance matrix, which is expressed in terms of the vectors representing both the external inputs and the low-rank connectivity. Crucially, we find that the functional dependence between the covariance matrix and these vectors undergoes a qualitative shift depending on the dimensionality of the external stochastic inputs. For low-dimensional inputs, activity covariance is also low-dimensional, and depends on the inputs together with a subset of the connectivity vectors, whose dimensionality matches the rank of the connectivity matrix. In this regime, activity qualitatively resembles that previously described in deterministic models [ 8 , 13 ]. In contrast, for high-dimensional inputs, activity covariance is potentially high-dimensional. The covariance depends on the inputs, which are high-dimensional, and on the full set of connectivity vectors, whose dimensionality equals twice the rank of the connectivity matrix. Part of the connectivity vectors signal directions along which inputs are amplified, and part directions along which inputs are suppressed. This regime qualitatively differs from previously reported ones, as the full geometrical structure of synaptic connectivity is reflected in the activity covariance. Our findings provide insights into how structured connectivity shapes neural activity in the presence of noise, laying the groundwork for a deeper understanding of brain circuit dynamics. Results 1 Setup We consider a stochastic recurrent neural network of N units as in Fig. 1A , governed by the linear dynamics: Download figure Open in new tab Figure 1. Setup. A . Left: model architecture. Right: sample activity traces from three randomly chosen neurons. B . Rank-one recurrent connectivity. C . Illustration of a sample activity trajectory in the high-dimensional space where each axis corresponds to the activity of a different neuron. Activity (black arrow) is given by the sum of two components ( Eq. 7 , blue arrows); the direction of the component generated from recurrent interactions is fixed, and is aligned with the connectivity vector m . where, for simplicity, the activity evolution timescale is set to 1. On the right-hand side of Eq. 1 , the first term represents the leak, the second term models the recurrent interactions mediated by the synaptic connectivity matrix W , and the third term corresponds to the external stochastic input. The stochastic input is expressed in terms of a Gaussian process χ ( t ), which has zero mean, is uncorrelated across units, and is temporally white. It is fed into the network through a matrix of input weights U . The covariance of the total stochastic input is therefore given by where ⟨.⟩ denotes an average over inputs realizations, and we use the notation to indicate the static part of the covariance. Our analysis focuses on the activity generated by this model in the stationary regime, which is reached provided that the real part of all eigenvalues of W is less than 1, and therefore the autonomous dynamics are stable. In this regime, the activity statistics can be equivalently computed over input realizations or time. We first consider rank-one connectivity matrices before turning to higher-rank cases. A rank-one connectivity matrix can be expressed as where k is a positive scalar and m and n are unit-norm vectors ( Fig. 1B ). By defining the overlap function between two vectors v and v ′ as we therefore have ρ mm = ρ nn = 1. Vectors m and n , which we refer to as connectivity vectors , characterize the structure of the synaptic connectivity. When m and n coincide, connectivity is symmetric. Conversely, when m and n are orthogonal, connectivity is maximally asymmetric. In general, the overlap between the two vectors is quantified by ρ mn = m ⊤ n ( Eq. 4 ), which ranges from −1 to 1 (symmetric matrices) passing through 0 (maximally asymmetric). The only non-zero eigenvalue of W is given by λ = kρ mn , and is associated with the eigenvector m . Notably, due to normalization, the entries of the connectivity vectors scale as with the network size. We further assume that the scalar k is O (1) in N , so that the eigenvalue λ takes finite values. This scaling is consistent with the one assumed for low-rank connectivity in several previous studies [ 31 , 11 , 8 ] (see [ 1 , 10 ] for different choices). However, here we consider arbitrary network sizes, and do not restrict ourselves to the large- N limit. 2 Stochastic activity in rank-one networks We start deriving closed-form expressions for the activity generated by the dynamics in Eq. 1 . Integrating over time, and focusing on the stationary state, we have [ 32 ] We can simplify this expression by computing the propagator operator exp[( W − I ) t ]. For a rank-one connectivity matrix W , this has a simple expression (see Methods 1): The first term in parentheses on the right-hand side corresponds to the propagator of an unconnected network ( W = 0), where the dynamics are driven solely by the local filtering, operated by the leak, of the external inputs. The second term captures instead the contribution to the propagator arising from the recurrent connectivity matrix W . By applying Eq. 6 to Eq. 5 , we can therefore express activity as the sum of a local and a recurrent component ( Fig. 1C ): where we have defined The local component, x loc , reflects the behavior of an uncoupled RNN and represents the temporal integration of stochastic inputs performed independently by all units. Importantly, at each time point, the direction of vector x loc varies, depending on the direction of the most recent stochastic inputs. This activity component can therefore potentially be high-dimensional, depending on the structure of the input matrix U . The recurrent component, x rec , represents instead the contribution to activity arising from the temporal integration of recurrent inputs. Unlike x loc , the direction of x rec is fixed and determined by the connectivity vector m . 2.1 Computing the activity covariance Our goal is to characterize the statistical and geometrical properties of this emergent activity. As detailed below, these can be extracted from its covariance matrix, defined as Σ ≡ ⟨ x ( t ) x ( t ) ⊤ ⟩. We compute the covariance using Eqs. 7 , 8 , 9 . This calculation yields (see Methods 2): The four additive terms on the right-hand side correspond to the covariances of the two activity components defined in Eq. 7 : x loc (first term of the covariance) and x rec (fourth term), as well as their cross-covariances (second and third terms). Eq. 10 shows that the activity covariance is determined by matrix multiplications among the connectivity vectors and the static input covariance, indicating that the statistics of emergent activity are determined by the relative geometrical arrangement of the connectivity vectors and external inputs. To clarify the geometrical structure of the covariance, we rewrite it as where we have defined and . The first term on the right-hand side represents the input covariance, which can be either a low-rank or full-rank matrix, depending on whether the inputs are low- or high-dimensional. The remaining terms are rank-one matrices, spanned by the connectivity vector m and the vector d . The direction of d is jointly determined by the connectivity vector n and the input covariance. In the rest of the paper, we analyze in detail the properties of the covariance matrix in the limiting cases of one- and high-dimensional inputs. To model these two scenarios, we construct U as an orthonormal matrix, but set some of its columns to zero. The number of non-vanishing columns determines the input dimensionality. We start considering the case of one-dimensional inputs, for which U = [ u , 0 , …, 0 ], where u is an N -dimensional input vector, and 0 is a vector of zeros. In this case, we have that , and thus, the vector d is aligned with the input vector: d = ρ nu u (we have used Eq. 4 to define the overlap between the connectivity vector n and the input vector u , denoted as ρ nu ). We then consider the case where inputs have maximal dimensionality. In this case, U has N orthonormal columns and coincides with the identity matrix; therefore, the vector d coincides with the connectivity vector n . In the intermediate cases, which correspond to inputs of intermediate dimensionality, the vector d is given by the projection of the connectivity vector n on the subspace spanned by the non-vanishing columns of U . This is because we can rewrite: where { u c } c represent the C non-vanishing columns of U . We conclude this section by remarking that, in the general case, the geometrical structure of the covariance depends on both connectivity vectors, m and n . While the dependence of activity covariance on the connectivity vector m – which corresponds to the right eigenvector of the connectivity matrix – has been emphasized in previous work on low-rank RNNs [ 8 , 33 , 34 ], the dependence on the connectivity vector n is perhaps more surprising. We will explore this dependence further in the subsequent sections. 3 One-dimensional stochastic inputs We begin with the case of one-dimensional stochastic inputs, where a single signal is broadcast across the entire network, leading to temporally correlated inputs for individual neurons ( Fig. 2A ). This case closely relates to previous work that examined the impact of deterministic low-dimensional inputs in low-rank RNNs [ 8 , 33 ]. Download figure Open in new tab Figure 2. Rank-one RNN receiving one-dimensional stochastic inputs. A . Model architecture. B . Activity covariance is low-dimensional, and is spanned by connectivity vector m together with the external input vector u . As a consequence, activity is contained within the plane collinear with these two vectors. C–D–E . Example of a simulated network with ρ nu = 0. In C: covariance spectrum. Components larger than 10 are not displayed (they are all c lose to zero). In D: overlap between the dominant principal components estimated from simulated activity and the theoretically-estimated PCs (left), or the vectors m and u (right). Overlaps are quantified via Eq. 4 , with input vectors u chosen to be normalized. Note that here, but not in G, only one principal component can be identified. In E: simulated activity projected on the two dominant PCs. F–G–H . Same as in C–D–E, example with ρ nu > 0. Setting in Eq. 11 , the activity covariance becomes: As in the general case, the first and fourth terms on the right-hand side represent the covariance of the activity components x loc and x rec , while the second and third terms represent the cross-covariances between them. All terms, except the first one, are proportional to the overlap parameter ρ nu . This implies that, when the input vector u has zero overlap with the connectivity vector n , the network behaves as if it were unconnected. Therefore, recurrent connectivity contributes to shaping activity in the case of low-dimensional inputs only when the vectors u and n are characterized by a non-vanishing overlap. 3.1 Covariance eigenvalues and eigenvectors Covariance matrices provide important information on the statistical and geometrical properties of activity. One effective way to analyze these properties is by computing the covariance matrix eigenvectors and eigen-values, which provide information on the directions and magnitude of co-variation of activity over time. The eigenvectors of the covariance matrix, denoted as { v i } i , are also known as the Principal Components (PCs) of activity. The corresponding eigenvalues, denoted as { µ i } i , quantify the variance of activity along each principal component. From the covariance eigenvalues, the linear dimensionality of activity is commonly estimated using the participation ratio, quantifying the concentration of the eigenvalue distribution [ 35 , 36 ]. The covariance in Eq. 13 is a rank-two matrix. Its eigenvalues can be computed through the method of reduced matrices [ 37 ] (see Methods 3), yielding: where we have defined ρ mu = m ⊤ u ( Eq. 4 ), as well as the short-hand notations α = k/ (2 − λ ) and β = k 2 / (2 − λ )(1 − λ ). To find the eigenvectors associated with these eigenvalues, we can leverage the low-dimensional structure of Eq. 13 to formulate the ansatz: and compute the coefficients γ ± through straightforward algebra (see Methods 3). The fact that the covariance matrix has only two non-zero eigenvalues indicates that, in the stationary regime, the activity x ( t ) is confined to a two-dimensional plane, spanned by the connectivity vector m and the input vector u ( Fig. 2B ). Within the m - u plane, the eigenvectors v ± define the principal components of activity fluctuations. When the variance of activity fluctuations is primarily concentrated along the first PC, the covariance eigenvalue µ + is much larger than µ − , and the activity dimensionality is close to 1; conversely, when the variance is distributed similarly along the two PCs, the two covariance eigenvalues are similar, and the dimensionality approaches 2. We have seen that when the input vector u and the connectivity vector n are characterized by zero overlap ( ρ nu = 0), recurrent interactions do not contribute to the activity. In this case, the eigenvalues ( Eq. 14 ) read: Since the eigenvalue µ − vanishes, activity is one-dimensional ( Fig. 2C, E ). The only non-trivial PC of activity, v + , is fully aligned with the input vector u , as the value of γ + vanishes ( Fig. 2D , see Methods 3). Therefore, as expected, activity reduces to a local filtering of the stochastic inputs, completely operating along the input direction. When the input vector u and the connectivity vector n are characterized by non-zero overlap, activity is characterized by a non-vanishing component along m ( Fig. 2F, G, H ). While the component of activity that is aligned with u reflects the integration of external inputs that is performed locally and independently by single neurons, the component aligned with vector m represents the contribution to activity from recurrent interactions. The exact orientation of the vectors m and u with respect to the two principal components depends on the overlap parameters ρ mn , ρ nu and ρ mu , specifying the alignment among the three vectors m, n and u . To summarize, rank-one RNNs driven by one-dimensional stochastic inputs generate activity confined to the plane defined by the connectivity vector m and the input vector u . In this setting, the contribution of recurrent connectivity to the activity covariance is therefore one-dimensional. These findings are qualitatively consistent with results obtained for non-linear rank-one RNNs responding to one-dimensional deterministic inputs [ 8 , 33 ]. We now turn to the opposite case of high-dimensional stochastic inputs and demonstrate that a qualitatively different behavior emerges in that regime. 4. High-dimensional stochastic inputs We now consider high-dimensional stochastic inputs, for which the input to each neuron in the network is uncorrelated and has identical variance ( Fig. 3A , Methods 4). Using in Eq. 11 , the covariance becomes Download figure Open in new tab Figure 3. Rank-one RNN receiving high-dimensional stochastic inputs. A . Model architecture. B . The activity covariance is high-dimensional, with all eigenvalues taking identical values except for two – one larger and one smaller. The principal components associated with these two eigenvalues lie within the plane spanned by the connectivity vectors m and n . C . Covariance eigenvalues as a function of overlap between connectivity vectors. The dashed vertical line indicates the value of ρ mn for which dynamics becomes unstable. Black arrows indicate the value of ρ mn that is used for simulations in Fig. 4 . D . Dimensionality. Horizontal black lines indicate the maximum ( N ) and the minimum (1) possible values. E . Components of v + (or PC1 vector, left) and v − (or PC N vector, right) along connectivity vectors m and n , as from Eq. 24 . F . Overlap ( Eq. 4 ) between the principal components v + and v − (after normalization) and the connectivity vectors m and n . As expected for high-dimensional inputs, the covariance matrix is now full-rank. However, it exhibits a particularly simple structure: an additive low-rank perturbation, generated from the connectivity vectors m and n , on the identity matrix. This structure enables us to derive the behavior of its eigenvalues and eigenvectors in closed form. Before delving into the derivations, we explore the covariance matrix from a different perspective. 4.1 Dependence on connectivity vector n The covariance in Eq. 17 differs from that observed in response to low-dimensional inputs in several ways, one of which is its dependence not only on the connectivity vector m , but also on n . This dependence is particularly interesting, as it contrasts with previous studies on low-rank RNNs which have primarily emphasized the dominant role of connectivity vector m over n in shaping the geometrical structure of activity [ 8 , 13 , 33 ]. In this section, we examine this dependence in detail to better understand its origin. In the next section, we characterize the impact of the connectivity vector n on the covariance structure. The covariance terms that depend on n correspond to cross-covariances among the two terms constituting activity x loc and x rec ( Eq. 7 ). To elucidate the origin of the dependence on n , we explicitly derive those covariance terms starting from the expressions for activity contributions x loc and x rec ( Eqs. 8 , 9 ). (While equivalent to the general derivation provided in Methods 2, this calculation offers a more direct perspective on the origin of the dependence on n .) Of the two covariance terms in Eq. 17 that depend on n , we focus on the first one; similar algebra applies to second one. We start by introducing a compact notation for the signal obtained by filtering the stochastic process χ i ( t ) with an exponential kernel of timescale Λ: Using this notation, the element ij of the covariance term we seek to re-compute is given by: where we used Eq. 8 and Eq. 9 to express and , and we set for simplicity U = I . Observing that filtered processes and are uncorrelated when averaging with respect to different input realizations: for i≠ k and every value of Λ, Λ ′ , we have that In the last equation, the dependence on n appears in the same form as in Eq. 17 . We now paraphrase this derivation in words. For neuron i , the local activity term, , is given by a filtered version of the local stochastic input, χ i . In contrast, for neuron j , the recurrent activity term, , is expressed as a sum over all stochastic inputs χ k , each filtered and weighted by m j n k . When computing the cross-covariance between these two terms, only the stochastic input k = i within contributes a non-zero term. Consequently, the covariance between units i and j is proportional to m j n i . This derivation highlights how the dependence of covariance on the connectivity vector n arises from activity comprising two components: one representing the integrated local stochastic input and the other reflecting integrated inputs to all neurons, aggregated through recurrent connectivity ( Eq. 7 ). In Methods 5, we discuss how these two activity components robustly emerge in continuous-and discrete-time RNNs. We also show that the local component takes a much simplified form in discrete-time RNNs characterized by extremely fast updates [ 38 ]. For these models, which are widely used in machine learning [ 39 ] and statistical applications [ 28 ], the activity covariance is expected to take a different functional form. 4.2 Covariance eigenvalues and eigenvectors To quantify the statistical properties of activity and its dependence on connectivity vectors, we now compute the eigenvalues and eigenvectors of the covariance ( Eq. 17 ). Because of the properties of the identity matrix, the eigenvalues of Σ are given by where are the eigenvalues of the low-rank covariance component Σ lr has N −2 vanishing eigenvalues, resulting in N −2 eigenvalues for Σ that are equal to the reference value µ ref = 1 / 2. These eigenvalues correspond to eigenvectors, or PCs, along which activity is dominated by external inputs and receives no contribution from recurrent interactions. To compute the non-vanishing eigenvalues, we again follow [ 37 ]. A little algebra gives (see Methods 4): from which µ ± can be computed via Eq. 21 . These eigenvalues correspond to eigenvectors, or PCs, along which activity is shaped by recurrent interactions. One can see from Eq. 23 that and take values that are, respectively, always positive and negative. Therefore, and µ − take values that are, respectively, larger and smaller than the reference value. This implies that the principal components associated with µ + and µ − identify directions along which activity is maximally amplified and maximally shrunk ( Fig. 3B ). These directions can be computed as the eigenvectors of Σ lr associated with . Similarly to the previous section, we set the ansatz: A little algebra shows that (see Methods 4). Combining these results, we conclude that the activity is isotropic, with amplitude equal to the reference value, across all dimensions orthogonal to the plane defined by the connectivity vectors m and n . Within this plane, activity exhibits greater variance along one dimension (corresponding to the principal component associated with the largest covariance eigenvalue, PC1) and lower variance along the other (corresponding to the principal component associated with the smallest covariance eigenvalue, PC N ). This results in covariance spectra that are largely flat ( Fig. 4A-D ), but exhibit distinct values at the low and high ends. This profile contrasts with the gradually decaying spectra typically observed in networks with high-rank connectivity [ 18 ]. Therefore, networks with high- and low-rank connectivity driven by high-dimensional inputs can be distinguished based on the profile of their covariance spectra – an activity property that can be easily estimated from experimental data [ 40 ]. Download figure Open in new tab Figure 4. Rank-one RNN receiving high-dimensional stochastic inputs. A–B–C . Example of a simulated network with ρ mn = − 0.5. In A: covariance spectrum. In B: overlap between two principal components (the strongest and the weakest) estimated from simulated activity and the theoretically-estimated vectors v + and v − (top), or vectors m and n (bottom). Overlaps are quantified via Eq. 4 . In C: simulated activity projected on two different pairs of PCs. D–E–F . Same as in A–B–C, example with ρ mn = 0.3. Note that, although the qualitative behaviour of activity in the two examples is similar, activity in the example network in A–B–C is overall higher dimensional. 4.3 Dependence on connectivity vectors overlap We analyze in detail the behaviour of the covariance eigenvalues and eigenvectors as a function of ρ mn , the parameter that controls the level of symmetry of the recurrent connectivity matrix by specifying the overlap between the connectivity vectors m and n . The network activity is stable for ρ mn values ranging between −1 and 1 /k , at which point the connectivity eigenvalue λ reaches one. At one extreme, when m and n are strongly negatively correlated, the network functions as a one-dimensional auto-encoder [ 41 , 42 , 25 ], with recurrent connectivity generating strong negative feedback. At the other extreme, when m and n are strongly positively correlated, the network behaves as a line-attractor [ 43 ], where recurrent connectivity mediates the integration of the external inputs by generating positive feedback that counteracts the leak dynamics. We start by examining the case of strong positive overlap. Using ρ mn → 1 /k and λ → 1, and keeping only the dominant terms, we have implying that and or, equivalently, µ + → + ∞ and µ − →1 / 2 ( Fig. 3C ). Therefore, activity is characterized by a diverging mponent along v + , reflecting the noise integration. Along all other directions, including v − , the amplitude of activity is fixed to the reference value. Therefore, the dimensionality of activity approaches one ( Fig. 3D ). The principal component v + is primarily aligned with the connectivity vector m , as indicated by the fact that γ + → ∞ ( Fig. 3E ). However, v + still retains a nonzero overlap with n , since m and n are not orthogonal. Simulated activity for networks with positive overlap, operating close to this regime, is shown in Fig. 4D–E–F . We now examine the opposite scenario of strong negative overlap. As shown in Methods 4, using ρ mn → − 1 and λ → − k , the value of µ + becomes equal to the reference value. The value of µ − , instead, becomes significantly smaller, and approaches zero as the strength of recurrent connectivity k is increased ( Fig. 3C ). Therefore, activity is characterized by a strongly reduced component along v − . Along all other directions, including v + , the amplitude of activity is fixed to the reference value. As the suppression along v − has a limited impact on activity (in contrast to the previous case with positive overlap, where the expansion along v + is unbounded), the dimensionality of activity is high ( Fig. 3D ). The principal component v − is mostly aligned with the connectivity vector n , as it can be shown that the value of γ − approaches zero for strong recurrent connectivity ( Fig. 3E ). Also in this case, v − retains a nonzero overlap with m , since m and n are strongly aligned. Simulated activity for networks with negative overlap, operating close to this regime, is shown in Fig. 4A–B–C . Finally, for connectivity matrices characterized by intermediate or vanishing overlaps, activity is characterized by intermediate properties: the values of µ + and µ − are respectively larger and smaller than the reference values ( Fig. 3C ). Therefore, activity is characterized by an enhanced component along v + and a reduced one along v − ; dimensionality takes intermediate values ( Fig. 3D ). The principal components v + and v − have non-vanishing components along both connectivity vectors m and n ; v + retains a stronger overlap with m , while v − a stronger overlap with n ( Fig. 3E ). To summarize, under high-dimensional stochastic inputs, recurrent connectivity contributes to activity covariance by structuring it along two dimensions. In the limiting cases of strongly positive or negative overlap between the connectivity vectors m and n – corresponding to attractor [ 43 ] and autoencoder [ 41 ] models – the effect of recurrence simplifies to a single dominant dimension. The qualitative features of activity differ markedly between these two regimes: for positive overlap, activity is strongly amplified along the direction most correlated with m , resulting in low dimensionality; for negative overlap, activity is suppressed along the direction most correlated with n , leading to high dimensionality. Substantial differences in activity dimensionality have also been reported in experimental studies, with low-dimensional activity often observed in frontal and associative cortices [ 5 , 6 ], but not necessarily in sensory areas [ 40 ]. Our findings indicate that, within the context of models with low-rank connectivity, these differences can be reconciled by positing that associative regions are mostly characterized by positive connectivity overlap (leading to attractor-like dynamics), while sensory regions exhibit more negative overlap (leading to autoencoder-like activity). 5 Stochastic activity in higher-rank networks Our analysis so far has focused on connectivity matrices of unit rank, which have been extensively studied before in the context of simplified external inputs [ 8 , 13 ]. We have shown that introducing inputs with more complex structure – such as high-dimensional ones – qualitatively alters the geometrical properties of the resulting activity, both in terms of its dimensionality and in the functional relationship between the connectivity vectors and the activity covariance. A summary of these results is reported in Table 1 . View this table: View inline View popup Download powerpoint Table 1. Summary of the main results obtained for recurrent neural networks with rank-one connectivity. In the second column, we report the directions defining the part of the covariance matrix ( Eq. 11 ) that originates from recurrent activity. (Note that also input directions contribute, via the term .) In the fourth column, the structure of connectivity vectors determines the precise value taken by dimensionality. For intermediate input dimensionality, covariance spectra have not been formally analyzed. Simulations suggest that, among the C + 1 eigenvalues that do not vanish, C − 2 are approximately fixed to the reference value, while three depend on connectivity. In this section, we discuss how results generalize to matrices of higher rank. Those matrices can be written as where once again k is a finite scalar and connectivity vectors m r and n r for r = 1, …, R < N are unit norm. In particular, we focus on a subset of low-rank matrices (see Methods 6) for which the non-zero eigenvalues are given by , each corresponding to an eigenvector m r . (Here and in the following, the superscript r is an index referring to the rank expansion of W , Eq. 26 , and does not denote an exponent.) For these matrices, the propagator can again be computed in closed form ( Eq. 89 , see Methods 6), and therefore activity can be computed analytically. In analogy with Eq. 7 , we can write: where the component x loc is given by Eq. 8 , and each component x rec, r is given by Eq. 9 , with m, n , and λ replaced, respectively, by m r , n r , and λ r . Therefore, increasing the rank of the synaptic connectivity primarily increases the number of independent activity components that are generated by recurrent dynamics. What is the impact of this increase on the geometrical properties of activity? Similarly to the rank-one case, we can compute the covariance matrix, which is given by (see Methods 7): where we defined and . To inspect the properties of this matrix, we once again focus on the two limiting cases, corresponding to one- and high-dimensional stochastic inputs. For one-dimensional inputs, Eq. 28 becomes: This matrix has a low-rank structure, spanned by R + 1 vectors, and therefore its rank is at most R + 1. As a result, the activity is low-dimensional and confined to the hyperplane spanned by the input vector u and the connectivity vectors m . As in rank-one networks, the activity in this input regime qualitatively resembles the patterns described in earlier work on deterministic low-rank RNNs [ 13 ]. For high-dimensional inputs, we have instead This covariance matrix has high rank, as it consists of the sum of a full-rank term (the first term on the right-hand side) and a low-rank term with maximal rank 2 R . This observation generalizes the results obtained for rank-one networks: in the presence of high-dimensional stochastic inputs, network activity becomes potentially high-dimensional, with recurrent connectivity shaping activity along a number of dimensions equal to twice the rank of the connectivity. This arises because activity is structured along both sets of connectivity vectors, m and n . In Fig. 5 , we analyze in detail rank-two networks by focusing on two specific connectivity parametrizations. In Fig. 5B–C , we fix the overlap and to zero, while varying and . This case corresponds to rank-one components in the connectivity ( Eq. 26 ) that operate on orthogonal subspaces. The eigenvalues of the recurrent connectivity in this parametrization vary together with and . In Fig. 5D–E , instead, we fix and to zero, while varying and . This parametrization results in a connectivity matrix with vanishing eigenvalues, and arbitrary correlations among rank-one components. Download figure Open in new tab Figure 5. Stochastic activity in rank-two recurrent neural networks. A . Rank-two connectivity. B . Eigenvalues of the covariance matrix that are different than the reference value µ ref . As connectivity is rank-two, four eigenvalues are perturbed; we sort them in ascending order. Violin plots show the distribution of perturbed eigenvalues for different values of the parameters and . Note that, for all sets of parameters, two eigenvalues are increased and two decreased with respect to µ ref . C . Dimensionality as a function of and . The black dashed lines indicate the parameter values for which dynamics becomes unstable. The tiny black square indicates the parameter values that are used for simulations in F–G. In both B and C, we keep the values of and fixed to zero (see Methods 7). D–E . Same as for B–C, but for a different parametrization, where we keep and fixed to zero. F–G . Example of a simulated network, parameters indicated in C. In F: covariance spectrum. In G: overlap between four selected principal components (the strongest and the weakest) estimated from simulated activity and the theoretically-estimated covariance eigenvectors (left) and the connectivity vectors (right). Overlaps are quantified via Eq. 4 . The theoretical expressions for this case are reported in Methods 7. As expected, for matrices obeying both the first ( Fig. 5B ) and the second ( Fig. 5D ) parametrizations, recurrent connectivity impacts the covariance by modifying the value of four eigenvalues. Among these four eigenvalues, two of them are decreased with respect to the reference value µ ref , while two are increased. Similarly to the rank-one case, activity is therefore compressed along two directions and stretched along two others ( Fig. 5F ). The activity PCs that correspond to these transformations are linear combinations of the four connectivity vectors ( Fig. 5G ). In Fig. 5C–E , we finally leverage the analytical expressions for the covariance eigenvalues to compute dimensionality. We find that activity generally exhibits relatively high dimensionality across most of the parameter space. Low-dimensional activity emerges only in regions where one or both rank-one components of the connectivity are characterized by a large internal overlap , leading to large and positive eigenvalues. In these cases, recurrent connectivity generates positive feedback resulting in a temporal integration of the external inputs, similarly to the rank-one case discussed in Fig. 4D–F . 6 Amplification in excitatory-inhibitory networks As a final application of major biological relevance, we consider a circuit consisting of one excitatory (E) and one inhibitory (I) unit. The connectivity is given by where w and g are two non-negative scalars. This matrix is rank-one and can be rewritten in the form of Eq. 3 by setting as well as . The connectivity vector m therefore corresponds to the sum direction , expressing co-modulation of the E-I units, while the connectivity vector n is approximately aligned with the difference direction , capturing opposite-sign modulations of E and I [ 44 ]. The non-zero eigenvalue of the connectivity is given by λ = w (1 − g ), which is negative in the inhibition-dominated regime ( g > 1). A key property of E-I connectivity in cortical circuits is its ability to amplify inputs while preserving fast dynamics [ 44 ]. This is achieved through a mechanism known as non-normal amplification, arising in circuits with non-symmetric connectivity matrices and non-orthogonal eigenvectors. The stochastic setting we consider here provides a natural framework for studying input amplification [ 45 , 16 ]. We therefore leverage our mathematical framework to analyze stochastic dynamics in the rank-one E-I circuit ( Eq. 31 ), with a particular focus on amplification and its dependence on the geometry of external inputs. We begin by considering the case in which E and I units receive uncorrelated stochastic inputs (high-dimensional inputs, Fig. 6A ). The covariance matrix ( Eq. 17 ) has two eigenvalues, illustrated in Fig. 6B . The second eigenvalue is significantly smaller than the first (note the different color scales), indicating that activity is approximately one-dimensional, with nearly all variance concentrated along the first principal component. To characterize PC1 ( Eq. 24 ), we compute its overlap with the sum and difference directions ( Fig. 6C ). Consistent with previous work, we find that PC1 is much more strongly aligned with the sum mode than with the difference mode [ 44 ]. Download figure Open in new tab Figure 6. Stochastic activity in a rank-one excitatory-inhibitory circuit. A . E-I circuit with high-dimensional inputs. B . Variance explained by PC1 (top) and PC2 (bottom) as a function of the overall recurrent connectivity strength w and the relative dominance of inhibition g . In B–C–D, the black solid line separates the regions for which the non-zero eigenvalue λ is larger or smaller than one. The black dotted line separates the regions for which the non-zero eigenvalue λ is larger or smaller than zero. Note the different color scales in the top and bottom plots. C . Overlap between PC1 and the sum (top) and diff (bottom) directions. D . Non-zero eigenvalue of the synaptic connectivity matrix λ = w (1 − g ). E . E-I circuit with one-dimensional inputs. F . Variance explained by PC1 (top) and PC2 (bottom) as a function of the overall recurrent connectivity strength w and the direction of the input vector u . The input direction is parametrized by an angle θ (see Methods 8), so that θ = 0 ° (resp. 90 ° ) correspond to inputs entering only E (resp. I), while θ = 45 ° (resp. 135 ° ) corresponds to inputs aligned with the sum (resp. diff) direction. G . Variance explained by PC1 (top) and PC2 (bottom) as a function of the relative dominance of inhibition g and the direction of the input vector u . H . Overlap between PC1 and the sum (top) and diff (bottom) direction. The amplitude of the dominant covariance eigenvalue provides a measure of input amplification. Fig. 6B shows that the degree of input amplification performed by the recurrent connectivity depends on the parameters w and g , quantifying the total connectivity strength and the relative strength of inhibition over excitation, respectively. In particular, amplification is large in a parameter region adjacent to the unstable region, where the connectivity eigenvalue λ exceeds the stability threshold, and the input noise is integrated via slow dynamics [ 16 ]. However, relatively large amplification can also occur in an adjacent region where the connectivity eigenvalue λ is negative ( Fig. 6D ), and non-normal amplification mechanisms are at play. This region corresponds to values of g slightly greater than one (weak inhibition dominance) and large w (strong excitation and inhibition). To understand how variance amplification is linked to the geometry of external inputs, we next consider the case of one-dimensional inputs ( Fig. 6E ). We construct a family of input vectors, u , each characterized by a different relative strength of input to E versus I. As before, we compute the covariance eigenvalue and eigenvectors as functions of the parameters w and g . As in the high-dimensional input configuration, we find that activity is often concentrated along PC1, expressing co-modulatory variance in the E and I units (sum direction, Fig. 6H ). Crucially, however, the amplitude of input amplification and its dependence on the connectivity parameters vary with the input vector direction ( Fig. 6F–G ). For input vectors strongly aligned with the difference direction (or connectivity vector n ), input amplification can be large; in particular, it reaches a maximum for large values of w and values of g slightly greater than one, as in the previous case. Instead, for inputs strongly aligned with the sum direction (or connectivity vector m ), input amplification is small and largely independent of the connectivity parameters. This can be understood from Eq. 13 , as this configuration corresponds to very small values of ρ nu , leading to minimal engagement of recurrent connectivity in processing the inputs. Note that along the vertical slices of the plots in Fig. 6F–G , the eigenvalues of the synaptic connectivity remain fixed. Thus, the observed modulation in variance as a function of input direction must be attributed to the non-normal properties of the connectivity. The dependence of variance on input direction described here is broadly consistent with previous findings in deterministic networks [ 44 , 12 ]. In particular, for fixed connectivity parameters, the input direction that leads to maximal amplification is close to the difference direction [ 44 ], but is not identical – consistent with the results from [ 12 ]. Discussion The rapid advancement of experimental techniques over the past decade has led to extensive datasets characterizing single-neuron activity across large populations and brain regions [ 40 , 46 ], as well as increasingly detailed maps of their synaptic connectivity [ 47 , 48 ]. A key challenge is to understand how these two levels of organization relate to each other during brain function. Theoretical models play a fundamental role in this effort, by helping to synthesize hypotheses about the relationship between connectivity and activity. In this work, we investigated this relationship in linear RNNs with low-rank connectivity under the influence of stochastic external inputs. We analyzed activity across different choices of external input dimensionality, ranging from low to high. Our findings show that the dimensionality of emergent activity is strongly influenced by input dimensionality, with low-dimensional activity arising systematically only when the inputs themselves are low-dimensional. For high-dimensional inputs, the dimensionality of activity can be high, and depends on the statistical properties of the connectivity. Specifically, low-dimensional activity only emerges in networks with connectivity matrices that have large positive eigenvalues ( Fig. 4D ), where recurrent interactions induce unbounded amplification along the directions spanned by the connectivity vectors. In contrast, activity is maximally high-dimensional in networks with negative eigenvalues ( Fig. 4A ), where recurrent interactions predominantly have a suppressive effect. Recent parallel work by Wan and Rosenbaum [ 10 ] analyzed input responses in large low-rank networks with strongrecurrent connectivity. In that framework, the entries of the low-rank connectivity scale with network size as , in contrast to our setting where the scaling is 1 /N . This difference has an important implication: the connectivity in [ 10 ] only yields stable dynamics in the case of negative eigenvalues, whose magnitude typically diverges with the network size. Within that regime, the authors report high-dimensional activity and suppression of inputs along the directions defined by the connectivity vectors. Our results are qualitatively consistent with these findings. In our framework, networks with negative overlap ρ mn exhibit negative eigenvalues; as shown in Fig. 3C–D , the corresponding dynamics are primarily suppressive, giving rise to high-dimensional activity. Compared to [ 10 ], our framework accommodates a broader range of scenarios. In particular, our analysis reveals that even for positive eigenvalues, some form of suppression can still be observed: while activity is amplified along certain directions, it is concurrently suppressed along others, resulting in intermediate dimensionality. Our analysis uncovered a second fundamental difference between the low- and high-dimensional input regimes. In networks receiving low-dimensional inputs, the structure of the activity covariance depends on connectivity solely through the set of vectors m . In contrast, in networks receiving high-dimensional inputs, covariance explicitly depends on both sets of connectivity vectors, m and n . These two sets of vectors define the 2 R -dimensional hyperplane in the activity space where activity distribution is stretched along some directions and shrunk along others. The dependence of activity covariance on the connectivity vectors m has already been reported in previous work on low-rank RNNs [ 8 , 33 , 34 ]. This dependence arises because, due to the low-rank structure of recurrent connectivity, the contribution to activity that stems from recurrent interactions (here, Eq. 9 ) is always constrained to align with m . In contrast, the dependence of activity covariance on the connectivity vector n has not been previously emphasized (but see [ 34 , 12 ]). We show that this dependence emerges only when the inputs are high-dimensional – a setup that is relevant for both biological and artificial networks, but has not been mathematically analyzed in detail before. Previous work has demonstrated that the direction of connectivity vectors m can be robustly inferred from activity traces – whether obtained from simulations or experimental data – using simple statistical techniques, such as principal component analysis [ 8 , 34 ]. In contrast, reliably estimating the direction of vectors n from data has generally been considered a more challenging problem [ 34 ]. In this work, we show that for the activity covariance matrix to explicitly encode information about n , the RNN dynamics must be driven by high-dimensional external inputs. This finding suggests that, in the high-dimensional input regime, inference algorithms may more easily and accurately reconstruct the directions of these vectors. This idea is supported by a simple intuition: uniquely identifying the input direction that generates recurrent activity along m (which is precisely the role of n ) requires observing the system’s response across multiple input directions. This hypothesis is further consistent with recent work by Quian et al [ 49 ], which demonstrated that connectivity vectors can be reliably estimated in a teacher-student setup involving high-dimensional stochastic inputs as long as activity traces from all network units are available. That study focused on a specific class of low-rank RNNs, where the eigenvalues of the connectivity matrix vanish, and mostly examined the case of very strong connectivity weights, which lead to approximately low-dimensional activity even in response to high-dimensional inputs. In contrast, here we considered generic low-rank matrices, with a particular focus on rank-one structures, and we provided a detailed analysis of how arbitrary input and connectivity vector geometries affect the emergent activity. The analysis in [ 49 ] also highlights an important challenge: available algorithms for inferring low-rank dynamics from activity datasets often struggle when applied to subsampled neural data. Subsampling leads to an overestimation of symmetry in the connectivity matrix and, in general, poor performance in reconstructing non-normal dynamics [ 50 ]. Developing algorithms that can handle such challenges, and provide an effective and scalable estimate of both connectivity vectors regardless of their overlap, represents an important avenue for future research. Recently, novel algorithms for inferring RNN models from neural data have been proposed, which leverage the probabilistic structure of activity that emerges from stochastic inputs [ 30 , 51 ]. Investigating the performance of these algorithms under subsampling and other aversive conditions represents an important step for future research. In the context of those studies, our analysis provides a solid mathematical framework on which these statistical techniques can be benchmarked. Another domain where our results may open new avenues is the study of learning in biological and artificial recurrent neural networks. Low-rank connectivity matrices are particularly relevant in this context, as synaptic updates often take a low-rank form [ 31 , 23 ], and in some cases, the final learned connectivity also retains a low-rank structure [ 26 , 27 ]. Most learning algorithms adjust synaptic connectivity based on estimates of network activity and its covariance structure [ 31 , 23 , 52 , 22 ]. In this work, we have showed that both activity and covariance depend sensitively on the dimensionality and geometry of stochastic inputs. As a result, in plastic recurrent networks, different noise structures in the inputs are expected to produce not only distinct activity patterns but also fundamentally different connectivity profiles. Consistent with these predictions, recent work has demonstrated that, in recurrent networks trained via gradient descent, the presence of stochastic inputs can qualitatively alter the solution found by the learning algorithm [ 25 ]. For instance, noise can bias learning toward configurations that better align with experimental observations [ 53 ], or induce additional low-rank connectivity components that suppress variability along task-relevant directions [ 42 ]. However, this study did not systematically investigate how the amplitude and geometry of input noise shape the learned connectivity. Our framework offers several predictions about this relationship, which remain to be tested and explored in future work. For example, since the rank of the learned connectivity is linked to the dimensionality of network activity, we expect it to scale with the dimensionality of external stochastic inputs. Moreover, we have seen that any learned low-rank connectivity term effectively suppresses variability along specific directions, which could be exploited by the learning algorithm for robust decoding of information. We finally remark that, although trained networks often rely on non-linear dynamics, our linear framework remains broadly applicable, as linearization around fixed points is a common and powerful strategy for analyzing such systems [ 54 , 26 ]. As a straightforward application of biological relevance, we considered a two-dimensional circuit consisting of one excitatory and one inhibitory unit, with rank-one connectivity. Although this system and its input amplification properties have been the focus of several studies [ 44 , 16 , 12 ], to our knowledge, a systematic analysis for different input structures in the stochastic setting has not been conducted before. Our analysis highlights that, in these systems, large non-normal amplification can be observed provided that both excitation and inhibition are strong and connectivity is weakly inhibition-dominated. This range of parameters maximizes amplification for both low- [ 44 ] and high-dimensional [ 16 ] external inputs. However, as expected from Eq. 13 , amplification occurs for low-dimensional inputs only when input vectors are specifically oriented with respect to the connectivity vectors. In particular, non-normal amplification is maximized when the input vector modulates the excitatory and inhibitory units in opposition (difference direction) [ 44 ]. Non-normal amplification takes intermediate values for inputs targeting only the excitatory or inhibitory units – a scenario relevant to the study of optogenetic perturbations in cortical circuits [ 55 , 50 ]. In particular, amplification is greater for inputs targeting only the excitatory unit than for those targeting only the inhibitory unit ( Fig. 6F–G ; compare the horizontal black lines at 90° and 180°). Finally, our framework opens new avenues for studying how trial-to-trial variability in brain circuits relates to the underlying anatomical structure. Stochastic inputs have long been used in recurrent neural networks to model fluctuations in brain activity [ 16 , 56 , 17 , 57 , 2 , 58 ]. However, most studies have focused on models with simple connectivity structures, such as fully random networks or those incorporating local connectivity motifs. Our work extends this approach to low-rank connectivity structures, which are global and more naturally linked to network computations [ 33 , 26 ]. In particular, low-rank RNNs have recently been used to model mesoscopic cortical circuits spanning multiple brain areas [ 59 , 60 ]. Experimental studies indicate that these circuits exhibit structured trial-to-trial variability, with cross-covariances differing in dimensionality when computed within versus across areas [ 61 ]. Our work provides the mathematical tools needed to analyze variability in these models, offering a foundation for refining them through direct comparison with experimental data. Author contributions Methodology, investigation, formal analysis and software: FM. Writing – Original Draft Preparation: FM. Writing – Review and Editing: FM, JC, CM. Funding acquisition: FM, JC, CM. Data availability Data and code for reproducing the figures is available at https://github.com/fmastrogiuseppe/StochasticLowRank . Competiting interests The authors have declared that no competing interests exist. Methods 1 Propagator of rank-one matrices We derive here the expression ( Eq. 6 ) for the propagator operator exp[( W − I ) t ] for a connectivity matrix W of rank one as defined in the main text. We follow [ 12 ] and start observing that, since W and I commute, Moreover, using λ = kρ mn , we have: Finally: Note that this expression is only valid for λ≠ 0. When λ = 0, we have that (all the higher-order terms in the power expansion vanish, being multiplied by λ ). Therefore: 2 Covariance derivation From Eq. 5 , it follows that the mean activity, ⟨ x ( t ) ⟩, vanishes in the stationary state. Consequently, the time-resolved covariance matrix can be expressed as: Substituting the expression for the propagator ( Eq. 6 ), we see that covariance factorizes into four terms: This expression can be re-written as by defining: Working out the integrals on the right-hand side yields the final expression for the coefficients (the complete derivation is provided below): In this work, we focus on the equal-time covariance, Σ. Evaluating those coefficients at t = s yields the final expression in Eq. 10 . The equal-time covariance could have been equivalently derived by solving the Lyapunov equation associated with Eq. 1 , which reads: It is easy to verify that the expression for the equal-time covariance provided in Eq. 10 satisfies the Lyapunov equation above. Coefficient c 1 For t s , similarly: Coefficient c 2 For t s , instead: Coefficient c 3 It follows from the same math as above that, for t s : Coefficient c 4 For t s 3 One-dimensional inputs Scaling analysis What is the scaling of the different terms in the covariance ( Eq. 13 ) with respect to the network size N ? A quick scaling analysis of Eq. 13 yields: This shows that the four covariance components display identical scaling with N , provided that O ( ρ nū ) = O (1). This condition holds when the normalized connectivity vector n and input vector u retain a finite overlap for all values of N . If the entries of n and u are drawn randomly, this condition is satisfied when the entries are correlated across the two vectors. Covariance eigenvalues and eigenvectors We compute the eigenvalues of the covariance matrix in Eq. 13 , which has low rank. From [ 37 ], we have that the non-zero eigenvalues of a N × N low-rank matrix expressed in terms of R couples of m r and n r vectors as are identical to the eigenvalues of the R × R reduced matrix defined by We apply this rule to Eq. 13 , yielding the reduced matrix: with α = k/ (2 − λ ) and β = k 2 / (2 − λ )(1 − λ ). This matrix has clearly only two non-zero eigenvalues. We therefore use the reduction scheme once again, yielding the further reduced 2 × 2 matrix: From this matrix, eigenvalues can easily be computed, resulting in Eq. 14 . We quantify dimensionality using the participation ratio: Using Eq. 14 , which is bounded between 1 and 2. We now compute the eigenvectors associated with those eigenvalues. We formulate the ansatz: Note that those vectors are not normalized, but can be normalized by dividing by ( γ 2 + 2 ρ mu γ ± + 1) 1 / 2 . We then impose: With a little algebra, we obtain Combining this with Eq. 62 yields a system of two equations for γ ± and µ ± : Using the second equation together with Eq. 14 , we find: Note that this equation is ill-defined for γ + when ρ mu = ρ nu = 0, for which α = β = 0. In that case, one can use the first equation in Eq. 64 to see that γ ± = 0. Simulations detail In Fig. 2 , we simulated RNNs of size N = 100. To construct external inputs and recurrent connectivity, we first generated a set of three random orthonormal vectors { z i } i =1,2,3 . We then set: m = z 1 , n = z 2 , implying that ρ mn = 0. In Fig. 2C–D–E , we then set u = z 3 , implying that ρ nu = ρ mu = 0. In Fig. 2F–G–H , we set instead u = n , implying that ρ nu = 1 and ρ mu = 0. In all figures, we fix k = 2. 4 High-dimensional inputs Scaling analysis The scaling with respect to the network size N of Eq. 17 is given by: The equation above shows that, in the case of high-dimensional stochastic inputs, the diagonal entries of the covariance matrix, which quantify single-neuron variances, are significantly larger in amplitude than the off-diagonal entries, which quantify cross-covariances among neurons. This is due to the first term of the covariance ( Eq. 17 ), that is generated from local activity ( Eq. 7 ), being diagonal and having much larger amplitude than the other three. Eq. 66 also indicates that the remaining terms, which express different combinations of the m and n vectors, are characterized by a similar scaling. Covariance eigenvalues and eigenvectors We compute the non-zero eigenvalues of the low-rank component of the covariance matrix, Σ lr ( Eq. 22 ), following again [ 37 ], and arriving at the reduced matrix: The last two rows are linearly dependent, implying that the original matrix is rank-two. By reducing the matrix further, we get to: whose eigenvalues are given by Eq. 23 . To compute the eigenvectors associated with those eigenvalues, we formulate the ansatz: where the normalization factor is in this case given by . We then impose: With a little algebra, we obtain Combining it with Eq. 70 , we see that Limiting cases We start considering the case of maximally symmetric recurrent connectivity. To derive Eq. 25 , we use ρ mn → 1 /k and λ → 1, and then only keep the diverging terms. Similarly, one gets implying that γ + diverges as λ → 1. We then consider the opposite scenario: using ρ mn → − 1 and λ → −k in Eq. 23 , we have The argument of the absolute value on the right-hand side is negative. Therefore we have: , implying that is again equal to µ ref . Instead: which is a negative number smaller than −1. When k → ∞ (strong recurrent connectivity), µ − → −1. Correspondingly, which is a positive number that is always smaller than the reference value, and converges to zero for very large k . We also have: from which γ + = 1, and Note than the latter is negative, and vanishes for k → ∞. This implies that the eigenvector v − has a small and negative component along connectivity vector m , and a larger and positive component along connectivity vector n . Simulations detail In Fig. 4 , we simulated RNNs of size N = 50. To construct external inputs and recurrent connectivity, we first generated a set of two orthonormal vectors { z i } i =1,2 . We then set: m = z 1 , and In Fig. 4A–B–C , we then set ρ mn = − 0.5. In Fig. 4D–E–F , we then set ρ mn = 0.3. For simplicity, we also set U = I . 5 Origin of local and recurrent activity terms To clarify the origin and implications of the separation of activity in two terms ( Eq. 7 ), we consider the discrete-time approximation of Eq. 1 : which is accurate in the τ → 0 limit. We have used the short-hand notation ξ ( t ) = U χ ( t ). Starting from a simple initial condition x (0) = 0 , we have x ( τ ) = τ 1/2 ξ ( τ ), and therefore In analogy with Eq. 7 , we can rewrite this as x (2 τ ) = x loc (2 τ ) + x rec (2 τ ) by defining Taking one extra step, one can easily show that: We highlight the following points. First, both activity terms x loc and x rec are expressed as sums over terms that depend on the stochastic input at different time points. Unlike x loc , x rec depends only on inputs from previous time steps (after passing through the recurrent connectivity). Second, the leak in the dynamics ( Eq. 1 ), which contributes to all the terms proportional to (1 − τ ), feeds into both activity terms, x loc and x rec . Third, removing the leak from the dynamics modifies the temporal properties of activity, but does not affect its two-contribution structure ( Eq. 7 ). This can be easily verified by noting that removing the leak is equivalent to transforming all (1− τ ) terms into 1 in the equations above. Finally, we consider one specific type of discrete-time dynamics, obtained by setting τ = 1 (very large updates, corresponding to very fast leak and dynamics). This type of model is of particular interest because it has been widely studied in the context of RNNs with random connectivity [ 38 ] and is broadly used in machine learning [ 39 ] and statistics [ 28 ] applications. For these models, one gets: implying that the local activity component loses memory of inputs from previous time steps. However, this is not the case for the recurrent component, for which We conclude that, in discrete-time models with τ = 1, the network’s memory of previous inputs is maintained solely through recurrent interactions. The two activity contributions, x loc and x rec , reflect stochastic inputs at different time points, and are therefore uncorrelated. We therefore expect the activity covariance for these models to take a simpler form than Eq. 10 , where two of the four terms arise from the cross-covariance between x loc and x rec . 6 Propagator of higher-rank matrices For a connectivity matrix of rank greater than one ( Eq. 26 ), we have: Evaluating this matrix exponential is generally challenging for a generic low-rank matrix W . However, we can consider a specific subclass of these matrices, where the connectivity vectors m r and n r associated with different rank-one components are mutually orthogonal: for r ≠ r ′ . For these matrices, the nonzero eigenvalues are given by for r = 1, …, R , with corresponding eigenvectors m r . This class includes, as a special case, the low-rank matrices studied in [ 12 ] and [ 49 ], for which all eigenvalues vanish. It does not include low-rank matrices with complex eigenvalues. Eq. 87 implies that all rank-one components commute, leading to: Thus, the propagator takes the form: This expression assumes that λ r ≠ 0 for all r . If the eigenvalue associated with a given rank-one component vanishes, the corresponding term in the sum in Eq. 89 must be replaced with the form given in Eq. 36 . 7 Covariance of higher-rank networks To compute activity covariance, we start from Eq. 38 , use again Eq. 89 , and we arrive at Using algebra similar to that in Methods 2, one can show that c 1 ( t, s ) is given by Eq. 42 , while and obey Eqs. 43 and 44 (with λ replaced by λ r ). Finally, is given by: which becomes equal to Eq. 45 for . Evaluating the covariance at t = s yields: from which Eq. 28 can be derived. We focus on the case of high-dimensional stochastic inputs ( Eq. 30 ). The eigenvalues of the covariance matrix can be computed following Eq. 21 , with being the eigenvalues of the low-rank component To compute the eigenvalues of this matrix, we first observe that we can re-write it as where we have defined From this formulation, we can derive a 2 R × 2 R reduced matrix [ 37 ], constructed by concatenating 2 × 2 blocks horizontally and vertically. These blocks take the values where δ rs denotes the Kronecker delta. Computing the eigenvalues of this reduced matrix yields the eigenvalues of Σ lr . These eigenvalues take particularly simple values for a subclass of low-rank matrices in which can take arbitrary values, ranging between −1 and 1 /k , while and vanish for all r ≠ s (and are equal to 1 otherwise). This case corresponds to different rank-one components operating in orthogonal subspaces. For these matrices, all entries of off-diagonal blocks B rs for r≠ s vanish, while the diagonal blocks take the form: for r = 1, 2. Thus, the eigenvalues of the total reduced matrix coincide with those of the 2 × 2 diagonal blocks. Using the identity one can show that each diagonal block is associated with a pair of eigenvalues , obeying Eq. 23 , where λ is replaced by λ and ρ mn by . The eigenvectors corresponding to are linear combinations of the connectivity vectors m r and n r , similar to Eq. 24 . In Fig. 5 , we consider rank-2 connectivity matrices with two specific parametrizations. The first corresponds to the simplified case described above, where and take arbitrary values, while and are set to zero. The second parametrization, in contrast, involves setting and to zero while allowing and to take arbitrary values within the range [−1, 1]. Unlike the first case, this choice leads to a connectivity matrix with vanishing eigenvalues. Moreover, in this regime, the covariance eigenvectors are linear combinations of all four connectivity vectors: m 1 , n 1 , m 2 , and n 2 . Simulations detail In Fig. 5F , we simulated RNNs of size N = 50. To construct external inputs and recurrent connectivity, we first generated a set of four normalized orthogonal vectors { z i } i =1,…,4 . We then set: m 1 = z 1 , m 2 = z 2 , and We fix . We also set U = I . 8 Excitatory-inhibitory network In the case of one-dimensional inputs, we parametrize the input vector as u = ( u E , u I ) = (cos( θ ), sin( θ )), where θ varies between 0 and π . Special cases of interest are: θ = 0 (input only to E), θ = π/ 4 (equal inputs to E and I), θ = π/ 2 (input only to I), θ = 3 π/ 4 (opposite-sign, otherwise equal input to E and I). This results in the following overlaps: Acknowledgments We would like to thank Giulio Bondanelli and Srdjan Ostojic for their feedback on the manuscript. FM is supported by a Transition To Independence grant from Simons Foundation Collaboration on the Global Brain (code 00002313). JC is supported by a PhD studentship from Fundação para a Ciência e a Tecnologia (DOI: 10.54499/2020.05021.BD). CKM is supported by the Simons Foundation Collaboration on the Global Brain (code 543009 and 2794-04), as well as NIH R01 EY035896 and NIH RF1 NS127107. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. Funder Information Declared Simons Foundation Fundação para a Ciência e Tecnologia, https://ror.org/00snfqn58 , 10.54499/2020.05021.BD Simons Foundation , Collaboration on the Global Brain 543009 , Collaboration on the Global Brain 2794-04 Footnotes Minor revisions to the text, the content of the manuscript and figures has not changed. Bibliography [1]. ↵ I. Landau and H. Sompolinsky . Coherent chaos in a recurrent neural network with structured connectivity . PLOS Comput. Biol ., 14 ( 12 ): 1 – 27 , 12 2018 . OpenUrl CrossRef [2]. ↵ C. Huang , D. Ruff , R. Pyle , R. Rosenbaum , M. Cohen , and B. Doiron . Circuit models of low-dimensional shared variability in cortical networks . Neuron , 101 : 337 – 348 , 2019 . OpenUrl CrossRef PubMed [3]. ↵ D. Dahmen , M. Layer , L. Deutz , P. Anna Dabrowska , N. Voges , M. von Papen , T. Brochier , A. Riehle , M. Diesmann , S. Grün , and M. Helias . Global organization of neuronal activity only requires unstructured local connectivity . eLife , 11 : e68422 , 2023 . OpenUrl [4]. ↵ P. Gao and S. Ganguli . On simplicity and complexity in the brave new world of large-scale neuroscience . Curr. Opin. Neurobiol ., 32 : 148 – 55 , 2015 . OpenUrl CrossRef PubMed [5]. ↵ J. Wang , D. Narain , E. Hosseini , and M. Jazayeri . Flexible timing by temporal scaling of cortical responses . Nat. Neurosci ., 21 ( 1 ): 102 – 110 , 2018 . OpenUrl CrossRef PubMed [6]. ↵ C. Cueva , A. Saez , E. Marcos , A. Genovesio , M. Jazayeri , R. Romo , D. Salzman , M. Shadlen , and S. Fusi . Low-dimensional dynamics for working memory and time encoding . Proc. Natl. Acad. Sci. USA , 117 ( 37 ): 23021 – 23032 , 2020 . OpenUrl Abstract / FREE Full Text [7]. ↵ C. Eliasmith and C. Anderson . Neural Engineering - Computation, Representation, and Dynamics in Neurobiological Systems . MIT press , 2004 . [8]. ↵ F. Mastrogiuseppe and S. Ostojic . Linking connectivity, dynamics and computations in low-rank recurent neural networks . Neuron , 99 ( 3 ): 609 – 623 , 2018 . OpenUrl CrossRef PubMed [9]. ↵ W. Podlaski and C. Machens . Approximating nonlinear functions with latent boundaries in low-rank excitatory-inhibitory spiking networks . Neural Comput , 36 : 803 – 857 , 2024 . OpenUrl CrossRef PubMed [10]. ↵ Y. Wan and R. Rosenbaum . High-dimensional dynamics in low-dimensional networks . arXiv, 2504.13727 , 2025 . [11]. ↵ U. Pereira and N. Brunel . Attractor dynamics in networks with learning rules inferred from in vivo data . Neuron , 99 ( 1 ): 227 – 238.e4 , 2018 . OpenUrl CrossRef PubMed [12]. ↵ G. Bondanelli and S. Ostojic . Coding with transient trajectories in recurrent neural networks . PLOS Comput Biol , 16 ( 2 ): e1007655 , 2020 . OpenUrl CrossRef PubMed [13]. ↵ M. Beiran , A. Dubreuil , A. Valente , F. Mastrogiuseppe , and S. Ostojic . Shaping dynamics with multiple populations in low-rank recurrent networks . Neural Comput ., 33 ( 6 ): 1572 – 1615 , 2021 . OpenUrl CrossRef PubMed [14]. ↵ F. Mastrogiuseppe , N. Hiratani , and P. Latham . Evolution of neural activity in circuits bridging sensory and abstract knowledge . eLife , 12 : e79908 , 2023 . OpenUrl CrossRef PubMed [15]. ↵ L. Susman , F. Mastrogiuseppe , N. Brenner , and O. Barak . Quality of internal representation shapes learning performance in feedback neural networks . Phys. Rev. Research , 3 : 013176 , 2021 . OpenUrl CrossRef [16]. ↵ G. Hennequin , T. Vogels , and W. Gerstner . Non-normal amplification in random balanced neuronal networks . Phys. Rev. E , 86 : 011909 , 2012 . OpenUrl [17]. ↵ T. Kanashiro , G. Ocker , M. Cohen , and B. Doiron . Attentional modulation of neuronal variability in circuit models of cortex . eLife , 6 : e23978 , 2017 . OpenUrl CrossRef PubMed [18]. ↵ Y. Hu and H. Sompolinsky . The spectrum of covariance matrices of randomly connected recurrent neuronal networks with linear dynamics . PLOS Computat. Biol ., 18 : 1 – 27 , 2022 . OpenUrl [19]. ↵ W. R. Softky and C. Koch . The highly irregular firing of cortical cells is inconsistent with temporal integration of random epsps . J. Neurosci ., 13 ( 1 ): 334 – 350 , 1993 . OpenUrl Abstract / FREE Full Text [20]. ↵ M. N. Shadlen and W. T. Newsome . The variable discharge of cortical neurons: Implications for connectivity, computation, and information coding . J. Neurosci ., 18 ( 10 ): 3870 – 3896 , 1998 . OpenUrl Abstract / FREE Full Text [21]. ↵ V. Mante , D. Sussillo , K. V. Shenoy , and W. T. Newsome . Context-dependent computation by recurrent dynamics in prefrontal cortex . Nature , 503 ( 7474 ): 78 – 84 , 2013 . OpenUrl CrossRef PubMed Web of Science [22]. ↵ F. Song , G. Yang , and X.-J. Wang . Training excitatory-inhibitory recurrent neural networks for cognitive tasks: A simple and flexible framework . PLOS Comp. Biol ., 12 : 1 – 30 , 2016 . OpenUrl [23]. ↵ H. Jaeger . Adaptive nonlinear system identification with echo state networks . NIPS, pages 609–616 , 2002 . [24]. ↵ A. Wikner , J. Harvey , M. Girvan , B. Hunt , A. Pomerance , T. Antonsen , and E. Ott . Stabilizing machine learning prediction of dynamics: Novel noise-inspired regularization tested with reservoir computing . Neural Networks , 170 : 94 – 110 , 2024 . OpenUrl CrossRef PubMed [25]. ↵ F. Schuessler , F. Mastrogiuseppe , S. Ostojic , and O. Barak . Aligned and oblique dynamics in recurrent neural networks . eLife , 2024 . [26]. ↵ F. Schuessler , F. Mastrogiuseppe , A. Dubreuil , S. Ostojic , and O. Barak . The interplay between randomness and structure during learning in RNNs . Adv. Neural Inf. Process. Syst ., 33 : 13352 – 13362 , 2020 . OpenUrl [27]. ↵ B. Bordelon , J. Cotler , C. Pehlevan , and J. Zavatone-Veth . Dynamically learning to integrate in recurrent neural networks . arXiv , arxiv: 2503.18754 , 2025 . [28]. ↵ Z. Ghahramani and G. Hinton . Parameter estimation for linear dynamical systems . Technical Report CRG-TR-96-2 , 1996 . [29]. ↵ A. Smith and E. Brown . Estimating a state-space model from point process observations . Neural Comput , 15 : 965 – 991 , 2003 . OpenUrl CrossRef PubMed Web of Science [30]. ↵ M. Pals , E. Sagtekin , F. Pei , M. Gloeckler , and J. Macke . Inferring stochastic low-rank recurrent neural networks from neural data . Adv. Neural Inf. Process. Syst ., 37 , 2024 . [31]. ↵ J. J. Hopfield . Neural networks and physical systems with emergent collective computational abilities . Proc. Natl. Acad. Sci. USA , 79 ( 8 ): 2554 – 2558 , 1982 . OpenUrl Abstract / FREE Full Text [32]. ↵ H. Risken . The Fokker-Planck Equation . Springer , 2012 . [33]. ↵ A. Dubreuil , A. Valente , M. Beiran , F. Mastrogiuseppe , and S. Ostojic . The role of population structure in computations through neural dynamics . Nat. Neurosci ., 25 : 783 – 794 , 2022 . OpenUrl CrossRef PubMed [34]. ↵ A. Valente , J. Pillow , and S. Ostojic . Extracting computational mechanisms from neural data using low-rank rnns . Adv. Neural Inf. Process. Syst ., 35 , 2022 . [35]. ↵ G. Yule . Statistical Study of Literary Vocabulary . Cambridge Press , 1944 . [36]. ↵ A. Litwin-Kumar , K. Harris , R. Axel , H. Sompolinsky , and L. Abbott . Optimal degrees of synaptic connectivity . Neuron , 93 ( 5 ): 1153 – 1164.e7 , 2017 . OpenUrl CrossRef PubMed [37]. ↵ Y Nakatsukasa . The low-rank eigenvalue problem . arXiv , arxiv: 1905.11490 , 2019 . [38]. ↵ B. Cessac , B. Doyon , M. Quoy , and M. Samuelides . Mean-field equations, bifurcation map and route to chaos in discrete time neural networks . Physica D , 74 ( 1 ): 24 – 44 , 1994 . OpenUrl CrossRef [39]. ↵ I. Sutskever , O. Vinyals , and Q. Le . Sequence to sequence learning with neural networks . Adv. Neural Inf. Process. Syst., 27 , 2014 . [40]. ↵ C. Stringer , M. Pachitariu , N. Steinmetz , M. Carandini , and K. Harris . High-dimensional geometry of population responses in visual cortex . Nature , 571 : 361 – 365 , 2019 . OpenUrl CrossRef PubMed [41]. ↵ M. Boerlin , C. K. Machens , and S. Deneve . Predictive coding of dynamical variables in balanced spiking networks . PLOS Comput. Biol ., 9 ( 11 ): 1 – 16 , 11 2013 . OpenUrl CrossRef [42]. ↵ J. Kadmon , J. Timcheck , and S. Ganguli . Predictive coding in balanced neural networks with noise, chaos and delays . Adv. Neural Inf. Process. Syst., 33 , 2020 . [43]. ↵ H. Seung . How the brain keeps the eyes still . Proc. Natl. Acad. Sci. USA , 93 ( 23 ): 13339 – 13344 , 1996 . OpenUrl Abstract / FREE Full Text [44]. ↵ B. Murphy and K. Miller . Balanced amplification: A new mechanism of selective amplification of neural activity patterns . Neuron , 61 : 635 – 648 , 2009 . OpenUrl CrossRef PubMed Web of Science [45]. ↵ B. Farrell and P. Ioannou . Generalized stability theory. Part I: autonomous operators . J. Atmos. Sci ., 53 : 2025 – 2040 , 1996 . OpenUrl CrossRef Web of Science [46]. ↵ T. Machado , I. Kauvar , and K. Deisseroth . Multiregion neuronal activity: the forest and the trees . Nat. Rev. Neurosci ., 23 : 683 – 704 , 2022 . OpenUrl CrossRef PubMed [47]. ↵ S. Oh , J. Harris , L. Ng , and al. A mesoscale connectome of the mouse brain . Nature , 508 : 207 – 214 , 2013 . OpenUrl [48]. ↵ R. Munoz-Castaneda , R. Zingg , K. Matho , and al. Cellular anatomy of the mouse primary motor cortex . Nature , 598 : 159 – 166 , 2021 . OpenUrl CrossRef PubMed [49]. ↵ W. Quian , J. Zavatone-Veth , B. Ruben , and C. Pehlevan . Partial observation can induce mechanistic mismatches in data-constrained models of neural dynamics . Adv. Neural Inf. Process. Syst ., 38 , 2024 . [50]. ↵ D. O’Shea , L. Duncker , W. Goo , X. Sun , S. Vyasand E. Trautmann , I. Diester , C. Ramakrishnan , K. Deisseroth , M. Sahani , and K. Shenoy . Direct neural perturbations reveal a dynamical mechanism for robust computation . bioRxiv , 2022.12.16.520768, 2022 . [51]. ↵ A. Kumar , L. Frank , and K. Bouchard . Identifying feedforward and feedback controllable subspaces of neural population dynamics . arXiv : arxiv: 2408.05875 , 2024 . [52]. ↵ K. Rajan and L. F. Abbott . Eigenvalue spectra of random matrices for neural networks . Phys. Rev. Lett ., 97 : 188104 , 2006 . OpenUrl CrossRef PubMed [53]. ↵ A. Russo , R. Khajeh , S. Bittner , S. Perkins , J. Cunningham , L. Abbott , and M. Churchland . Neural trajectories in the supplementary motor area and motor cortex exhibit distinct geometries, compatible with different classes of computation . Neuron , 107 ( 4 ): 745 – 758.e6 , 2020 . OpenUrl CrossRef PubMed [54]. ↵ D. Sussillo and O. Barak . Opening the black box: Low-dimensional dynamics in high-dimensional recurrent neural networks . Neural Comput ., 25 ( 3 ): 626 – 649 , 2013 . OpenUrl CrossRef PubMed [55]. ↵ A. Sanzeni , B. Akitake , H. Goldbach , C. Leedy , N. Brunel , and M. Histed . Inhibition stabilization is a widespread property of cortical networks . eLife , 9 : e54875 , 2020 . OpenUrl CrossRef PubMed [56]. ↵ R. Rosenbaum , M. Smith , A. Kohn , J. Rubin , and B. Doiron . The spatial structure of correlated neuronal variability . Nat. Neurosci ., 20 : 107 – 114 , 2017 . OpenUrl CrossRef PubMed [57]. ↵ S. Safavi , A. Dwarakanath , V. Kapoor , J. Werner , N. Hatsopoulos , N. Logothetis , and T. Panagiotaropoulos . Nonmonotonic spatial structure of interneuronal correlations in prefrontal microcircuits . Proc. Natl. Acad. Sci. USA , 115 ( 15 ): e3539 – e3548 , 2018 . OpenUrl PubMed [58]. ↵ Y.-L. Shi , N. Steinmetz , T. Moore , K. Boahen , and T. Engel . Cortical state dynamics and selective attention define the spatial pattern of correlated variability in neocortex . Nat. Commun ., 13 ( 44 ), 2022 . [59]. ↵ D. Clark and M. Beiran . Structure of activity in multiregion recurrent neural networks . Proc. Natl. Acad. Sci. USA , 122 ( 10 ): e2404039122 , 2025 . OpenUrl CrossRef PubMed [60]. ↵ J. Barbosa , R. Proville , C. Rodgers , M. DeWeese , S. Ostojic , and Y. Boubenec . Early selection of task-relevant features through population gating . Nature Communications , 14 : 6837 , 2023 . OpenUrl PubMed [61]. ↵ J. Semedo , A. Zandvakili , C. Machens , B. Yu , and A. Kohn . Cortical areas interact through a communication subspace . Neuron , 102 ( 1 ): 249 – 259 , 2019 . OpenUrl CrossRef PubMed View the discussion thread. Back to top Previous Next Posted July 11, 2025. Download PDF Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Stochastic activity in low-rank recurrent neural networks Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Stochastic activity in low-rank recurrent neural networks Francesca Mastrogiuseppe , Joana Carmona , Christian K. Machens bioRxiv 2025.04.22.649933; doi: https://doi.org/10.1101/2025.04.22.649933 Share This Article: Copy Citation Tools Stochastic activity in low-rank recurrent neural networks Francesca Mastrogiuseppe , Joana Carmona , Christian K. Machens bioRxiv 2025.04.22.649933; doi: https://doi.org/10.1101/2025.04.22.649933 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Neuroscience Subject Areas All Articles Animal Behavior and Cognition (7635) Biochemistry (17697) Bioengineering (13895) Bioinformatics (41953) Biophysics (21456) Cancer Biology (18595) Cell Biology (25521) Clinical Trials (138) Developmental Biology (13381) Ecology (19903) Epidemiology (2067) Evolutionary Biology (24323) Genetics (15612) Genomics (22511) Immunology (17738) Microbiology (40401) Molecular Biology (17184) Neuroscience (88623) Paleontology (667) Pathology (2833) Pharmacology and Toxicology (4825) Physiology (7644) Plant Biology (15158) Scientific Communication and Education (2046) Synthetic Biology (4296) Systems Biology (9825) Zoology (2271)
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.