
==== Front
Nat Commun
Nat Commun
Nature Communications
2041-1723
Nature Publishing Group UK London

39261492
51390
10.1038/s41467-024-51390-x
Article
Sub-threshold neuronal activity and the dynamical regime of cerebral cortex
http://orcid.org/0000-0002-8070-0378
Amsalem Oren 1
http://orcid.org/0000-0003-4580-2763
Inagaki Hidehiko 2
Yu Jianing 3
http://orcid.org/0000-0002-6670-7362
Svoboda Karel 4
http://orcid.org/0000-0003-3078-4857
Darshan Ran darshan@tauex.tau.ac.il

5678
1 grid.38142.3c 000000041936754X Division of Endocrinology, Diabetes and Metabolism, Beth Israel Deaconess Medical Center, Harvard Medical School, Boston, MA USA
2 https://ror.org/02rbfnr22 grid.421185.b 0000 0004 0380 459X Max Planck Florida Institute for Neuroscience, Jupiter, FL USA
3 https://ror.org/02v51f717 grid.11135.37 0000 0001 2256 9319 School of Life Sciences, Peking University, Beijing, China
4 https://ror.org/04szwah67 Allen Institute for Neural Dynamics, Seattle, WA USA
5 https://ror.org/04mhzgx49 grid.12136.37 0000 0004 1937 0546 Department of Physiology and Pharmacology, Faculty of Medical and Health Sciences, Tel Aviv University, Tel Aviv, Israel
6 https://ror.org/04mhzgx49 grid.12136.37 0000 0004 1937 0546 The School of Physics and Astronomy, Tel Aviv University, Tel Aviv, Israel
7 https://ror.org/04mhzgx49 grid.12136.37 0000 0004 1937 0546 The Sagol School of Neuroscience, Tel Aviv University, Tel Aviv, Israel
8 grid.443970.d Janelia Research Campus, Howard Hughes Medical Institute, Ashburn, VA USA
11 9 2024
11 9 2024
2024
15 795816 2 2023
5 8 2024
© The Author(s) 2024
2024
https://creativecommons.org/licenses/by/4.0/ Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
Cortical neurons exhibit temporally irregular spiking patterns and heterogeneous firing rates. These features arise in model circuits operating in a ‘fluctuation-driven regime’, in which fluctuations in membrane potentials emerge from the network dynamics. However, it is still debated whether the cortex operates in such a regime. We evaluated the fluctuation-driven hypothesis by analyzing spiking and sub-threshold membrane potentials of neurons in the frontal cortex of mice performing a decision-making task. We showed that while standard fluctuation-driven models successfully account for spiking statistics, they fall short in capturing the heterogeneity in sub-threshold activity. This limitation is an inevitable outcome of bombarding single-compartment neurons with a large number of pre-synaptic inputs, thereby clamping the voltage of all neurons to more or less the same average voltage. To address this, we effectively incorporated dendritic morphology into the standard models. Inclusion of dendritic morphology in the neuronal models increased neuronal selectivity and reduced error trials, suggesting a functional role for dendrites during decision-making. Our work suggests that, during decision-making, cortical neurons in high-order cortical areas operate in a fluctuation-driven regime.

Whether the cortex operates in a fluctuation-driven regime remains unclear. Here, the authors found that standard models explain spiking but not sub-threshold statistics; however, this was resolved by adding dendritic morphology, suggesting a functional role for dendrites in decision-making.

Subject terms

Network models
Biophysical models
Dynamical systems
100000011 Howard Hughes Medical Institute (HHMI) issue-copyright-statement© Springer Nature Limited 2024
==== Body
pmcIntroduction

Cortical neurons spike at irregular times, with statistics that can be approximated by a Poisson process1–3. In addition, neuronal firing rates are highly heterogeneous, with some that fire at high rates while a large number of neurons are almost quiescent4–7. Ongoing research in system neuroscience is directed at understanding this operating regime of cortex8, in which spiking irregularity and rate heterogeneity are ubiquitous.

Sensory input and movement can contribute to irregular spiking and heterogeneous spike rates9,10. However, substantial contribution to the variability and heterogeneity likely results from the recurrent network dynamics. Indeed, theoretical studies have shown that these features can emerge from the non-linear recurrent dynamics of cortical networks, if they operate in a ‘fluctuation-driven regime’ in which excitatory and inhibitory currents are both large compared to the rheobase of the neurons but approximately balanced11–14. The net input can be sub-threshold, on average, while action potentials are driven by fluctuations in synaptic inputs15.

Theoretical studies of the fluctuation-driven regime are foundational to our quantitative understanding of spiking statistics in the cortex16–22. However, it is still debated whether the cortex operates in such a regime8. For example, fluctuation-driven networks can quantitatively account for feature selectivity in the cortex23–25, and are consistent with the observed balance of excitation and inhibition in neural recordings26,27, as well as with cortical responses to perturbations in sensory and frontal areas28–30. On the other hand, similar perturbation experiments in layer 4 neurons of the barrel cortex are inconsistent with a fluctuation-driven hypothesis31. Furthermore, while some modeling studies suggest that recurrent and external inputs to cortical neurons are large23,28,29, it has been argued that feedforward thalamic inputs to the visual cortex are too weak to be approximately balanced by a strong recurrent inhibition8.

Standard models of networks that operate in the fluctuation-driven regime, in which synaptic interactions are mediated by variations in the synaptic conductance, predict that neuronal membrane potential should hover close to the neuronal threshold32 and, as we will show, with limited heterogeneity in mean voltage across neurons. In this study, we tested the fluctuation-driven regime hypothesis by analyzing the supra- and sub-threshold activity of populations of excitatory and inhibitory neurons in the anterior lateral motor cortex (ALM) in behaving mice that perform a decision-making task. Does the same mechanism for explaining spiking statistics in cortex accounts for the variability and heterogeneous sub-threshold voltage activity?

We demonstrate that fluctuation-driven networks can account for spiking statistics in ALM. However, these models fail to reproduce the large level of voltage heterogeneity observed in the data. We show that this limitation arises from the strong excitatory and inhibitory synaptic inputs, leading to a significant increase in the neuronal input conductance. We resolve this discrepancy by introducing a phenomenological network model of ‘extended-like’ point neurons with synapses that mimic dendritic morphology, thus including a key aspect of neuronal biophysics that is often neglected in models of recurrent neural networks33. Our proposed model suggests that neurons in ALM are fluctuation-driven. Furthermore, effectively inclusion of dendrites in the model enhances neuronal selectivity during preparatory activity and reduces error trials, indicating a functional role for dendritic integration in decision-making.

Results

Spiking and sub-threshold activity in ALM

We analyzed the supra (spiking) threshold activity of excitatory and inhibitory cells and the sub-threshold activity (membrane potential) of excitatory cells of the anterior lateral motor cortex (ALM) of mice performing a delayed-response task (analysis of data from34,35). In each trial, mice were instructed to lick to one of two lick ports (sample period). During the subsequent delay epoch, mice maintained a memory of the previous sensory experience and planned an upcoming response. Following an auditory ‘go’ cue, mice reported the sensory instruction by directional licking (left or right). (Fig. 1A,36). We analyzed two types of data sets, in which the instruction cue was either auditory (‘auditory task’; silicon probes or whole-cell recordings) or tactile (‘tactile task’; whole-cell recordings. See35 and Methods for further details). In ALM a large proportion of recorded neurons exhibited preparatory activity that predicts licking direction35.Fig. 1 Supra- and sub-threshold statistics of ALM neurons in mice performing a delayed-response task.

A Top: behavioral task. The instruction (tones for the auditory task, Fig. 1A–G; pole location for the tactile task, Fig. 1D--G) was presented during the sample epoch. The mouse reported its decision after the delay epoch by directional licking. The duration of the delay epoch was 1.2 s (Fig. 1D–G) or 2.0 s (Fig. 1A--C), Bottom: recording area (see also35) and spike trains of 3 example neurons with different coefficient of variation of the inter-spike-intervals (CVISI). Recordings shown in A-C were performed using silicon probes (extracellular). B Coefficient of variations of the inter-spike-interval (CVISI) against neuronal firing rates for putative pyramidal (PYR) and fast-spiking (FS) inhibitory neurons (FS). C Probability density function (pdf) of the log-rates is well-approximated by a Gaussian distribution (solid lines). D Left: cartoon of whole-cell recordings (intracellular). Middle: Activity of four example neurons during the first 0.5 second of delay period, together with an illustration of the inter-spike-interval. Right: Sub-threshold voltage distribution (excluding spikes) of one of the neurons. Solid line: fit to a Gaussian distribution. Purple line and shaded areas: neuronal threshold (mean ± SD). σV: SD of the single-neuron fluctuations. Recordings shown in D-G were performed using whole-cell. E pdf of mean voltage of the n = 47 recorded ALM PYR neurons. Solid line: fit to a Gaussian distribution. Purple line and shaded area around it: average threshold across the population and its SD ( − 34 ± 3mV). F Firing rates vs. mean voltage of ALM PYR neurons. Crosses: auditory instruction (28 neurons). Circles: tactile instruction (19 neurons) (see Methods). G SD of single-neuron voltage fluctuations against the mean voltage. Red line: linear regression. In all panels the data is analyzed for correct lick-right trials during delay period (see also Fig. S1). Source data are provided as a Source Data file. Figure 1A is adapted from Inagaki, H.K., Fontolan, L., Romani, S. et al. Discrete attractor dynamics underlies persistent activity in the frontal cortex. Nature 566, 212-217 (2019). 10.1038/s41586-019-0919-7.

Consistent with previous recordings in other brain areas and species7,37, we found that spiking statistics of putative-pyramidal (PYR) and fast-spiking (FS) neurons exhibited large temporal irregularities, high trial-to-trial variability, heterogeneous spike rates and diverse selective responses. Distributions of firing rates of pyramidal neurons were approximately log-normal (Fig. 1B–C). Spiking activity exhibited wide inter-spike-interval (ISI) distributions, with average coefficient of variations of the ISIs that varied between behavioral states (Fig. 1B, CVISI = 0.9 during sample, and CVISI = 1.2 during delay; n=619, paired Student t-test p = 3.39 × 10−44), but were close to one (for comparison, neurons that fire regularly have low CVISI, while for a Poisson neuron CVISI = 1). Importantly, the CVISI was large for neurons of both low and high spike rates. The log-normal distribution of firing rates and the large CVISI are in line with theoretical predictions based on the fluctuation-driven regime (e.g. see11,13,19). FS neurons fired, on average, at higher rates than pyramidal neurons and their rate distribution was also well-approximated by a log-normal distribution. Similarly, their spiking activity was highly variable, with CVISI that was slightly higher than the CVISI of the pyramidal neurons. Neurons in both populations exhibited a high level of variability across trials30. This activity was selective to licking direction and was diverse across the population35 (see also below).

We next examined membrane potential measurements from whole-cell recordings of ALM neurons (Fig. 1D–G34,35). To minimize the effect of movement artifacts resulting from the mouse licking during the response period, we concentrated our analysis on the delay period (mean voltage and SD during the sample and delay periods were very similar, Fig. S1A–B). Consistent with previous reports (e.g.38), firing rates of excitatory neurons were a bit smaller when measured using whole-cell recordings (4 ± 4Hz during the delayed period) than with silicon probes (6 ± 8Hz), although these differences disappeared when we considered only the neurons that spiked (unpaired Student t-test, p = 0.38 Fig. S1C). Similarly, average CVISI of neurons in the whole-cell data were close to one, although a bit smaller for the delay period when estimated using silicon probes (CVISI ≈ 0.8 during sample and during delay, Fig. S1C).

The sub-threshold fluctuations of most of the recorded neurons were well-approximated by a Gaussian distribution (excluding their spikes, example in Fig. 1D; skewness of distribution was 0.5 ± 0.44, mean ± SD; Fig. S9D32). The time-average voltage across the population was  − 50mV (range:  − 64.5mV to  − 33.5mV). There was a large level of heterogeneity around this average value (Fig. 1E–G), with only a small fraction of the neurons that were close to their spike threshold (threshold was  − 34 ± 3mV). We quantified this heterogeneity in sub-threshold statistics by the standard deviation of the time-average voltages across the population, ΔV, which was around 6mV for ALM neurons. For neurons that spiked (n = 35/47 neurons), when compared to their spike thresholds, the mean voltage ranged from 6mV to 25mV below threshold (with mean of 13mV and SD of 4mV). Furthermore, the level of fluctuations of sub-threshold activity of neurons around their temporal-averaged value varied across the population (standard deviation of voltage fluctuations, σV, is in the range 1.2 − 4.5mV). Neurons close to threshold exhibited a larger level of voltage fluctuations. The level of fluctuations and mean voltage were positively correlated across the population (Fig. 1G).

In summary, our analysis revealed that the statistics of the spiking activity of ALM neurons in the task were consistent with previous recordings in behaving animals. Notably, the CVISI of the neurons was large, and neuronal firing rate distributions exhibited wide variability, well-described by a log-normal distribution. Fast-spiking neurons demonstrated higher firing rates than putative-pyramidal neurons. Sub-threshold voltage analysis unveiled substantial diversity in time-average voltage, characterized by a large ΔV. In addition, the distributions of sub-threshold voltage fluctuations of many neurons were well estimated by a Gaussian distribution, with a positive correlation between fluctuation levels and mean voltages across the putative-pyramidal population.

Standard spiking network models are inconsistent with the sub-threshold statistics of cortical neurons

