How the layer-dependent ratio of excitatory to inhibitory cells shapes cortical coding in balanced networks

Curation statements for this article:
  • Curated by eLife

    eLife logo

    eLife Assessment

    The study presents a useful computational analysis of how the ratio between excitatory and inhibitory neural numbers affects coding capacity. The authors show that increasing the proportion of inhibitory neurons (as observed in upper cortical layers compared to the input recipient layer 4) increases the dimensionality of neural activity and improves the encoding of time-varying stimuli. The evidence is solid for the stated claims, but reviewers continue to note the limitations due to lack of analytical results, consideration of multiple subclasses of inhibitory neurons, and comparison between theory and experiment that are from different stimuli and modalities.

This article has been Reviewed by the following groups

Read the full article

Abstract

The cerebral cortex exhibits a sophisticated neural architecture across its six layers. Recently, it was found that these layers exhibit different ratios of excitatory to inhibitory (EI) neurons, ranging from 4 to 9. This ratio is a key factor for achieving the often reported balance of excitation and inhibition, a hallmark of cortical computation. Although previous studies have explored various biologically realistic aspects of classical balanced networks, such as the effects of more complex neuronal properties including spike frequency adaptation using adaptive exponential integrate-and-fire (AdEx) neuron models (1), the temporal evolution of randomly connected balanced networks through second-order mean-field approximations (2), predictions of nonlinear dynamics across diverse neuron models ranging from integrate-and-fire to Hodgkin–Huxley formulations, thus bridging population dynamics to neuronal electrophysiology (3), the impact of spatial heterogeneity in balanced networks (4–6), and variations in synaptic timescales (7), the specific effects of differences in excitatory-inhibitory (EI) ratios on layer-specific dynamics and computational properties have, to the best of our knowledge, not yet been addressed. We investigate this question using a sparsely connected network model of excitatory and inhibitory neurons. To keep the network in a physiological range of firing rates, we varied the inhibitory firing threshold or the synaptic strength between excitatory and inhibitory neurons. We find that decreasing the EI ratio allows the network to explore a higher-dimensional space and enhance its capacity to represent complex input. By comparing the empirical EI ratios of layer 2/3 and layer 4 in the rodent barrel cortex, we predict that layer 2/3 has a higher dimensionality and coding capacity than layer 4. Furthermore, our analysis of primary visual cortex data from the Allen Brain Institute corroborates these modeling results, also demonstrating increased dimensionality and coding capabilities of layer 2/3.

