Skip to main content

This is a preprint.

It has not yet been peer reviewed by a journal.

The National Library of Medicine is running a pilot to include preprints that result from research funded by NIH in PMC and PubMed.

ArXiv logoLink to ArXiv
[Preprint]. 2026 Sep 8:arXiv:2609.09438v1. [Version 1]

Emergence of criticality in models of real neurons

David P Carcamo 1,2,3, Christopher W Lynn 1,2,3
PMCID: PMC13622868  PMID: 42818541

Abstract

Critical systems sit near boundaries between qualitatively distinct behaviors. When inferring models of neural activity, this proximity to criticality is thought to require the precise tuning of parameters. Here, we show that as the number of neurons increases, criticality can emerge naturally without fine-tuning. When computing observable statistics from parameters (the forward problem), some small regions in parameter space map to large regions in statistics space. These special parameters are precisely those near criticality. Thus, when inferring parameters from experimental measurements (the inverse problem), models concentrate near critical points, and this concentration becomes stronger as the system grows. We illustrate this flow toward criticality across many large-scale recordings in the mouse brain. In the Curie-Weiss model of Ising spins, we find that all of the recordings collapse to a first-order phase transition, despite substantial differences in the underlying systems. Together, these results suggest a resolution to the tension between criticality and fine-tuning in models of neural activity.


Biological networks—from flocks of birds and schools of fish to clusters of bacteria and genetic interactions—often exhibit signatures of criticality.1–5 In the brain, populations of neurons spanning different animals and experimental settings produce avalanches of cascading activity.6–9 The correlations between neurons extend over spatiotemporal scales,10–13 follow heavy-tailed distributions,14–17 and display scale-free structure.18 Models inferred from neural data consistently lie near phase transitions, where small changes in model parameters produce large changes in collective activity.17, 19–23 Moreover, these models appear to move closer to criticality as the number of neurons increases.17, 19–21 In simulations, this proximity to criticality provides functional advantages, from improved sensitivity to optimized information processing.24–27

However, in the space of possible models, critical points occupy a vanishingly small volume.1, 20, 28 This suggests that criticality requires the precise calibration of parameters, forcing the system to delicately balance between distinct regimes.29 This fine-tuning stands in stark contrast to the incredible diversity of neural systems across species, regions, and cell types. Significant efforts to address this tension have produced mechanisms for self-organization as well as alternative explanations for signatures of criticality.16, 29–37 Yet the question remains: In models of real neurons, does criticality require fine-tuning?

To answer this question, we examine the geometry of the mapping between experimental measurements and models of neural activity.38, 39 Although critical models occupy small regions in the space of parameters, as the number of neurons grows, these models map to large regions in the space of observable statistics. Thus, as experiments record from larger populations, many different measurements from a range of systems collapse to similar models near criticality.

Minimal mapping from experiments to models

To investigate this collapse in large populations of neurons, we focus on the simplest experimental measurements: the average activity and the strength of correlations. For a system of N neurons (i=1,…,N), the state of the population at a given instant is defined by a binary vector x=xi, where each neuron is either active (xi=1) or silent (xi=-1). The instantaneous activity of the population is μ=1N∑ixi, and experiments give us access to the mean activity m=1N∑ixi, where ⟨⋅⟩ denotes an experimental average. Similarly, the total strength of correlations is given by χ=1N∑i,jxixj-xixj=Nμ2-m2. The different combinations (m,χ) define our space of statistics, in which each point represents the possible outcome of an experiment. In Fig. 1a, we illustrate these statistics for 146 separate recordings from N≈103 to 104 neurons in mice: 100 electrophysiological recordings from thalamus and visual cortex, 40,41 45 calcium-imaging recordings from visual cortex, 42 and one calcium-imaging recording from hippocampus. 43,44 These experiments span a large region in the space of statistics, with different activities m and nearly two orders of magnitude in correlations χ.

Fig. 1 |. Neural activity maps to models near criticality.

Fig. 1 |

a, Average activity m and correlation strength χ for 146 recordings of neuronal activity: 100 electrophysiological recordings from thalamus and visual cortex (blue),40, 41 45 calcium-imaging recordings from visual cortex (green),42 and one calcium-imaging recording from hippocampus (purple).43, 44 Marker size indicates the number of neurons N in each population. Gray line represents statistics that map to independent models (with λ = 0), defined by χ = 1 – m2. b, Inferred Ising parameters h and λ for each of the recordings in a. Red line defines the set of critical models in the thermodynamic limit N → ∞, and gray line represents independent models (λ = 0). Inset displays the same parameters with a linear h axis, illustrating the collapse of the different recordings to critical models.

Every model of activity defines a distribution over collective states P(x), but there are infinitely many models consistent with a given set of statistics (m, χ). To break this degeneracy, the only distribution justified by the measurements alone, without introducing any additional structure, is the one with maximum entropy,