We next asked if network models that operate in the fluctuation-driven regime could account for the spiking as well as the sub-threshold activity of neurons in the data. We considered a network consisting of excitatory and inhibitory integrate-and-fire neurons, where cells were randomly and sparsely connected to each other (Fig. 2, parameters in Table 1). The post-synaptic neuronal voltage, V(t), evolved in time and changed in response to synaptic currents. These currents were modeled as Isyn(t) = − gs(t)(V(t) − E), where E is the synaptic reversal potential, g was the change in synaptic conductance induced by a pre-synaptic spike, and s(t) was a filtered version of the pre-synaptic spikes (see Methods for a complete description of the model). These type of network models are known in the literature as conductance-based networks because variations in synaptic inputs lead to changes in the input conductance of the neuron14,39–41.Fig. 2 A network of one-compartment integrate-and-fire neurons is consistent with irregular spiking statistics in ALM but fails to reproduce sub-threshold voltage statistics.

A Left: Diagram of the recurrent neural network. Synapses in the network are mediated by variations in the synaptic conductances. Right: excitatory and inhibitory post-synaptic potentials in the network. Cyan: Inh-to-Exc connection. Blue: Exc-to-Exc. Red: Exc-to-Inh. Orange: Inh-to-Inh. B CVISI vs. firing rate for excitatory (blue) and inhibitory (orange) neurons in the network. C Distributions of firing rates in the network. D Left: Activity of four example neurons. Right: Sub-threshold voltage distribution (excluding spikes) of one of the neurons. Solid line: fit to a Gaussian distribution. Purple line: neuronal threshold. E Distribution of time-average voltage, plotted as the distance to threshold (purple line) of all neurons in a network with an average of 1200 (blue) and 4800 (cyan) pre-synaptic inputs per neuron (total synaptic connections: KI + 2KE; Methods). Threshold in simulations was at  − 40mV. ALM data from Figure Fig. 1E is re-plotted here as the distance to neuronal threshold for comparison. F Firing rate vs. mean voltage for all neurons in the network of a total 1200 pre-synaptic inputs. G Voltage heterogeneity vs. number of average pre-synaptic inputs. Crosses: network simulations. Diamonds: predictions using of a passive neuron (first term in Eq. (1)). Circles: predictions using an integrate-and-fire neuron, including threshold (full expression in Eq. (1)). H Voltage heterogeneity and firing rates of excitatory neurons when scaling the strength of external inputs by a factor. Total synaptic connections: 1200. Voltage heterogeneity stays low also for networks with rates below 2Hz. See parameters in Table 1. Source data are provided as a Source Data file.

As predicted by theoretical works, the distributions of firing rates for both excitatory and inhibitory populations were well approximated by a log-normal distribution (Fig. 2B–C19,41). We chose the synaptic parameters such that the distributions of neuronal firing rates in the populations fit well the spiking data of ALM neurons. In particular, the firing rate of the inhibitory population was larger than the excitatory one. With these parameters, the size of the excitatory and inhibitory post-synaptic potentials were within the physiological range (Fig. 2A). Neurons in both populations fired irregularly and with CVISI ≈ 1, as in the data. It was slightly higher for the inhibitory population than the excitatory one. This variability was self-generated by the network. The fact that the CVISI was large for both neurons that fired at low and high rates is a hallmark of the fluctuation-driven regime, where fluctuations are driving the spikes11,13.

We next investigated the sub-threshold statistics of the simulated neurons. In contrast to the spiking statistics of neurons in the network, we found that the network model failed to reproduce the sub-threshold statistics of ALM neurons. Specifically, although, like the data (Fig. S9D), the sub-threshold voltage distribution of individual neurons in the model exhibited an approximately Gaussian shape (Fig. 2D; a characteristic proposed to signify a fluctuation-driven regime32), the time-averaged voltage across all neurons in the model was very close to their spike threshold, exhibiting a very small standard deviation (SD) around the average value (Fig. 2D, E; mean voltage of  − 45mV with threshold at  − 40mV and SD of ΔV = 1mV). Similarly, the amplitude of the temporal voltage fluctuations across the population was narrowly distributed (σV ≈ 2mV for all neurons). This is in contrast to the large heterogeneity in mean voltages and SDs across the ALM neurons (Fig. 2E, F, Fig. 1E, G). Thus, while accounting for the heterogeneous spiking statistics, the model failed to reproduce the heterogeneity in sub-threshold voltage activity across the population of ALM neurons.

Narrow distribution of mean voltages in network models

How is it that firing rates in the simulated networks were so heterogeneous while the time-average voltage distribution was so narrow? We found that this effect was a direct outcome of the regime in which the network operated. Indeed, opening of a synaptic channel increases the effective conductance– the ‘leak’, of the neuron. Due to a large number of open synaptic channels, the neuron becomes very leaky and its time-average voltage is clamped to an effective reversal. This effective reversal depends on the time-average conductances and reversal potentials of its excitatory and inhibitory synapses. Moreover, with voltage fluctuations of  ~ 2mV, this time-average voltage must be very close to threshold in order for the neuron to fire. The fact that the firing rates are highly heterogeneous is remarkable, and it results from the large gain of the firing-voltage curve in these models40, (Fig. 2F).

To make this argument quantitative, we studied analytically the heterogeneity in the sub-threshold activity of one-compartment integrate-and-fire neurons. We used a mean-field theory to determine the response of a population of non-interacting neurons to inputs from populations of excitatory and inhibitory neurons40,41, (Supplementary Information). Pre-synaptic inputs were modeled as Poisson processes, with heterogeneous rate distribution (e.g., log-normal distribution). We determined the distribution of the voltage of the non-interacting neurons as a function of the number, strength and rate distribution of their pre-synaptic inputs. Using this approach, the time-average voltage of a post-synaptic neuron, V¯i, is (see Supplementary Information):1 V¯i=Vpas,i−τpas,iνi(Vth−Vr)

where νi is the firing rate of the i’th neuron and Vth − Vr is the difference between the threshold (Vth) and the reset voltage (Vr).

In the Supplementary Information, we analyzed Eq. (1) to show that in large models, the voltage values are very similar across all neurons (Fig. 2E, G). Specifically, the level of sub-threshold heterogeneity is a result of two terms; the first term (Vpas,i) is a result of bombarding a passive neuron with a large number of synapses that ‘shunts’ the soma and clamps the neurons to the same resting state. It is given by Ohm’s law, that connects between the somatic conductance and currents to the membrane potential. As the total number of synaptic inputs increase, the ratio of current to conductance tends to stabilize and becomes similar across neurons (Fig. 2G, diamonds). This is because the total current and conductance also increase with the number of inputs. With a large number of inputs, the diversity of current to conductance ratios among neurons decreases in proportion to the square root of the number of synapses (see Supplementary Information).

The second term of Eq. (1) depends on the neuronal firing rate, which varies considerably across neurons in the network. Each spike results in resetting the voltage from the neuronal threshold to its reset value, contributing to the voltage a factor of τpas,i(Vth − Vr), with τpas,i being the neuronal effective timescale. However, this resetting effect actually decreases the level of voltage heterogeneity, as it pushes the voltage of neurons that fire at high rates back to the reset value. In other words, the negative sign before the τpas,iνi(Vth − Vr) term implies that this term decreases the level of voltage heterogeneity (Fig. 2G, diamonds vs circles).

Taken together, the distribution of mean voltages across the population of neurons is expected to be very narrow. This is true for a wide range of neuronal firing rates (Fig. 2H), as the width of the distribution of mean voltages across the population vanishes with increasing number of synaptic inputs (Fig. 2E, G; Supplementary Information). Thus, classic network models that operate in the fluctuation-driven regime were consistent with spiking statistics in the cortex, but fundamentally failed to account for heterogeneity in sub-threshold statistics. The low level of voltage heterogeneity across neurons was an inevitable result of bombarding neurons with a large number of pre-synaptic inputs that clamped the voltage of all the neurons to more or less the same average voltage.

Increasing sub-threshold heterogeneity in neural networks by incorporating neuronal morphology

The previous section discussed a recurrent network consisting of simplified single-compartment neurons, also known as point neurons39–41. This simplification led to an increase in both the total somatic currents and the somatic conductance when more synapses were activated, such that their ratio was hardly impacted by current heterogeneities (see also Supplementary Information). As a result, when many synapses were active at the same time, the membrane potential of all neurons in the network was clamped to a similar voltage. This effect is also expected to be present in networks with neurons that have active currents that mimic spike generation (e.g., as in ref. 23). However, in reality, neurons have extended spatial structures and the impact of synaptic inputs on the somatic currents and membrane conductance varies depending on their proximity to the soma39. We hypothesized that the narrow voltage distribution observed in the model resulted from neglecting the neuronal morphology.

Specifically, it has been established that the effectiveness of activating a synapse on the changes in somatic conductance decreases rapidly with distance from the soma, at a rate that is twice as fast as its impact on the somatic currents42,43 (see also Fig. 3F, Fig. S2D, Fig. S3C and Methods). This means that by including the cell morphology in the models, it is likely that the total somatic conductance will not dramatically increase with the number of synaptic inputs (see also next section and Supplementary Information). Consequently, we hypothesized that when synapses are located along the dendrites, the clamping effect caused by the neuron’s leakiness will be less severe compared to when all synapses are concentrated on the somatic compartment, resulting in a broader voltage distribution across neurons.Fig. 3 Sub-threshold heterogeneity and the effect of distribution of synaptic inputs in a multi-compartment model of layer 5 pyramidal neuron.

A Simulations of a layer 5 pyramidal neuron with all AMPA (blue) and GABAA (orange) synapses located on the soma. Pre-synaptic Poisson neurons are simulated with firing rates sampled from the log-normal rate distribution of the pyramidal (blue) and fast-spiking (orange) ALM neurons. 75% excitatory and 25% inhibitory pre-synaptic neurons are simulated for each cell. B Same as (A) but when synapses are uniformly distributed along the dendritic tree. C The probability density function of the mean voltage is estimated from simulations of multiple realizations of neurons, with 1000 realization (varying both the location of synapses and pre-synaptic firing rates) in the case of a dendritic distribution of synapses and 100 realization (varying only firing rates) in the case of somatic distribution. In both cases with  ~ 2000 excitatory and inhibitory pre-synaptic neurons in total, for each neuron. Solid line: fit to a Gaussian distribution. D Top: Voltage heterogeneity against the number of synaptic connections. Bottom: SD of single neuron fluctuations against the number of synaptic connections. Gray: all synapses are on the soma. Black: synapses are distributed on the dendritic tree. Synaptic conductance in C-D was 1nS. E Modeling a network of point neurons that incorporate the location of the synapse along the dendritic tree (see main text, Methods and Fig. S2 for details). (i) Measuring the current and conductance changes at the soma of a simulated layer 5 pyramidal neuron, when activating a synapse on a dendrite. For each synapse we extract the attenuation (α) and visibility (Γ) parameters. (ii) An extended-like point neuron. The thicker the synapse is the larger its α, while the visibility parameter is color coded. (iii) The empirical distribution of {α, Γ}, estimated for each cell type, is then used to simulate a network model of spiking neurons that interact through Eq. (12). F Top: Attenuation vs. the distance of the synapse from soma for the cell in (E). Red line: fit to an exponential decay. Bottom: Same as top, but for the visibility parameter. Note that the decay rate of the visibility is around twice the decay rate of the attenuation parameter. Source data are provided as a Source Data file.

Most of the putative pyramidal cells we recorded in ALM were layer 5 neurons. Thus, to test our hypothesis, we first simulated a reconstructed layer 5 pyramidal neuron44,45 (Fig. 3A, B), in which the spiking activities of its pre-synaptic neurons were Poisson. For each pre-synaptic excitatory (inhibitory) neuron we sampled its spike rate from the log-normal distribution of ALM pyramidal (fast-spiking) neurons (see Fig. 1B, C). We repeated this process multiple times, each time sampling different synaptic locations on the dendrites and a set of pre-synaptic neurons with different spike rates from the log-normal rate distribution. We used it to calculate the distribution of mean voltages over the population of simulated neurons. When localizing all synapses on the soma (Fig. 3A) we found that, similarly to what happens in a network of point neurons, the distribution of mean voltages across the different realizations of the pyramidal neuron was extremely narrow (Fig. 3C). Voltage fluctuations (σV), as well as voltage heterogeneity (ΔV) both decreased with increasing number of synaptic inputs (gray lines in Fig. 3D). However, when distributing the same number of synapses on the dendritic tree (Fig. 3B), we observed that the width of the time-averaged voltage distribution increased significantly (Fig. 3C). Both the voltage heterogeneity and the size of the fluctuations weakly depended on the number of synaptic inputs (black lines Fig. 3D). This weak dependency was not merely a result of adding distal synapses that do not affect the somatic voltage, as the distal synapses contributed both to the sub-threshold statistics. For example, with synaptic density of 0.6 synapses per microns, taking off all distance synapses (above 100μm) increased the SD of the voltage of the neurons from 2.6mV to 3.3mV.

These results suggest that voltage heterogeneity can be substantial in large neural networks that operate in a fluctuation-driven regime, provided that one takes into account the neuronal morphology.

Network of point neurons that mimic an effective dendritic morphology

Encouraged by the single neuron simulations, we introduced a phenomenological network model of ‘extended-like’ point neurons that incorporated the effect of distributing synapses on the dendrites (Methods). Because of differences in how synaptic inputs affect the somatic currents and conductance (Fig. 3F, Fig. S2D and S3C39,42,43), we assumed that pre-synaptic action potentials affected the single neuron dynamics in two ways. The first was by changing the current arriving to the soma:2 Isoma(t)=gαs(t)(Vl−E)

