==== Front J Neurophysiol J Neurophysiol JN Journal of Neurophysiology 0022-3077 1522-1598 American Physiological Society Rockville, MD 37222450 JN-00100-2023 JN-00100-2023 10.1152/jn.00100.2023 Innovative Methodology Computational NeuroscienceStimulation-mediated reverse engineering of silent neural networks REVERSE ENGINEERING OF SILENT NEURAL NETWORKS https://orcid.org/0000-0002-6583-2612 Ren Xiaoxuan 1 2 https://orcid.org/0000-0002-4481-7843 Bok Ilhan 2 https://orcid.org/0000-0002-5872-447X Vareberg Adam 1 https://orcid.org/0000-0002-4556-3048 Hai Aviad 1 2 3 1Department of Biomedical Engineering, University of Wisconsin-Madison, Madison, Wisconsin, United States 2Department of Electrical and Computer Engineering, University of Wisconsin-Madison, Madison, Wisconsin, United States 3Wisconsin Institute for Translational Neuroengineering (WITNe), Madison, Wisconsin, United States Correspondence: A. Hai (ahai@wisc.edu). 1 6 2023 24 5 2023 24 5 2023 129 6 15051514 10 3 2023 16 5 2023 23 5 2023 Copyright © 2023 The Authors. 2023 The Authors https://creativecommons.org/licenses/by/4.0/ Licensed under Creative Commons Attribution CC-BY 4.0. Published by the American Physiological Society. Reconstructing connectivity of neuronal networks from single-cell activity is essential to understanding brain function, but the challenge of deciphering connections from populations of silent neurons has been largely unmet. We demonstrate a protocol for deriving connectivity of simulated silent neuronal networks using stimulation combined with a supervised learning algorithm, which enables inferring connection weights with high fidelity and predicting spike trains at the single-spike and single-cell levels with high accuracy. We apply our method on rat cortical recordings fed through a circuit of heterogeneously connected leaky integrate-and-fire neurons firing at typical lognormal distributions and demonstrate improved performance during stimulation for multiple subpopulations. These testable predictions about the number and protocol of the required stimulations are expected to enhance future efforts for deriving neuronal connectivity and drive new experiments to better understand brain function. NEW & NOTEWORTHY We introduce a new concept for reverse engineering silent neuronal networks using a supervised learning algorithm combined with stimulation. We quantify the performance of the algorithm and the precision of deriving synaptic weights in inhibitory and excitatory subpopulations. We then show that stimulation enables deciphering connectivity of heterogeneous circuits fed with real electrode array recordings, which could extend in the future to deciphering connectivity in broad biological and artificial neural networks. connectivity ; microelectrode arrays ; reverse engineering ; supervised learning DOD | USN | ONR | Office of Naval Research Global (ONRG) 10.13039/100007297 N00014-23-1-2006 Aviad HaiDOD | USN | Office of Naval Research (ONR) 10.13039/100000006 N00014-22-1-2371 Aviad HaiDOD | USN | Office of Naval Research (ONR) 10.13039/100000006 K01EB027184 Aviad HaiHHS | NIH | National Institute of Neurological Disorders and Stroke (NINDS) 10.13039/100000065 DP2NS122605 Aviad Hai ==== Body pmcINTRODUCTION Deciphering the function of neurobiological networks hinges on proper determination of connectivity at the single neuronal level (1–4). Uncovering the specific circuit connectivity and how it mediates neuronal firing can then lead to more effective therapies for brain disorders (5–10). Different methodologies have been used to derive neural coupling at the neuronal level (11–16) and at the brain regional level (17–19). Current efforts involve reconstructing highly detailed structural connections (11, 20, 21) or deriving putative monosynaptic connections from large-scale electrophysiological recordings (15, 22) and optical imaging (2, 16, 23, 24). Notwithstanding the growing availability and increased precision of neurological imaging modalities, multiplexed electrophysiological recordings of action potentials by microelectrode arrays (MEAs) are still the mainstay input for decoding connectivity at microcircuit resolution (14, 25, 26). MEAs provide readouts at increasingly larger scales, with recent probes able to provide in vivo recordings of up to thousands of units in parallel (27–30). Most studies rely primarily on active units to derive connectivity and largely exclude nonfiring or minimally active neurons. However, numerous groups present evidence that more than half of the neurons in the brain are silent, firing at very low frequencies (31, 32) and having highly specialized receptive fields (33–35). Minimally active neurons do not fire spontaneously or participate in oscillatory activity but instead usually fire at rates of 1 spike/min or less (36–38), with some groups reporting frequencies of as low as 0.001 Hz (39) depending on the brain region and task studied. The proportion of silent neurons in a typical brain tissue varies, ranging between at least 10–20% in the sensory cortex (38, 39) and as much as 66% in the motor cortex (36). Low firing rates limit the accuracy of network reconstruction, because of the inherently low information content at baseline conditions. Electrical stimulation (40, 41), sensory stimulation (42, 43), and neuropharmacological manipulations (44–46) are often used in neurobiological research to perturb a system above baseline and could therefore activate silent neurons and thus improve the inference of network connectivity. In this work we demonstrate a supervised learning method to analyze the use of stimulation for determining connectivity between postsynaptic neurons and heterogeneous populations of both silent and active presynaptic neurons. We test our method on simulated spike trains and apply it on experimental multielectrode array data of rat cortical neurons, using circuits of leaky integrate-and-fire (LIF) neuronal models. We show that repetitive stimulation epochs can evoke activity that is sufficient for determining the synaptic weights of the entire neuronal population. We characterize the performance of our algorithm for determining weights from excitatory, inhibitory, and unconnected neurons in the population and compare the ability of the method to predict spike trains. This approach presents a new platform to increase the performance of learning algorithms for reconstructing neuronal networks and for using neuronal stimulation to decipher large-scale brain circuitry. METHODS Simulated Neuronal Population Spike Trains We generated spike trains for populations of neurons (size ranging between 200 and 2,000 cells) recorded during stimulus response. Sixty-six percent of the spike trains corresponded to “silent” neurons [firing at 1 spike/min, or 0.017 Hz (35, 47)], and the rest corresponded to responsive neurons [mean firing rate was 20 Hz (48, 49)]. For feedforward perceptron networks spikes were generated by sampling randomly using a uniform distribution with a probability of 1/f, and for recurrent neuronal circuits spike distribution was lognormal (µ = 3.7 Hz, σ = 3.5 Hz). In addition to the above condition, we compared results using simulated spike trains from a population with no silent neurons, where all the 200 units fired at 20 Hz (hyperactive network). Feedforward Integrate-and-Fire Model and Connectivity For feedforward perceptron networks we simulated postsynaptic neurons as simple integrate-and-fire (IAF) neurons receiving inputs from 100 out of the total population spike trains. Eighty inputs were set to be excitatory (having positive weights), and 20 inputs were set to be inhibitory (having negative weights) (50). Input weights ranged between [−8, 8] mV, sampled randomly with a uniform distribution. Spikes in the simple IAF model were generated by summation of the inputs at each time step (1-ms intervals) using (1) V=∑i=1nxiwiy = 1, V>thresholdy = 0, V≤ threshold where V is the membrane potential of the postsynaptic neuron, xi is the input from population neuron i, wi is the weight of input i, n = total number of neurons, threshold = 20 mV (with resting membrane potential = 0 mV), and y is the spike output of the postsynaptic neuron. All models were constructed in MATLAB 2020a (MathWorks Inc, Natick, MA). Leaky Integrate-and-Fire Recurrent Circuits For recurrent circuits we used leaky integrate-and-fire (LIF) neuronal models to enable tonic excitability in response to input (51). Postsynaptic spike at time t + Δt was determined by a threshold and reset mechanism: (2) Vm(t+Δt)= Vm(t)+ Δt·−[Vm(t) − Ve ]+ Im· Rmτm where Vm is the membrane potential, Ve is the resting potential (−75 mV), Cm is the membrane capacitance (100 pF), and Rm is the input resistance (10 MΩ), with a time constant τm = Cm × Rm = 1 ms. Im is the membrane current defined as sum total of presynaptic current inputs: (3) Im=Ipost∑iwi × spikei  contributed by each presynaptic cell i with weight wi, active if spikei = 1 and with postsynaptic current Ipost = 1 nA. A postsynaptic spike is generated if Vm > Vt (where Vt is threshold voltage), and Vm is reset to Vreset. Circuit Connectivity Circuits of interconnected LIF neurons were constructed with nonrandom connectivity distribution: neurons were connected with probabilities P = 0.13 for unidirectional connections and Prep = 0.06 for reciprocal connections (52). Reciprocal connections were 1.5 times stronger than unidirectional connections. Each neuron in the circuit had a total presynaptic neural population of 120 cells with excitatory-to-inhibitory weight ratio of 4:1 and weights a range of [−8, 8] mV. Firing rate distribution for circuit cells was lognormal (µ = 0.8703 Hz, σ = 0.8749 Hz). Deriving Connectivity We used the spike trains of the postsynaptic neuron and the presynaptic population as ground-truth data for deriving connection weights with a perceptron algorithm (53, 54). At each iteration of the algorithm, the derived connection weights were updated using the perceptron learning rule: (4) Δwi=lr (y−y′)xi Δwi is the update for input weight i, lr is the learning rate, y is the spike output of the postsynaptic neuron in the training data, and y′ is the output guessed by the perceptron model. We used 2,500 trials (each of 1,000-ms duration) to train the perceptron model with mean optimized learning rate of 0.01 (Fig. 1F). Figure 1. Stimulation-mediated derivation of synaptic weights of feedforward neuronal population with silent cells. A: schematic diagram of a neuronal population of presynaptic neurons forming synapses with an integrate-and-fire postsynaptic neuron (purple), with weights ranging between −8 and 8 mV; 66% of the neurons in the population were silent (firing rate < 0.01 Hz), and the rest were active (firing rate ∼20 Hz). In the stimulated condition, 25% of the neurons were stimulated (firing rate ∼60 Hz). The color coding is maintained for the rest of the figure. The postsynaptic neuron received excitatory and inhibitory inputs with a 4-to-1 ratio. B: spike raster of the population spike trains over 1,000 ms. The top 34% of the trains correspond to active neurons firing at a baseline of 20 Hz. The bottom 66% correspond to silent neurons that fire at 0.017 Hz. Stimulation duration was 200 ms. C: optimal learning rate was determined by minimizing root mean square error (RMSE) over 100 iterations for a group of representative recurrent networks and over a range of learning rate values between 10−5 and 10−2. D: derived vs. actual weights in the hyperactive neuron population case (with no silent neurons). The derived weights matched the actual weights (Pearson correlation r = 1.00, P ∼ 0). E: derived vs. actual weights in the realistic neuron population case, where 66% of the population are silent. The derived weights deviated considerably from the actual weights (r = 0.44, P < 0.01). F: derived vs. actual weights in the stimulated population case, where 25% of the population were stimulated to fire at 60 Hz for 100 ms. The derived weights closely matched the actual weights (r = 0.97, P ∼ 0). G: RMSE of the derived weights vs. actual weights for the cases shown in D–F (n = 10 datasets); error bar is SE. Performance Measures We evaluated the performance of the algorithm for deriving connectivity by the root mean square error (RMSE) between the derived weights and actual input weights. In addition, we evaluated performance by using the derived weights to predict spikes, as measured by the average of the prediction sensitivity (true positive rate, TPR) and precision (positive predictive value, PPV): (5) TPR=1−1|Sa|∑k∈Sask−s^k  (6) PPV=1−1|Sp|∑k∈Sask−s^k where Sa represents the subset of events in which a postsynaptic spike occurs and Sp represents the subset of events in which the algorithm predicts there is a postsynaptic spike. Sk is the kth event in Sa, and s^k is kth event in the corresponding position of predicted spikes. We tested the algorithm performance using 10 randomized simulations, with different spike trains and connectivity. The test data consisted of 2,500 trials of 1000 ms each. Stimulated Network Condition We examined the effect of stimulation on deriving connectivity, setting 50 of the input population spike trains (cells chosen at random) to fire at 60 Hz during each stimulation duration (200 ms) based on commonly used parameters (55). We examined results as a function of the number of stimulations, ranging from 1 to 15. Connection Classification We classified connection types for feedforward networks based on selected ranges (Table 1). We classified weights as unconnected using a small ε (0.16 mV), which was the RMSE of derived weights for actual unconnected neurons in perceptron models that had high accuracy (performance > 0.99). We calculated the accuracy of classification for each connection type as the probability of synaptic weight w being correctly classified, given the actual weight. Table 1. Synaptic weight classification Strong Inhibitory Weak Inhibitory Unconnected Weak Excitatory Strong Excitatory w ∈ (−8, −4) (−4, ε) (−ε, ε) (−ε, 4) (4, 8) w, Synaptic weight; ε, root mean square error (RMSE) of derived weights for actual unconnected neurons in perceptron models that had high accuracy. Experimental Data as Model Input Neural recording data fed as input to feedforward and recurrent networks were acquired from rat cortical neurons (A1084001, lot 2214638, Gibco Thermo Fisher Scientific) cultured on microelectrode arrays (MEAs; 60MEA100/10iR-ITO-gr, Harvard Biosciences) with methods described previously (25, 56). MEAs were coated with 0.1 mg/mL polyethyleneimine (408727, Sigma-Aldrich) and 4 μg/mL laminin (23017-015, Thermo Fisher Scientific). A volume of 50 µL of cells was plated for 4 h at 1 million cells/mL on sterilized MEA in media (Neurobasal Plus + 1× GlutaMAX + 10% fetal bovine serum; Thermo Fisher), maintained in media without serum, and replaced every 2–3 days. Data were recorded between days in vitro (DIV) 18 and DIV 22 with an MZ60 MEA headstage amplifier at 6,104 Hz per channel streamed through PZ5 neurodigitizer amplifier and RZ5P base processor (Tucker-Davis Technologies, Alachua, FL). Total recording duration for each data set was 900 s, beginning with a 60-s stimulation epoch. Stimulation was delivered globally by ambient temperature change (from 37°C to room temperature, 60 s). Raw data files were loaded into MATLAB with TDT Synapse software environment and development kit for processing and analysis. RESULTS Prediction of Synaptic Weights for Populations with Silent Neurons Is Improved by Stimulation We characterized the effect of silent neurons on deriving synaptic weights from a heterogeneous population (excitatory, inhibitory, and unconnected) to a postsynaptic neuron within an arena of a recording electrode (Fig. 1, A and B) and characterized the improvement afforded by stimulation (Fig. 1C). Pearson correlation was performed between the inferred weights and the actual weights to quantify the similarity between them. As a reference case, we used a hyperactive neuronal population as a nonrealistic scenario without silent neurons, for which the algorithm derived synaptic weights with high accuracy (Fig. 1D; RMSE = 0.01 ± 0.00, Pearson correlation r = 1, P = 0, n = 10 random populations). For the realistic neuron population (with silent neurons), the algorithm failed to predict the weights from silent neurons and also from many of the active neurons (Fig. 1E; RMSE = 3.59 ± 0.42, Pearson correlation r = 0.44, P < 0.01). When the population was sufficiently stimulated, the algorithm was able to derive weights with high accuracy (Fig. 1G; RMSE = 0.35 ± 0.06, Pearson correlation r = 0.97, P ∼ 0, 15 stimulations, 100 iterations; see Supplemental Fig. S1). The stimulation protocol sufficiently improved the weight prediction of a population with silent neurons (Fig. 1G) and also for limited fractions of the network recorded as common in experimental configurations (Supplemental Fig. S2; RMSE decreased by 4.12 ± 0.64). To evaluate the accuracy of inferred weights of different connection types before and after stimulation, we compared the RMSE value of five groups of connections defined according to their type (excitatory or inhibitory) and strength (weak, strong, and unconnected). The RMSE was improved by stimulation for all types of synaptic weights (Fig 2A; paired t test: P < 0.05), except for unconnected cells since their error was small to begin with (P = 0.1). Similarly, the classification accuracy of connection types improved by stimulation for all types, especially for inhibitory connections (Fig 2B; P < 0.05). The classification accuracy of unconnected weights was high in the nonstimulated case and therefore did not improve significantly with stimulation. The accuracy of predicted weights for all connection types improved with increasing the number of stimuli (Supplemental Fig. S1), particularly for strong inhibitory connections (Fig. 2C). The classification accuracy for inhibitory and excitatory connections improved drastically with increasing the number of stimuli, because of the activation of silent neurons (Fig. 2D). Figure 2. Deriving synaptic weights as a function of stimulus and connection type. A: performance of deriving connections of different type (excitatory and inhibitory) and strength (see methods), in the unstimulated and stimulated (red) conditions. Stimulation improved performance for all cases except the unconnected (paired t test, P < 0.05). RMSE, root mean square error. B: classification accuracy for each connection type in the unstimulated and stimulated conditions. C: performance of deriving connection weights as a function of stimulus number, for the different connection types as shown in A. The shaded area around each curve shows the SD. se, Strong excitatory; si, strong inhibitory; wi, weak inhibitory. D: classification accuracy for excitatory, inhibitory, and unconnected neurons as a function of stimulus number. All error bars denote SE (n = 10 datasets). Spike Prediction Using the Derived Weights We validated the performance of the derived connection weights from unstimulated and stimulated populations in predicting spikes of the postsynaptic neuron, using test data of the population spikes in the stimulated condition (Fig. 3A). Weights derived from nonstimulated populations predicted spikes poorly, with a high proportion of false negatives and some false positives. In contrast, derived weights from stimulated populations predicted postsynaptic spikes with high accuracy, with the sensitivity and performance of the model reaching 0.96 ± 0.01 (Fig. 3B) and 0.97 ± 0.01 (Fig. 3C) after 15 stimuli, respectively. We also verified that the derived weights performed well on population data from the fully activated condition (Supplemental Fig. S3). To verify that the stimulation of silent neurons significantly affects the postsynaptic spike pattern, we stimulated a single strong excitatory silent neuron and compared the predicted postsynaptic spikes, using weights derived from nonstimulated and stimulated data. Activating the single silent neuron was sufficient to trigger additional spikes (Fig. 3E, dashed box), which were not predicted when using weights derived from nonstimulated population data (Fig. 3E, silent) but were predicted faithfully using weights derived from stimulated population data (Fig. 3F, stimulated). Figure 3. Spike prediction using derived connection weights. A: predicted spikes with weights derived using different number of stimuli. The spike train at top shows the actual postsynaptic spikes. Listed below are spike trains predicted from populations stimulated with 0–15 stimuli. True positives are shown in blue; false positives are shown in gray. B: sensitivity of spike prediction as a function of stimulus number. C: precision of spike prediction as a function of stimulus number. D: 3 examples of spike trains of the postsynaptic neuron in the test data (top) and predicted spikes using derived weights from the nonstimulated population (middle) and the stimulated population (bottom). Blue spikes are true positives; gray spikes are false negatives. E: 3 examples of spike trains of the postsynaptic neuron in the nonstimulated case (top) and when stimulating 1 strong excitatory silent neuron (middle) and the predicted spikes using weights derived from the nonstimulated population data (bottom). F: same as E but with predicted spikes using weights derived from the stimulated population data. Stimulated Recurrent Circuits To evaluate performance in a realistic scenario, we tested the algorithm on recurrent circuits of leaky integrate-and-fire (LIF) neurons, receiving real experimental data as presynaptic input (Fig. 4). The circuits were constructed as interconnected hubs with both unidirectional and reciprocal connections and typical synaptic strength (52, 57) (Fig. 4A) and displayed lognormal firing rate distributions (Fig. 4A, inset). A postsynaptic cell received input from six datasets of 64-channel single-unit extracellular microelectrode array recordings, each with a total duration of 900 s (Fig. 4B). Then the model was trained to estimate the synaptic connections between neurons. Decrease in the difference between derived and real weights (Δw) was observed to variable degrees within six subpopulations (strong, medium, and weak inhibitory/excitatory; see for example Fig. 4, C–E and F–H, respectively). This effect was observed across all datasets (Fig. 4I), with significant improvement seen in weak inhibitory, weak excitatory, and medium excitatory (P < 0.015, n = 6). Performance for a feedforward LIF network receiving experimental data as input was also improved when the algorithm was trained on 60-s stimulated multichannel data and tested on 840 s (Fig. 4B). Figure 4. Application of learning algorithm to realistic circuit with live neuronal recordings. Neural network reconstruction is improved with supervised learning of a stimulated network of leaky integrate-and-fire (IAF) neurons fed with live neural recordings. A: circuit configured with 4-to-1 excitatory-to-inhibitory ratio and probabilities P = 0.13 for unidirectional connections and Prep = 0.06 for reciprocal connections. B: recordings fed to network. Shown are 16 channels, 60 s each, of a total of 64 channels, 900 s each fed to circuit as input (scale bar is 100 µV). C–H: improved prediction of connectivity for strong/mid/weak inhibitory (I) and excitatory (E) subpopulations divided by agglomerative clustering (Δw = difference between derived and real weights) I: root mean square error (RMSE) of weight prediction for different subpopulations. J: algorithm performance with and without stimulation (red and blue, respectively) for 100 iterations. Algorithm was trained on all data indiscriminately. All error bars denote SE (n = 6 datasets). Large Neuronal Populations To determine the data requirements for deriving connection weights from larger neuronal populations, we calculated the average spike rate as an estimate of the number of spikes in the data from populations of sizes ranging from 200 to 2,000 neurons (Fig. 5). The average spike rate increased linearly with the number of stimulations, and the slope of that relationship decreased with network size (Fig. 5A). The number of stimuli necessary to yield a firing rate similar to that in the 200-neuron population with 15 stimuli increased linearly with population size (Fig. 5C). We next estimated the degree coverage afforded by the stimuli in populations of different size, as measured by the percentage of neurons that get stimulated by the random stimuli overall (Fig. 5B). The number of stimuli necessary to get 99% coverage increased linearly with network size (Fig. 5C), so that <200 stimulations were sufficient to get full coverage for all the populations examined. Figure 5. Deriving connectivity for large-scale networks. A: average spike frequency as a function of the number of stimulations for different network sizes. The frequency increased linearly with the number of stimulations. The slope decreased as the network size increased. B: coverage of the population by stimulation, measured by % of the population activated, as a function of stimulus number. The slope of the curve decreased as the size of network increased. C: the number of stimulations needed to reach 99% coverage increased linearly with network size. Similarly, the number of stimulations needed to reach a frequency of 7.4 Hz (corresponding to the 200 neurons, 15 stimuli case) increased linearly with network size. DISCUSSION In this study, we demonstrated the utility of stimulation for deriving connectivity of neuronal populations with a significant proportion of the network comprising silent neurons, as seen physiologically. To date, the challenge imposed by silent neurons on deriving connections has remained largely unexplored. Here we showed that a supervised learning algorithm combined with a small number of stimulations enabled inferring connection weights with high fidelity and predicting spike trains with high accuracy. We have characterized the challenge pressed by silent neurons for different types of connections and for different population sizes. Our results make testable predictions about the number and protocol of the required stimulations, which is expected to enhance future efforts for deriving neuronal connectivity that underlies brain function. We applied our method on heterogeneously interconnected LIF circuits receiving live multichannel neural recordings as input and demonstrated improved performance during stimulation for multiple subpopulations. Implementation of the method for diverse electrophysiological datasets relies on using experimental parameters for selective and continuous stimulation of interconnected neuronal subpopulations. Multiplexed single-spike acquisition of connected networks during stimuli is routine both clinically and preclinically over multiple hours during different forms of stimuli (15, 22, 25). Robust changes in firing rates are prevalent during both sensory and electrical stimuli, but fine-tuning of firing patterns with only modest changes in firing rates is also possible. Recent work demonstrates modulation of subtle features of cortical activity including phase locking and interspike intervals of subpopulations, with only minor changes in firing rates (58). Future expansion of our method will involve burst response during stimulation that emphasizes changes in spiking patterns over increase in rate, to identify scenarios that sufficiently add to the quantity of information needed for deriving weights and predicting spikes. Moreover, our simulations suggest the ability to predict subtle changes in firing rates of up to single spikes evoked by single presynaptic cells (Fig. 3, E and F). In our circuit-level validation using live neuronal MEA recordings we show that prediction of synaptic weights can be improved by stimulation (Fig. 4). Further work using more realistic in vivo datasets and circuits combining both feedforward and feedback circuits can address this challenge of testing whether single spikes can also be predicted in scenarios where the number of neurons for a given network is largely unknown. This offers a way to reconstruct networks containing neurons with highly selective receptive field that can also respond to abstract stimuli, a cell type seen physiologically in animals and humans in the form of place cells and abstract concept cells (59). Our tests involve bringing a portion of the population to above firing baseline as a basis for deriving connectivity. Some stimulation experiments, particularly involving deep brain electrical stimulation for neurotherapeutic purposes, result in reduction of firing rates toward complete inhibition in some regions and sometimes generate a combination of excitation and inhibition in response to stimulus (8, 60). The paradigm we present here assumes targeting of a brain region excitatory to the network studied. This can in turn drive the design of new experiments for characterizing mesoscale connectivity of anatomical regions in the brain while also facilitating maximization of the amount of information acquired about the network. Recent large-scale recordings in awake rodents provide a viable platform for stimulus-derived connectivity mapping, demonstrating the activation of subpopulations across multiple brain regions, spanning the primary visual cortex, hippocampal, and thalamic regions in response to constant visual stimulus (29). Such increasingly accessible large-scale tools for electrophysiology will permit methodically locating excitable regions at single-cell and single-spike resolution across the brain. Consequently, our results affirm that local electrical stimulation is not likely to facilitate network reconstruction, in large part because of indiscriminate synchronous firing and false positive observations that lead to imprecise determination of synaptic weights (Supplemental Fig. S4). This coincides with known constraints related to the symmetry of the radius of influence surrounding an electrode (61) that result in indiscriminate stimulation at the recorded region and will likely obscure connectivity manifested in spiking patterns. For preclinical research, however, where optogenetic stimulation is available at the single-cell type level (62), our results should lend themselves well where there is a high degree of control of the number and volumetric distribution of stimulated neurons. For reconstruction of large-scale networks, we find that longer stimulation sessions are required, with a linear relationship between network size and number of stimulation epochs for sufficiently precise derivation of synaptic weights (Fig. 5). Long-term changes in network connectivity during training over many days (63) suggest that future studies involving very large-scale electrophysiological recording and long stimulation sessions, network habituation, and rewiring will have to be included in the derivation algorithm. We characterized the use of stimulation to derive connections from a population of neurons onto a postsynaptic neuron. This enabled a focused investigation of the issue of silent neurons in deriving connections. Our results and stimulation framework can be used to expand the investigation into deriving connections from recurrent networks and overcome additional issues such as spurious connections due to spike correlations (64). We employed an integrate-and-fire neuron model with simple implementation of synaptic connections. Although such models are used widely to model brain networks (65), it will be of general interest to apply our stimulation framework to derive connections from ground-truth spiking data obtained from networks with detailed biophysical models of neurons and synaptic dynamics (50, 57, 66). We anticipate that overcoming the nonlinear challenges imposed by realistic neuronal networks will involve using our framework in tandem with methods for deriving connections based on spike cross-correlations (15, 22) or by using general-purpose optimization methods such as genetic algorithms or maximum likelihood (16, 67). Conclusions We established stimulation parameters for deriving connectivity of silent neuronal populations by way of a supervised learning algorithm. Our algorithm provides network reconstruction with high fidelity with accurate spike prediction. We characterized performance for different connection types and population sizes and verified improved predictions for realistic circuits receiving live neural recording as input. This work establishes a method that is expected to enhance future efforts for deriving neuronal connectivity underlying brain function (68). DATA AVAILABILITY Data will be made available upon reasonable request. SUPPLEMENTAL MATERIAL 10.5281/zenodo.7929987 Supplemental Figs. S1–S4: https://doi.org/10.5281/zenodo.7929987. GRANTS This research was funded by NIH Grants K01EB027184 and DP2NS122605 to A.H. This material is also based upon research supported by the US Office of Naval Research under PANTHER award numbers N00014-23-1-2006 and N00014-22-1-2371 to A.H. through Dr. Timothy Bentley. DISCLOSURES No conflicts of interest, financial or otherwise, are declared by the authors. AUTHOR CONTRIBUTIONS X.R. and A.H. conceived and designed research; X.R. and I.B. performed experiments; X.R., I.B., and A.V. analyzed data; X.R., A.V., and A.H. interpreted results of experiments; X.R. prepared figures; X.R. drafted manuscript; X.R. and A.H. edited and revised manuscript; A.H. approved final version of manuscript. ACKNOWLEDGMENTS We thank Dr. Etay Hay for supplying reference code and useful comments on the manuscript. ==== Refs REFERENCES 1. Takemura SY, Bharioke A, Lu Z, Nern A, Vitaladevuni S, Rivlin PK, Katz WT, Olbris DJ, Plaza SM, Winston P, Zhao T, Horne JA, Fetter RD, Takemura S, Blazek K, Chang LA, Ogundeyi O, Saunders MA, Shapiro V, Sigmund C, Rubin GM, Scheffer LK, Meinertzhagen IA, Chklovskii DB. A visual motion detection circuit suggested by Drosophila connectomics. Nature 500 : 175–181, 2013. doi:10.1038/nature12450. 23925240 2. Stettler DD, Das A, Bennett J, Gilbert CD. Lateral connectivity and contextual interactions in macaque primary visual cortex. Neuron 36 : 739–750, 2002. doi:10.1016/s0896-6273(02)01029-2. 12441061 3. Lee WC, Bonin V, Reed M, Graham BJ, Hood G, Glattfelder K, Reid RC. Anatomy and function of an excitatory network in the visual cortex. Nature 532 : 370–374, 2016. doi:10.1038/nature17192. 27018655 4. Fino E, Yuste R. Dense inhibitory connectivity in neocortex. Neuron 69 : 1188–1203, 2011. doi:10.1016/j.neuron.2011.02.025. 21435562 5. Prévot T, Sibille E. Altered GABA-mediated information processing and cognitive dysfunctions in depression and other brain disorders. Mol Psychiatry 26 : 151–167, 2021. doi:10.1038/s41380-020-0727-3. 32346158 6. Grafton ST, Sutton J, Couldwell W, Lew M, Waters C. Network analysis of motor system connectivity in Parkinson’s disease: modulation of thalamocortical interactions after pallidotomy. Hum Brain Mapp 2 : 45–55, 1994. doi:10.1002/hbm.460020106. 7. Benabid AL. Deep brain stimulation for Parkinson’s disease. Curr Opin Neurobiol 13 : 696–706, 2003. doi:10.1016/j.conb.2003.11.001. 14662371 8. Follett KA, Weaver FM, Stern M, Hur K, Harris CL, Luo P, Marks WJ, Rothlind J, Sagher O, Moy C, Pahwa R, Burchiel K, Hogarth P, Lai EC, Duda JE, Holloway K, Samii A, Horn S, Bronstein JM, Stoner G, Starr PA, Simpson R, Baltuch G, De Salles A, Huang GD, Reda DJ; CSP 468 Study Group. Pallidal versus subthalamic deep-brain stimulation for Parkinson’s disease. N Engl J Med 362 : 2077–2091, 2010. doi:10.1056/NEJMoa0907083. 20519680 9. Richardson MP. Large scale brain models of epilepsy: dynamics meets connectomics. J Neurol Neurosurg Psychiatry 83 : 1238–1248, 2012. doi:10.1136/jnnp-2011-301944. 22917671 10. Lüscher C. The emergence of a circuit model for addiction. Annu Rev Neurosci 39 : 257–276, 2016. doi:10.1146/annurev-neuro-070815-013920. 27145911 11. Hildebrand DG, Cicconet M, Torres RM, Choi W, Quan TM, Moon J, Wetzel AW, Scott Champion A, Graham BJ, Randlett O, Plummer GS, Portugues R, Bianco IH, Saalfeld S, Baden AD, Lillaney K, Burns R, Vogelstein JT, Schier AF, Lee WC, Jeong WK, Lichtman JW, Engert F. Whole-brain serial-section electron microscopy in larval zebrafish. Nature 545 : 345–349, 2017. doi:10.1038/nature22356. 28489821 12. Morgan JL, Berger DR, Wetzel AW, Lichtman JW. The fuzzy logic of network connectivity in mouse visual thalamus. Cell 165 : 192–206, 2016. doi:10.1016/j.cell.2016.02.033. 27015312 13. Prevedel R, Yoon YG, Hoffmann M, Pak N, Wetzstein G, Kato S, Schrödel T, Raskar R, Zimmer M, Boyden ES, Vaziri A. Simultaneous whole-animal 3D imaging of neuronal activity using light-field microscopy. Nat Methods 11 : 727–730, 2014. doi:10.1038/nmeth.2964. 24836920 14. Barthó P, Hirase H, Monconduit L, Zugaro M, Harris KD, Buzsáki G. Characterization of neocortical principal cells and interneurons by network interactions and extracellular features. J Neurophysiol 92 : 600–608, 2004. doi:10.1152/jn.01170.2003. 15056678 15. Peyrache A, Dehghani N, Eskandar EN, Madsen JR, Anderson WS, Donoghue JA, Hochberg LR, Halgren E, Cash SS, Destexhe A. Spatiotemporal dynamics of neocortical excitation and inhibition during human sleep. Proc Natl Acad Sci USA 109 : 1731–1736, 2012. doi:10.1073/pnas.1109895109. 22307639 16. Soudry D, Keshri S, Stinson P, Oh MH, Iyengar G, Paninski L. Efficient ‘shotgun’ inference of neural connectivity from highly sub-sampled activity data. PLoS Comput Biol 11 : e1004464, 2015 [Erratum in PLoS Comput Biol 11: e1004657, 2015]. doi:10.1371/journal.pcbi.1004464. 26465147 17. Craddock RC, Milham MP, LaConte SM. Predicting intrinsic brain activity. NeuroImage 82 : 127–136, 2013. doi:10.1016/j.neuroimage.2013.05.072. 23707580 18. Hay E, Ritter P, Lobaugh NJ, McIntosh AR. Multiregional integration in the brain during resting-state fMRI activity. PLoS Comput Biol 13 : e1005410, 2017. doi:10.1371/journal.pcbi.1005410. 28248957 19. Rahman MR, Hamid AIA, Noh NA, Idris Z, Abdullah JM. The effective connectivity of the default mode network following moderate traumatic brain injury. J Phys Conf Ser 1497 : 012008, 2020. doi:10.1088/1742-6596/1497/1/012008. 20. Berning M, Boergens KM, Helmstaedter M. SegEM: efficient image analysis for high-resolution connectomics. Neuron 87 : 1193–1206, 2015. doi:10.1016/j.neuron.2015.09.003. 26402603 21. Kasthuri N, Hayworth KJ, Berger DR, Schalek RL, Conchello JA, Knowles-Barley S, Lee D, Vázquez-Reina A, Kaynig V, Jones TR, Roberts M, Morgan JL, Tapia JC, Seung HS, Roncal WG, Vogelstein JT, Burns R, Sussman DL, Priebe CE, Pfister H, Lichtman JW. Saturated reconstruction of a volume of neocortex. Cell 162 : 648–661, 2015. doi:10.1016/j.cell.2015.06.054. 26232230 22. Schwindel CD, Ali K, McNaughton BL, Tatsuno M. Long-term recordings improve the detection of weak excitatory-excitatory connections in rat prefrontal cortex. J Neurosci 34 : 5454–5467, 2014. doi:10.1523/JNEUROSCI.4350-13.2014. 24741036 23. Adam Y, Kim JJ, Lou S, Zhao Y, Xie ME, Brinks D, Wu H, Mostajo-Radji MA, Kheifets S, Parot V, Chettih S, Williams KJ, Gmeiner B, Farhi SL, Madisen L, Buchanan EK, Kinsella I, Zhou D, Paninski L, Harvey CD, Zeng H, Arlotta P, Campbell RE, Cohen AE. Voltage imaging and optogenetics reveal behaviour-dependent changes in hippocampal dynamics. Nature 569 : 413–417, 2019. doi:10.1038/s41586-019-1166-7. 31043747 24. Trevathan JK, Asp AJ, Nicolai EN, Trevathan JM, Kremer NA, Kozai TD, Cheng D, Schachter M, Nassi JJ, Otte SL, Parker JG, Lujan JL, Ludwig KA. Calcium imaging in freely-moving mice during electrical stimulation of deep brain structures (Preprint). bioRxiv 460220, 2018. doi:10.1101/460220. 25. Spira ME, Hai A. Multi-electrode array technologies for neuroscience and cardiology. Nat Nanotechnol 8 : 83–94, 2013. doi:10.1038/nnano.2012.265. 23380931 26. English DF, McKenzie S, Evans T, Kim K, Yoon E, Buzsáki G. Pyramidal cell-interneuron circuit architecture and dynamics in hippocampal networks. Neuron 96 : 505–520.e7, 2017. doi:10.1016/j.neuron.2017.09.033. 29024669 27. Muthmann JO, Amin H, Sernagor E, Maccione A, Panas D, Berdondini L, Bhalla US, Hennig MH. Spike detection for large neural populations using high density multielectrode arrays. Front Neuroinform 9 : 28, 2015. doi:10.3389/fninf.2015.00028. 26733859 28. Maccione A, Hennig MH, Gandolfo M, Muthmann O, van Coppenhagen J, Eglen SJ, Berdondini L, Sernagor E. Following the ontogeny of retinal waves: pan-retinal recordings of population dynamics in the neonatal mouse. J Physiol 592 : 1545–1563, 2014 [Erratum in J Physiol 592: 3697, 2014]. doi:10.1113/jphysiol.2013.262840. 24366261 29. Jun JJ, Steinmetz NA, Siegle JH, Denman DJ, Bauza M, Barbarits B, Lee AK, Anastassiou CA, Andrei A, Aydın Ç, Barbic M, Blanche TJ, Bonin V, Couto J, Dutta B, Gratiy SL, Gutnisky DA, Häusser M, Karsh B, Ledochowitsch P, Lopez CM, Mitelut C, Musa S, Okun M, Pachitariu M, Putzeys J, Rich PD, Rossant C, Sun WL, Svoboda K. Fully integrated silicon probes for high-density recording of neural activity. Nature 551 : 232–236, 2017. doi:10.1038/nature24636. 29120427 30. Miccoli B, Lopez CM, Goikoetxea E, Putzeys J, Sekeri M, Krylychkina O, Chang SW, Firrincieli A, Andrei A, Reumers V, Braeken D. High-density electrical recording and impedance imaging with a multi-modal CMOS multi-electrode array chip. Front Neurosci 13 : 641, 2019. doi:10.3389/fnins.2019.00641. 31293372 31. Hjorth JJJ, Dawitz J, Kroon T, Pires J, Dassen VJ, Berkhout JA, Emperador Melero J, Nadadhur AG, Alevra M, Toonen RF, Heine VM, Mansvelder HD, Meredith RM. Detection of silent cells, synchronization and modulatory activity in developing cellular networks. Dev Neurobiol 76 : 357–374, 2016. doi:10.1002/dneu.22319. 26097169 32. Shoham S, O’Connor DH, Segev R. How silent is the brain: is there a “dark matter” problem in neuroscience? J Comp Physiol A Neuroethol Sens Neural Behav Physiol 192 : 777–784, 2006. doi:10.1007/s00359-006-0117-6. 16550391 33. Epsztein J, Brecht M, Lee AK. Intracellular determinants of hippocampal CA1 place and silent cell activity in a novel environment. Neuron 70 : 109–120, 2011. doi:10.1016/j.neuron.2011.03.006. 21482360 34. Hromádka T, Deweese MR, Zador AM. Sparse representation of sounds in the unanesthetized auditory cortex. PLoS Biol 6 : e16, 2008. doi:10.1371/journal.pbio.0060016. 18232737 35. Thompson LT, Best PJ. Place cells and silent cells in the hippocampus of freely-behaving rats. J Neurosci 9 : 2382–2390, 1989. doi:10.1523/JNEUROSCI.09-07-02382.1989. 2746333 36. Beloozerova IN, Sirota MG, Swadlow HA. Activity of different classes of neurons of the motor cortex during locomotion. J Neurosci 23 : 1087–1097, 2003. doi:10.1523/JNEUROSCI.23-03-01087.2003. 12574439 37. Kock CP, de Sakmann B. Spiking in primary somatosensory cortex during natural whisking in awake head-restrained rats is cell-type specific. Proc Natl Acad Sci USA 106 : 16446–16450, 2009. doi:10.1073/pnas.0904143106. 19805318 38. Dombeck DA, Khabbaz AN, Collman F, Adelman TL, Tank DW. Imaging large-scale neural activity with cellular resolution in awake, mobile mice. Neuron 56 : 43–57, 2007. doi:10.1016/j.neuron.2007.08.003. 17920014 39. O’Connor DH, Peron SP, Huber D, Svoboda K. Neural activity in barrel cortex underlying vibrissa-based object localization in mice. Neuron 67 : 1048–1061, 2010. doi:10.1016/j.neuron.2010.08.026. 20869600 40. Matsumoto R, Kunieda T, Nair D. Single pulse electrical stimulation to probe functional and pathological connectivity in epilepsy. Seizure 44 : 27–36, 2017. doi:10.1016/j.seizure.2016.11.003. 27939100 41. Borchers S, Himmelbach M, Logothetis N, Karnath HO. Direct electrical stimulation of human cortex—the gold standard for mapping brain functions? Nat Rev Neurosci 13 : 63–70, 2011. doi:10.1038/nrn3140. 22127300 42. Hofer SB, Ko H, Pichler B, Vogelstein J, Ros H, Zeng H, Lein E, Lesica NA, Mrsic-Flogel TD. Differential connectivity and response dynamics of excitatory and inhibitory neurons in visual cortex. Nat Neurosci. 14 : 1045–1052, 2011. doi:10.1038/nn.2876. 21765421 43. Nagel S, Spüler M. Modelling the brain response to arbitrary visual stimulation patterns for a flexible high-speed brain-computer interface. PLoS One 13 : e0206107, 2018. doi:10.1371/journal.pone.0206107. 30346983 44. Lichtensteiger W, Hefti F, Felix D, Huwyler T, Melamed E, Schlumpf M. Stimulation of nigrostriatal dopamine neurones by nicotine. Neuropharmacology 21 : 963–968, 1982. doi:10.1016/0028-3908(82)90107-1. 7145035 45. Kim JI, Jeon SG, Kim KA, Kim YJ, Song EJ, Choi J, Ahn KJ, Kim C-J, Chung HY, Moon M, Chung H. The pharmacological stimulation of Nurr1 improves cognitive functions via enhancement of adult hippocampal neurogenesis. Stem Cell Res 17 : 534–543, 2016. doi:10.1016/j.scr.2016.09.027. 27788475 46. Hai A, Cai LX, Lee T, Lelyveld VS, Jasanoff A. Molecular fMRI of serotonin transport. Neuron 92 : 754–765, 2016. doi:10.1016/j.neuron.2016.09.048. 27773583 47. Barth AL, Poulet JF. Experimental evidence for sparse firing in the neocortex. Trends Neurosci 35 : 345–355, 2012. doi:10.1016/j.tins.2012.03.008. 22579264 48. Krahe R, Bastian J, Chacron MJ. Temporal processing across multiple topographic maps in the electrosensory system. J Neurophysiol 100 : 852–867, 2008. doi:10.1152/jn.90300.2008. 18509073 49. Niell CM, Stryker MP. Modulation of visual responses by behavioral state in mouse visual cortex. Neuron 65 : 472–479, 2010. doi:10.1016/j.neuron.2010.01.033. 20188652 50. Markram H, Muller E, Ramaswamy S, Reimann MW, Abdellah M, Sanchez CA, , et al . Reconstruction and simulation of neocortical microcircuitry. Cell 163 : 456–492, 2015. doi:10.1016/j.cell.2015.09.029. 26451489 51. Izhikevich EM. Which model to use for cortical spiking neurons? IEEE Trans Neural Netw 15 : 1063–1070, 2004. doi:10.1109/TNN.2004.832719. 15484883 52. Song S, Sjöström PJ, Reigl M, Nelson S, Chklovskii DB. Highly nonrandom features of synaptic connectivity in local cortical circuits. PLoS Biol 3 : e68, 2005 [Erratum in PLoS Biol 3: e350, 2005]. doi:10.1371/journal.pbio.0030068. 15737062 53. Gallant SI. Perceptron-based learning algorithms. IEEE Trans Neural Netw 1 : 179–191, 1990. doi:10.1109/72.80230. 18282835 54. Moldwin T, Segev I. Perceptron learning and classification in a modeled cortical pyramidal cell. Front Comput Neurosci 14 : 33, 2020. doi:10.3389/fncom.2020.00033. 32390819 55. Reichert WM. Indwelling Neural Implants: Strategies for Contending with the In Vivo Environment. Boca Raton, FL: CRC Press, 2007. 56. Bricault S, Barandov A, Harvey P, DeTienne E, Hai A, Jasanoff A. Image-guided neural activity manipulation with a paramagnetic drug. Nat Commun 11 : 136, 2020. doi:10.1038/s41467-019-13933-5. 31919353 57. Hay E, Segev I. Dendritic excitability and gain control in recurrent cortical microcircuits. Cereb Cortex 25 : 3561–3571, 2015. doi:10.1093/cercor/bhu200. 25205662 58. Bello EM, Agnesi F, Xiao Y, Dao J, Johnson MD. Frequency-dependent spike-pattern changes in motor cortex during thalamic deep brain stimulation. J Neurophysiol 124 : 1518–1529, 2020. doi:10.1152/jn.00198.2020. 32965147 59. Quiroga RQ. Concept cells: the building blocks of declarative memory functions. Nat Rev Neurosci 13 : 587–597, 2012. doi:10.1038/nrn3251. 22760181 60. Hashimoto T, Elder CM, Okun MS, Patrick SK, Vitek JL. Stimulation of the subthalamic nucleus changes the firing pattern of pallidal neurons. J Neurosci 23 : 1916–1923, 2003. doi:10.1523/JNEUROSCI.23-05-01916.2003. 12629196 61. Buzsáki G. Large-scale recording of neuronal ensembles. Nat Neurosci 7 : 446–451, 2004. doi:10.1038/nn1233. 15114356 62. Shemesh OA, Tanese D, Zampini V, Linghu C, Piatkevich K, Ronzitti E, Papagiakoumou E, Boyden ES, Emiliani V. Temporally precise single-cell-resolution optogenetics. Nat Neurosci 20 : 1796–1806, 2017 [Erratum in Nat Neurosci 21: 896, 2018]. doi:10.1038/s41593-017-0018-8. 29184208 63. Balasubramanian K, Vaidya M, Southerland J, Badreldin I, Eleryan A, Takahashi K, Qian K, Slutzky MW, Fagg AH, Oweiss K, Hatsopoulos NG. Changes in cortical network connectivity with long-term brain-machine interface exposure after chronic amputation. Nat Commun 8 : 1796, 2017. doi:10.1038/s41467-017-01909-2. 29180616 64. Kobayashi R, Kurita S, Kurth A, Kitano K, Mizuseki K, Diesmann M, Richmond BJ, Shinomoto S. Reconstructing neuronal circuitry from parallel spike trains. Nat Commun. 10 : 4468, 2019. doi:10.1038/s41467-019-12225-2. 31578320 65. Hay E, Pruszynski JA. Orientation processing by synaptic integration across first-order tactile neurons. PLoS Comput Biol 16 : e1008303, 2020. doi:10.1371/journal.pcbi.1008303. 33264287 66. Bezaire MJ, Raikov I, Burk K, Vyas D, Soltesz I. Interneuronal mechanisms of hippocampal theta oscillations in a full-scale model of the rodent CA1 circuit. eLife 5 : e18566, 2016. doi:10.7554/eLife.18566. 28009257 67. Such FP, Madhavan V, Conti E, Lehman J, Stanley KO, Clune J. Deep neuroevolution: genetic algorithms are a competitive alternative for training deep neural networks for reinforcement learning (Preprint). ArXiv 1712.06567, 2018. doi:10.48550/arXiv1712.06567. 68. Michelson NJ, Vazquez AL, Eles JR, Salatino JW, Purcell EK, Williams JJ, Cui XT, Kozai TD. Multi-scale, multi-modal analysis uncovers complex relationship at the brain tissue-implant neural interface: new emphasis on the biological interface. J Neural Eng 15 : 033001, 2018. doi:10.1088/1741-2552/aa9dae. 29182149