P(x)=1Zexp⁡h∑ixi+λ2N∑ixi2, (1)

where Z is the normalizing partition function (Methods).45, 46 The parameters h and λ are Lagrange multipliers that must be computed so the model matches the observed statistics m and χ, respectively. This inference procedure defines a unique mapping from experimental measurements (m, χ) to model parameters (h, λ).

Maximum entropy models such as Eq. (1) have been applied across a wide range of neural systems to study the minimal consequences of experimental measurements.17, 19–22, 47 In the context of recurrent neural networks, P(x) is the steady-state distribution for a system of logistic neurons with biases determined by h and all-to-all interactions with strength determined by λ.48, 49 In statistical physics, it is the Curie-Weiss model, which is a special case of the Ising model of interacting magnetic spins.21, 28, 50 Importantly, the critical behavior of the Curie-Weiss model is known exactly. In the thermodynamic limit N → ∞, the system undergoes a second-order phase transition at the point (h, λ) = (0, 1). This is the classic Ising transition from disorder (λ < 1) to order (λ > 1) via spontaneous symmetry breaking.28, 51 Additionally, the system exhibits a line of critical points at h = 0 and λ > 1 that define a first-order phase transition.21 Crossing this line leads to a discontinuous jump from negative activity m (for h < 0) to positive activity (for h > 0). Together, the second-order point and the first-order line represent the only critical models within the entire two-dimensional space of parameters.

Although we have defined a unique mapping between statistics (m, χ) and parameters (h, λ), evaluating this map is computationally challenging. In maximum entropy models, calculations require averaging over all 2N states, which typically restricts applications to populations of N ~ 100 neurons using Monte Carlo simulations.19 Here, given the simplicity of the Curie-Weiss model, we only need to sum over the N + 1 discrete values of the population activity μ, weighted by their multiplicities (Methods). This allows us to calculate exact statistics (m, χ) and numerically invert the model to infer exact parameters (h, λ) for systems of up to N ~ 104 neurons.21

Applying this method to each of the recordings, we arrive at 146 separate models (Fig. 1b). In each of these models, we find that h < 0, such that silence is favored over activity (m < 0), and λ > 0, such that neurons are positively correlated. Despite substantial differences in the measured statistics, brain regions, population sizes, experimental setups, and recording modalities, the inferred models collapse onto a narrow region in the space of parameters (Fig. 1b, inset). Specifically, the different recordings are all described by similar models near criticality, with h ≈ 0 and λ ≥ 1. This collapse reinforces signatures of criticality that have been discovered in many distinct experiments and models of neural activity.6–23 By contrast, if we shuffle the activity of each neuron to destroy correlations, then the statistics become similar while the models, which are no longer critical, remain distinct (Supplementary Information).

Geometry of the forward map

To understand how disparate systems collapse to criticality, we must first understand the geometry of the forward map from model parameters to observable statistics. For a given number of neurons N, each set of parameters (h, λ) defines a specific model [Eq. (1)], from which we can compute statistics (m, χ) (Methods). Consider the region of parameters outlined in Fig. 2a, which defines a manifold of models with different statistics. This mapping from parameters to statistics is highly nonlinear, with parameters near the critical line expanding to large volumes in the space of statistics and parameters far from criticality contracting to small volumes (Fig. 2b). This nonlinearity becomes even more dramatic as the number of neurons increases, with a large number of possible statistics captured only by a small number of critical models (Fig. 2b, right).

Fig. 2 |. Expansion and contraction from parameters to statistics.

Fig. 2 |

a, Region in the space of parameters with color indicating the interaction strength λ and saturation indicating the external field h. Red line represents criticality in the thermodynamic limit. b, Regions in the space of statistics covered by the parameters in a for increasing numbers of neurons N. c, Scaling factor defined by the determinant of the Jacobian |J| increases monotonically as a function of the external field h. Each line represents N = 20 neurons interacting with a different strength λ. d, Jacobian |J| as a function of the system size N at fixed h = −10−3. For models near criticality (λ ≥ 1), the Jacobian grows dramatically with the number of neurons.

To quantify the strength of this expansion and contraction, we evaluate the shift in statistics induced by small changes in parameters. For example, the fluctuation-dissipation relation reveals that the response in activity m from a perturbation in h is dictated by the strength of correlations, such that ∂m∂h=χ. At the critical point (h, λ) = (0, 1), the correlation χ diverges as the number of neurons N increases. Thus, for models near criticality, small changes in h sweep over many different activities m, particularly as the population grows.

More generally, as parameters map to statistics, the scaling of volume is defined by the determinant of the Jacobian,

|J|=∂m∂h∂m∂λ∂χ∂h∂χ∂λ, (2)