where, as before, s(t) was a filtered version of the pre-synaptic spikes due to the synaptic time constant, Vl was the reversal potential of the leak current, g the synaptic strength and α was the attenuation parameter that modeled the decay in current change with the distance to the soma. The second contribution was an effective change in the neuronal conductance:3 gsoma(t)=gl+gΓs(t)

with the leak conductance gl. The visibility parameter, Γ, captured the change in somatic conductance as a result of opening of the synapse on the dendrite43. Thus, in this extended-like neuronal model all synapses were placed on a somatic compartment, but it effectively accounted for their location on the dendrites by changing their visibility and attenuation parameters. The case in which Γ = 1 corresponds to a pure ‘conductance-based model’ of a synapse, while if Γ = 0 the activation of a synapse induces a change in somatic currents but not in the neuron input conductance (‘current-based model’)46,47.

In this point neuron model, as the value of Γ decreases, the overall change in somatic conductance will be smaller, resulting in a looser clamp of the voltage membrane potential to the effective voltage. This leads to a wider range of time-average membrane potentials across different neurons. Indeed, through simulations of networks of spiking extended-like neurons, we found that using a smaller visibility parameter results in a wider distribution of mean-voltage (Fig. S5B-C). The mathematical analysis in the Supplementary Information supports this conclusion by showing that including visibility and attenuation parameters improves the ability to achieve wide voltage heterogeneity in large networks.

In order to understand how the parameters Γ and α are affected by different neuronal morphologies, we simulated multi-compartment neuronal models. We estimated these parameters for each synapse by measuring the change in somatic conductance and currents when activating a synapse on a dendrite and comparing it to the same changes in the phenomenological point model. These simulations were conducted under ‘in vivo conditions’, assuming that the effect of a single synapse should be measured while others are active. This method is detailed in the Methods section and is shown in Fig. 3E and Fig. S2A.

Following this procedure, activation of the same synapse on the dendrite and on the ‘extended-like’ model led to similar activation patterns at the soma (Fig. S3, Fig. S4). As expected, the steady state response (constant synaptic activation) showed an identical maximal voltage (Fig. S3B), with only small differences in the exact synaptic response due to the voltage waveform being affected by the path of the synaptic current to the soma (Fig. S3D, Fig. S4B48). Furthermore, although we estimated the visibility and attenuation parameters separately for each synapse, activating multiple synapses resulted in similar voltage dynamics for a wide range of inputs, with discrepancies only appearing for high numbers of pre-synaptic inputs (Fig. S4C).

Analysis of the estimated values of the visibility and attenuation parameters showed that they decayed with the distance of the synapse from the soma, and that the visibility was always lower than the attenuation (Fig. S2D, E, Fig. 3F, Fig. S3C, see also43). This effect can be understood through the passive cable theory. For example, in an infinite cylinder both the visibility and the attenuation parameters decay exponentially with the distance to the soma, but the former decays twice as fast than the latter (Fig. S3C). Intuitively, this is because a current that is injected at the soma (to measure the conductance change) must propagate to the synapse and then back to the soma43.

A detailed analysis of the distributions of α and Γ highlighted their dependence on the cellular morphology. Specifically, the estimated values of α and Γ for inhibitory basket cells, known for their electronic compactness compared to pyramidal neurons, exhibited larger magnitudes in comparison to the simulated pyramidal neuron’s estimated parameters (Fig. 3F and Fig. S2D). The average value of the visibility parameter for the layer 5 pyramidal neuronal model fell within a range of values capable of explaining the observed large CVISI and varied mean voltages in the anterior lateral motor cortex (ALM) (Fig. S5D−F; Fig. S6).

Networks of neurons with effective dendritic morphology can account for the data and the functional consequences of the visibility parameter

Equipped with the estimated distributions of α, Γ for a layer 5 pyramidal neuron and for a basket cell, we next simulated a network model of point neurons that interacted through the effective synapses (Eq. (2–3) and Eq. (12)). The attenuation and visibility parameters were randomly selected from the joint distribution, P(α, Γ), which we estimated using the multi-compartmental models (Fig. 3F, Fig. S2D). Similarly to networks that neglected the neuronal morphology (Fig. 2), the spiking statistics of the extended-like neurons resembled ALM activity (Fig. 4B–C). However, in these models, in contrast, the sub-threshold voltage distribution was wider (Fig. 4D and compare Figs. 4F and 2E) and resembled the sub-threshold voltage statistics of ALM neurons (Fig. 1E).Fig. 4 Supra- and sub-threshold statistics of neurons in networks of extended-like point neurons.

A Diagram of an ALM network model with attenuation and visibility parameters estimated from multi-compartment models of layer 5 pyramidal (blue) and basket (orange) cells. B CVISI vs. firing rate in the network for excitatory (blue) and inhibitory (orange) neurons. C Distribution of the log-rates in the network is well-approximated by a Gaussian distribution (solid lines). D Left: Activity of four example neurons. Right: Sub-threshold voltage distribution (excluding spikes) of one of the neurons. Solid line: fit to a Gaussian distribution. Purple line: neuronal threshold. E Voltage SD against mean voltage across the population for excitatory (blue) and inhibitory (orange) neurons. Red: linear fit with a slope (c; mean-SD correlation) and goodness-of-fit (R2). F Probability density function (pdf) of time-average voltage for the neurons in the networks. G Left: Theoretical prediction for the correlation between SD and mean voltage across the population in the case of current-based (Eq. (12), Γ = 0) integrate-and-fire neurons, plotted against the voltage SD (Supplementary Information, Eq. (22--23)). Right: Same as left, but for simulations of extended-like networks, as in (A-E). Each point corresponds to a network simulation with network parameters that keep the rate constant, but varies the voltage SD of the neurons. See parameters in Table 1. Source data are provided as a Source Data file.

Specifically, neurons were no longer clamped to an effective reversal and a distribution of time-average voltage in the network was observed. Furthermore, similarly to pyramidal neurons in ALM, the mean voltage and SDs across the excitatory population in the network were positively correlated (compare blue circles in Fig. 4E with Fig. 1G). This was in contrast to the inhibitory neurons that exhibited a higher level of voltage fluctuations, which were slightly negatively correlated with their mean voltage.

This difference in correlations of mean voltage and SDs for excitatory and inhibitory neurons can be understood through a threshold effect. In particular, we derived the sub-threshold statistics for the limiting case of purely current-based models (Γ = 0) and found that these correlations originated from a non-linear effect that depended on the level of fluctuations in the inputs to the neurons (see Methods). The correlations were positive in a low current noise regime, and negative for larger noise levels (Fig. 4G). Interestingly, due to the strong recurrent inhibition in the network, the current fluctuations to an inhibitory neuron in our simulations were larger than the fluctuations to an excitatory neuron. As a result, we observed a positive correlation for the excitatory population, but a negative or small correlation for the inhibitory population (Fig. 4E; see also Fig. S7G for negative correlations in inhibitory neurons in the somatosensory cortex).

We next sought to evaluate the impact of the visibility parameter on the functionality of the ALM network. In the ALM, a substantial portion of neurons exhibits preparatory activity selective to licking direction35. This neuronal selectivity is diverse (across neurons) at the spike level. Similar to supra-threshold selectivity, diversity in selectivity is observed at the average voltage level as well (Fig. 5B–C). Previous studies have demonstrated that this selectivity correlates with error trials49, with stronger selectivity in the network leading to less error trials. Therefore, we examined how the visibility parameter affects selectivity and network performance.Fig. 5 Sub-threshold heterogeneity in selectivity of ALM neurons to licking direction and functional implications of the visibility parameter.