Article activity feed

  1. eLife Assessment

    The study presents a useful computational analysis of how the ratio between excitatory and inhibitory neural numbers affects coding capacity. The authors show that increasing the proportion of inhibitory neurons (as observed in upper cortical layers compared to the input recipient layer 4) increases the dimensionality of neural activity and improves the encoding of time-varying stimuli. The evidence is solid for the stated claims, but reviewers continue to note the limitations due to lack of analytical results, consideration of multiple subclasses of inhibitory neurons, and comparison between theory and experiment that are from different stimuli and modalities.

  2. Reviewer #1 (Public review):

    Summary:

    The authors seek to understand the role of different ratios of excitatory to inhibitory (EI) neurons, which in experimental studies of cerebral cortex have been shown to range from 4 to 9. They do this through a simulation study of sparsely connected networks of excitatory and inhibitory neurons.

    Their main finding is that participation ratio and decoding accuracy increase as E/I ratio decreases. This suggests higher computational complexity.

    This is the start to an interesting computational study. However, there is no analysis to explain the numerical results, although there is a long literature of reduced models for randomly connected neural networks which could potentially be applied here. The paper would be stronger if this was attempted.

    Right now, the research contribution is rather thin: a grid search on parameter values, plus a thorough discussion of what is observed, plus a lot of comments on experimental findings which are suggestive (e.g. "distinct integrative role in L2/3") but don't directly connect to the study at hand. I also have concerns about the experimental comparison which I will detail below.

    Strengths:

    Some issues I appreciated are:

    (1) The use of a publicly available simulator (Brian), which helps reproducibility.

    (2) A thorough exploration of the parameter space of interest (shown in Fig. 2)

    (3) A good motivation of the underlying question: other things being equal, how does the E/I ratio impact computational capacity?

    Weaknesses:

    (1) Lack of mathematical analysis of the network model

    (2) The analysis of experimental data uses sub-sampling as a way to get a desired EI ratio. However, the authors' central claim is that the EI ratio intrinsically changes the underlying dynamics. Sub-sampling has no influence on the dynamics.

    To elaborate on these points:

    (1) If your networks are in the "classical asynchronous" regime as described by Otojic et al. (2014), you could implement the fixed-point calculation for your specific networks. This would be equations (1), (7)-(16), (maybe also (5-6)). As you change the EI ratio, you modify f (relative numbers of E and I cells), J_{ei}, and modifying theta_{inh} will change the set point of the firing rate function.

    Why do this? Although you would not observe a state change, the difference in the stability matrix might lead to interesting hypotheses. For example: as you raise the EI ratio while adjusting J_{ei} and/or theta_inh to keep firing rate constant, does the stability matrix get closer to instability? If so, could this be an explanation for change in D_{PR}?

    (2) In "Coding capacity in different layers of visual cortex" the authors measure PR values from layer 2/3 and 4 in VISp and find that layer 2/3 has a higher PR than layer 4.

    Earlier, I had asked the authors to comment on this finding: "in Dahmen et al. 2020 (https://doi.org/10.1101/2020.11.02.365072), the opposite was found (see Fig. 2d of Dahmen et al.): layer 2 had a lower PR than layer 4. Can you explain how that difference might arise?"

    I did not find the explanation of subsampling, as an explanation, persuasive:
    "Furthermore, to align our excitatory/inhibitory (EI) ratios with those of the barrel cortex used in our stimulation paradigm (7.4 for layer 4, 5.32 for layer 2/3), we subsampled excitatory and inhibitory neurons from VISp layers 2/3 and 4. This contrasts with Dahmen et al. (2020) [2] , who included all neurons from these layers. "
    If I understand correctly the authors mean that they preferentially sampled either E neurons or I neurons from that data set, before performing their analysis. Although it is possible this could bias D_{PR} it is not clear why the observed difference should be in one direction or another. In addition, what the authors are trying to show (overall) is that a changed E/I balance does *something* nontrivial to the dynamics of the network to change dimensionality, and presumably this difference would still be visible even if you subsampled differently (i.e. subsampling has no impact on the network dynamics, it just changes which units you are allowed to see). If subsampling DID change D_{PR} significantly, this would suggest that excitatory and inhibitory cells contribute differently to network dimensionality, in a way that merits more exploration.

    (I find it a more persuasive explanation that Dahmen et al. and the authors measured D_{PR} in different recordings; spontaneous activity (mean gray stimulus) vs. natural stimuli. A priori, there is no reason to think statistical features of the activity should remain the same, under different stimuli. In short: the analyses were not comparable)

    But that also motivates the question: what happens to D_{PR} in the authors' networks, in the spontaneous state? The authors should show this as well. This would be the more meaningful comparison with the figure from Dahmen, AND would address the question: is network activity already high-dimensional, before a stimulus is presented; is the network "primed" to create high-dimensional responses?

    As I think about this more, I question the probative value of analyzing the visual recordings in this way, because sub-sampling the population seems to undercut the authors' central claim, which is it is the E/I ratio *of the interacting network* that is responsible for the dynamics.

    For example: if you simply used the whole population, or subsampled according to whatever the actual EI ratio is (in the V1 data), would you get substantially similar results? It seems that if you found higher D_{PR} in the layer with a lower EI ratio, whichever that would be, you would be making the point you want to make. TL;DR: I recommend re-doing the analyses without biased sub-sampling (i.e. don't try to get a certain EI ratio).

  3. Reviewer #2 (Public review):

    Summary:

    Alizadeh et al. investigate how varying cellular E/I (excitatory/inhibitory) composition impacts coding across cortical layers. They build on findings from a recent study (Huang et al., 2022) that demonstrated a decrease in the fraction of inhibitory neurons from L2/3 to L4. Using a network of excitatory and inhibitory leaky integrate-and-fire neurons, they systematically assess how these anatomical features influence the dimensionality of network activity and coding capacity. Their key finding is that increasing the proportion of inhibitory neurons enhances the dimensionality of activity and improves the encoding of time-varying stimuli.

    Strengths:

    The authors use a clear methodology and well-established model of network activity that allows them to relate network parameters to the coding properties. They systematically evaluate the impact of the key features of the inhibitory population. Thus, in addition to changing the fraction of inhibitory cells, they control for the inhibitory firing threshold of inhibitory neurons and connection strength between inhibitory and excitatory cells. Furthermore, they show their modeling results are aligned with the analysis of the spiking activity in L2/3 vs. L4 from the Allen Institute data.

    Weaknesses:

    One general shortcoming of this approach is that it focuses on a small preselected number of network features. For example, it is unclear to what extent the results would be affected by other aspects of the organization of cortical columns, such as subclasses of inhibitory cells (SOM, VIP, PV), specific differences in synapses, realistic population sizes, or even connectivity between layers. Similarly, the models of L2/3 and L4 are constrained based on a limited set of observations, and it has not been demonstrated whether the same findings hold true for V1 recordings analyzed by the authors. The modeling relies on anatomical data from the barrel cortex, but the decoding comparison is based on V1 data.

  4. Author response:

    The following is the authors’ response to the original reviews.

    eLife Assessment:

    The study presents a useful computational analysis of how the ratio between excitatory and inhibitory neural numbers affects coding capacity. The authors show that increasing the proportion of inhibitory neurons (as observed in upper cortical layers compared to the input recipient layer 4) increases the dimensionality of neural activity and improves the encoding of time-varying stimuli. However, the evidence about the role of the inhibitory population in coding is incomplete because numerical results are neither supported by analytical mathematical results nor include controls for changes in firing thresholds or subtypes of inhibitory neurons.

    We thank the editor for this assessment. We addressed both points raised here in the manuscript explicitly. With regard to the analytical results, we explain below that in this case, it would not add much to the existing thorough results by Ostojic et al. (2014) [1], as we observe no state transitions. We have explained this explicitly in the Methods section. With regard to the subtypes of inhibitory neurons, we recognize that while the effects of E/I ratio changes offer new insights, our comparison has inherent limitations. W e recognize that incorporating more detailed features, such as inhibitory cell subclasses (SOM, VIP, PV), synapse-specific differences, realistic population sizes, and inter-layer connectivity are essential for a more comprehensive understanding, and we addressed this in the discussion. We consider this work a foundation for subsequent investigations that will build upon these findings, and trust that we have clarified this with our revisions.

    Public Reviews:

    Reviewer #1 (Public review):

    Summary:

    The authors seek to understand the role of different ratios of excitatory to inhibitory (EI) neurons, which in experimental studies of the cerebral cortex have been shown to range from 4 to 9. They do this through a simulation study of sparsely connected networks of excitatory and inhibitory neurons.

    Their main finding is that the participation ratio and decoding accuracy increase as the E/I ratio decreases. This suggests higher computational complexity.

    This is the start of an interesting computational study. However, there is no analysis to explain the numerical results, although there is a long literature of reduced models for randomly connected neural networks which could potentially be applied here. (For example, it seems that the authors could derive a mean field expression for the expected firing rate and variance - hence CV - which could be used to target points in parameter space (vs. repeated simulation in Figures 1,2).) The paper would be stronger and more impactful if this was attempted.

    Strengths:

    Some issues I appreciated are:

    (1) The use of a publicly available simulator (Brian), which helps reproducibility. I would also request that the authors supply submission or configuration scripts (if applicable, I don't know Brian).

    Good point, we have now included the Python simulation scripts detailing their use in the data directory to enhance reproducibility.

    (2) A thorough exploration of the parameter space of interest (shown in Figure 2).

    (3) A good motivation for the underlying question: other things being equal, how does the E/I ratio impact computational capacity?

    Weaknesses:

    (1) Lack of mathematical analysis of the network model

    Thank you for highlighting this point. We would like to clarify that our network model is based on the framework established by Ostojic et al. (2014) [1]. In their seminal work, they utilized mean-field theory to rigorously analyze the network dynamics. Specifically, their network parameters included Next = 10,000, Ninh = 2,500, jei = 0.1 mV, g = 5, and an inhibitory threshold of 20 mV, maintaining a balanced state.

    Our initial model state closely aligns with the configuration of Ostojic et al. (2014) [1]. We do not observe state transitions in our work, and hence an analytical analysis into such state transitions would not add much here. The observed increases or decreases in computational capacity and dimensionality are within the inhibition-dominated balanced state. Therefore, we decided not to repeat the mathematical analysis already thoroughly addressed in the Ostojic et al. [1] study and instead focused our efforts on evaluating how the excitatory-inhibitory (EI) ratio influences the network's coding capacity. Furthermore, we would like to emphasize that a purely mathematical analysis might not sufficiently capture the functional role of different inhibitory populations in neural coding, a point you also raised in your assessment summary. We have added a paragraph to the methods to clarify this.

    Major issues I recommend that the authors address (not sure whether these are "weaknesses"):

    (1) In "Coding capacity in different layers of visual cortex" the authors measure PR values from layers 2/3 and 4 in VISp and find that layer 2/3 has a higher PR than layer 4.

    But in Dahmen et al. 2020 (https://doi.org/10.1101/2020.11.02.365072), the opposite was found (see Figure 2d of Dahmen et al.): layer 2 had a lower PR than layer 4. Can the authors explain how that difference might arise? i.e. were they analyzing the same data sets? If so why the different results? Could it have to do with the way the authors subsample for the E/I ratio?

    From the Methods of that paper: "Visual stimuli were generated using scripts based on PsychoPy and followed one of two stimulus sequences ("brain observatory 1.1" and "functional connectivity"). We focused on spontaneous neural activity registered while the animal was not performing any task. In each session, the spontaneous activity condition lasted 30 minutes while the animal was in front of a screen of mean grey luminance. We, therefore, analyzed 26 of the original 58 sessions corresponding to the "functional connectivity" subdataset as they included such a period of spontaneous activity. " This suggests to me they may have analyzed recordings with the other stimulus sequence; however, the hypothesis that E/I ratio should modulate dimensionality would not seem to "care" about which stimulus sequence was used.

    We appreciate the reviewer's comment regarding the differences in data analysis. As noted, our approach diverged from Dahmen et al. (2020) [2] in several key aspects. We focused exclusively on the 'brain observatory 1.1' stimulus sequence, specifically analyzing the primary visual cortex (VISp) response to 'natural images'. In contrast, Dahmen et al. (2020) [2] examined 'functional connectivity' sequences, calculating participation ratios across the spontaneous activity. Furthermore, to align our excitatory/inhibitory (EI) ratios with those of the barrel cortex used in our stimulation paradigm (7.4 for layer 4 , 5.32 for layer 2 /3), we subsampled excitatory and inhibitory neurons from VISp layers 2/3 and 4. This contrasts with Dahmen et al. (2020) [2] , who included all neurons from these layers. These methodological differences likely contribute to the observed discrepancies in participation ratios between layers 2/3 and 4.

    Based on the findings of Adesnik (2018) [3] , it is reasonable to conclude that neurons in Layer 2/3 (L2/3) of the mouse‘s primary visual cortex are likely to exhibit more diverse or higher-dimensional activity than those in Layer 4 (L4), and this is at least partly due to stronger recurrent inhibition within L2/3. The study showed that during optogenetically induced gamma oscillations, the balance of excitation and inhibition (E/I ratio) in L2/3 was significantly more tilted toward inhibition (E/I ≈ 0.18) compared to L4 (E/I ≈ 0.27), indicating that L2/3 circuits are under tighter inhibitory control. This strong local inhibition suppresses redundant or correlated activity, enabling more selective and sparse firing patterns, which in turn can increase the dimensionality of population activity. Moreover, L2/3 plays a distinct integrative role in cortical processing: it receives inputs not only from L4 but also from other cortical areas and sends outputs mainly to L5, positioning it as a key hub for complex intracortical computation. This contrasts with L4, which acts more as a feedforward layer receiving thalamic sensory input and distributing it to other layers with more uniform excitatory output and less specialized activity. The study suggests that the strong inhibition observed in L2/3 contributes to an inhibition-stabilized regime that enables nonlinear gain control, contextual modulation, and flexible computation—features associated with high-dimensional, heterogeneous neural representations. Therefore, the combination of stronger inhibition, integrative connectivity, and computational function supports the idea that L2/3 neurons exhibit more diverse activity patterns than those in L4.

    We added these comparisons to the Discussion section.

    (2) In Discussion (pg. 20, line 383): "They showed that brain regions closer to sensory input, like the thalamus, have higher dimensionality than those further away, such as the visual cortex. " How is this consistent with the hypothesis that "higher dimensionality might be linked to more complex cognitive functions"?

    We appreciate the reviewer pointing out this error. The corrected statement now reads: 'They showed that brain regions closer to sensory input, such as the thalamus, have a lower dimensionality than those further away, like the visual cortex.

    (3) What is the probability of connection between different populations? e.g. the probability of there being a synaptic connection between any two E cells? I could not find a statement about this. It should be included in the Methods.

    Apologies for not making this sufficiently clear. So far, the ratio had been mentioned in the results, but we have also added it now in the Methods.

    (4) pg. 27, line 540: "Synchronicity within the network" For each cell pair, the authors use the maximum cross-correlation over time lag. I don't think I have seen this before. Can the authors explain why they use this measurement, vs (a) integrated cross-correlation or (b) cross-correlation at some time scale? Also, it seems like this fails to account for neuron pairs for which there is a strong inhibitory correlation.

    Thank you for bringing up this question. The choice of correlation method was motivated by the possibility of lags in the co-activation between neurons and therefore we did not want to focus on a 0-lag measure. In reality, the delay of the peak in the cross-correlation relative to 0-lag was only 3 ms +/- 3 ms. We therefore think that other measures would have delivered very comparable results. We did not use an integrated measure, because we were worried that this would 'wash out' the results, if there is an overall high level of correlation, which would overwhelm the peak correlation. Also, using an integrated measure immediately required defining a range over which to integrate, which seems arbitrary and could contribute to overwhelming the peak correlation. If one had used a sum over a small time-window in the cross-correlation, we think a very similar result would have been obtained, as the cross-correlograms were generally 'well behaved', i.e. symmetric around their peak.

    Regarding the inhibitory correlations: we are a bit confused about what the reviewer refers to. Two possible interpretations are: (i) correlations between inhibitory neurons, or (ii) negative correlations between neurons (be they excitatory or inhibitory).

    For the first option, these have been measured with our approach, by computing correlations between neurons including inhibitory neurons (Figure 3C). For the second option, these have not and should not contribute (positively) to the synchrony in the network. Therefore, unless we are missing an interpretation, we think that these cases are appropriately covered by our correlation measure.

    We would also like to note that negative correlations are typically rare in these networks, which we document in Author response image 1 with a graph of the distribution of correlations over all neurons in the network in different network realisation:

    Author response image 1.

    Cross-correlation between all neuron pairs in different network realizations for the following parameters: the number of inhibitory neurons Ninh is between 2500 and 1000, and consequently the EI ratio is between 4 and 10, Jei between -0.75 mV and -0.5 mV, and θinh = 18,18.5,19,19.5, and 20 mV.

    (5) "When stimulated, a time-varying input, μext (t), is applied to 2,000 randomly selected excitatory neurons. " I would guess that computing PR would depend on the overlap of the 500 neurons analyzed and this population. Do the authors check or control for that?

    (5b) Related: to clarify, are the 500 neurons chosen from the analysis equally likely to be E or I neurons?

    The reviewer's insightful comment regarding the potential impact of the overlap between stimulated and analyzed neuron populations on participation ratio (PR) is appreciated. We recognize that the direct external input can synchronize neurons and affect the PR. To eliminate this confounding factor, we implemented a strict selection process: after randomly selecting 2,000 neurons to receive input, we chose the 500 neurons for PR analysis, respecting the EI ratio exclusively from both inhibitory and remaining excitatory neurons. This guarantees no overlap between the stimulated and analyzed populations. We have now detailed this procedure in the methods section.

    Reviewer #2 (Public review):

    Summary:

    Alizadeh et al. investigate how varying cellular E/I (excitatory/inhibitory) composition impacts coding across cortical layers. They build on findings from a recent study (Huang et al., 2022) that demonstrated a decrease in the fraction of inhibitory neurons from L2/3 to L4. Using a network of excitatory and inhibitory leaky integrate-and-fire neurons, they systematically assess how these anatomical features influence the dimensionality of network activity and coding capacity. Their key finding is that increasing the proportion of inhibitory neurons enhances the dimensionality of activity and improves the encoding of time-varying stimuli.

    Strengths:

    The authors use a clear methodology and well-established model of network activity that allows them to relate network parameters to the coding properties. They systematically evaluate the impact of the key features of the inhibitory population. Thus, in addition to changing the fraction of inhibitory cells, they control for the inhibitory firing threshold of inhibitory neurons and connection strength between inhibitory and excitatory cells. Furthermore, they show their modeling results are aligned with the analysis of the spiking activity in L2/3 vs. L4 from the Allen Institute data.

    Weaknesses:

    One general shortcoming of this approach is that it focuses on a small preselected number of network features. For example, it is unclear to what extent the results would be affected by other aspects of the organization of cortical columns, such as subclasses of inhibitory cells (SOM, VIP, PV), specific differences in synapses, realistic population sizes, or even connectivity between layers. Similarly, the models of L2/3 and L4 are constrained based on a limited set of observations, and it has not been demonstrated whether the same findings hold true for V1 recordings analyzed by the authors.

    We appreciate the reviewer's valid point regarding the focus on a limited set of network features. We acknowledge that our model, while providing valuable insights into the influence of the EI ratio on layer-specific dynamics, simplifies the complex organization of cortical columns. As the reviewer notes, factors such as inhibitory cell subclasses (SOM, VIP, PV), synapse-specific differences, realistic population sizes, and inter-layer connectivity are important and could potentially influence the results.

    This study represents an initial exploration of the E/I ratio's role in layer-specific function, and we aimed to create a simplified, interpretable model as a starting point. By focusing on a randomly connected network with realistic E/I ratios derived from our previous experimental work [4] , we were able to demonstrate that our model captures key aspects of cortical dynamics, as evidenced by comparisons with VISp recordings in terms of participation ratio and decoding capacity.

    We recognize that future studies incorporating more detailed features, such as those mentioned by the reviewer, are essential for a more comprehensive understanding. We consider this work a foundation for subsequent investigations that will build upon these findings and address the limitations acknowledged. We are currently exploring methods to incorporate some of the suggested features into our models, and we believe that expanding the model's complexity will allow for more detailed comparisons with experimental data, including VISp recordings. We have added these considerations to the discussion section.

    The modelling relies on anatomical data from the barrel cortex, but the decoding comparison is based on V1 data. This raises questions about how anatomical differences between regions may influence the conclusions.

    The reviewer's concern about anatomical differences between barrel cortex and V1 (VISp) is valid. While both regions follow general cortical principles, their specific wiring and organization differ substantially, potentially affecting our comparison of a barrel cortex-inspired model with V1 data. We will now elaborate briefly on these key anatomical distinctions in the discussion section of this paper.

    Firstly, they process fundamentally different sensory information: the barrel cortex handles tactile input from whiskers via a direct pathway through the brainstem and VPM thalamus, creating a map of whiskers. In contrast, VISp processes visual information from the retina relayed by the LGN, forming a map of the visual field [5, 6].

    Second, layer 4 in V1 is strikingly different from that of S1 in terms of across-column spatial organization. Barrel cortex L4 features distinct "barrels," each dedicated to a single whisker and with specialized microcircuits. V1's layer 4 is more uniform and lacks these discrete, whisker-specific compartments [5, 7] .

    Third, the types and distributions of interneurons, crucial for local circuit processing, likely vary between these areas to suit their specific sensory processing needs. Similarly, horizontal connections, responsible for integrating information across the cortical surface, have different patterns and functional roles related to tactile versus visual integration [5, 7].

    Finally, the plasticity mechanisms that allow these regions to adapt to experience are also likely tailored to their respective sensory modalities [5, 7].

    Our use of V1 data, due to the absence of a suitable barrel cortex dataset, involved adapting the E/I ratio, a key factor influencing neural activity. The fact that our V1 analysis showed similar dynamics to our barrel cortex model, despite the aforementioned differences, suggests that the E/I balance might be a fundamental constraint on circuit behavior that can lead to similar outcomes despite these anatomical variations.

    However, it is crucial to acknowledge that the unique barrel structure and the processing of tactile information in the barrel cortex are fundamentally different from the more homogeneous structure and visual processing in V1. Therefore, while the E/I ratio comparison offers some insight, it also has inherent limitations. Future research must aim for a direct comparison between our model and barrel cortex data to provide a more definitive validation of our model. Moreover, we recognize that incorporating more detailed features, such as inhibitory cell subclasses (SOM, VIP, PV), synapse-specific differences, realistic population sizes, and inter-layer connectivity are essential for a more comprehensive understanding. We consider this work a foundation for subsequent investigations that will build upon these findings. These considerations have been added to the discussion section.

    The coding capacity appears inversely correlated with the firing rate, which in this study is largely influenced by the properties of the inhibitory population. It would be important to confirm that the observed changes in coding capacity and participation ratio are not solely driven by firing rate changes.

    We appreciate the reviewer’s concern regarding the possibility that the observed changes in coding capacity and participation ratio may be driven solely by variations in firing rate.

    We would like to clarify that in our network model, variations in firing rate are primarily governed by properties of the inhibitory drive—specifically, the inhibitory threshold (θinh), the number of inhibitory neurons (Ninh), and the synaptic strength from inhibitory to excitatory neurons (Jei). To rigorously address this concern, we refer to the simulations shown in Figure 4, where firing rates were held constant at 8 Hz, 4 Hz, and 2 Hz, while other network parameters were systematically varied.

    To isolate the effect of firing rate on coding capacity, we varied the excitatory-inhibitory EI ratio by decreasing the number of inhibitory neurons and simultaneously adjusting θinh and Jei to maintain a constant inhibitory drive—thus preserving the overall firing rate across different network configurations.

    As demonstrated in Figure 4, when the number of inhibitory neurons is fixed (e.g., vertical line at Ninh = 1900) and the firing rate is maintained at 4 Hz (brown lines), reducing θinh (from dark to light lines) requires a corresponding decrease in Jei to sustain the same firing rate. Under these conditions, we observe an increase in network dimensionality and coding capacity. This finding indicates that, even when firing rate is held constant, changes in inhibitory parameters can significantly influence network structure and function.

    Together, these results demonstrate that the observed changes in coding capacity and participation ratio are not merely consequences of firing rate differences, but rather reflect the impact of inhibitory dynamics on the population structure of the network.

    We clarified this in section Network coding capacity for realistic cortical EI ratios and discussion.

    Recommendations for the authors:

    Reviewer #1 (Recommendations for the authors):

    Minor issues:

    (1) Pg 23, lines 453-456: "Our spiking neural network incorporates heterogeneities in the coupling strengths between excitatory and inhibitory neurons (Jei was varied as an independent variable) and in the inhibitory firing thresholds (the threshold of the inhibitory neurons was varied as an independent variable), but not in other parameters." My customary understanding of "heterogeneity" is that it refers to variation within a system or simulation. But from my reading, Jei is fixed and constant within a simulation. True?

    We appreciate the reviewer's insightful comment regarding the term 'heterogeneity' and the specific parameters in our model. We understand how our previous phrasing caused confusion.

    Our intention was to highlight the difference in magnitude between the excitatory-inhibitory coupling strength (Jei) and the other coupling strengths (Jii and Jee), as well as the difference between the inhibitory and excitatory neuron firing thresholds. We did not intend to imply variability of Jei or the inhibitory firing threshold within a single simulation run.

    To clarify, within each simulation, Jei and the inhibitory firing threshold (θinh) were held constant. However, we varied these values across different simulations to explore their impact on network dynamics. We now realize that using the term 'heterogeneity' in this way was misleading, as it typically implies variation within a single instance.

    We have revised the relevant section of the manuscript to replace 'heterogeneity' with more precise language, such as 'differences in magnitude' or 'varied parameters across simulations,' to accurately reflect our methodology and avoid further misinterpretations. We will also explicitly state that Jei and θinh were constant within each simulation but varied across the set of simulations performed.

    (2) I noticed a few misspellings: pg. 9 line 163, "Wee" instead of "We" (3) Some equations need formatting. For example: in Eqn. (6), parentheses should be resized to fit their contents.

    We corrected these errors.

    Reviewer #2 (Recommendations for the authors):

    Major:

    (1) It may be relevant to control for firing rate while demonstrating that coding improves as a function of the number of inhibitory neurons.

    We appreciate the reviewer’s suggestion that it is important to control for firing rate when demonstrating that coding improves as a function of the number of inhibitory neurons.

    As mentioned in our response to Reviewer 1, we took care in our study to disentangle the effects of inhibitory drive from firing rate by explicitly controlling the firing rate across conditions.

    As detailed in Figure 4, we performed simulations at fixed firing rates (8 Hz, 4 Hz, and 2 Hz), during which we systematically varied the number of inhibitory neurons by adjusting the EI ratio. To maintain a stable firing rate while manipulating inhibitory population size, we jointly adjusted the inhibitory threshold (θinh) and the synaptic strength from inhibitory to excitatory neurons (Jei), thereby ensuring a constant inhibitory drive across different EI ratios.

    We observed that, even with a fixed firing rate, changing the inhibitory parameters by θinh, Jei, and Ninh led to a change in network dimensionality and coding capacity. This inverse relationship, observed independently of firing rate changes, demonstrates that inhibitory influence plays a direct role in shaping the population-level dynamics and coding properties of the network.

    We clarified this in sections Network coding capacity for realistic cortical EI ratios and discussion.

    (2) The discussion could benefit from additional justification for the chosen approach and the selection of features. Specifically, it is not entirely clear why these three parameters were deemed the most interesting.

    Thank you for this suggestion. Our selection of parameters is grounded in experimental measurements quantifying cell bodies across six cortical layers of the barrel column [4] . This dataset revealed distinct differences in the EI ratio across layers and areas. For instance, an EI ratio of 5.25 in layer 2/3 and 7.34 in layer 4 (see Figure 1 in the manuscript). Motivated by these findings, we aimed to investigate how layer-specific EI ratios influence the dynamics and computational properties of the corresponding cortical layers.

    To do this, we manipulated the EI ratio in a balanced network model by varying the number of inhibitory neurons. To maintain physiological firing rates across network configurations, we additionally adjusted two parameters:

    First, we changed the firing threshold of inhibitory neurons Ninh —motivated by evidence showing differences in intrinsic properties between excitatory and inhibitory cortical neurons (see Figure S1 and reference [8]).

    Second, we varied the synaptic strength from inhibitory to excitatory neurons Jei —this follows both theoretical work [1, 9] and experimental studies that emphasize the importance of asymmetry in synaptic strengths for maintaining stability and balance in cortical circuits. For example, Xue, et. al (2014) [10] demonstrate how synaptic strength is differentially regulated across cell types to maintain balance, and Isaacson and Scanziani (2011) [11] highlight differences in the timing and strength of excitation-to-inhibition vs. inhibition-to-excitation pathways.

    We added this clarification to the discussion section to better justify our modeling choices and the focus on these specific parameters.

    (3) Are CV or synchrony different in example L2/3 and L4 networks? How does this compare to cortical recordings?

    Thank you for raising this important point regarding differences in CV and synchrony between layer 2/3 and layer 4 networks. Your question prompted us to correct Figure 3, which previously showed CV and synchrony with a wrong colorbar. We measured CVISI and synchrony in both layers under these conditions, as shown in Figure 4 (black and red dots):

    Black dots:

    - Layer 4 (EI ratio = 7.35, firing rate = 8 Hz): CVISI = 0.69, synchrony = 0.09

    - Layer 2/3 (E/I ratio = 5.25, firing rate = 4 Hz): CVISI = 0.71, synchrony = 0.036

    Red dots:

    - Layer 4 (E/I ratio = 7.35, firing rate = 4 Hz): CVISI = 0.78, synchrony = 0.05

    - Layer 2/3 (E/I ratio = 5.25, firing rate = 2 Hz): CVISI = 0.76, synchrony = 0.024

    We included this analysis in the section "Network coding capacity for realistic cortical E/I ratios" where we discuss E/I ratios characteristic of the barrel cortex.

    Additionally, we analyzed CVISI and synchrony in experimental cortical recordings from the Allen Institute for both layer 4 and layer 2/3, using data from networks with E/I ratios similar to those of the barrel cortex.

    In this data, we found the following values:

    - Layer 2/3 shows CVISI = 0.090, synchrony = 0.05

    - Layer 4 shows CVISI = 0.088, synchrony = 0.08

    We included these experimental results in the section "Coding capacity in different layers of the visual cortex.

    (4) The provided code link appears to be broken.

    Thank you for pointing this out. We have fixed the link and ensured that the code is now properly imported there.

    Minor Comments:

    (1) The discussion could expand on differences in cortical networks across the brain to justify or highlight the limitations of using anatomy from the barrel cortex and comparing it with V1 coding in the data analysis section (e.g. see Scala et al., 2019).

    We thank the reviewer for this valuable suggestion and for referencing Scala et al. (2019) [7]. We agree that expanding the discussion to address broader differences in cortical network organization across brain regions helps clarify the limitations of comparing a model based on barrel cortex anatomy with V1 coding data.

    As noted in above, we have incorporated these points into the revised discussion. Specifically, we now highlight key differences in intrinsic connectivity, receptor expression, neuromodulation, and functional specialization between cortical areas. These additions, along with citations to Scala et al. (2019) [7] and other relevant literature, aim to provide a more comprehensive perspective on the challenges of cross-area comparisons and to contextualize the scope and limitations of our modeling approach.

    (2) Using the E/I ratio instead of absolute numbers on plot axes might improve readability.

    The excitatory neuron count was held constant at 10,000, while the inhibitory neuron count was varied from 2,500 to 1,000 in 150-decrements. This resulted in an E/I ratio that ranged from 4 to 10, with unequal intervals between values. Consequently, we opted to use the number of inhibitory neurons as the plot axis instead of the E/I ratio.

    (3) The 3D plots are somewhat difficult to interpret. Consider alternative visualizations.

    We appreciate the feedback regarding the interpretability of 3D plots. Our aim has always been to present the data as clearly as possible. To address this, we consistently employ complementary 2D plots to simplify the interpretation of our 3D visualizations.

    For instance, in Figure 2 B, while we show a 3 D representation of the average firing rate across EI ratios, Jei, and θinh, we also provide a corresponding 2D plot specifically for θinh = 20 mV. This allows for a more direct and understandable view of how firing rate changes across EI ratios and Jei at that specific θinh value.

    Similarly, for all 3D plots in Figure 3, which depict the average coefficient of variation of inter-spike intervals, synchrony, and participation ratio, we consistently present simpler 2D plots in the top panels. These 2D plots focus on the relationships between EI ratios and Jei at θinh = 20 mV, making the complex 3D data more accessible.

    To further enhance clarity in Figure 4, which illustrates the regularity of network spike patterns in relation to participation ratio(PR), firing rate, and network encoding capacity, we have introduced an additional 2D plot within Figure 3. This new visualization specifically details the regularity of network spike patterns as a function of firing rate and network encoding capacity, providing a more focused and interpretable view.

    Beyond just visual demonstrations, we have also made a concerted effort to explain these 3D plots in extensive detail within both the main text body and the corresponding figure captions. We hope that with this multi-pronged approach even complex relationships are thoroughly communicated and understood.

    (4) Including a separate figure for the Allen Institute data analysis might help better evaluate the results.

    Because the Allen Institute data analysis measures dimensionality and coding capacity of layer 2/3 and layer 4, which are primarily numerical, a dedicated figure would not substantially enhance the visual information. We believe a direct textual explanation, as discussed in the results, effectively conveys the relevant information.

    (5) The claim: "However, neither previous theoretical nor simulation studies have addressed how these differences in EI ratio will affect layer-specific dynamics and computational properties" could benefit from clarification and additional references.

    Thank you for requesting additional referencing. We now add more clarification to the paragraph as follows:

    Although previous studies have explored various biologically realistic aspects of classical balanced networks, such as the effects of more complex neuronal properties including spike frequency adaptation using adaptive exponential integrate-and-fire (AdEx) neuron models [12] , the temporal evolution of randomly connected balanced networks through second-order mean-field approximations [13], predictions of nonlinear dynamics across diverse neuron models ranging from integrate-and-fire to Hodgkin–Huxley formulations, thus bridging population dynamics to neuronal electrophysiology [14], the impact of spatial heterogeneity in balanced networks [15–17], and variations in synaptic timescales [18], the specific effects of differences in EI ratios on layer-specific dynamics and computational properties have, to the best of our knowledge, not yet been addressed.

    (6) It might be worthwhile to discuss other cortical layers and interlaminar connectivity. r – Add refs in discussion about other brain areas with other EI ratios (cerebellum?)

    Thank you for your suggestion. We agree that including layer-specific distributions and E/I ratios in other brain areas provides valuable context. Exact percentages vary across studies, and detailed counts for every interneuron subtype are rare, but general patterns are well established. Across species from Drosophila [19], rodents [8, 20], cats [21, 22], to non-human primates [23] and humans [24], roughly 70–80% of cortical neurons are excitatory and 20–30% inhibitory, with the hippocampus and cerebellum showing ~85–90% excitatory neurons [8, 25, 26]. This conserved E/I ratio supports memory, multi-task learning, and flexible information processing [27–29].

    In the barrel cortex (S1), the layer-specific distributions reflect this pattern while highlighting functional specialisation: Layer 1 is almost entirely inhibitory (~90–95%), with very few excitatory cells (~5–10%), functioning primarily as a modulatory layer [21, 30]. In layers 2/3, 4, 5, and 6, excitatory neurons dominate numerically (~75–85%), while inhibitory neurons make up ~15–25% and include PV+, SOM+, and VIP+ interneurons that regulate local circuits and pyramidal outputs [30–33]. These excitatory and inhibitory neurons form interlaminar circuits that balance activity, stabilize network dynamics, and allow flexible signal propagation across the cortical column.

    This explanation has now been added to the discussion to clarify layer-specific E/I ratios and interlaminar connectivity.

    (7) Consider adding a justification for the grid search approach compared to simulation-based inference methods in the discussion.

    We appreciate the reviewer's suggestion to discuss the rationale behind our grid search approach, particularly in comparison to simulation-based inference methods. We understand the value of exploring more sophisticated inference techniques.

    We acknowledge that there are various simulation-based inference methods, such as approximate Bayesian computation or likelihood-free inference, that could potentially be applied to our model. However, for this study, our primary goal was to perform a systematic sensitivity analysis of the classical balanced network with respect to the EI ratio, inhibitory firing threshold, and inhibitory-to-excitatory synaptic strength. We aimed to comprehensively map the parameter space and observe the resulting changes in network dynamics across a wide range of parameter combinations.

    A grid search was chosen because it offered a straightforward and transparent way to achieve this objective. It allowed us to systematically explore the influence of each parameter independently and in combination with others, providing a clear visualization of the network's behavior across the parameter space. This method was particularly suitable for our initial investigation, which focused on understanding the fundamental relationships between these parameters and network activity.

    However, we recognize the potential benefits of simulation-based inference methods for future studies. These methods could be particularly useful for tasks such as parameter estimation, model selection, or exploring more complex parameter dependencies.

    We would be very interested to learn more about the specific simulation-based inference methods the reviewer had in mind and how they might be applied to our model. If the reviewer could provide more specific recommendations or references, we would be grateful. We will consider incorporating a discussion of these methods and their potential advantages in the discussion section, acknowledging the limitations of our current grid search approach and outlining potential avenues for future research.

    (8) Line 340: Correction needed for the "AP waveform."

    Thank you for your comment. We have revised the text to consistently specify AP waveform instead of just waveform throughout the manuscript.

    References:

    (1) Ostojic S. Two types of asynchronous activity in networks of excitatory and inhibitory spiking neurons. Nat Neurosci 2014; 17: 594–600.

    (2) Dahmen D, Recanatesi S, Jia X, et al. Strong and localized recurrence controls dimensionality of neural activity across brain areas. 2023; 2020.11.02.365072.

    (3) Adesnik H. Layer-specific excitation/inhibition balances during neuronal synchronization in the visual cortex. J Physiol 2018; 596: 1639–1657.

    (4) Huang C, Zeldenrust F, Celikel T. Cortical Representation of Touch in Silico. Neuroinformatics 2022; 20: 1013–1039.

    (5) Li H, Crair MC. How do barrels form in somatosensory cortex? Ann N Y Acad Sci 2011; 1225: 119–129.

    (6) Argunşah AÖ, Stachniak TJ, Yang J-W, et al. Local Inhibitory Dynamics Underpin Temporal Integration and Functional Segregation between Barrels and Septa in the Mouse Barrel Cortex. 2025; 2024.01.23.576792.

    (7) Scala F, Kobak D, Shan S, et al. Layer 4 of mouse neocortex differs in cell types and circuit organization between sensory areas. Nat Commun 2019; 10: 4174.

    (8) Pelkey KA, Chittajallu R, Craig MT, et al. Hippocampal GABAergic Inhibitory Interneurons. Physiol Rev 2017; 97: 1619–1747.

    (9) Brunel N. Dynamics of Sparsely Connected Networks of Excitatory and Inhibitory Spiking Neurons. J Comput Neurosci 2000; 8: 183–208.

    (10) Xue M, Atallah BV, Scanziani M. Equalizing excitation-inhibition ratios across visual cortical neurons. Nature 2014; 511: 596–600.

    (11) Isaacson JS, Scanziani M. How inhibition shapes cortical activity. Neuron 2011; 72: 231–243.

    (12) Kusch L, Depannemaecker D, Destexhe A, et al. Dynamics and Bifurcation Structure of a Mean-Field Model of Adaptive Exponential Integrate-and-Fire Networks. Neural Comput 2025; 37: 1102–1123.

    (13) El Boustani S, Destexhe A. A master equation formalism for macroscopic modeling of asynchronous irregular activity states. Neural Comput 2009; 21: 46–100.

    (14) Carlu M, Chehab O, Dalla Porta L, et al. A mean-field approach to the dynamics of networks of complex neurons, from nonlinear Integrate-and-Fire to Hodgkin-Huxley models. J Neurophysiol 2020; 123: 1042–1051.

    (15) Rosenbaum R, Doiron B. Balanced Networks of Spiking Neurons with Spatially Dependent Recurrent Connections. Phys Rev X 2014; 4: 021039.

    (16) Gast R, Solla SA, Kennedy A. Neural heterogeneity controls computations in spiking neural networks. Proc Natl Acad Sci U S A 2024; 121: e2311885121.

    (17) Volo M di, Destexhe A. Optimal responsiveness and collective oscillations emerging from the heterogeneity of inhibitory neurons. Sci Rep ; 11. Epub ahead of print 2 September 2021. DOI: 10.1038/s41598-021-96745-2.

    (18) Di Geronimo C, Destexhe A, Di Volo M. Biologically realistic mean field model of spiking neural networks with fast and slow inhibitory synapses. J Comput Neurosci 2025; 53: 289–303.

    (19) Schlegel P, Yin Y, Bates AS, et al. Whole-brain annotation and multi-connectome cell typing quantifies circuit stereotypy in Drosophila. BioRxiv Prepr Serv Biol 2023; 2023.06.27.546055.

    (20) Vereczki VK, Müller K, Krizsán É, et al. Total Number and Ratio of GABAergic Neuron Types in the Mouse Lateral and Basal Amygdala. J Neurosci Off J Soc Neurosci 2021; 41: 4575–4595.

    (21) Gabbott PL, Somogyi P. Quantitative distribution of GABA-immunoreactive neurons in the visual cortex (area 17) of the cat. Exp Brain Res 1986; 61: 323–331.

    (22) Oliver DL, Winer JA, Beckius GE, et al. Morphology of GABAergic neurons in the inferior colliculus of the cat. J Comp Neurol 1994; 340: 27–42.

    (23) Hendry SH, Schwark HD, Jones EG, et al. Numbers and proportions of GABA-immunoreactive neurons in different areas of monkey cerebral cortex. J Neurosci Off J Soc Neurosci 1987; 7: 1503–1519.

    (24) Hornung J-P, De Tribolet N. Distribution of GABA-containing neurons in human frontal cortex: a quantitative immunocytochemical study. Anat Embryol (Berl) 1994; 189: 139–145.

    (25) Freund TF, Buzsáki G. Interneurons of the hippocampus. Hippocampus 1996; 6: 347–470.

    (26) Bezaire MJ, Soltesz I. Quantitative Assessment of CA1 Local Circuits: Knowledge Base for Interneuron-Pyramidal Cell Connectivity. Hippocampus 2013; 23: 751–785.

    (27) Sukenik N, Vinogradov O, Weinreb E, et al. Neuronal circuits overcome imbalance in excitation and inhibition by adjusting connection numbers. Proc Natl Acad Sci 2021; 118: e2018459118.

    (28) Chapeton J, Fares T, LaSota D, et al. Efficient associative memory storage in cortical circuits of inhibitory and excitatory neurons. Proc Natl Acad Sci 2012; 109: E3614–E3622.

    (29) Capano V, Herrmann HJ, de Arcangelis L. Optimal percentage of inhibitory synapses in multi-task learning. Sci Rep 2015; 5: 9895.

    (30) Tremblay R, Lee S, Rudy B. GABAergic Interneurons in the Neocortex: From Cellular Properties to Circuits. Neuron 2016; 91: 260–292.

    (31) Peters A, Kara DA. The neuronal composition of area 17 of rat visual cortex. IV. The organization of pyramidal cells. J Comp Neurol 1987; 260: 573–590.

    (32) Meyer HS, Schwarz D, Wimmer VC, et al. Inhibitory interneurons in a cortical column form hot zones of inhibition in layers 2 and 5A. Proc Natl Acad Sci U S A 2011; 108: 16807–16812.

    (33) Markram H, Toledo-Rodriguez M, Wang Y, et al. Interneurons of the neocortical inhibitory system. Nat Rev Neurosci 2004; 5: 793–807.

  5. eLife assessment

    The study presents a useful computational analysis of how the ratio between excitatory and inhibitory neural numbers affects coding capacity. The authors show that increasing the proportion of inhibitory neurons (as observed in upper cortical layers compared to the input recipient layer 4) increases the dimensionality of neural activity and improves the encoding of time-varying stimuli. However, the evidence about the role of the inhibitory population in coding is incomplete because numerical results are neither supported by analytical mathematical results nor include controls for changes in firing thresholds or subtypes of inhibitory neurons.

  6. Reviewer #1 (Public review):

    Summary:

    The authors seek to understand the role of different ratios of excitatory to inhibitory (EI) neurons, which in experimental studies of the cerebral cortex have been shown to range from 4 to 9. They do this through a simulation study of sparsely connected networks of excitatory and inhibitory neurons.

    Their main finding is that the participation ratio and decoding accuracy increase as the E/I ratio decreases. This suggests higher computational complexity.

    This is the start of an interesting computational study. However, there is no analysis to explain the numerical results, although there is a long literature of reduced models for randomly connected neural networks which could potentially be applied here. (For example, it seems that the authors could derive a mean field expression for the expected firing rate and variance - hence CV - which could be used to target points in parameter space (vs. repeated simulation in Figures 1,2).) The paper would be stronger and more impactful if this was attempted.

    Strengths:

    Some issues I appreciated are:

    (1) The use of a publicly available simulator (Brian), which helps reproducibility. I would also request that the authors supply submission or configuration scripts (if applicable, I don't know Brian).

    (2) A thorough exploration of the parameter space of interest (shown in Figure 2).

    (3) A good motivation for the underlying question: other things being equal, how does the E/I ratio impact computational capacity?

    Weaknesses:

    (1) Lack of mathematical analysis of the network model

    Major issues I recommend that the authors address (not sure whether these are "weaknesses"):

    (1) In "Coding capacity in different layers of visual cortex" the authors measure PR values from layers 2/3 and 4 in VISp and find that layer 2/3 has a higher PR than layer 4.

    But in Dahmen et al. 2020 (https://doi.org/10.1101/2020.11.02.365072 ), the opposite was found (see Figure 2d of Dahmen et al.): layer 2 had a lower PR than layer 4. Can the authors explain how that difference might arise? i.e. were they analyzing the same data sets? If so why the different results? Could it have to do with the way the authors subsample for the E/I ratio?

    From the Methods of that paper: "Visual stimuli were generated using scripts based on PsychoPy and followed one of two stimulus sequences ("brain observatory 1.1" and
    "functional connectivity"). We focused on spontaneous neural activity registered while the animal was not performing any task. In each session, the spontaneous activity condition lasted 30 minutes while the animal was in front of a screen of mean grey luminance. We, therefore, analyzed 26 of the original 58 sessions corresponding to the "functional connectivity" subdataset as they included such a period of spontaneous activity. " This suggests to me they may have analyzed recordings with the other stimulus sequence; however, the hypothesis that E/I ratio should modulate dimensionality would not seem to "care" about which stimulus sequence was used.

    (2) In Discussion (pg. 20, line 383): "They showed that brain regions closer to sensory input, like the thalamus, have higher dimensionality than those further away, such as
    the visual cortex. " How is this consistent with the hypothesis that "higher dimensionality might be linked to more complex cognitive functions"?

    (3) What is the probability of connection between different populations? e.g. the probability of there being a synaptic connection between any two E cells? I could not find a statement about this. It should be included in the Methods.

    (4) pg. 27, line 540: "Synchronicity within the network" For each cell pair, the authors use the maximum cross-correlation over time lag. I don't think I have seen this before. Can the authors explain why they use this measurement, vs (a) integrated cross-correlation or (b) cross-correlation at some time scale? Also, it seems like this fails to account for neuron pairs for which there is a strong inhibitory correlation.

    (5) "When stimulated, a time-varying input, μext(t), is applied to 2,000 randomly selected excitatory neurons. " I would guess that computing PR would depend on the overlap of the 500 neurons analyzed and this population. Do the authors check or control for that?

    5b) Related: to clarify, are the 500 neurons chosen from the analysis equally likely to be E or I neurons?

  7. Reviewer #2 (Public review):

    Summary:

    Alizadeh et al. investigate how varying cellular E/I (excitatory/inhibitory) composition impacts coding across cortical layers. They build on findings from a recent study (Huang et al., 2022) that demonstrated a decrease in the fraction of inhibitory neurons from L2/3 to L4. Using a network of excitatory and inhibitory leaky integrate-and-fire neurons, they systematically assess how these anatomical features influence the dimensionality of network activity and coding capacity. Their key finding is that increasing the proportion of inhibitory neurons enhances the dimensionality of activity and improves the encoding of time-varying stimuli.

    Strengths:

    The authors use a clear methodology and well-established model of network activity that allows them to relate network parameters to the coding properties. They systematically evaluate the impact of the key features of the inhibitory population. Thus, in addition to changing the fraction of inhibitory cells, they control for the inhibitory firing threshold of inhibitory neurons and connection strength between inhibitory and excitatory cells. Furthermore, they show their modeling results are aligned with the analysis of the spiking activity in L2/3 vs. L4 from the Allen Institute data.

    Weaknesses:

    One general shortcoming of this approach is that it focuses on a small preselected number of network features. For example, it is unclear to what extent the results would be affected by other aspects of the organization of cortical columns, such as subclasses of inhibitory cells (SOM, VIP, PV), specific differences in synapses, realistic population sizes, or even connectivity between layers. Similarly, the models of L2/3 and L4 are constrained based on a limited set of observations, and it has not been demonstrated whether the same findings hold true for V1 recordings analyzed by the authors.

    The modeling relies on anatomical data from the barrel cortex, but the decoding comparison is based on V1 data. This raises questions about how anatomical differences between regions may influence the conclusions.

    The coding capacity appears inversely correlated with the firing rate, which in this study is largely influenced by the properties of the inhibitory population. It would be important to confirm that the observed changes in coding capacity and participation ratio are not solely driven by firing rate changes.