which, for simplicity, we refer to as the Jacobian.38, 39 In the Curie-Weiss model, we can calculate |J| exactly, even for large N (Methods). As the external field h increases, tending toward the critical line, the Jacobian grows monotonically (Fig. 2c). Far from criticality, volume contracts (|J| < 1), while close to criticality, volume expands (|J| > 1). Moreover, even if we hold parameters fixed near the critical line, as the number of neurons increases, the Jacobian grows by orders of magnitude (Fig. 2d). Thus, when mapping from parameters to statistics, not all models are created equal; a handful expand to cover many possible observations, and these are precisely the models near criticality.

Growth induces flow toward criticality

When we say that criticality requires fine-tuning, we are implicitly placing a prior on the space of parameters. If this prior is uniform, then finding a model near criticality is surprising. However, if we define models based on their statistics, then this prior becomes highly non-uniform, as demonstrated in Fig. 2b. Instead, one should select a prior that is invariant under reparameterization. This is Jeffreys prior, which, for maximum entropy models, is proportional to the square root of the Jacobian |J| (Methods).39, 52 Even for small systems, the Jacobian is largest near the critical line, and this maximum sharpens as the number of neurons increases (Fig. 3a). From this perspective, models near criticality should become orders of magnitude more likely as populations grow.38

Fig. 3 |. Large populations contract to critical models.

Fig. 3 |

a, Jacobian |J| as a function of the external field h and interaction strength λ. As the number of neurons increases, the Jacobian concentrates near the critical line. b, Flow in parameters due to a fractional increase in system size d(h,λ)dlog⁡N with statistics (m, χ) held fixed (Methods). Flow magnitude is indicated by vector color and length. As N increases, many parameters flow toward the critical line. c, Inferred parameters corresponding to a fixed grid of statistics (inset). For larger populations, many statistics contract to critical models. Columns indicate populations of increasing size N = 20, 100, and 1000.

We arrive at the same conclusion by examining the geometry of the inverse map from statistics to parameters. As N increases, we have seen that parameters near criticality expand to cover many statistics (Fig. 2b). Conversely, as experiments grow, we should expect many distinct measurements to contract toward critical models, a phenomenon previously observed in financial data.38 We can investigate the contraction quantitatively by treating the number of neurons N as a free parameter in the model [Eq. (1)]. Holding the statistics (m, χ) fixed, increasing N induces a flow in the parameters (h, λ), which we compute using the Hubbard-Stratonovich transformation (Methods). For interactions below the critical strength (λ < 1), we find that increasing N leads to a decrease in λ, pushing models toward independence (Fig. 3b). By contrast, for strongly interacting systems (λ ≥ 1), the external field h increases as the population grows, pushing models toward the critical line. This flow to criticality can be studied using thermodynamic quantities such as the susceptibility and specific heat (Supplementary Information).20 Here, we are able to investigate the flow directly by defining a grid of statistics (m, χ), which represents a collection of possible experiments (Fig. 3c, inset). For small N, the inferred models span a relatively large region of parameters (Fig. 3c, left). Yet as the number of neurons increases, even with the statistics held fixed, many of the inferred models become indistinguishable as they contract to criticality (Fig. 3c, right).

Ultimately, we seek to understand whether the same collapse occurs in neural activity. For each of the recordings in Fig. 1, we subsample the population at increasing sizes N. For each of these subpopulations, we measure the activity m and correlation χ, and then infer the corresponding parameters (h, λ). For small N, correlations are weak, and the activity is nearly independent (Fig. 4a, left). As the populations grow, correlations become stronger, and the recordings occupy an expanding volume of different statistics (Fig. 4a). In stark contrast, the corresponding models contract into a shrinking volume of similar parameters (Fig. 4b). Across all populations, the interactions rise above the critical strength λ ≥ 1, and the external fields approach h = 0. Thus, despite expanding in the space of statistics, all of the recordings contract toward criticality in the space of models.

Fig. 4 |. Models of neural activity flow toward criticality.

Fig. 4 |

a, Average activity m and correlation strength χ for subpopulations of increasing size N sampled from 146 recordings of neural activity from the thalamus and visual cortex (blue),40, 41 visual cortex (green),42 and hippocampus (purple).43, 44 Marker size indicates the number of neurons N in each subpopulation, and gray lines represent statistics that map to independent models. b, Inferred Ising parameters h and λ for each of the subpopulations in a. Red line defines the set of critical models in the thermodynamic limit N → ∞, and gray line represents independent models (λ = 0). Columns indicate populations of increasing size N = 20, 100, and 1000.

Thermodynamic collapse

As the number of neurons increases, each individual interaction in the model becomes weaker, replaced by the average influence of a growing population. Thus, as experiments grow, one might expect a reduced mean-field theory to emerge.21 Here, we show that, while the simplest version of this idea fails, an improved theory captures the mapping between measurements and models. In doing so, we find that an entire two-dimensional region of statistics collapses to the one-dimensional critical line in the thermodynamic limit N → ∞.