ALM data in (A-C) and model in (D-I). A Recording area. B Top: Raster plot of spikes for lick right (blue) and left (red) trials; Middle: Peri-stimulus time histogram (PSTH) calculated using a 10ms window; Bottom: Average sub-threshold activity (excluding spikes) C Distribution of sub-threshold selectivity to licking direction (SIi=∣V¯iR−V¯iL∣, with V¯iR/l the average voltage for lick right/left of the i'th neuron). D Cartoon of a network with extended-like point neurons with visibility and attenuation parameters, estimated from multi-compartment simulations of layer 5 and basket cells. The recurrent connectivity combines a random component and a structured competitive component from the inhibitory neurons supporting bistability in the network. This bistability is the reason for the persistent and selective states in the network (see Methods and50). E Same as (B) but for examples of excitatory neurons in the model. F Same as (C), but for excitatory neurons in the model. G Raster plot of the excitatory neurons in the model. During the sample period, the input to the `lick left' population exceeds that of the `lick right' population, signaling a `lick left' trial. Successful `lick left' trials are determined by a higher rate of activity in the `lick left' population compared to the `lick right' population at the end of the delay period. H Similar to (G), depicting neural activity during the delay period, but in an incorrect trial. Notice the shift in population activity from encoding `lick left' to `lick right' (indicated by the arrow). I Performance (percentage of correct trials) and average selectivity index of neurons in the model against the average visibility parameter. Here, we scale visibility as x〈Γ〉, where 〈Γ〉 is derived from our multi-compartment model’s average visibility estimation. By running networks with different values of x, we find that reducing visibility (smaller values of x) contributes to stabilizing attractor states, leading to stronger selectivity and better performance. The data presented in (D)-(H) corresponds to average visibility of a network of layer 5 neurons with 〈Γ〉 = 0.16. See parameters in Table 1. Source data are provided as a Source Data file.

To investigate this, we introduced a structured recurrent motif into the initially unstructured recurrent connectivity (Fig. 5D). This introduced bistability into the network, leading to two competing populations of neurons (see50,35 and Supplementary Information). As a result, neurons in our network model, as in the data, displayed diverse selective responses during the delay period. This selectivity was evident in their supra- and sub-threshold voltage activity (Fig. 5E, F).

In certain trials, variations in voltage dynamics, stemming from the network operating in a fluctuation-driven regime, caused switches between the two attractors (Fig. 5G–H). We interpreted these trials as error trials, reminiscent of behaviors observed in mice35. Notably, we discovered that the occurrence of error trials depended on the visibility parameter. Indeed, by systematically adjusting the visibility parameter in our simulations, we observed that reducing this parameter enhanced neuron selectivity. This stabilized the attractors and ultimately resulted in superior performance, characterized by a reduction in error trials (Fig. 5I).

In conclusion, our results emphasize the significance of incorporating dendrite morphology into standard fluctuation-driven models to account for both spiking and sub-threshold voltage statistics in ALM neurons. The inclusion of dendrites in the network models served a functional role by increasing neuronal selectivity, leading to a reduction in error trials and an overall improvement in task performance.

Discussion

Spiking activity in the cortex is irregular and heterogeneous across neurons. Intrinsic recurrent network dynamics can account for these features by hypothesizing that excitatory and inhibitory inputs to a neuron are strong but they approximately balanced2,11,15. The net input current and its fluctuations are then of the same order. As a result, in this fluctuation-driven regime, fluctuations in synaptic inputs can drive neurons to fire action potentials irregularly with spike rates that vary across neurons11,13,51. Does the ‘balance hypothesis’ also explain the voltage statistics of the neurons?

We investigated this question by examining both the supra and sub-threshold voltage dynamics of neurons recorded from the anterior lateral motor cortex (ALM) in mice performing a decision-making task. We showed that the spiking patterns in the ALM can be explained by the presence of a large number of excitatory and inhibitory inputs, located on the neuronal somatic compartment, that balanced each other11,19,51. However, in terms of sub-threshold statistics, we found that the distribution of mean voltages in the data was much wider than in the model. Our simulations and mathematical analysis revealed that this was because excitatory and inhibitory inputs induced a large increase in the neuron input conductance, leading the voltage of neurons in the model to fluctuate around the same effective reversal potential close to the threshold.

Yet, in real neurons, synapses are distributed along the dendritic tree. When we incorporated the morphology of cortical neurons into our model, we discovered that the balance hypothesis explained not only the spiking statistics but also accounted for voltage statistics in ALM. We thus propose that the ALM operates in a fluctuation-driven regime, in which excitatory and inhibitory currents are balanced.

Sub-threshold neuronal activity in other cortical areas during behavior

Here we focused on the sub-threshold activity of ALM neurons. Distributions of average membrane potentials of excitatory neurons in ALM were wide, with an average approximately 10mV below their spike threshold. Notably, these findings align with similar sub-threshold patterns observed in neurons across other frontal areas during delay periods52.

In contrast, whole-cell recordings from sensory cortical areas revealed distinct characteristics. For example, excitatory neurons in visual cortex32 and auditory cortex53 exhibited synchronous fluctuations, remaining approximately 20mV below their spike threshold during spontaneous activity. A parallel observation in the vibrissal somatosensory area (vS1) layer 4 also indicated a significant hyperpolarization of excitatory neurons38.

In our Supplementary Information, we extended our analysis to layer 4 (Fig. S7) and layer 5 (Fig. S8) neurons in vS1 and developed a model of the vS1 layer 4 network (Fig. S10; see Methods and Supplementary Information). Similar to ALM neurons, we found that excitatory neurons in vS1 displayed heterogeneous mean voltages, with sub-threshold fluctuations comparable to ALM neurons (average standard deviation of 2 − 3mV). Notably, while vS1 excitatory neurons, especially in layer 4, were hyperpolarized38, we found that inhibitory neurons in vS1 were considerably more depolarized than their excitatory counterparts, with a distribution of distance to threshold that was very similar to the distribution of the ALM excitatory neurons. These results are consistent with recent reports54.

Based on these results and our model, we propose that the vS1 network operate in a ‘partially-balanced’ regime, were only the inhibitory population is balanced. Such a dynamical regime can emerge in network models when the ratio between the feedforward drive to the excitatory and inhibitory populations is disproportionately small compared to the recurrent inhibitory interactions11,51 (Methods). This finding is consistent with experimental results regarding thalamic input to layer 4 neurons in the vS1 cortex31,55,56. Future theoretical and experimental works should explore the functional implications of this partially balanced regime, investigate its presence in other brain regions, and assess how it varies in response to inputs and varying task demands.

Perspectives

We developed an extended point neuron model to address discrepancies with data that arose from the failure of traditional point neuron network models to explain heterogeneous sub-threshold activity. This model successfully overcame most discrepancies with the data. Through mathematical analysis (see Supplementary Information), we showed that such a model, that includes a mixture of current and conductance synapses, can produce finite conductance and current fluctuations by adjusting the average visibility of the synapses, Γ, instead of adjusting the connection strengths, as previously done in11 or41. Specifically, we demonstrated that by scaling Γ with the inverse of the number of pre-synaptic connections in the network (and thus α with the inverse of the square root of the number of pre-synaptic connections), we were able to ensure that both the neuronal conductance and current fluctuations were finite for large networks.

It is also worth noting that while decreasing Γ makes the network more like a ‘current-based’ network, the level of heterogeneity in the network cannot be as high as desired even if the network is made up of current-based synapses. In fact, the level of voltage fluctuations, σV, is closely related to the heterogeneity in voltage, ΔV, through the self-consistent equations that link inputs (currents) and outputs (firing rates) of the neurons (see Supplementary Information). Thus, in recurrent networks, the level of voltage fluctuations (over time) limits the amount of voltage heterogeneity (across neurons).

Incorporating a diverse range of in-degree connectivity in network models may increase voltage heterogeneity, but it also has the potential to push the network out of a balanced regime unless additional compensatory mechanisms are introduced57. It was recently argued that conductance-based networks can support a wider in-degree connectivity patterns41. Yet, we found that incorporating large heterogeneous in-degree distributions in our conductance-based networks that fit ALM activity only slightly increased the voltage heterogeneity without deviating significantly from log-normal shape of the rate distribution (Fig. S11B–D).

Despite the advancements our model brings to more biologically-relevant network models, there are other biological factors we did not model which could further increase voltage heterogeneity, once dendrites are included. For instance, we modeled the effect of activating simple AMPA/GABA synapses in multi-compartment models on the soma, but cortical neurons consist of non-linear NMDA synapses58,59, active non-linear ion channels that can lead to localized dendritic spike-like activity60,61, and different mechanisms (such as voltage-gated channels and gap junctions) that may affect the input resistance62,63. Incorporating such active voltage-dependent conductances in network models can further increase the voltage heterogeneity beyond what is gained from the neuronal morphology and is an important future direction.

Specifically, the number of synapses required to surpass a given distance-to-spike threshold can exhibit significant variation due to non-linear NMDA currents. Once a sufficient number of synapses are activated, a substantial voltage surge can occur, even with a relatively small synapse count, owing to the regenerative properties of NMDA receptors64,65. This non-linear phenomenon can diversify the range of the distances from spike thresholds. Indeed, our preliminary results indicate that incorporating NMDA receptors in multi-compartment models resulted in an elevated level of voltage heterogeneity, which notably increased with the number of synapses (not shown).

Finally, recent computational studies have highlighted the important role of different GABAergic cell types in the network dynamics28,66,67, which we did not include in our study. A future direction could be to incorporate our phenomenological point neurons, which allows to study the effect of targeting distal or proximal dendrites, in networks featuring a variety of cell types.

Limitations

We studied whether fluctuations in a cortical network were consistent with a mechanism in which they emerged from the recurrent network dynamics. In reality, membrane fluctuations are a combination of external and recurrent fluctuations, and the relative proportion can vary between areas, populations and behavioral states. Therefore, some of the variance in voltage fluctuations could be potentially attributed to non-local recurrent connections. It would be interesting to control for such unobserved external inputs for local cortical networks while measuring the neuronal membrane potential. This will potentially require multi-brain area recordings with voltage measurements to determine the respective contributions of feedforward and recurrent connectivity to membrane potential fluctuations of neurons.

We note that there were several factors that may have caused an overestimation of sub-threshold heterogeneity in the data. For example, previous studies have shown that the dynamics of membrane potential can vary substantially between cell types68,69. Although we analyzed the data separately for inhibitory and excitatory neurons, and separated the membrane potential dynamics of neurons in different cortical layers, it is still possible that our data contained a mixture of cell types. In fact, molecular studies suggest up to 100 different cell types in ALM70. Additionally, movements can significantly impact brain states and affect membrane potential dynamics69,71. We attempted to control for this by focusing on the delayed period in ALM neurons during which licking is minimal. However, we did not account for other types of animal movements (e.g. see10). Furthermore, we found that the mean voltage during the tactile task was slightly higher than during the auditory task, which may suggest that whisker movements affected ALM neurons (Fig. 1F). There were also several technical limitations in the recordings that could have contributed to overestimating the level of sub-threshold voltage heterogeneity (see Methods).

Furthermore, an important aspect of our research lies in establishing self-consistency between the distribution of spiking activity within the neuronal population and the distribution of sub-threshold activity. In the experimental data, the majority of supra-threshold activity is captured through extracellular recordings. It is acknowledged that this method tends to favor the selection of neurons with higher firing rates, introducing a potential bias. However, our simulations show that voltage heterogeneity remains considerably small in models of point neurons, even when we account for lower firing rates in our modeling (Fig. 2H).

Even with the limitations acknowledged, our work suggests that in standard point neuron network models operating in the balanced regime, the variation in sub-threshold voltage is minimal and it is unlikely to find neurons deviating far from their spike threshold (Fig. 2E). This lack of diversity in voltage dynamics in standard models, when not accounting for cell morphology, contrasts with observations made in the cortex, even if the standard deviation of time-average voltage of neurons in the cortex is lower than what we reported (see also Supplementary Information).

To conclude, our work suggest that the ALM operates in a fluctuation-driven regime, in which the excitatory and inhibitory currents are balanced. This observation aligns with a recent analysis examining the responses of ALM neurons’ average activity to optogenetic perturbations30. Theoretical works suggest that strong and balanced excitation and inhibition may be needed for neurons to generate selective responses that are robust to noise or generate stable memory states72, as found in the frontal cortex35,52. Notably, the inclusion of dendrites in our extended model seems to enhance the stability of memory states (Fig. 5I). Furthermore, neurons that are driven by fluctuations in their synaptic inputs are also very sensitive to heterogeneities in the network activity and connectivity23,24,50,73. This feature is beneficial in networks that undergo synaptic reorganization, as it allows the neurons to develop task-related activity during learning with minimal synaptic modifications30.

In the near future, advances in technologies will allow simultaneous recording of the sub-threshold activity of many cortical neurons (e.g.,74,75). Understanding the statistics of these measurements and how they vary with the dynamical state of the cortex will be a crucial step in gaining insight into the operating regime of the cortex and its functional implications.

Methods

Simulations were done using C++ and NEURON 7.8/8.2.76. Analyzes of simulations and data were done using Matlab (Mathworks), Python, NumPy77 and Matplotlib78. Data are presented as mean  ± standard deviation (SD), unless otherwise noted.

Behavior

Details of the delayed response task have been published previously34,35. Briefly, mice were trained to respond to an instruction cue by licking to one of two licking ports. For the auditory task, at the beginning of each trial, five tones were presented at one of two frequencies: 3 or 12 kHz (for lick-right and lick-left trials, respectively). The sample epoch (1.15 s total) was the time from onset of the first tone to the end of the last tone. A delay epoch followed the sample epoch and lasted for 1.2 s (for whole-cell recordings), or 2.0 s (for silicon probe recordings). An auditory ‘go’ cue separated the delay and the response epochs.

For the tactile delayed-response task (whole-cell recordings), at the beginning of each trial, a pole moved within reach of the whiskers. The sample epoch (1.4 s total) was the time from onset of the pole movement to completion of the pole retraction. It followed by a delay epoch of 1.2 s and then an auditory ‘go’ cue that separated the delay and the response epochs.

Details of the Go/NoGo behavioral paradigm have been published previously38. Briefly, mice were trained on a whisker-based lick/no-lick object localization task. A pole was presented in an anterior location or in one of several posterior locations. Mice licked a lick port to receive a water reward if the pole was in a posterior location and withheld licking if the pole was in an anterior position. In whole-cell recordings, either one (C2 or D2) or two whiskers (C1 and C2; D1 and D2; or C2 and C3) were spared.

Data analysis

Spiking statistics for ALM neurons were analyzed based on extracellular recordings using silicon probes of 667 putative pyramidal neurons and 74 putative fast-spiking neurons35. Inter-spike-intervals (ISI) were calculated for the delay or sample periods in each of the trials and were combined together in order to calculate the coefficient of variation of the inter-spike-intervals (ISI) of the neurons, which were calculated as the standard deviation of the ISI divided by the mean of the ISI distribution.

Spiking statistics for vS1 neurons were analyzed in a similar way. They were based on juxtacellular recordings of 95 regular spiking neurons and 43 putative fast-spiking neurons in layer 438, and 53 regular spiking neurons and 22 putative fast-spiking neurons in layer 579, with some of the fast-spiking neurons that were also identified as inhibitory neurons through optogenetic tagging79. Inter-spike-intervals (ISI) were calculated for each non-whisking epoch and were combined together in order to calculate the coefficient of variation of the inter-spike-intervals (ISI) of the neurons.

Membrane potentials of ALM and vS1 neurons were obtained based on whole-cell recordings. The recording details for ALM neurons are given in ref. 34,35 and for vS1 neurons in ref. 38. Recordings were done in a consistent manner across studies and were not corrected for liquid junction potentials. For ALM neurons, we combined two datasets from auditory and tactile delayed response task (crosses and circles in Fig. 1F–G, respectively). We analyze the membrane potential of neurons that exhibited stationary membrane potentials during the delay period (47/89 recorded neurons). For vS1 we had 37 L4E neurons and 38 L5E neurons. The mean voltage of the five FS interneurons of layer 5 and the eight layer 4 FS interneurons in vS1 were similar and we thus combined them for the analysis.

Spike threshold was defined as the moment when dV/dt first crossed 33% of its maximal value during the trial38. Spikes were removed by interpolating the 0.5ms pre-spike voltage with the 10ms post-spike voltage.

Mean and standard deviation (SD) of threshold were then calculated for each cell that spiked and mean and SD of the population threshold was calculated based on the cell-specific mean thresholds. To obtain the distance of ALM neurons to their spike threshold, we subtracted the mean threshold from the mean voltage of each neuron. For neurons that did not spike, we used the minimal threshold across all recorded ALM neurons as their spike threshold.

We then calculated the moments of the single-cell voltage distribution. Specifically, we concatenated all the non-whisking periods for neurons in the vS1, or during delay response periods for ALM neurons, after we subtracted the mean voltage at each epoch/period. We then calculated the SD and the skewness of these concatenated and mean-subtracted voltage traces for each neuron. To calculate the mean activity, we averaged the mean values of all epochs/periods. For neurons in vS1 we also corrected for possible drift in the mean voltage by first regressing the mean voltage per trial against the trial number, and then subtracting the slope of the regression from the voltage trace.

Limitations in estimating voltage heterogeneity in the data

We found that the time-average voltage of neurons had a wide distribution across neurons, with SD that could go up to 6 − 8mV. We note that this estimate was probably an upper bound for the real voltage distribution for several reasons; 1) Although we tried to control for the state of the network, for example by analyzing only non-whisking epochs or delay periods, the network state could still change over the course of recordings and between subjects. 2) There were inherent biases in the recordings. For example, in some cases the mean voltage was drifting over time. While we corrected for the drift, this might have been imperfect. 3) We used blind recordings, which were presumably targeting the soma, however it might be that in some cases the recordings were at dendrites or axons.

Mapping synapses on dendrites to synapses on an extended-like point neuron

Multi-compartment single neuron model

We used NEURON76 (Fig. 3, Figs. S2–S4) to simulate multi-compartmental models from the morphological reconstructions of three different cells from the mouse motor cortex layer 5 pyramidal cell, visual cortex layer 4 basket cell, and somatosensory layer 4 spiny stellate cell44,80,81 (neuromorpho IDs: NMO161366, NMO130658 and NMO02484 respectively).

Input resistances differ between in vitro to in vivo conditions, presumably due to the constant synaptic load which is much lower in a slice. For estimating α, Γ we simulated the model at in vivo conditions (see below), assuming that the effect of a single synapse should be measured while others are active. In contrast, for exploring the voltage distribution in Fig. 3 and Fig. S4, we simulated the model at in vitro conditions; We then activated the synapses by simulating pre-synaptic Poisson neurons with firing rates sampled from the log-normal rate distribution of the pyramidal and fast-spiking ALM neurons.

For in vitro conditions the specific membrane resistivity (Rm) for the pyramidal cell was set to 8, 000Ωcm2, for the basket cell to 14, 000Ωcm2, and for the spiny stellate cell to 10, 000Ωcm2. This yielded an input resistance (Rin) of 108, 160, 302MΩ, respectively. These values are within the experimental range measured in vitro82–84. For in vivo conditions, Rm for the pyramidal cell was set to 3500Ωcm2, for the basket cell to 3000Ωcm2, and for the spiny stellate cell to 1000Ωcm2. This yielded an input resistance (Rin) of 62, 59, 45MΩ, respectively. These values are within the experimental range measured in vivo34,85,86. When mapping the synapses to a point-like neuron (Figs. S3 and S4), we created a single compartment model with the same Rm and changed the size of the compartment to reach the same Rin as in the full model.

All multi-compartmental models had an axial resistance (Ra) of 100 Ωcm, and specific membrane capacitance (C) of 1μF/cm2. Unless specified otherwise, synaptic conductance in the models was set to 0.5nS, with reversal potential of 0mV and  − 80mV for the excitatory and inhibitory synapses, respectively and rise and decay time constants of 0.3ms and 10ms, respectively.

Estimating the change in somatic conductance and somatic current upon activation of one synapse in a multi-compartment model

Opening of a synapse on a dendrite results in variations in the neuronal conductance, as measured at the soma, as well as the current flowing into the soma. The effectiveness of these changes reduces as a function of the distance of the synapse from the soma. Our goal was to construct a one-compartment model of the soma, in which all synapses are located on the same compartment, but that also effectively accounts for their location on the dendrites. To this end, we used a multi-compartment model and opened a synapse on a dendrite while measuring the conductance and current changes at the soma. We then constructed a one-compartment model and parameterized its synapses such that activating a synapse on the somatic compartment would result in the same amount of conductance and current changes as the synapse in the multi-compartment model

Specifically, let us consider a synapse of conductance g located on the dendrite of a neuron. We first measured the somatic voltage change, ΔVsyni, upon activating the i’th synapse on the dendrite (static response; Fig. S2A). We then measured the somatic voltage change, ΔVIi, in response to an additional current step injected at the soma, I. We calculated the somatic conductance:4 gsomai=IΔVIi.

and defined the visibility of the synapse that captured the change in somatic conductance, normalized by the maximal possible change43:5 Γi=Δgsomaig=gsomai−glg

with the neuronal conductance, gl, measured before the activation of the synapse.

We next approximated the current arriving at the soma upon activating the synapse on the dendrite, Isomai=gsomaiΔVsyni, and defined the attenuation parameter, αi, which approximated the decay in current, normalized by the maximal possible current that the i’th synapse could inject as:6 αi=gsomaiΔVsyni−g(Vl−E)

Here, E is the reversal potential of the synapse and Vl the reversal potential of the leak current. Both the visibility and attenuation parameters decay with the electrotonic distance of the synapse from the soma (Fig. S3A-C).

We determined the spatial dependence of the attenuation and of the visibility parameters by performing this calculation for each synapse while changing the location of the synapse on the dendritic tree. This provided us with the empirical distribution of {αi, Γi} for each of the multi-compartment model considered. Importantly, we found that the visibility parameter decayed with the distance of the synapse from the soma much faster than the attenuation parameter. For example, the visibility parameter in an infinite cylinder with small synaptic conductance followed Γ(x) ∝ e−2x/λ, with λ the space constant and x the distance of the synapse from the soma. On the other hand, the attenuation parameter decayed more slowly, α(x) ∝ e−x/λ (Fig. S3C)43.

An extended-like point neuron model

For the effective one-compartment model, we considered a neuron in which its membrane potential followed:7 CdV(t)dt=−gsomai(t)(V(t)−Vl)−Isomai(t)−I

where C, Vl are the capacitance and reversal membrane potential, I was the current injected into the compartment, and where we omitted the post-synaptic index to simplify notations.

We modeled the change in neuronal conductance due to opening of the i’th synapse to be linear in the synaptic conductance:8 gsomai(t)=gl+gΓisi(t)

with the leak conductance, gl. The change in synaptic conductance induced by a pre-synaptic spike was g, and si(t) was a filtered version of the pre-synaptic spike. The visibility parameter, Γi, was estimated from the multi-compartment model (see above).

The effective change in current arriving at the compartment due to the opening of a synapse was modeled as:9 Isomai(t)=gαisi(t)(Vl−E)

where E is the synaptic reversal potential. The attenuation parameter, αi, which modeled the decay in somatic potentials when activating synapses that are far from the soma, was estimated from the multi-compartment model.

This choice of modeling guaranteed that opening the i’th synapse with its estimated αi, Γi in the effective one-compartment model and on the dendrite of the multi-compartment model would lead to comparable changes (at a steady state) in somatic currents and conductance in both models (Fig. S3B). Obviously, it does not account for the reduction in high-frequency response caused by dendritic filtering48,87. Yet, this effect is not large (Figs. S3D and S4B). In addition, the model’s approximation of somatic activity when each synapse is active separately may lead to deviations from the full model when multiple synapses are active simultaneously. This is due to interactions between synapses and deviations from the estimated leak conductance. These deviations are relatively small, and occur mainly when a large number of synapses are active (Fig. S4C).

Inserting Eqs. (8) and (9) into Eq. (7), rearranging, and omitting the synaptic index to simplify notations yields:10 CdV(t)dt=−gl(V(t)−Vl)−gΓs(t)(V(t)−E)+gΓs(t)(Vl−E)−gαs(t)(Vl−E)−I

We next wrote Γ = αρ and rewrote Eq. (10) as:11 CdV(t)dt=−gl(V(t)−Vl)−Isyn(t)−I

where12 Isyn(t)=gαs(t)ρ(V(t)−E)+(1−ρ)((Vl−E))

With this formulation, the parameter ρ interpolated between a fully ‘conductance-based’ model of the synapse (ρ = 1), in which a pre-synaptic spike led to a transient change in the post-synaptic conductance, and a fully ‘current-based’ model (ρ = 0), in which post-synaptic conductance was independent of pre-synaptic spikes23,46,47. We thus refer to ρ as the mixing parameter.

Finally, we note that the average mixing parameter that we estimated using the multi-compartment model only weakly depended on g. However, the average attenuation parameter decreased with g. Yet, any change in the average attenuation could be compensated through increasing the strengths of the synapses in our network models in a way that best fit the sub-threshold fluctuations. It is thus sufficient to estimate α, ρ from the multi-compartment model only for one fixed value of g.

Spiking neuronal network

We consider a network of NE excitatory and NI inhibitory neurons randomly connected. We denote by Λ the adjacency matrix of the network connectivity, defined as Λijab=1 with probability pa = Ka /Na and Λijab=0 otherwise. Here, a, b ∈ {E, I } and i, j = 1. . . Na. Each neuron thus receives, on average, KE and KI synaptic inputs.

Neurons are modeled as leaky integrate-and-fire elements. The membrane potential of neuron (i, a), Via(t), obeys13 CdVia(t)dt=−Il,ia−Irec,ia(t)−Iext,ia

where C is the capacitance, Il,ia=gl(Via(t)−Vl) is the leak current whose reversal potential is Vl and gl the leak conductance. Whenever the voltage reaches a threshold, Via(t)=Vth, it is reset to Via(t)=Vr.

Following the reduction procedure explained above, the recurrent input, Irec,ia(t), into neuron (i, a) is modeled as14 Irec,ia(t)=∑j,bgijabαijabsjb(t)ρijab(Via(t)−Eb)+(1−ρijab)(Vl−Eb)

where Eb is the synaptic reversal potential and sjb(t):τsyndsjb(t)dt=−sjb(t)+∑{tjb}δ(t−tjb)

Here, τsyn is the synaptic time constant and the sum is over all spikes emitted by neuron (j, b) at times tjb < t.

As in Eq. (12), the parameter 0≤ρijab≤1 interpolates the synapses from being fully conductance synapses (ρijab=1) to fully current synapses (ρijab=0). The parameter 0≤αijab≤1 models the attenuation of the synaptic activity as a function of its distance from the soma, with small αijab for synapses that are far from the soma. Note that results of multi-compartment simulations shows that αijab and ρijab are correlated. Yet, in the homogeneous case, for which ρijab,αijab and synaptic strengths are the same for all neurons within a population (Figs. S5–6), we absorb the parameter α into the synaptic strengths, gab.

Importantly, in the mean-field limit, the sub-threshold voltage distributions only depend on the mean and variance of the changes in synaptic conductance, gijab, and not on their specific distributions (e.g. uniform or log-normal). Thus, for simplicity, the synaptic conductances in our model, gijab, depend only on the population types ( gab=ḡab/Kb, with ḡab independent of the number of connections11,51). In fact, even in this case, because of the distribution of αijab, there is a distribution of EPSPs and IPSPs values.

Finally, we model the external input, Iext,ia(t), as15 Iext,ia(t)=KEĪext,a+qext,aziextρext(Via(t)−EE)+(1−ρext)(Vl−EE)

with ziext being a Gaussian random variable with zero mean and unity variance and Īext,a is of O(1)51. Here, to simplify simulations, we modeled the feed-forward synapses with an average parameter ρext and absorbed the attenuation parameter into the input strength.

A partially-balanced regime

We establish the concept of the ‘partially-balanced regime’ as a state where the excitatory neurons remain inactive, leading to an imbalance in their inputs, whereas the inhibitory neurons maintain balanced inputs. This regime is defined mathematically by the violation of certain conditions that uphold the balanced regime. Specifically, in a partially-balanced regime, ḡEIḡII≥ḡEEḡIE, akin to the balanced regime. However, in contrast, Īext,EĪext,I<ḡEIḡII (see also51).

It’s worth noting that when Īext,EĪext,I=ḡEIḡII, the excitatory neurons enter a quiescent state while maintaining balanced inputs. However, this equality requires fine-tuning of the recurrent inhibition and feedforward excitation, which in turn limits the robustness of such a dynamical state.

Choice of network parameters

Parameters of the spiking networks are given in Table 1. We chose the network connectivity and external drive parameters so that the firing rate distributions of the neurons in the population matched the experimental data. For the layer 4 model of vS1, we selected parameters that resulted in quiescent excitatory neurons and active inhibitory neurons. This was achieved by violating the conditions that maintain the balance regime (see above). Our simulations also confirmed that reducing the ratio Īext,EĪext,I led to silent excitatory neurons. This is the major difference between the parameters of the ALM model network and the vS1 layer 4 model network. Additionally, to match the estimated number of neurons in vS1 layer 4, we simulated smaller networks than those used in ALM31,88, but found similar results even in larger networks. Interestingly, in the context of supra-stabilized networks (SSN)89, this partially-balanced regime is linked to the phenomenon of supersaturation, in which the external input to the excitatory population is insufficient, resulting in a silent excitatory population and active inhibitory neurons90.Table 1 Network simulation parameters for figures in main text

	Neuron parameters	Fig. 2	Fig. 4 (random)	Fig. 5 (bistability)	
dt	Simulation time step	0.1 ms	0.5 ms	0.1 ms	
gl	Neuronal conductance	0.1mS/cm2			
C	Neuronal capacitance	1μF/cm2			
Vth	Spike threshold	−40mV			
Vr	Voltage reset after spike	−52mV			
Vl	Voltage reset after spike	−55mV			
EE	Reversal potential of exc synapses	0mV			
EI	Reversal potential of inh synapses	−80mV			
	Network parameters				
τsyn	Synaptic time constant	3 ms			
N	Number of neurons	40000	10000	1000	
NE	Number of excitatory neurons	32000	8000	8000	
NI	Number of inhibitory neurons	8000	2000	2000	
KE	Average number of exc synapses to a neuron	400			
KI	Average number of inh synapses to a neuron	400			
pa	Connection probability	Ka/Na			
ḡEE	exc to exc synaptic weight	0.00133mS/cm2	0.0026	0.00347	
ḡIE	exc to inh synaptic weight	0.02mS/cm2	0.039	0.05	
ḡII	inh to inh synaptic weight	0.133mS/cm2	0.22	0.15	
ḡEI	inh to exc synaptic weight	0.08mS/cm2	0.156	0.10	
αijab	Attenuation parameter	1	estimated	estimated	
ρijab	Mixing parameter	1	estimated	estimated	
Īext,E	External input to exc	0.00533μA	0.0028	0.0019	
Īext,I	External input to inh	0.00747μA	0.006	0.004	
qext,E	Disorder in external input to exc	0.008μA			
qext,I	Disorder in external input to inh	0.005μA			
ρext	Average mixing parameter of ext inputs	1	0	0	
gs	Selective inh-to-inh ratio	0	0	5	
Īext,E1	External input during the delay period to exc	0	0	0.00045mS/cm2	
Īext,I1	External input during the delay period to inh	0	0	0.0006mS/cm2	

To model the synchronous external drive of layer 4 vS1 network we added to KĪext,a in Eq. (15) another brief external drive of KĪext,a1, with Īext,E1=0.012μA and Īext,I1=0.012μA, for 10ms, which instantaneously drove the excitatory neurons also to be in a balanced regime.

Network architecture for a balanced network that supports persistent activity through bistability

Neurons in ALM tend to exhibit persistent, or slow, dynamics during the delay period35. To model this, we added to the random connectivity of ALM network model additional structured connections as in50. These additional structured connections allowed the balanced network to be bistable without breaking the EI balance.

We follow50 and model an additional selective feedforward input into each population, excitatory or inhibitory, that consists of two subsets of neurons, namely left (L) and right (R) selective neurons. Before the instruction appears this additional feedforward input, IS,ia(t), is zero for all neurons. Upon presentation of a right stimulus, IS,ia(t) into R-selective neurons is stronger than for the L-selective neurons, and vice versa, while during delay period this input is constant and equal to both L and R populations. Specifically, instead of Eq. (15) we takeIext,ia(t)=KEĪext,a+qext,aziext+IS,ia(t)ρext(Via(t)−EE)+(1−ρext)(Vl−EE)

with the inputIS,ia(t)=Īext,a1(1+ϵΘ(t−T1)Θ(T2−t))

that is non-zero only during sample and delay periods (that last 2100ms). The parameter ϵ is positive for R trials and negative for L trials, Θ(x) is the Heaviside function, T2 − T1 is the sample duration (100ms in simulations) and with Īext,a1=O(1). Thus, there is no selective feedforward input to neurons in the model during delay period.

We denote the subset of R-selective (L-selective) neurons in population a by Ra (La). Neuron (i, a) ∈ Ra if i=1,...,Na2 and (i, a) ∈ La if i=Na2+1,...,Na.

The recurrent connectivity in this extended model has two components. One is functionally specific and the other is not. The non-specific component is fully random, Erdős-Rényi (ER) graph, and does not depend on the selectivity of the pre- and post-synaptic neurons. The competition between the left (L) and the right (R) selective neurons is mediated by an additional set of connections. These connections are specific and are much less numerous, but stronger than the unspecific ones. There are no specific connections from the excitatory neurons to other neurons. The probability for a specific connection from an inhibitory neuron to another excitatory or inhibitory neurons is pαS=2KINI. Therefore, each neuron (excitatory as well as inhibitory) receives, on average, K connections from inhibitory neurons whose selectivities are different from its own, and on average K non-selective inhibitory connections.

The strength of the specific connections depends solely on the neurons’ type, gaI gS, with gS determining the strength of the selective synapses with respect to the non-selective, random, connections. It is non-zero only in the simulations of Fig. 5. The total current into neuron (i, α) due to the recurrent interactions follows Eq. (14), with the recurrent connections given by gijaI=(gaIΛijaI+gSgaIΛ~ijaI), with ΛijaI the adjacency matrix of an ER graph with pa=KaNa, and Λ~ijab the adjacency matrix of another ER graph with paS=2KaNa.

With this architecture and feedforward input both the excitatory and inhibitory neurons in the network are selective to the licking directions, both during the sample and without selective feedforward input during the delay period.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.

Supplementary information

Supplementary Information

Peer Review File

Reporting Summary

Source data

Source Data

Supplementary information

The online version contains supplementary material available at 10.1038/s41467-024-51390-x.

Acknowledgements

We would like to thank Larry Abbott, Sandro Romani, Tim Vogels, Alessandro Sanzeni and Nelson Spruston for their valuable feedback. This work was supported by the Howard Hughes Medical Institute.

Author contributions

R.D. and O.A. conceived the research, ran simulations and analyzed the data. R.D. did the analytical calculations. H.I., J.Y. and K.S. designed the experiments. H.I. and J.Y. collected the experimental data. O.A., R.D., and K.S. wrote the paper, with inputs from H. I. and J.Y.

Peer review

Peer review information

Nature Communications thanks Michael London, Alexandre Mahrach and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. A peer review file is available.

Data availability

Source data are provided with this paper. Electrophysiological data for vS1 neurons (see79) in NWB2.0 format (https://neurodatawithoutborders.github.io/) are available at Figshare (https://figshare.com; 10.25378/janelia.8869115) and for ALM neurons (see35) at (10.25378/janelia.7489253). Source data are provided with this paper.

Code availability

Code is available at https://github.com/orena1/sub-threshold-statistics(10.5281/zenodo.12534519).

Competing interests

The authors declare no competing interests.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
==== Refs
References

1. Softky WR Koch C The highly irregular firing of cortical cells is inconsistent with temporal integration of random epsps J. Neurosci. 1993 13 334 350 10.1523/JNEUROSCI.13-01-00334.1993 8423479
Softky, W. R. & Koch, C. The highly irregular firing of cortical cells is inconsistent with temporal integration of random epsps. J. Neurosci. 13, 334–350 (1993).8423479 10.1523/JNEUROSCI.13-01-00334.1993
2. Shadlen MN Newsome WT The variable discharge of cortical neurons: implications for connectivity, computation, and information coding J. Neurosci. 1998 18 3870 3896 10.1523/JNEUROSCI.18-10-03870.1998 9570816
Shadlen, M. N. & Newsome, W. T. The variable discharge of cortical neurons: implications for connectivity, computation, and information coding. J. Neurosci. 18, 3870–3896 (1998).9570816 10.1523/JNEUROSCI.18-10-03870.1998
3. Compte A Temporally irregular mnemonic persistent activity in prefrontal neurons of monkeys during a delayed response task J. Neurophysiol. 2003 90 3441 3454 10.1152/jn.00949.2002 12773500
Compte, A. et al. Temporally irregular mnemonic persistent activity in prefrontal neurons of monkeys during a delayed response task. J. Neurophysiol. 90, 3441–3454 (2003).12773500 10.1152/jn.00949.2002
4. Griffith J Horn G An analysis of spontaneous impulse activity of units in the striate cortex of unrestrained cats J. Physiol. 1966 186 516 10.1113/jphysiol.1966.sp008053 5972156
Griffith, J. & Horn, G. An analysis of spontaneous impulse activity of units in the striate cortex of unrestrained cats. J. Physiol. 186, 516 (1966).5972156 10.1113/jphysiol.1966.sp008053
5. Hromádka T DeWeese MR Zador AM Sparse representation of sounds in the unanesthetized auditory cortex PLoS Biol. 2008 6 e16 10.1371/journal.pbio.0060016 18232737
Hromádka, T., DeWeese, M. R. & Zador, A. M. Sparse representation of sounds in the unanesthetized auditory cortex. PLoS Biol. 6, e16 (2008).18232737 10.1371/journal.pbio.0060016
6. O’Connor DH Peron SP Huber D Svoboda K Neural activity in barrel cortex underlying vibrissa-based object localization in mice Neuron 2010 67 1048 1061 10.1016/j.neuron.2010.08.026 20869600
O’Connor, D. H., Peron, S. P., Huber, D. & Svoboda, K. Neural activity in barrel cortex underlying vibrissa-based object localization in mice. Neuron 67, 1048–1061 (2010).20869600 10.1016/j.neuron.2010.08.026
7. Buzsáki G Mizuseki K The log-dynamic brain: how skewed distributions affect network operations Nat. Rev. Neurosci. 2014 15 264 278 10.1038/nrn3687 24569488
Buzsáki, G. & Mizuseki, K. The log-dynamic brain: how skewed distributions affect network operations. Nat. Rev. Neurosci. 15, 264–278 (2014).24569488 10.1038/nrn3687
8. Ahmadian, Y. & Miller, K. D. What is the dynamical regime of cerebral cortex? Neuron 109, 3373–3391 (2021).
9. Hires SA Gutnisky DA Yu J O’Connor DH Svoboda K Low-noise encoding of active touch by layer 4 in the somatosensory cortex Elife 2015 4 e06619 10.7554/eLife.06619 26245232
Hires, S. A., Gutnisky, D. A., Yu, J., O’Connor, D. H. & Svoboda, K. Low-noise encoding of active touch by layer 4 in the somatosensory cortex. Elife 4, e06619 (2015).26245232 10.7554/eLife.06619
10. Stringer, C. et al. Spontaneous behaviors drive multidimensional, brainwide activity. Science, 364, p.eaav7893 (2019).
11. van Vreeswijk C Sompolinsky H Chaos in neuronal networks with balanced excitatory and inhibitory activity Science 1996 274 1724 1726 10.1126/science.274.5293.1724 8939866
van Vreeswijk, C. & Sompolinsky, H. Chaos in neuronal networks with balanced excitatory and inhibitory activity. Science 274, 1724–1726 (1996).8939866 10.1126/science.274.5293.1724
12. Amit DJ Brunel N Model of global spontaneous activity and local structured activity during delay periods in the cerebral cortex Cereb. cortex (N. Y., NY: 1991) 1997 7 237 252 10.1093/cercor/7.3.237
Amit, D. J. & Brunel, N. Model of global spontaneous activity and local structured activity during delay periods in the cerebral cortex. Cereb. cortex (N. Y., NY: 1991) 7, 237–252 (1997).10.1093/cercor/7.3.237
13. Brunel N Dynamics of sparsely connected networks of excitatory and inhibitory spiking neurons J. computational Neurosci. 2000 8 183 208 10.1023/A:1008925309027
Brunel, N. Dynamics of sparsely connected networks of excitatory and inhibitory spiking neurons. J. computational Neurosci. 8, 183–208 (2000).10.1023/A:1008925309027
14. Hertz, J., Lerchner, A. & Ahmadi, M. Mean field methods for cortical network dynamics. In International School on Neural Networks, Initiated by IIASS and EMFCSC, 71–89 (Springer, 2003).
15. Vogels TP Rajan K Abbott LF Neural network dynamics Annu. Rev. Neurosci. 2005 28 357 10.1146/annurev.neuro.28.061604.135637 16022600
Vogels, T. P., Rajan, K. & Abbott, L. F. et al. Neural network dynamics. Annu. Rev. Neurosci. 28, 357 (2005).16022600 10.1146/annurev.neuro.28.061604.135637
16. Destexhe A Rudolph M Fellous J-M Sejnowski TJ Fluctuating synaptic conductances recreate in vivo-like activity in neocortical neurons Neuroscience 2001 107 13 24 10.1016/S0306-4522(01)00344-X 11744242
Destexhe, A., Rudolph, M., Fellous, J.-M. & Sejnowski, T. J. Fluctuating synaptic conductances recreate in vivo-like activity in neocortical neurons. Neuroscience 107, 13–24 (2001).11744242 10.1016/S0306-4522(01)00344-X
17. Van Vreeswijk, C. & Sompolinsky, H. Irregular activity in large networks of neurons. Methods and models in neurophysics. Amsterdam: Elsevier (2005).
18. Renart A The asynchronous state in cortical circuits science 2010 327 587 590 10.1126/science.1179850 20110507
Renart, A. et al. The asynchronous state in cortical circuits. science 327, 587–590 (2010).20110507 10.1126/science.1179850
19. Roxin A Brunel N Hansel D Mongillo G van Vreeswijk C On the distribution of firing rates in networks of cortical neurons J. Neurosci. 2011 31 16217 16226 10.1523/JNEUROSCI.1677-11.2011 22072673
Roxin, A., Brunel, N., Hansel, D., Mongillo, G. & van Vreeswijk, C. On the distribution of firing rates in networks of cortical neurons. J. Neurosci. 31, 16217–16226 (2011).22072673 10.1523/JNEUROSCI.1677-11.2011
20. Hansel D Mato G Short-term plasticity explains irregular persistent activity in working memory tasks J. Neurosci. 2013 33 133 149 10.1523/JNEUROSCI.3455-12.2013 23283328
Hansel, D. & Mato, G. Short-term plasticity explains irregular persistent activity in working memory tasks. J. Neurosci. 33, 133–149 (2013).23283328 10.1523/JNEUROSCI.3455-12.2013
21. Rosenbaum R Smith MA Kohn A Rubin JE Doiron B The spatial structure of correlated neuronal variability Nat. Neurosci. 2017 20 107 114 10.1038/nn.4433 27798630
Rosenbaum, R., Smith, M. A., Kohn, A., Rubin, J. E. & Doiron, B. The spatial structure of correlated neuronal variability. Nat. Neurosci. 20, 107–114 (2017).27798630 10.1038/nn.4433
22. Darshan R Van Vreeswijk C Hansel D Strength of correlations in strongly recurrent neuronal networks Phys. Rev. X 2018 8 031072
Darshan, R., Van Vreeswijk, C. & Hansel, D. Strength of correlations in strongly recurrent neuronal networks. Phys. Rev. X 8, 031072 (2018).
23. Hansel D van Vreeswijk C The mechanism of orientation selectivity in primary visual cortex without a functional map J. Neurosci. 2012 32 4049 4064 10.1523/JNEUROSCI.6284-11.2012 22442071
Hansel, D. & van Vreeswijk, C. The mechanism of orientation selectivity in primary visual cortex without a functional map. J. Neurosci. 32, 4049–4064 (2012).22442071 10.1523/JNEUROSCI.6284-11.2012
24. Pehlevan C Sompolinsky H Selectivity and sparseness in randomly connected balanced networks PloS one 2014 9 e89992 10.1371/journal.pone.0089992 24587172
Pehlevan, C. & Sompolinsky, H. Selectivity and sparseness in randomly connected balanced networks. PloS one 9, e89992 (2014).24587172 10.1371/journal.pone.0089992
25. Pattadkal JJ Mato G van Vreeswijk C Priebe NJ Hansel D Emergent orientation selectivity from random networks in mouse visual cortex Cell Rep. 2018 24 2042 2050 10.1016/j.celrep.2018.07.054 30134166
Pattadkal, J. J., Mato, G., van Vreeswijk, C., Priebe, N. J. & Hansel, D. Emergent orientation selectivity from random networks in mouse visual cortex. Cell Rep. 24, 2042–2050 (2018).30134166 10.1016/j.celrep.2018.07.054
26. Haider B Duque A Hasenstaub AR McCormick DA Neocortical network activity in vivo is generated through a dynamic balance of excitation and inhibition J. Neurosci. 2006 26 4535 4545 10.1523/JNEUROSCI.5297-05.2006 16641233
Haider, B., Duque, A., Hasenstaub, A. R. & McCormick, D. A. Neocortical network activity in vivo is generated through a dynamic balance of excitation and inhibition. J. Neurosci. 26, 4535–4545 (2006).16641233 10.1523/JNEUROSCI.5297-05.2006
27. Okun M Lampl I Instantaneous correlation of excitation and inhibition during ongoing and sensory-evoked activities Nat. Neurosci. 2008 11 535 537 10.1038/nn.2105 18376400
Okun, M. & Lampl, I. Instantaneous correlation of excitation and inhibition during ongoing and sensory-evoked activities. Nat. Neurosci. 11, 535–537 (2008).18376400 10.1038/nn.2105
28. Mahrach A Chen G Li N van Vreeswijk C Hansel D Mechanisms underlying the response of mouse cortical networks to optogenetic manipulation Elife 2020 9 e49967 10.7554/eLife.49967 31951197
Mahrach, A., Chen, G., Li, N., van Vreeswijk, C. & Hansel, D. Mechanisms underlying the response of mouse cortical networks to optogenetic manipulation. Elife 9, e49967 (2020).31951197 10.7554/eLife.49967
29. Sanzeni A Inhibition stabilization is a widespread property of cortical networks Elife 2020 9 e54875 10.7554/eLife.54875 32598278
Sanzeni, A. et al. Inhibition stabilization is a widespread property of cortical networks. Elife 9, e54875 (2020).32598278 10.7554/eLife.54875
30. Kim CM Finkelstein A Chow CC Svoboda K Darshan R Distributing task-related neural activity across a cortical network through task-independent connections Nat. Commun. 2023 14 2851 10.1038/s41467-023-38529-y 37202424
Kim, C. M., Finkelstein, A., Chow, C. C., Svoboda, K. & Darshan, R. Distributing task-related neural activity across a cortical network through task-independent connections. Nat. Commun. 14, 2851 (2023).37202424 10.1038/s41467-023-38529-y
31. Gutnisky DA Mechanisms underlying a thalamocortical transformation during active tactile sensation PLoS computational Biol. 2017 13 e1005576 10.1371/journal.pcbi.1005576
Gutnisky, D. A. et al. Mechanisms underlying a thalamocortical transformation during active tactile sensation. PLoS computational Biol. 13, e1005576 (2017).10.1371/journal.pcbi.1005576
32. Tan AY Chen Y Scholl B Seidemann E Priebe NJ Sensory stimulation shifts visual cortex from synchronous to asynchronous states Nature 2014 509 226 229 10.1038/nature13159 24695217
Tan, A. Y., Chen, Y., Scholl, B., Seidemann, E. & Priebe, N. J. Sensory stimulation shifts visual cortex from synchronous to asynchronous states. Nature 509, 226–229 (2014).24695217 10.1038/nature13159
33. Larkum, M. Are dendrites conceptually useful? Neuroscience, (2022).
34. Guo ZV Maintenance of persistent activity in a frontal thalamocortical loop Nature 2017 545 181 186 10.1038/nature22324 28467817
Guo, Z. V. et al. Maintenance of persistent activity in a frontal thalamocortical loop. Nature 545, 181–186 (2017).28467817 10.1038/nature22324
35. Inagaki HK Fontolan L Romani S Svoboda K Discrete attractor dynamics underlies persistent activity in the frontal cortex Nature 2019 566 212 217 10.1038/s41586-019-0919-7 30728503
Inagaki, H. K., Fontolan, L., Romani, S. & Svoboda, K. Discrete attractor dynamics underlies persistent activity in the frontal cortex. Nature 566, 212–217 (2019).30728503 10.1038/s41586-019-0919-7
36. Guo ZV Flow of cortical activity underlying a tactile decision in mice Neuron 2014 81 179 194 10.1016/j.neuron.2013.10.020 24361077
Guo, Z. V. et al. Flow of cortical activity underlying a tactile decision in mice. Neuron 81, 179–194 (2014).24361077 10.1016/j.neuron.2013.10.020
37. Shinomoto S Shima K Tanji J Differences in spiking patterns among cortical neurons Neural Comput. 2003 15 2823 2842 10.1162/089976603322518759 14629869
Shinomoto, S., Shima, K. & Tanji, J. Differences in spiking patterns among cortical neurons. Neural Comput. 15, 2823–2842 (2003).14629869 10.1162/089976603322518759
38. Yu J Gutnisky DA Hires SA Svoboda K Layer 4 fast-spiking interneurons filter thalamocortical signals during active somatosensation Nat. Neurosci. 2016 19 1647 1657 10.1038/nn.4412 27749825
Yu, J., Gutnisky, D. A., Hires, S. A. & Svoboda, K. Layer 4 fast-spiking interneurons filter thalamocortical signals during active somatosensation. Nat. Neurosci. 19, 1647–1657 (2016).27749825 10.1038/nn.4412
39. Destexhe A Rudolph M Paré D The high-conductance state of neocortical neurons in vivo Nat. Rev. Neurosci. 2003 4 739 751 10.1038/nrn1198 12951566
Destexhe, A., Rudolph, M. & Paré, D. The high-conductance state of neocortical neurons in vivo. Nat. Rev. Neurosci. 4, 739–751 (2003).12951566 10.1038/nrn1198
40. Richardson MJ Effects of synaptic conductance on the voltage distribution and firing rate of spiking neurons Phys. Rev. E 2004 69 051918 10.1103/PhysRevE.69.051918
Richardson, M. J. Effects of synaptic conductance on the voltage distribution and firing rate of spiking neurons. Phys. Rev. E 69, 051918 (2004).10.1103/PhysRevE.69.051918
41. Sanzeni A Histed MH Brunel N Emergence of irregular activity in networks of strongly coupled conductance-based neurons Phys. Rev. X 2022 12 011044 35923858
Sanzeni, A., Histed, M. H. & Brunel, N. Emergence of irregular activity in networks of strongly coupled conductance-based neurons. Phys. Rev. X 12, 011044 (2022).35923858
42. Rall, W. Theoretical significance of dendritic trees for neuronal input-output relations. Neural theory and modeling 73–97 (1964).
43. Koch C Douglas R Wehmeier U Visibility of synaptically induced conductance changes: theory and simulations of anatomically characterized cortical pyramidal cells J. Neurosci. 1990 10 1728 1744 10.1523/JNEUROSCI.10-06-01728.1990 2355247
Koch, C., Douglas, R. & Wehmeier, U. Visibility of synaptically induced conductance changes: theory and simulations of anatomically characterized cortical pyramidal cells. J. Neurosci. 10, 1728–1744 (1990).2355247 10.1523/JNEUROSCI.10-06-01728.1990
44. Scala F Phenotypic variation of transcriptomic cell types in mouse motor cortex Nature 2021 598 144 150 10.1038/s41586-020-2907-3 33184512
Scala, F. et al. Phenotypic variation of transcriptomic cell types in mouse motor cortex. Nature 598, 144–150 (2021).33184512 10.1038/s41586-020-2907-3
45. Ascoli GA Donohue DE Halavi M Neuromorpho. org: a central resource for neuronal morphologies J. Neurosci. 2007 27 9247 9251 10.1523/JNEUROSCI.2055-07.2007 17728438
Ascoli, G. A., Donohue, D. E. & Halavi, M. Neuromorpho. org: a central resource for neuronal morphologies. J. Neurosci. 27, 9247–9251 (2007).17728438 10.1523/JNEUROSCI.2055-07.2007
46. Vogels TP Abbott LF Signal propagation and logic gating in networks of integrate-and-fire neurons J. Neurosci. 2005 25 10786 10795 10.1523/JNEUROSCI.3508-05.2005 16291952
Vogels, T. P. & Abbott, L. F. Signal propagation and logic gating in networks of integrate-and-fire neurons. J. Neurosci. 25, 10786–10795 (2005).16291952 10.1523/JNEUROSCI.3508-05.2005
47. Burkitt AN A review of the integrate-and-fire neuron model: I. homogeneous synaptic input Biol. Cybern. 2006 95 1 19 10.1007/s00422-006-0068-6 16622699
Burkitt, A. N. A review of the integrate-and-fire neuron model: I. homogeneous synaptic input. Biol. Cybern. 95, 1–19 (2006).16622699 10.1007/s00422-006-0068-6
48. Rall W Distinguishing theoretical synaptic potentials computed for different soma-dendritic distributions of synaptic input J. Neurophysiol. 1967 30 1138 1168 10.1152/jn.1967.30.5.1138 6055351
Rall, W. Distinguishing theoretical synaptic potentials computed for different soma-dendritic distributions of synaptic input. J. Neurophysiol. 30, 1138–1168 (1967).6055351 10.1152/jn.1967.30.5.1138
49. Inagaki HK Inagaki M Romani S Svoboda K Low-dimensional and monotonic preparatory activity in mouse anterior lateral motor cortex J. Neurosci. 2018 38 4163 4185 10.1523/JNEUROSCI.3152-17.2018 29593054
Inagaki, H. K., Inagaki, M., Romani, S. & Svoboda, K. Low-dimensional and monotonic preparatory activity in mouse anterior lateral motor cortex. J. Neurosci. 38, 4163–4185 (2018).29593054 10.1523/JNEUROSCI.3152-17.2018
50. Lebovich L Darshan R Lavi Y Hansel D Loewenstein Y Idiosyncratic choice bias naturally emerges from intrinsic stochasticity in neuronal dynamics Nat. Hum. Behav. 2019 3 1190 1202 10.1038/s41562-019-0682-7 31477911
Lebovich, L., Darshan, R., Lavi, Y., Hansel, D. & Loewenstein, Y. Idiosyncratic choice bias naturally emerges from intrinsic stochasticity in neuronal dynamics. Nat. Hum. Behav. 3, 1190–1202 (2019).31477911 10.1038/s41562-019-0682-7
51. van Vreeswijk C Sompolinsky H Chaotic balanced state in a model of cortical circuits Neural Comput. 1998 10 1321 1371 10.1162/089976698300017214 9698348
van Vreeswijk, C. & Sompolinsky, H. Chaotic balanced state in a model of cortical circuits. Neural Comput. 10, 1321–1371 (1998).9698348 10.1162/089976698300017214
52. Kim E Bari BA Cohen JY Subthreshold basis for reward-predictive persistent activity in mouse prefrontal cortex Cell Rep. 2021 35 109082 10.1016/j.celrep.2021.109082 33951442
Kim, E., Bari, B. A. & Cohen, J. Y. Subthreshold basis for reward-predictive persistent activity in mouse prefrontal cortex. Cell Rep. 35, 109082 (2021).33951442 10.1016/j.celrep.2021.109082
53. DeWeese MR Zador AM Non-gaussian membrane potential dynamics imply sparse, synchronous activity in auditory cortex J. Neurosci. 2006 26 12206 12218 10.1523/JNEUROSCI.2813-06.2006 17122045
DeWeese, M. R. & Zador, A. M. Non-gaussian membrane potential dynamics imply sparse, synchronous activity in auditory cortex. J. Neurosci. 26, 12206–12218 (2006).17122045 10.1523/JNEUROSCI.2813-06.2006
54. Kiritani T Pala A Gasselin C Crochet S Petersen CC Membrane potential dynamics of excitatory and inhibitory neurons in mouse barrel cortex during active whisker sensing Plos one 2023 18 e0287174 10.1371/journal.pone.0287174 37311008
Kiritani, T., Pala, A., Gasselin, C., Crochet, S. & Petersen, C. C. Membrane potential dynamics of excitatory and inhibitory neurons in mouse barrel cortex during active whisker sensing. Plos one 18, e0287174 (2023).37311008 10.1371/journal.pone.0287174
55. Gabernet L Jadhav SP Feldman DE Carandini M Scanziani M Somatosensory integration controlled by dynamic thalamocortical feed-forward inhibition Neuron 2005 48 315 327 10.1016/j.neuron.2005.09.022 16242411
Gabernet, L., Jadhav, S. P., Feldman, D. E., Carandini, M. & Scanziani, M. Somatosensory integration controlled by dynamic thalamocortical feed-forward inhibition. Neuron 48, 315–327 (2005).16242411 10.1016/j.neuron.2005.09.022
56. Cruikshank SJ Lewis TJ Connors BW Synaptic basis for intense thalamocortical activation of feedforward inhibitory cells in neocortex Nat. Neurosci. 2007 10 462 468 10.1038/nn1861 17334362
Cruikshank, S. J., Lewis, T. J. & Connors, B. W. Synaptic basis for intense thalamocortical activation of feedforward inhibitory cells in neocortex. Nat. Neurosci. 10, 462–468 (2007).17334362 10.1038/nn1861
57. Landau ID Egger R Dercksen VJ Oberlaender M Sompolinsky H The impact of structural heterogeneity on excitation-inhibition balance in cortical networks Neuron 2016 92 1106 1121 10.1016/j.neuron.2016.10.027 27866797
Landau, I. D., Egger, R., Dercksen, V. J., Oberlaender, M. & Sompolinsky, H. The impact of structural heterogeneity on excitation-inhibition balance in cortical networks. Neuron 92, 1106–1121 (2016).27866797 10.1016/j.neuron.2016.10.027
58. Nevian T Larkum ME Polsky A Schiller J Properties of basal dendrites of layer 5 pyramidal neurons: a direct patch-clamp recording study Nat. Neurosci. 2007 10 206 214 10.1038/nn1826 17206140
Nevian, T., Larkum, M. E., Polsky, A. & Schiller, J. Properties of basal dendrites of layer 5 pyramidal neurons: a direct patch-clamp recording study. Nat. Neurosci. 10, 206–214 (2007).17206140 10.1038/nn1826
59. Larkum ME Nevian T Sandler M Polsky A Schiller J Synaptic integration in tuft dendrites of layer 5 pyramidal neurons: a new unifying principle Science 2009 325 756 760 10.1126/science.1171958 19661433
Larkum, M. E., Nevian, T., Sandler, M., Polsky, A. & Schiller, J. Synaptic integration in tuft dendrites of layer 5 pyramidal neurons: a new unifying principle. Science 325, 756–760 (2009).19661433 10.1126/science.1171958
60. Larkum ME Zhu JJ Sakmann B A new cellular mechanism for coupling inputs arriving at different cortical layers Nature 1999 398 338 341 10.1038/18686 10192334
Larkum, M. E., Zhu, J. J. & Sakmann, B. A new cellular mechanism for coupling inputs arriving at different cortical layers. Nature 398, 338–341 (1999).10192334 10.1038/18686
61. Waters J Larkum M Sakmann B Helmchen F Supralinear ca2+ influx into dendritic tufts of layer 2/3 neocortical pyramidal neurons in vitro and in vivo J. Neurosci. 2003 23 8558 8567 10.1523/JNEUROSCI.23-24-08558.2003 13679425
Waters, J., Larkum, M., Sakmann, B. & Helmchen, F. Supralinear ca2+ influx into dendritic tufts of layer 2/3 neocortical pyramidal neurons in vitro and in vivo. J. Neurosci. 23, 8558–8567 (2003).13679425 10.1523/JNEUROSCI.23-24-08558.2003
62. Li B Routh BN Johnston D Seidemann E Priebe NJ Voltage-gated intrinsic conductances shape the input-output relationship of cortical neurons in behaving primate v1 Neuron 2020 107 185 196 10.1016/j.neuron.2020.04.001 32348717
Li, B., Routh, B. N., Johnston, D., Seidemann, E. & Priebe, N. J. Voltage-gated intrinsic conductances shape the input-output relationship of cortical neurons in behaving primate v1. Neuron 107, 185–196 (2020).32348717 10.1016/j.neuron.2020.04.001
63. Amsalem O Van Geit W Muller E Markram H Segev I From neuron biophysics to orientation selectivity in electrically coupled networks of neocortical l2/3 large basket cells Cereb. Cortex 2016 26 3655 3668 10.1093/cercor/bhw166 27288316
Amsalem, O., Van Geit, W., Muller, E., Markram, H. & Segev, I. From neuron biophysics to orientation selectivity in electrically coupled networks of neocortical l2/3 large basket cells. Cereb. Cortex 26, 3655–3668 (2016).27288316 10.1093/cercor/bhw166
64. Major G Larkum ME Schiller J Active properties of neocortical pyramidal neuron dendrites Annu. Rev. Neurosci. 2013 36 1 24 10.1146/annurev-neuro-062111-150343 23841837
Major, G., Larkum, M. E. & Schiller, J. Active properties of neocortical pyramidal neuron dendrites. Annu. Rev. Neurosci. 36, 1–24 (2013).23841837 10.1146/annurev-neuro-062111-150343
65. Palmer LM Nmda spikes enhance action potential generation during sensory input Nat. Neurosci. 2014 17 383 390 10.1038/nn.3646 24487231
Palmer, L. M. et al. Nmda spikes enhance action potential generation during sensory input. Nat. Neurosci. 17, 383–390 (2014).24487231 10.1038/nn.3646
66. Litwin-Kumar A Rosenbaum R Doiron B Inhibitory stabilization and visual coding in cortical circuits with multiple interneuron subtypes J. Neurophysiol. 2016 115 1399 1409 10.1152/jn.00732.2015 26740531
Litwin-Kumar, A., Rosenbaum, R. & Doiron, B. Inhibitory stabilization and visual coding in cortical circuits with multiple interneuron subtypes. J. Neurophysiol. 115, 1399–1409 (2016).26740531 10.1152/jn.00732.2015
67. Palmigiano, A. et al. Structure and variability of optogenetic responses identify the operating regime of cortex. bioRxiv 2020–11 (2021).
68. Yamashita T Membrane potential dynamics of neocortical projection neurons driving target-specific signals Neuron 2013 80 1477 1490 10.1016/j.neuron.2013.10.059 24360548
Yamashita, T. et al. Membrane potential dynamics of neocortical projection neurons driving target-specific signals. Neuron 80, 1477–1490 (2013).24360548 10.1016/j.neuron.2013.10.059
69. Gentet LJ Avermann M Matyas F Staiger JF Petersen CC Membrane potential dynamics of gabaergic neurons in the barrel cortex of behaving mice Neuron 2010 65 422 435 10.1016/j.neuron.2010.01.006 20159454
Gentet, L. J., Avermann, M., Matyas, F., Staiger, J. F. & Petersen, C. C. Membrane potential dynamics of gabaergic neurons in the barrel cortex of behaving mice. Neuron 65, 422–435 (2010).20159454 10.1016/j.neuron.2010.01.006
70. Tasic B Shared and distinct transcriptomic cell types across neocortical areas Nature 2018 563 72 78 10.1038/s41586-018-0654-5 30382198
Tasic, B. et al. Shared and distinct transcriptomic cell types across neocortical areas. Nature 563, 72–78 (2018).30382198 10.1038/s41586-018-0654-5
71. Poulet JF Petersen CC Internal brain state regulates membrane potential synchrony in barrel cortex of behaving mice Nature 2008 454 881 885 10.1038/nature07150 18633351
Poulet, J. F. & Petersen, C. C. Internal brain state regulates membrane potential synchrony in barrel cortex of behaving mice. Nature 454, 881–885 (2008).18633351 10.1038/nature07150
72. Rubin R Abbott L Sompolinsky H Balanced excitation and inhibition are required for high-capacity, noise-robust neuronal selectivity Proc. Natl Acad. Sci. USA 2017 114 E9366 E9375 10.1073/pnas.1705841114 29042519
Rubin, R., Abbott, L. & Sompolinsky, H. Balanced excitation and inhibition are required for high-capacity, noise-robust neuronal selectivity. Proc. Natl Acad. Sci. USA 114, E9366–E9375 (2017).29042519 10.1073/pnas.1705841114
73. Darshan R Wood W Peters S Leblois A Hansel D A canonical neural mechanism for behavioral variability Nat. Commun. 2017 8 15415 10.1038/ncomms15415 28530225
Darshan, R., Wood, W., Peters, S., Leblois, A. & Hansel, D. A canonical neural mechanism for behavioral variability. Nat. Commun. 8, 15415 (2017).28530225 10.1038/ncomms15415
74. Abdelfattah AS Bright and photostable chemigenetic indicators for extended in vivo voltage imaging Science 2019 365 699 704 10.1126/science.aav6416 31371562
Abdelfattah, A. S. et al. Bright and photostable chemigenetic indicators for extended in vivo voltage imaging. Science 365, 699–704 (2019).31371562 10.1126/science.aav6416
75. Adam Y Voltage imaging and optogenetics reveal behaviour-dependent changes in hippocampal dynamics Nature 2019 569 413 417 10.1038/s41586-019-1166-7 31043747
Adam, Y. et al. Voltage imaging and optogenetics reveal behaviour-dependent changes in hippocampal dynamics. Nature 569, 413–417 (2019).31043747 10.1038/s41586-019-1166-7
76. Carnevale, N. T. & Hines, M. L.The NEURON book (Cambridge University Press, 2006).
77. Harris CR Array programming with numpy Nature 2020 585 357 362 10.1038/s41586-020-2649-2 32939066
Harris, C. R. et al. Array programming with numpy. Nature 585, 357–362 (2020).32939066 10.1038/s41586-020-2649-2
78. Hunter JD Matplotlib: A 2d graphics environment Comput. Sci. Eng. 2007 9 90 95 10.1109/MCSE.2007.55
Hunter, J. D. Matplotlib: A 2d graphics environment. Comput. Sci. Eng. 9, 90–95 (2007).10.1109/MCSE.2007.55
79. Yu J Hu H Agmon A Svoboda K Recruitment of gabaergic interneurons in the barrel cortex during active tactile behavior Neuron 2019 104 412 427 10.1016/j.neuron.2019.07.027 31466734
Yu, J., Hu, H., Agmon, A. & Svoboda, K. Recruitment of gabaergic interneurons in the barrel cortex during active tactile behavior. Neuron 104, 412–427 (2019).31466734 10.1016/j.neuron.2019.07.027
80. Scala F Layer 4 of mouse neocortex differs in cell types and circuit organization between sensory areas Nat. Commun. 2019 10 1 12 30602773
Scala, F. et al. Layer 4 of mouse neocortex differs in cell types and circuit organization between sensory areas. Nat. Commun. 10, 1–12 (2019).30602773
81. MacLean JN Watson BO Aaron GB Yuste R Internal dynamics determine the cortical response to thalamic stimulation Neuron 2005 48 811 823 10.1016/j.neuron.2005.09.035 16337918
MacLean, J. N., Watson, B. O., Aaron, G. B. & Yuste, R. Internal dynamics determine the cortical response to thalamic stimulation. Neuron 48, 811–823 (2005).16337918 10.1016/j.neuron.2005.09.035
82. Oswald MJ Tantirigama ML Sonntag I Hughes SM Empson RM Diversity of layer 5 projection neurons in the mouse motor cortex Front. Cell. Neurosci. 2013 7 174 10.3389/fncel.2013.00174 24137110
Oswald, M. J., Tantirigama, M. L., Sonntag, I., Hughes, S. M. & Empson, R. M. Diversity of layer 5 projection neurons in the mouse motor cortex. Front. Cell. Neurosci. 7, 174 (2013).24137110 10.3389/fncel.2013.00174
83. Lefort S Tomm C Sarria J-CF Petersen CC The excitatory neuronal network of the c2 barrel column in mouse primary somatosensory cortex Neuron 2009 61 301 316 10.1016/j.neuron.2008.12.020 19186171
Lefort, S., Tomm, C., Sarria, J.-C. F. & Petersen, C. C. The excitatory neuronal network of the c2 barrel column in mouse primary somatosensory cortex. Neuron 61, 301–316 (2009).19186171 10.1016/j.neuron.2008.12.020
84. Dougherty S Mice lacking the transcriptional coactivator pgc-1α exhibit alterations in inhibitory synaptic transmission in the motor cortex Neuroscience 2014 271 137 148 10.1016/j.neuroscience.2014.04.023 24769433
Dougherty, S. et al. Mice lacking the transcriptional coactivator pgc-1α exhibit alterations in inhibitory synaptic transmission in the motor cortex. Neuroscience 271, 137–148 (2014).24769433 10.1016/j.neuroscience.2014.04.023
85. Bindman L Meyer T Prince C Comparison of the electrical properties of neocortical neurones in slices in vitro and in the anaesthetized rat Exp. brain Res. 1988 69 489 496 10.1007/BF00247303 3371433
Bindman, L., Meyer, T. & Prince, C. Comparison of the electrical properties of neocortical neurones in slices in vitro and in the anaesthetized rat. Exp. brain Res. 69, 489–496 (1988).3371433 10.1007/BF00247303
86. Paré D Shink E Gaudreau H Destexhe A Lang EJ Impact of spontaneous synaptic activity on the resting properties of cat neocortical pyramidal neurons in vivo J. Neurophysiol. 1998 79 1450 1460 10.1152/jn.1998.79.3.1450 9497424
Paré, D., Shink, E., Gaudreau, H., Destexhe, A. & Lang, E. J. Impact of spontaneous synaptic activity on the resting properties of cat neocortical pyramidal neurons in vivo. J. Neurophysiol. 79, 1450–1460 (1998).9497424 10.1152/jn.1998.79.3.1450
87. Amsalem O An efficient analytical reduction of detailed nonlinear neuron models Nat. Commun. 2020 11 1 13 10.1038/s41467-019-13932-6 31911652
Amsalem, O. et al. An efficient analytical reduction of detailed nonlinear neuron models. Nat. Commun. 11, 1–13 (2020).31911652 10.1038/s41467-019-13932-6
88. Argaman T Golomb D Does layer 4 in the barrel cortex function as a balanced circuit when responding to whisker movements? Neuroscience 2018 368 29 45 10.1016/j.neuroscience.2017.07.054 28774782
Argaman, T. & Golomb, D. Does layer 4 in the barrel cortex function as a balanced circuit when responding to whisker movements? Neuroscience 368, 29–45 (2018).28774782 10.1016/j.neuroscience.2017.07.054
89. Rubin DB Van Hooser SD Miller KD The stabilized supralinear network: a unifying circuit motif underlying multi-input integration in sensory cortex Neuron 2015 85 402 417 10.1016/j.neuron.2014.12.026 25611511
Rubin, D. B., Van Hooser, S. D. & Miller, K. D. The stabilized supralinear network: a unifying circuit motif underlying multi-input integration in sensory cortex. Neuron 85, 402–417 (2015).25611511 10.1016/j.neuron.2014.12.026
90. Ahmadian Y Rubin DB Miller KD Analysis of the stabilized supralinear network Neural Comput. 2013 25 1994 2037 10.1162/NECO_a_00472 23663149
Ahmadian, Y., Rubin, D. B. & Miller, K. D. Analysis of the stabilized supralinear network. Neural Comput. 25, 1994–2037 (2013).23663149 10.1162/NECO_a_00472