Since the probability of each collective state x depends only on the population activity μ, the model can be written P(x)∝exp⁡[-Nf(μ)], where f(μ) is the free energy per neuron (Methods). In the limit N → ∞, this free energy has a unique minimum for any parameters (h, λ) not on the critical line. In turn, this minimum dominates any average over P(x), leading to the traditional mean-field theory,53 with the average activity defined self-consistently by m=tanh⁡(λm+h) and correlations by χ=1-m21-λ1-m2. As a direct consequence, for any activity m, mean-field theory sets a hard upper bound on the strength of correlations (Methods).21 However, when examining the neural recordings, we see that all of the measured correlations break this bound, some by multiple orders of magnitude (Fig. 5a). So where has the map between models and experiments broken down?

Fig. 5 |. Collapse to criticality in the thermodynamic limit.

Fig. 5 |

a, Average activity m and correlation strength χ for the same recordings as Fig. 1. Red line defines the maximum correlations allowed under mean-field theory (Methods). Gray line defines statistics that map to independent models. Marker sizes indicate the number of neurons N in each population. b, Free energy f(μ) as a function of the population activity for subpopulations of increasing size sampled from the hippocampal recording.43, 44 See Methods for free energy expression. c-d, External field (c) and interaction strength (d) inferred for subpopulations of increasing size sampled from the thalamus and visual cortex (top),40, 41 visual cortex (middle),42 and hippocampus (bottom).43, 44 Markers represent exact parameters, solid lines represent the double-well approximation in Eq. (3), and dashed lines represent the thermodynamic limit of the double-well approximation. e, Double-well predictions for the external field and interaction strength [Eq. (3)] corresponding to the statistics in a with increasing population size N. As N → ∞, all recordings approach the critical line.

We have failed by focusing on models that are not critical. Consider the hippocampal recording.43, 44 For small subpopulations, the free energy maintains one global and one local minimum, but as N increases, these minima become degenerate (Fig. 5b). This is the defining feature of a first-order phase transition. In order to map between parameters and statistics, we must therefore include both minima in any average over P(x). The resulting double-well approximation predicts that, for measured statistics (m, χ), the corresponding parameters are given by

h=1Nm0tanh-1⁡mm0andλ=1m0tanh-1⁡m0, (3)

where m0=m2+χ/N (Methods). We compare this prediction with the exact parameters inferred from different recordings (Fig. 5c,d). As populations grow, the double-well approximation becomes more accurate, eventually converging to the true parameters for N ≳ 100 neurons.

Upon inspection, the double-well approximation reveals something striking. For a given set of statistics (m, χ), the inferred interactions exceed the critical strength (λ ≥ 0). Then, as the number of neurons increases, the external field vanishes (h → 0), pushing models toward the critical line (Fig. 5e). This is precisely the flow that we observe in the neural recordings (Fig. 4b). Thus, in the thermodynamic limit N → ∞, we find that a large region of possible statistics—which includes many different measurements of neural activity—collapses directly to the line of criticality.

Discussion

The brain exhibits several signatures associated with models poised near criticality.6–23 How can such a diverse array of behaviors—across species, systems, and scales—correspond to such a narrow range of models? To answer this question, we study on the geometry of the map between experimental measurements and models of neural activity. Although critical models occupy a vanishingly small volume in the space of parameters, as the number of neurons grows, these models expand to cover a large volume of observable statistics.38 Thus, rather than requiring fine-tuning, criticality can emerge naturally in models of large-scale activity.

Focusing on the average activity m and correlation strength χ, the Curie-Weiss model defines the minimal mapping from experiments to models. Due to this simplicity, the critical behavior of the model is defined unambiguously, and we can exactly compute the mapping between statistics and parameters in very large populations (Methods). Although the Curie-Weiss model fails to capture many features of neural activity,21 we expect our central findings to hold much more broadly. For any statistics measured in experiments, the maximum entropy principle defines the most unbiased mapping to models.46, 47 In maximum entropy models, as the number of neurons increases, first-order phase transitions are defined by discontinuities in the statistics, and second-order phase transitions are defined by divergences in the Jacobian.19, 28, 38 If we expect parameters to flow toward models where the Jacobian is large, then, quite generally, we should expect experimental measurements to contract toward criticality. Even in more complex descriptions of neural dynamics,23, 29, 54 where criticality may not be defined, inferred models should concentrate where small changes in parameters produce large changes in behaviors. Investigating this contraction in different models and biological networks is an exciting direction.

Finally, we note that the brain can exhibit signatures of criticality without itself being critical. Indeed, some of these signatures can arise through correlated responses to latent variables or timevarying inputs.34–37 Even defining criticality for a system as complex as the brain remains an open challenge.8 However, when we fit models to neural data, our results suggest that criticality may not require fine-tuning. Instead, as experiments advance to record larger populations, many distinct measurements may collapse to similar models, thus providing simplified descriptions of neural systems.

Methods

Neural data.

We analyze neural activity from 146 electrophysiological and calcium-imaging recordings in previous experiments. The recordings were selected to be as large as possible, with no other selection criteria. The thalamus and visual cortex data were recorded electrophysiologically during a visual change-detection task as part of the Allen Institute Visual Behavior Neuropixels dataset.40, 41 We analyze 100 recordings, each containing N = 1, 705 ± 355 (mean ± SD) neurons from different brain regions. For each recording, spikes were sorted into 10 ms time bins, which then defines the binary activity of each neuron. The visual cortex data were recorded using two-photon calcium imaging by Stringer et al.42 The data consist of 45 recordings from seven awake mice, with N = 10, 506 ± 1, 737 neurons per recording (mean ± SD). Neural activity was measured at a sampling rate of approximately 1.5 Hz while mice ran on an air-floating ball. Visual stimuli included natural images, distorted natural images, drifting gratings, and gray screens used to measure spontaneous activity. The hippocampal data were recorded using two-photon calcium imaging by Gauthier and Tank.44. The population consists of 1,485 neurons recorded at 30 Hz from the CA1 region while the head-fixed mouse ran along a virtual track. In the calcium imaging data, fluorescence traces for each neuron were binarized into active or inactive states.

Maximum entropy model.

Across all datasets, we represent the activity of neuron i at time t by a binary variable xi(t)∈{-1,1}, where xi(t)=1 corresponds to activity and xi(t)=-1 to silence. The collective state of the population is then defined by a binary vector x=xi. For a recording of length T, we measure the average activity of each neuron xi=1T∑txi(t) and the correlation between each pair of neurons xixj=1T∑txi(t)xj(t). From these measurements, we then compute the population-level average m=1N∑ixi and correlation = 1N∑ijxixj-xixj.

The only model P(x) that is justified by these measurements, with no other sources of structure, is the one with maximum entropy.45–47 This distribution takes the form of the Curie-Weiss model in Eq. (1), where

Z=∑xexp⁡h∑ixi+λ2N∑ixi2 (4)

is the normalizing partition function. The parameters h and λ must be inferred so that the model matches the experimental activity m and correlation χ, respectively.

Exact statistics and inference.

The probability of each state only depends on the instantaneous population activity μ=1N∑ixi. When taking model averages, this allows us to replace the intractable sum over states x with a tractable sum over the N + 1 distinct values of μ, weighted by the number of states for each μ. The partition function is given by

Z=∑μCN,1+μ2Nexp⁡Nhμ+Nλ2μ2, (5)

where C(·, ·) is the binomial coefficient. Similarly, the average activity and correlation strength can be efficiently computed using

m=1Z∑μC(N,1+μ2N)μexp(Nhμ+Nλ2μ2), (6)
χ=NZ∑μC(N,1+μ2N)μ2exp(Nhμ+Nλ2μ2)−Nm2. (7)

Eqs. (5)–(7) provide an exact solution for the forward map from parameters to statistics in very large populations.

To solve the inverse map from statistics to parameters, we note that at fixed m, there is a one-dimensional manifold of models along which χ varies, with parameters h(λ) and λ.21 Parameter changes along this manifold satisfy

dm=∂m∂λdλ+∂m∂hdh=0, (8)

so that

dh(λ)dλ=-∂m∂h-1∂m∂λ=-1χ∂m∂λ. (9)

We numerically integrate this equation starting from the independent model h(0) = tanh−1 (m) until the model reaches the target value of χ. In combination with Eqs. (5)–(7), this provides an exact solution to the inverse map.

Jacobian, Jeffreys prior, and Fisher information.

The Jacobian in Eq. (2) is defined by the derivatives,

∂m∂h=N(〈μ2〉−m2)=χ, (10)
∂m∂λ=N2(〈μ3〉−m〈μ2〉), (11)
∂χ∂h=N2(〈μ3〉−3m〈μ2〉+2m3), (12)
∂χ∂λ=N22(〈μ4〉−〈μ2〉2−2m〈μ3〉+2〈μ2〉m2). (13)

Note that each of the above model averages can be computed efficiently using the method described previously. Jeffreys prior defines the distribution over models that is invariant under changes in parameters p(h,λ)∝|I(h,λ)|, where I(h,λ) is the Fisher information matrix.39, 52 For the Curie-Weiss model, the Fisher information is given by38

I=N2μ2-⟨μ⟩212μ3-μ2⟨μ⟩12μ3-μ2⟨μ⟩14μ4-μ22. (14)

Note that the determinant of the Fisher information is proportional to that of the Jacobian, |I|=N2|J|. Thus, Jeffreys prior is proportional to the square root of the Jacobian.

Hubbard-Stratonovich transformation.

In order to treat the number of neurons N as a free parameter in the model, we use the Hubbard-Stratonovich transformation.55 Replacing interactions in the model with an integral over a fluctuating field, we can rewrite the partition function exactly as,

Z=N2πλ2N∫dψe-Nlψ, (15)

where

l(ψ)=ψ22λ-ln cosh⁡(h+ψ). (16)

For any choice of h, λ, and N, the statistics can be computed numerically by evaluating the integrals,

m=1∫dψe−Nl(ψ)∫dψe−Nl(ψ)tanh(h+ψ), (17)
χ=1-Nm2+(N-1)1∫dψe-Nl(ψ)∫tanh2⁡(h+ψ)e-Nl(ψ). (18)

Parameter flow with increasing system size.

The system size now appears as a continuous variable, allowing us to differentiate the statistics with respect to N. Letting ⟨⋅⟩ψ denote an average over the fluctuating field P(ψ)∝e-Nl(ψ), we have

∂m∂N=m⟨l(ψ)⟩ψ-⟨tanh⁡(h+ψ)l(ψ)⟩ψ, (19)
∂χ∂N=tanh⁡(h+ψ)2ψ+(N-1)tanh⁡(h+ψ)2ψ⟨l(ψ)⟩ψ-tanh⁡(h+ψ)2l(ψ)ψ-m2-2Nm∂m∂N. (20)

To understand how models flow when the number of neurons increases, we hold m and χ fixed while allowing h and λ to vary with N. Taking the total derivative with respect to N gives

0=ddNmχ=JddNhλ+∂∂Nmχ. (21)

Increasing the number of neurons therefore induces the following flow in the space of parameters,

ddNhλ=-J-1∂∂Nmχ. (22)

In Fig. 3b, we plot the flow in parameters with respect to fractional changes in system size,

ddln⁡Nhλ=-NJ-1∂∂Nmχ. (23)

Mean-field approximation.

To understand the thermodynamic limit N → ∞, we write the model as a function of the population activity P(x)∝e-Nf(μ), where

f(μ)=-hμ-λ2μ2-1Nlog⁡CN,1+μ2N (24)

is the free energy per neuron. As the system becomes large, the free energy approaches

f(μ)=-hμ-λ2μ2+1+μ2log⁡1+μ2+1-μ2log⁡1-μ2. (25)

For parameters (h,λ) not on the critical line, the free energy has a unique minimum. In the limit N→∞, this minimum dominates any average over P(x), yielding the mean-field theory with m=tanh⁡(λm+h) and χ=1-m21-λ1-m2.53 This theory places an upper bound on the strength of correlations,21

χmax(m)=m1-m2m-tanh-1⁡(m)1-m2. (26)

All of the recordings break this bound, some with correlations orders of magnitude stronger than allowed under mean-field theory (Fig. 5a).

Double-well approximation.

The mean-field approximation fails to capture real neural activity because it only applies to models for which the free energy has a unique minimum; that is, non-critical models. When inferring models from neural recordings, the free energy develops two degenerate minima (Fig. 5b), the defining feature of a first-order phase transition.21 For large N, when taking averages over P (x), we must include both minima.

For λ>1 and h≈0, the free energy has two minima μ±≈±m0, where m0 is the positive solution to the mean-field equation with no external field, m0=tanh⁡λm0. Only including these minima, the average activity is given by

m=μ+e-Nfμ++μ-e-Nfμ-e-Nfμ++e-Nfμ-=m0eNhm0-m0e-Nhm0eNhm0+e-Nhm0=m0tanh⁡Nhm0. (27)

Differentiating with respect to h yields the correlation χ=Nm02-m2. Finally, inverting these equations provides the solution to the inverse map from statistics to parameters in Eq. (3).

Supplementary Material

1

Supplementary text and figures accompany this paper.

Acknowledgements.

We thank L. Di Carlo, B. Machta, Q. Yu, and L. Wu for enlightening discussions and comments on earlier versions of the paper. We also acknowledge support from the National Institutes of Health (NIH/NIGMS R35GM160188) and the Department of Physics, Quantitative Biology Institute, and Wu Tsai Institute at Yale University.

Footnotes

Competing Interests. The author declares no competing financial interests.

Data Availability

The data analyzed in this paper are openly available at https://github.com/dpcarcamo/Emergence-of-Criticality.

Code Availability

The code used to perform the analyses in this paper is openly available at https://github.com/dpcarcamo/Emergence-of-Criticality.

References

  • 1.Mora T. & Bialek W. Are biological systems poised at criticality? J. Stat. Phys. 144, 268–302 (2011). [Google Scholar]
  • 2.Bialek W. et al. Social interactions dominate speed control in poising natural flocks near criticality. Proc. Natl Acad. Sci. USA 111, 7212–7217 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Puy A., Gimeno E., March-Pons D., Miguel M. C. & Pastor-Satorras R. Signatures of criticality in turning avalanches of schooling fish. Phys. Rev. Res. 6, 033270 (2024). [Google Scholar]
  • 4.Chen X., Dong X., Be’er A., Swinney H. L. & Zhang H. Scale-invariant correlations in dynamic bacterial clusters. Phys. Rev. Lett. 108, 148101 (2012). [DOI] [PubMed] [Google Scholar]
  • 5.Nykter M. et al. Gene expression dynamics in the macrophage exhibit criticality. Proc. Natl Acad. Sci. USA 105, 1897–1900 (2008). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Beggs J. M. & Plenz D. Neuronal avalanches in neocortical circuits. J. Neurosci. 23, 11167–11177 (2003). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Petermann T. et al. Spontaneous cortical activity in awake monkeys composed of neuronal avalanches. Proc. Natl Acad. Sci. USA 106, 15921–15926 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Beggs J. M. & Timme N. Being critical of criticality in the brain. Front. Physiol. 3 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Fontenele A. J. et al. Criticality between cortical states. Phys. Rev. Lett. 122, 208101 (2019). [DOI] [PubMed] [Google Scholar]
  • 10.Segev R. et al. Long term behavior of lithographically prepared in vitro neuronal networks. Phys. Rev. Lett. 88, 118102 (2002). [DOI] [PubMed] [Google Scholar]
  • 11.Ringach D. L. Spontaneous and driven cortical activity: implications for computation. Curr. Opin. Neurobiol. 19, 439–444 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Stringer C. et al. Spontaneous behaviors drive multidimensional, brainwide activity. Science 364, eaav7893 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.MacDowell C. J. & Buschman T. J. Low-dimensional spatiotemporal dynamics underlie cortex-wide neural activity. Curr. Biol. 30, 2665–2680 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Bedard C., Kroeger H. & Destexhe A. Does the 1/f frequency scaling of brain signals reflect self-organized critical states? Phys. Rev. Lett. 97, 118102 (2006). [DOI] [PubMed] [Google Scholar]
  • 15.Buzsáki G. & Mizuseki K. The log-dynamic brain: how skewed distributions affect network operations. Nat. Rev. Neurosci. 15, 264–278 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Lynn C. W., Holmes C. M. & Palmer S. E. Heavy-tailed neuronal connectivity arises from Hebbian self-organization. Nat. Phys. 20, 484–491 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Lynn C. W., Yu Q., Pang R., Palmer S. E. & Bialek W. Exact minimax entropy models of large-scale neuronal activity. Phys. Rev. E 111, 054411 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Meshulam L., Gauthier J. L., Brody C. D., Tank D. W. & Bialek W. Coarse graining, fixed points, and scaling in a large population of neurons. Phys. Rev. Lett. 123, 178103 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Meshulam L. & Bialek W. Statistical mechanics for networks of real neurons. Rev. Mod. Phys. 97, 045002 (2025). [Google Scholar]
  • 20.Tkačik G. et al. Thermodynamics and signatures of criticality in a network of neurons. Proc. Natl Acad. Sci. USA 112, 11508–11513 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Di Carlo L., Mignacco F., Lynn C. W. & Bialek W. Extended mean-field theories for networks of real neurons. Phys. Rev. Lett. 137, 018401 (2026). [DOI] [PubMed] [Google Scholar]
  • 22.Carcamo D. P. & Lynn C. W. Statistical physics of large-scale neural activity with loops. Proc. Natl Acad. Sci. USA 122, e2426926122 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Pachitariu M. et al. A critical initialization for biological neural networks. Nature (2026). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Shew W. L., Yang H., Petermann T., Roy R. & Plenz D. Neuronal avalanches imply maximum dynamic range in cortical networks at criticality. J. Neurosci. 29, 15595–15600 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Shew W. L., Yang H., Yu S., Roy R. & Plenz D. Information capacity and transmission are maximized in balanced cortical networks with neuronal avalanches. J. Neurosci. 31, 55–63 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Haldeman C. & Beggs J. M. Critical branching captures activity in living neural networks and maximizes the number of metastable states. Phys. Rev. Lett. 94, 058101 (2005). [DOI] [PubMed] [Google Scholar]
  • 27.Kinouchi O. & Copelli M. Optimal dynamical range of excitable networks at criticality. Nat. Phys. 2, 348–351 (2006). [Google Scholar]
  • 28.Sethna J. P. Statistical Mechanics: Entropy, Order Parameters, and Complexity, vol. 14 (Oxford University Press, USA, 2021). [Google Scholar]
  • 29.Chialvo D. R. Emergent complex neural dynamics. Nat. Phys. 6, 744–750 (2010). [Google Scholar]
  • 30.Levina A., Herrmann J. M. & Geisel T. Dynamical synapses causing self-organized criticality in neural networks. Nat. Phys. 3, 857–860 (2007). [Google Scholar]
  • 31.Rubinov M., Sporns O., Thivierge J.-P. & Breakspear M. Neurobiologically realistic determinants of self-organized criticality in networks of spiking neurons. PLoS Comput. Biol. 7, e1002038 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.van Vreeswijk C. & Sompolinsky H. Chaotic balanced state in a model of cortical circuits. Neural Comput. 10, 1321–1371 (1998). [DOI] [PubMed] [Google Scholar]
  • 33.Moretti P. & Muñoz M. A. Griffiths phases and the stretching of criticality in brain networks. Nat. Commun. 4 (2013). [DOI] [PubMed] [Google Scholar]
  • 34.Schwab D. J., Nemenman I. & Mehta P. Zipf’s law and criticality in multivariate data without fine-tuning. Phys. Rev. Lett. 113 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Aitchison L., Corradi N. & Latham P. E. Zipf’s law arises naturally when there are underlying, unobserved variables. PLoS Comput. Biol. 12, e1005110 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Morrell M. C., Sederberg A. J. & Nemenman I. Latent dynamical variables produce signatures of spatiotemporal criticality in large biological systems. Phys. Rev. Lett. 126 (2021). [DOI] [PubMed] [Google Scholar]
  • 37.Humplik J. & Tkačik G. Probabilistic models for neural populations that naturally capture global coupling and criticality. PLoS Comput. Biol. 13, e1005763 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Mastromatteo I. & Marsili M. On the criticality of inferred models. J. Stat. Mech.: Theory Exp. 2011, P10012 (2011). [Google Scholar]
  • 39.Amari S.-i. & Nagaoka H. Methods of information geometry, vol. 191 (American Mathematical Soc., 2000). [Google Scholar]
  • 40.Allen Institute MindScope Program. Allen Brain Observatory – Neuropixels Visual Coding. Dataset (2019). URL https://knowledge.brain-map.org/data/4YYLRZZGK82FQ85NIH8. [Google Scholar]
  • 41.Siegle J. H. et al. Survey of spiking in the mouse visual system reveals functional hierarchy. Nature 592, 86–92 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Stringer C., Pachitariu M., Steinmetz N., Carandini M. & Harris K. D. High-dimensional geometry of population responses in visual cortex. Nature 571, 361–365 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Meshulam L., Gauthier J. L., Brody C. D., Tank D. W. & Bialek W. Collective behavior of place and non-place neurons in the hippocampal network. Neuron 96, 1178–1191 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Gauthier J. L. & Tank D. W. A dedicated population for reward coding in the hippocampus. Neuron 99, 179–193 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Cover Thomas M. & Thomas Joy A.. Elements of Information Theory (John Wiley & Sons, Inc, 2006), second edn. [Google Scholar]
  • 46.Jaynes E. T. Information theory and statistical mechanics. Phys. Rev. 106, 620 (1957). [Google Scholar]
  • 47.Schneidman E., Berry M. J., Segev R. & Bialek W. Weak pairwise correlations imply strongly correlated network states in a neural population. Nature 440, 1007–1012 (2006). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Hopfield J. J. Neurons with graded response have collective computational properties like those of two-state neurons. Proc. Natl Acad. Sci. USA 81, 3088–3092 (1984). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Kilian J. & Siegelmann H. T. The dynamic universality of sigmoidal neural networks. Inf. Comput. 128, 48–56 (1996). [Google Scholar]
  • 50.Ellis R. S. & Newman C. M. The statistics of curie-weiss models. J. Stat. Phys. 19, 149–161 (1978). [Google Scholar]
  • 51.Brush S. G. History of the lenz-ising model. Rev. Mod. Phys. 39, 883 (1967). [Google Scholar]
  • 52.Jeffreys H. An invariant form for the prior probability in estimation problems. Proc. R. Soc. Lond. A 453–461 (1946). [DOI] [PubMed] [Google Scholar]
  • 53.Tanaka T. Information geometry of mean-field approximation. Neural Comput. 12, 1951–1968 (2000). [DOI] [PubMed] [Google Scholar]
  • 54.Van Vreeswijk C. & Sompolinsky H. Chaos in neuronal networks with balanced excitatory and inhibitory activity. Science 274, 1724–1726 (1996). [DOI] [PubMed] [Google Scholar]
  • 55.Hubbard J. Calculation of partition functions. Phys. Rev. Lett. 3, 77 (1959). [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

1

Data Availability Statement

The data analyzed in this paper are openly available at https://github.com/dpcarcamo/Emergence-of-Criticality.


Articles from ArXiv are provided here courtesy of arXiv

RESOURCES