Abstract
A large population of neurons can in principle produce an astronomical number of distinct firing patterns. In cortex however, these patterns lie in a space of lower dimension1-4, as if individual neurons were “obedient members of a huge orchestra”5. Here we use recordings from the visual cortex of mouse and monkey to investigate the relationship between individual neurons and the population, and to establish the underlying circuit mechanisms. We show that neighbouring neurons can differ in their coupling to the overall firing of the population, ranging from strongly coupled “choristers” to weakly coupled “soloists”. Population coupling is largely independent of sensory preferences, and it is a fixed cellular attribute, invariant to stimulus conditions. Neurons with high population coupling are more strongly affected by non-sensory behavioural variables such as motor intention. Population coupling reflects a causal relationship, predicting a neuron’s response to optogenetically-driven increases in local activity. Moreover, population coupling indicates synaptic connectivity: a neuron’s population coupling, measured in vivo, predicted subsequent in vitro estimates of the number of synapses received from its neighbours. Finally, population coupling provides a compact summary of population activity: knowledge of the population couplings of N neurons predicts a substantial portion of their N2 pairwise correlations. Population coupling therefore represents a novel, simple measure that characterises each neuron’s relationship to a larger population, explaining seemingly complex network firing patterns in terms of basic circuit variables.
The cortex represents its computations through the joint activity of multiple neurons. This activity can be remarkably diverse even among neighbouring neurons, belonging to the same morphological and laminar cell class. In sensory cortex, neighbouring neurons not only respond to diverse stimulus features 6-8, but also use diverse strategies to encode information. For example, mean firing rate differs by orders of magnitude across neurons 9-11, and it appears to constitute an invariant property of each cell, persisting across multiple stimulus conditions and spontaneous activity12. Do other invariant dimensions exist that characterise the diversity of firing of cortical neurons? Ideally, such dimensions would not only help explain the complex patterns of activity produced by cortical populations, but also relate directly to underlying circuit variables.
To characterise how different cortical neurons relate to large-scale firing patterns, we considered their relationship to the “population rate”: the summed activity of all neurons in the recorded population at any moment in time13-16. We recorded first from populations of 20-80 neurons in deep layers of area V1 in awake head-fixed mice using multi-site silicon probes (Fig. 1a). Consistent with previous reports17-19, population rate was not strictly controlled by sensory stimulation, but showed coherent fluctuations even spontaneously in the absence of sensory stimuli (Fig. 1b-c), closely tracking the simultaneously recorded local field potential (LFP, Fig. 1d).
During spontaneous activity, neighbouring neurons differed widely in their coupling to the population. The spike-triggered population rate typically had a single peak centred close to zero (Fig. 1e, Extended Data Fig. 1), whose height was large for some neurons and small or even reversed for others. The variation in population coupling across neurons was continuous, and neurons did not appear to fall into discrete classes of distinct coupling. This diversity in coupling, however, represented a robust property of individual cells: computing coupling from separate data segments yielded highly consistent results (Extended Data Fig. 2a). A similar result was seen when correlating spikes with the LFP (Fig. 1f, Extended Data Fig. 2b). These variations in population coupling were not trivially explained by differences in mean firing rate: shuffling the spike times across neurons and time, while preserving each neuron’s mean rate and the population rate distribution14, destroyed the diversity in population coupling between neurons (Fig. 1g, Extended Data Fig. 2c). Moreover, diversity in population coupling was not restricted to mouse V1: it was also observed in primate area V4 (Fig. 1h) and in rat auditory cortex (Extended Data Fig. 3).
Population coupling differed both between and within cell classes. Based on spike shape20, we classified ~13% of the cells in mouse V1 as narrow-spiking putative interneurons (Extended Data Fig. 4a), with the remainder likely primarily pyramidal cells. Narrow-spiking cells tended to have higher population coupling than wide-spiking cells (medians of 0.84 and 0.50; P<10−6). Nevertheless this difference between classes was substantially smaller than the variability within each class (Extended Data Fig. 4). Strongly coupled neurons were more likely to exhibit bursting and to have a lower firing rate. However, even cells with similar firing rate and bursting dynamics could show great variation in coupling (Extended Data Fig. 4b-d).
We next asked to what degree population coupling can explain the patterns of spontaneous correlated activity in a population. To this end, we generated random population activity patterns, constrained so that each neuron’s population coupling and mean rate matched the original data, as did the distribution of population rate over time (Fig. 2a). We found that pairwise correlations in the resulting synthetic activity resembled those observed in the recorded activity (Fig. 2b). The accuracy of this prediction was higher when the population rate showed stronger variance, indicating that the single statistic of coupling was able to capture the correlations induced by globally-coordinated fluctuations (Fig. 2c). If coupling was not included, however, the performance of the model was substantially impaired (Fig. 2c-d).
These results indicate that much of the pairwise correlation in the population is explained by the coupling of each neuron to population rate, with coupling strengths that vary between neurons. The underlying model is parsimonious, requiring only order N parameters to predict order N2 pairwise correlations. Moreover, the model is intuitive, involving procedures among the simplest in neuroscience: summing the activity of multiple neurons, and correlating the spike train of each neuron with the result. To assess whether more advanced procedures would yield different results, we used a variant of latent variable analysis designed for discrete spike count data4,21 to obtain the weights of individual neurons to the first detected factor. Reassuringly, these weights were highly correlated with population coupling (Extended Data Fig. 5a): latent variable analysis found the same basic structure as our simple coupling model.
The ability of the model to predict correlations may appear surprising given that it operates without knowledge of the neurons’ sensory tuning. In primary sensory areas, neurons with similar sensory selectivity show stronger stimulus-independent correlations1,3,5,22, and we indeed observed a significant relationship between orientation preference similarity and spontaneous correlations (Pearson correlation ρ=0.26, P<10−3, for n=163 pairs of cells with orientation selectivity index>0.6). The coupling model of course could not predict this relationship; indeed, its predictions of correlations were independent of orientation preference similarity (P=0.15, Fig. 2e). Population coupling, however, represented a much better predictor of pairwise correlations than orientation preference similarity (ρ=0.63, P<10−9); moreover, the two predictors are independent, representing complementary predictions that sum to explain the fine structure of pairwise correlations within a population (Fig. 2f).
Population coupling was invariant to visual stimulation, and showed little relationship to basic visual properties. We measured population coupling across neurons during responses to natural movies, and found that it closely resembled that obtained during spontaneous activity (Fig. 3a-b, Extended Data Fig. 6a-b). Differences in coupling, therefore, reflect invariant properties of each neuron, rather than differences in the responses of each neuron to a specific set of stimuli. Both strongly and weakly coupled cells could respond to natural movies, showing reliable modulation by visual stimuli (Fig. 3c-d). In responses to gratings, moreover, population coupling showed no relationship to orientation selectivity, spatial frequency preference, or linearity of spatial summation (Extended Data Fig. 6c-e).
However, population coupling predicted the overall increase in mean firing rate caused by a visual stimulus. Strongly coupled cells exhibited a larger increase in mean firing rate during visual stimulation, both in responses to natural stimuli (Fig. 3c-e; ρ=0.38, P<10−15, n=431) and in responses to drifting gratings (ρ=0.32, P=2*10−6, n=217; Extended Data Fig. 6f). Thus population coupling – a quantity defined on a time scale of tens of milliseconds, and measurable during spontaneous activity – predicts the temporally extended, nonspecific elevation in firing rate seen during sensory stimulation.
These correlates of population coupling do not prove that the relationship between population rate and individual cells’ firing is causal. To test causality, we used transgenic mice that express Channelrhodopsin-2 in a subset of layer 5 pyramidal neurons23. Light stimulation (0.5 s pulses at ~2 mW/mm2 using a blue LED) strongly increased network activity (Fig. 3f). A control experiment (brief laser pulses at 100 mW/mm2) indicated that in most cells this increase was driven synaptically: only a few cells (~5%) reliably responded at short enough latencies (< 5 ms) to indicate direct optogenetic depolarization. While strongly coupled cells substantially increased their firing in response to blue LED stimulation, activity in weakly coupled cells showed little increase, or even decreased (Fig. 3g). Therefore, the diverse coupling of individual neurons to population rate reflects differences in the causal influence of the population on these cells.
These observations suggest that more strongly coupled neurons might receive stronger synaptic input from neighbouring neurons. Consistent with this view, intracellular in vivo measurements indicated that population coupling measured from a neuron’s spike train resembles the coupling measured from the neuron’s subthreshold membrane potential, which mostly reflects synaptic inputs (Extended Data Fig. 7; see also Ref. 17).
To investigate whether population coupling is related to synaptic connectivity, we studied cortical populations that were first imaged in vivo and then recorded in vitro24,25. Population activity in superficial cortical layers was measured during presentation of natural movies and images in lightly anaesthetised mice. As in deeper layers, these cells showed a wide heterogeneity in population coupling (Fig. 4a-b). Coupling was not related to a cell’s spatial location (Fig. 4b, Extended Data Fig. 8a), and we observed no correlation between in vivo coupling and intrinsic properties such as resting potential, input resistance and spike threshold (Extended Data Fig. 8b-d). Population coupling was again consistent between the halves of each recording, even when these halves contained different sets of stimuli (ρ=0.85, P<10−9, n=4215 neurons from 15 experiments). Next, we analysed synaptic connectivity using paired in vitro whole-cell recordings of the same neurons (Fig. 4c). We focused on pyramidal cells, identified by somatodendritic morphology when filled with Alexa dye, and by a regular-spiking firing pattern.
These paired recordings revealed a significant correlation between a neuron’s population coupling and its probability of receiving synaptic input from its neighbours (Fig. 4d). According to a logistic regression fit, a pyramidal cell whose population coupling was one standard deviation below the average had a probability of 0.14 to receive a connection from a neighbouring neuron, whereas for a pyramidal neuron whose coupling was a standard deviation above the mean this probability increased to 0.23 (i.e., a 65% increase). In contrast, there was no correlation between a neuron’s population coupling and the probability that it provided synaptic outputs to neighbouring cells (Fig. 4e). These results are consistent with a correlation between population coupling and input connection probability as high as ρ=0.65 (Extended Data Fig. 9).
These data suggest that diversity in mean input connectivity may form the circuit mechanism for diversity in population coupling. The diversity in mean input connectivity that we have observed is separate from the tendency of cortical pyramidal cells to receive more synaptic connections from cells with similar sensory tuning24,25. Thus, if the network is stimulated nonspecifically (for example by optogenetic activation of a random neuronal subset, Fig. 3f-g), the effects of this nonspecific stimulation – amplified by recurrent cortical connections – will be largest for neurons with strong mean input connectivity (Extended Data Fig. 10a-b). To make these intuitive ideas more precise, we extended an established modelling framework26, and analysed mathematically a model cortical circuit in which different excitatory neurons have different mean input probability (see Supplementary Information). This model reproduced many of our experimental findings, including the relationship between population coupling and mean input connectivity (Extended Data Fig. 10c; Fig. 4d), the structure of spontaneous pairwise correlations (Extended Data Fig. 10d; Fig. 2b), and the additivity of correlations predicted by sensory tuning similarity and by population coupling strength (Extended Data Fig. 10e-h; Fig. 2e-f).
If neurons with stronger population coupling are more likely to be driven by nonspecific excitation, they may show greater modulation by non-sensory factors, which are believed to be conveyed to sensory cortex by diffuse, nonspecific inputs15,19. To test this hypothesis, we analysed population recordings made from area V4 of monkeys performing a cued-saccade task27. Consistent with the hypothesis, strongly coupled neurons increased their firing rate during saccade preparation into their receptive field (Fig. 5a). Weakly coupled neurons, instead, often showed the opposite effect (Fig. 5b). Overall, there was a marked correlation between a neuron’s population coupling, and its modulation by saccade preparation (ρ=0.37, P=10−9, Fig. 5c).
In conclusion, population coupling constitutes a previously unappreciated dimension characterising the relationship of individual neurons to population activity. Strongly coupled neurons (“choristers”) are more strongly activated during multiple conditions that nonspecifically increase the activity of their local network: not only sensory stimuli, but also spontaneous fluctuations and top-down modulation. Conversely, weakly coupled neurons (“soloists”) are more immune to these population-wide events. Population coupling differs both across and within cell classes; it remains to be determined whether this within-class diversity reflects further subdivisions of these classes (such as pyramidal cells with different long-range axonal targets28,29), or continuous within-class variation in cellular parameters such as input connection probability. Moreover, a neuron’s population coupling need not be fixed for life: indeed, neurons that rats learn to use while controlling a brain-machine interface show increased correlation with LFP30, indicating increased population coupling, and thus suggesting an increase in mean synaptic input strength. This single, simple variable relating each neuron’s participation in the population code to underlying circuit connectivity may prove critical to understanding cortical computation and plasticity.
Methods
Electrophysiological recordings
Recordings in mouse primary visual cortex were performed under licenses from the UK Home Office in accordance with the Animal (Scientific Procedures) Act 1986. In the electrophysiological experiments, recordings were made from male and female mice older than 6-7 weeks, of C57BL/6J or Thy1-ChR2 line 18 strains23. Randomization was not required as all animals were treated similarly.
For recordings from awake mice, animals were first implanted with a custom-built head plate and recording chamber under isoflurane anaesthesia. After 3 days of recovery accompanied by Rimadyl treatment, the mice underwent 2-3 head-restraint acclimatization sessions. On the recording day, the animals were briefly anaesthetised with isoflurane and a craniectomy of ~1.5 × 1.5 mm was made above the left primary visual cortex. The dura was resected with a 30G needle and the brain was covered with Ringer solution and Kwik-Cast (WPI Inc.). At least 1.5 hours of recovery between this procedure and the beginning of the recording were allowed, a period that was more than sufficient for the animals to fully resume their normal behaviour in their home cage. In some animals, an additional recording was performed the following day; in this case the brain was again protected with Ringer solution and Kwik-Cast in between the two recording sessions. Thirteen recordings were made in 8 animals, of which 5 recordings were in 3 Thy1-ChR2 line18 mice, and the rest in C57BL/6J mice. Recordings were made with Buzsaki32 or A4x8 silicon probes (NeuroNexus technologies, Ann Arbor MI), lowered to a depth of 550-1050 μm (median 700 μm) by a PatchStar manipulator (Scientifica, Uckfield UK). Signals were amplified and stored for offline analysis using the Cerebus data acquisition system (Blackrock Microsystems, Salt Lake City UT). For electrophysiological recordings in anaesthetised animals (Fig. 2 and Extended Data Fig. 7), anaesthesia was induced with a mixture of Fentanyl citrate, Fluanisone and Midazolam (0.8 mg/kg, 25 mg/kg and 12.5 mg/kg, respectively). A total of 9 recordings from anaesthetised animals were analysed. In a few of these experiments, whole-cell recordings were performed in parallel with the silicon probe population recording. The whole-cell intracellular recordings were performed following the standard techniques for blind patching17,31,32, with the patch pipette positioned ~200-400 μm away from the plane of the silicon probe shanks.
For the electrophysiological data, the experimental setup was similar to the one described in refs. 33 except that mice were standing in a custom built tube, instead of on a floating Styrofoam ball. Briefly, visual stimuli were presented on two of the three available LCD monitors, positioned ~25cm from the animal and covering a field of view of ~120° × 60°, extending in front and to the right of the animal. Visual stimuli analysed in the present study consist of multiple presentations of natural movie video clips (taken from The Life of Mammals, BBC, London UK) and drifting gratings (100% and 25% contrast, 2 Hz, 12 directions, spatial frequencies of 0.02, 0.04 0.08 and 0.25 cpd). For recordings of spontaneous activity, the monitors showed a uniform grey background.
Recordings in auditory cortex (Extended Data Fig. 3) were made in awake, head-fixed male rats, in accordance with protocols approved by the Rutgers University Animal Care and Use Committee. Experimental details were previously described in refs. 3,18,34. In the recordings analysed here, silicon probes with 4 shanks, and 4 contacts in a tetrode configuration on each shank were used (NeuroNexus technologies, Ann Arbor MI).
Recordings in primate area V4 were made in two male monkeys (Macaca mulatta) using 16-channel U-Probes (Plexon Inc, Dallas TX), in accordance with NIH Guide for the Care and Use of Laboratory Animals, the Society for Neuroscience Guidelines and Policies, and Stanford University Animal Care and Use Committee; full experimental details were previously described in ref. 27. Briefly, as part of the behavioural task, a cue presented near the central fixation point indicated the direction of a saccade that would be necessary at the end of the trial to obtain a reward in the event of a change in the orientation of a peripheral stimulus.
Optogenetic stimulation
For in vivo electrophysiological recordings with optogenetic stimulation, we used Thy1-ChR2 line 18 mice, a transgenic line in which ChR2 is expressed in a sparse subset of cortical L5 pyramidal cells23. In these mice, in addition to recording spontaneous and visually evoked activity, we also recorded activity in response to optogenetic stimulation consisting of 500 ms light pulses of ~2 mW/mm2 intensity, delivered by a 470 nm (blue) LED (M470F1, Thor Labs, Newton NJ), and focused on a circular area of ~1 mm2 centred on the silicon probe insertion site.
To estimate the proportion of recorded neurons directly activated by ChR2, we performed a control experiment, in which 20 and 40 Hz trains of five 2 ms pulses of ~100 mW/mm2 intensity were delivered to the silicon probe insertion site using a MBL-III-473nm-150mW blue light laser (CNI, Chungchun China). Reliable, short latency (< 5 ms) and low jitter (< 1 ms) responses were found in ~5% of the units, indicating that ~95% of cells were driven polysynaptically rather than directly.
Data analysis (electrophysiology)
Spikes were detected and visually verified using the programs NDmanager and Neuroscope35. Spike sorting involved an automated stage, performed using KlustaKwik36, and a manual verification stage for which Klusters35 or KlustaViewa37 were used. Detailed analysis of coupling to population rate and LFP was performed only for units with isolation distance > 20 (see refs. 38,39). Units were selected and sorted blind to measures of population coupling and all other cellular parameters.
Population rate (e.g. in Fig. 1c) was computed by accumulating all the detected spikes (both well-isolated units and multi-unit activity) with 1 ms resolution, and smoothing the resulting vector with a Gaussian of half-width 12 ms. The population rate used to compute the stPR for any individual unit did not include the spikes of that unit. The baseline level of each stPR (which reflects the mean population rate) was subtracted.
For stLFP computations, raw extracellular signals were first digitally band-pass filtered offline between 0.1 and 200 Hz to isolate the local field potential. For units recorded on a particular shank, the LFP was taken from an adjacent shank (200 μm away), to avoid contaminating the stLFP by the spike waveform itself. The size of stLFP was taken as the ordinate value of the negative peak of the crosscorrelation in a 1 s interval around 0 lag. stLFPs were normalized similarly to stPRs (see below).
The size of the stPR was quantified as the value of the spike-triggered population rate at 0 time lag. Thus, the population coupling of unit i is given by:
Here, f represents the smoothed firing rate of a neuron (Gaussian kernel of half width ms), μ is its mean firing rate, and ||f|| represents its norm (i.e., the number of spikes fired). To compare the sizes of stPRs across recordings, they were normalized by the median size of the stPR of the shuffled data in each recording (see next paragraph).
Spike shuffling was performed according to the previously described raster marginals model14. In more detail, the recording was first divided into non-overlapping 1 ms bins. A binary matrix was then constructed with one column for each time bin and one row for each isolated unit as well as additional rows for the multiunit spiking on each shank. Each matrix element contained a 1 if the corresponding unit spiked in the corresponding time bin. To shuffle, random 2-by-2 submatrices were repeatedly chosen with each row and column of the submatrix containing a 0 and 1; the positions of 0s and 1s were then exchanged in the submatrix, which leaves the summed values of each row and column identical. As we have discussed previously14, such a shuffling procedure produces in the limit a uniform sample from a distribution subject to the constraints on the mean firing rate and population rate distribution of the original data.
To characterise the responses of individual cells to drifting grating stimuli, the response for each orientation was averaged across trials, contrasts and spatial frequencies, and the orientation with the highest value was taken as preferred. The spatial frequency which evoked the highest response along the preferred orientation was taken as the preferred spatial frequency. The orientation selectivity index (OSI) was computed as (Rpref−Rortho)/(Rpref+Rortho), where Rpref and Rortho are the responses in the preferred and orthogonal orientations. f1/f0 was taken as the ratio between the power of the average response around 2 Hz (which was the temporal frequency of the drifting grating stimuli) and the mean increase in the firing rate above the spontaneous level.
In primate area V4, we measured the firing rate changes during saccade preparation for isolated single neurons. Spikes were counted during the interval between 0.5s after cue onset and the end of the post-cue period (i.e., start of the blank period), and were converted to firing rates for each trial based on the duration of that period. We compared firing rates from trials for which the cue indicated a saccade into the RF would be required and trials for which the cue indicated a saccade to an orthogonal location outside the RF would be required. Only spikes from correctly performed trials were considered for this analysis. Peak stPR size was measured identically to rodent electrophysiological recordings, and was computed from the continuous recording of the entire experimental session.
2-photon imaging
All procedures were performed under licenses from the UK Home Office in accordance with the Animals (Scientific Procedures) Act 1986. In the imaging experiments C57BL/6J mice of P22-26 age and both sexes were used. Anesthesia was induced with Fentanyl, Midazolam and Medetomidine (0.05 mg/kg, 5.0 mg/kg and 0.5 mg/kg, correspondingly) and later maintained by isoflurane (0.3–0.5%) in a 60:40% mixture of oxygen and nitrous oxide. The experimental setup for 2-photon imaging was described in refs. 24,25. Briefly, visual stimuli were presented on an LCD monitor ~20 cm from the animal, covering a field of view of ~105° × 85°. The calcium-sensitive dye Oregon Green Bapta-1 (OGB-1) was bulk loaded into the superficial layers of the cortex together with sulphorhodamine 101 to distinguish glia from neurons.
We used two datasets in the analysis, recorded from 18 and 15 animals, respectively. In the first dataset (previously described in ref. 24), visual stimuli included full-field and localised drifting gratings and natural movies. The gratings were shown at 100% contrast, 2 Hz temporal frequency, spatial frequency of 0.035 cpd, and 8 directions. Cortical areas of ~285 × 285 μm were imaged at 7.6 Hz and 256 × 256 pixel resolution, and the imaging was performed for ~8-16 different depths, 7 μm apart.
In the second dataset (not previously reported), static natural images and natural movies (either video clips from The Life of Mammals or cage scenes from a head-mounted mouse camera) were presented. A volume of ~200 × 200 × 50 μm was imaged simultaneously at 512 × 512 × 4 pixel resolution using a piezoelectric objective mover. In each experiment 2-3 such volumes were imaged.
After in vivo imaging, whole-cell in vitro recordings of the imaged neurons were performed as previously described24. Briefly, at the end of the in vivo imaging session the brain was removed, 300 μm thick coronal slices were cut and the slice containing the in vivo imaged region was located by the presence of OGB-1. A simultaneous recording from several nearby neurons was performed using a standard whole-cell in vitro protocol. Synaptic connections between neurons were tested using 30 Hz trains of five suprathreshold 5 ms current pulses, and checking for postsynaptic responses in the other cells. The current injection train was repeated at least 30 times with 15 s interval. Pyramidal cells and interneurons were distinguished by spike width, resting membrane potential, responses to 1 s depolarizing currents, and somatodendritic morphology when filled with Alexa dye. For the analysis of the relationship between coupling strength and probability to receive (provide) a synaptic connection (Fig. 4), we excluded pairs where the potential target (source) cell was an interneuron or a neuron for which no in vivo calcium trace was available. Simultaneously patched neurons could have been imaged non-simultaneously, which happened when the cells resided in different imaging planes or volumes. In total, 379 neurons were recorded; of 854 potential input connections tested, 146 synaptic connections were found. Of 854 potential output connections tested, 155 synaptic connections were found. (The number of potential input and output connections were equal by coincidence: some of the input connections were not analysed as output connections because one of the cells was either an interneuron or had no in vivo data, and vice versa.)
Data analysis (imaging)
Outlines of recorded neurons were detected semi-automatically using custom software written in MATLAB (Mathworks, Natick MA). All pixels within individual outline were averaged to give for each neuron a single ΔF/F signal, which was additionally high-pass filtered above 0.02 Hz to correct for slow artefacts such as photobleaching.
The population coupling of each cell was estimated by a similar formula to that used in spike train data:
where now f represents the continuous fluorescence trace of a cell (ΔF/F), and ||f|| its standard deviation. Note that ci is proportional to the Pearson correlation of cell i with the summed activity of all other neurons. To pool data across multiple experiments, the normalization factor was computed not by spike shuffling (which is not possible for calcium traces) but by z-scoring the population coupling values within each recording.
For grating responses, the orientation selectivity index (OSI; Extended Data Fig. 6g) was estimated as (Rbest−Rortho)/(Rbest+Rortho), where Rbest and Rortho are the interpolated responses to drifting gratings in the best direction and the directions orthogonal to it.
Statistics
Unless explicitly stated otherwise, comparisons between pairs of sets of values were made using Wilcoxon rank sum test and correlations were measured using Spearman’s rank correlation coefficients (an important exception being the pairwise spike train correlations, for which, as commonly accepted, we used Pearson correlation).
Pairwise correlation prediction
To predict pairwise correlations from coupling values, we used an extension of the raster marginals model14 that now also included a population coupling parameter for each neuron. The spike trains of all neurons are first converted into a binary 0-1 matrix with 20 ms bins. The parameters extracted correspond to: (i), the total number of 1s in row i, for all i between 1 and the number of rows N; (ii), the total number of columns whose sum is i, for all i between 0 and N; and (iii) the inner product of each row with the sum of all rows (representing the stPR for the unit corresponding to the row).
Pairwise correlations were predicted by constructing a random matrix that respects the constraints represented by the above parameters, and computing the correlations between all pairs of rows in this random matrix. To construct such a random matrix we first construct a random matrix that respects constraints (i) and (ii), as described in ref. 14, and then perform a sequential operation to impose satisfaction of constraint (iii). This sequential operation consists of repeatedly exchanging 2×2 submatrices between rows whose population coupling is too high and too low. Specifically, observe that if there exists a row ni for which < ni, Σj nj > (the inner product with the sum of all rows) is too high, then there must also exist another row for which this inner product is too low; this is because Σi < ni, Σj nj > = < Σi ni , Σj nj >, which depends only on the population rate distribution and is thus invariant to submatrix exchange.
The satisfaction of constraint (iii) occurs by repeatedly finding a pair of rows that violate the constraint in opposite directions, while such pairs exist. For each such pair of rows, we find a pair of columns that forms a 2-by-2 sub-matrix such that each row and column of it contains a 0 and 1, and switch the 0s and 1s in a way that preserves constraints (i) and (ii) and reduces the violation of constraint (iii) in this pair of rows. This procedure is repeated until (iii) is satisfied (up to a small error of at most N).
To measure how well this method could predict pairwise correlations, we used crossvalidation. Time bins were divided at random into an equally-sized training and test set. Model parameters were fit from the training set, and the prediction error of the model was quantified as , where cij is the correlation between neurons i and j measured in the test set, and the correlation predicted by the model with parameters estimated on the training set. This error was compared to a “ground truth” prediction, , where is the correlation between neurons i and j as directly measured in the training set. The quality of the model fit was defined to be the fraction of explainable variance: [SStot − SSmodelErr]+/[SStot−SSdataErr], where and is the mean pairwise correlation.
Latent variable analysis of the population recordings was performed using the publically available toolbox of Lars Buesing and Jacob Macke (bitbucket.org/mackelab/pop_spike_dyn; see also ref. 21). The toolbox uses a nuclear norm minimization method4 to fit a low dimensional model of the form st~Poission (eyt), where yt = Cxt + d. The latent variables xt were modelled using a multivariate Gaussian distribution. The performance of this model was assessed by its ability to predict pairwise correlations, quantified with cross-validation measure described above. To generate correlations we fitted the parameters of the model and then used these parameters to sample spike count vectors.
Extended Data
Supplementary Material
Acknowledgments
We thank L. Buesing for advice on latent variable analysis, C. Reddy and T. Sato for technical assistance, and M. Häusser for advice on the manuscript. This work was supported by the Wellcome Trust (S.B.H., T.D.M.-F., M.C., K.D.H.), Engineering and Physical Sciences Research Council (K.D.H.), the European Research Council (T.D.M.-F. and M.C.), the Medical Research Council (L.C.), National Institutes of Health (EY014924, N.A.S. and T.M.) and the Simons Foundation (M.C. and K.D.H.). M.C. holds the GlaxoSmithKline/Fight for Sight Chair in Visual Neuroscience.
References
- 1.Tsodyks M, Kenet T, Grinvald A, Arieli A. Linking spontaneous activity of single cortical neurons and the underlying functional architecture. Science. 1999;286:1943–1946. doi: 10.1126/science.286.5446.1943. [DOI] [PubMed] [Google Scholar]
- 2.Yu BM, et al. Gaussian-process factor analysis for low-dimensional single-trial analysis of neural population activity. Journal of neurophysiology. 2009;102:614–635. doi: 10.1152/jn.90941.2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Luczak A, Bartho P, Harris KD. Spontaneous events outline the realm of possible sensory responses in neocortical populations. Neuron. 2009;62:413–425. doi: 10.1016/j.neuron.2009.03.014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Pfau D, Pnevmatikakis EA, Paninski L. Advances in Neural Information Processing Systems. :2391–2399. [Google Scholar]
- 5.Kenet T, Arieli A, Tsodyks M, Grinvald A. In: 23 Problems in Systems Neuroscience. van Hemmen JL, Sejnowski TJ, editors. Oxford University Press; 2006. Ch. 9. [Google Scholar]
- 6.Ohki K, Chung S, Ch’ng YH, Kara P, Reid RC. Functional imaging with cellular resolution reveals precise micro-architecture in visual cortex. Nature. 2005;433:597–603. doi: 10.1038/nature03274. [DOI] [PubMed] [Google Scholar]
- 7.Rothschild G, Nelken I, Mizrahi A. Functional organization and population dynamics in the mouse primary auditory cortex. Nature neuroscience. 2010;13:353–360. doi: 10.1038/nn.2484. [DOI] [PubMed] [Google Scholar]
- 8.Martin KA, Schroder S. Functional heterogeneity in neighboring neurons of cat primary visual cortex in response to both artificial and natural stimuli. The Journal of neuroscience: the official journal of the Society for Neuroscience. 2013;33:7325–7344. doi: 10.1523/JNEUROSCI.4071-12.2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Hromadka T, Deweese MR, Zador AM. Sparse representation of sounds in the unanesthetized auditory cortex. PLoS biology. 2008;6:e16. doi: 10.1371/journal.pbio.0060016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Sakata S, Harris KD. Laminar structure of spontaneous and sensory-evoked population activity in auditory cortex. Neuron. 2009;64:404–418. doi: 10.1016/j.neuron.2009.09.020. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.O’Connor DH, Peron SP, Huber D, Svoboda K. Neural activity in barrel cortex underlying vibrissa-based object localization in mice. Neuron. 2010;67:1048–1061. doi: 10.1016/j.neuron.2010.08.026. [DOI] [PubMed] [Google Scholar]
- 12.Buzsaki G, Mizuseki K. The log-dynamic brain: how skewed distributions affect network operations. Nature reviews. Neuroscience. 2014;15:264–278. doi: 10.1038/nrn3687. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Renart A, et al. The asynchronous state in cortical circuits. Science. 2010;327:587–590. doi: 10.1126/science.1179850. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Okun M, et al. Population rate dynamics and multineuron firing patterns in sensory cortex. The Journal of neuroscience: the official journal of the Society for Neuroscience. 2012;32:17108–17119. doi: 10.1523/JNEUROSCI.1831-12.2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Harris KD, Thiele A. Cortical state and attention. Nature reviews. Neuroscience. 2011;12:509–523. doi: 10.1038/nrn3084. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Tkacik G, et al. Searching for collective behavior in a large network of sensory neurons. PLoS computational biology. 2014;10:e1003408. doi: 10.1371/journal.pcbi.1003408. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Okun M, Naim A, Lampl I. The Subthreshold Relation between Cortical Local Field Potential and Neuronal Firing Unveiled by Intracellular Recordings in Awake Rats. The Journal of neuroscience: the official journal of the Society for Neuroscience. 2010;30:4440–4448. doi: 10.1523/JNEUROSCI.5062-09.2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Luczak A, Bartho P, Harris KD. Gating of sensory input by spontaneous cortical activity. The Journal of neuroscience: the official journal of the Society for Neuroscience. 2013;33:1684–1695. doi: 10.1523/JNEUROSCI.2928-12.2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Zagha E, Casale AE, Sachdev RN, McGinley MJ, McCormick DA. Motor cortex feedback influences sensory processing by modulating network state. Neuron. 2013;79:567–578. doi: 10.1016/j.neuron.2013.06.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Bartho P, et al. Characterization of neocortical principal cells and interneurons by network interactions and extracellular features. Journal of neurophysiology. 2004;92:600–608. doi: 10.1152/jn.01170.2003. [DOI] [PubMed] [Google Scholar]
- 21.Macke J, et al. Advances in Neural Information Processing Systems. :1350–1358. [Google Scholar]
- 22.Kohn A, Smith MA. Stimulus dependence of neuronal correlation in primary visual cortex of the macaque. The Journal of neuroscience: the official journal of the Society for Neuroscience. 2005;25:3661–3673. doi: 10.1523/JNEUROSCI.5106-04.2005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Arenkiel BR, et al. In vivo light-induced activation of neural circuitry in transgenic mice expressing channelrhodopsin-2. Neuron. 2007;54:205–218. doi: 10.1016/j.neuron.2007.03.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Ko H, et al. Functional specificity of local synaptic connections in neocortical networks. Nature. 2011 doi: 10.1038/nature09880. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Ko H, et al. The emergence of functional microcircuits in visual cortex. Nature. 2013;496:96–100. doi: 10.1038/nature12015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Douglas RJ, Koch C, Mahowald M, Martin KAC, Suarez HH. Recurrent excitation in neocortical circuits. Science. 1995;269:981–985. doi: 10.1126/science.7638624. [DOI] [PubMed] [Google Scholar]
- 27.Steinmetz NA, Moore T. Eye movement preparation modulates neuronal responses in area v4 when dissociated from attentional demands. Neuron. 2014;83:496–506. doi: 10.1016/j.neuron.2014.06.014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Yamashita T, et al. Membrane potential dynamics of neocortical projection neurons driving target-specific signals. Neuron. 2013;80:1477–1490. doi: 10.1016/j.neuron.2013.10.059. [DOI] [PubMed] [Google Scholar]
- 29.Chen JL, Carta S, Soldado-Magraner J, Schneider BL, Helmchen F. Behaviour-dependent recruitment of long-range projection neurons in somatosensory cortex. Nature. 2013;499:336–340. doi: 10.1038/nature12236. [DOI] [PubMed] [Google Scholar]
- 30.Gulati T, Ramanathan DS, Wong CC, Ganguly K. Reactivation of emergent task-related ensembles during slow-wave sleep after neuroprosthetic learning. Nature neuroscience. 2014;17:1107–1113. doi: 10.1038/nn.3759. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Margrie TW, Brecht M, Sakmann B. In vivo, low-resistance, whole-cell recordings from neurons in the anaesthetized and awake mammalian brain. Pflugers Archiv: European journal of physiology. 2002;444:491–498. doi: 10.1007/s00424-002-0831-z. [DOI] [PubMed] [Google Scholar]
- 32.Haider B, Hausser M, Carandini M. Inhibition dominates sensory responses in the awake cortex. Nature. 2013;493:97–100. doi: 10.1038/nature11665. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Ayaz A, Saleem AB, Scholvinck ML, Carandini M. Locomotion controls spatial integration in mouse visual cortex. Current biology: CB. 2013;23:890–894. doi: 10.1016/j.cub.2013.04.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Luczak A, Bartho P, Marguet SL, Buzsaki G, Harris KD. Sequential structure of neocortical spontaneous activity in vivo. Proceedings of the National Academy of Sciences of the United States of America. 2007;104 doi: 10.1073/pnas.0605643104. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Hazan L, Zugaro M, Buzsaki G. Klusters, NeuroScope, NDManager: a free software suite for neurophysiological data processing and visualization. Journal of neuroscience methods. 2006;155:207–216. doi: 10.1016/j.jneumeth.2006.01.017. [DOI] [PubMed] [Google Scholar]
- 36.Harris KD, Henze DA, Csicsvari J, Hirase H, Buzsaki G. Accuracy of tetrode spike separation as determined by simultaneous intracellular and extracellular measurements. Journal of neurophysiology. 2000;84:401–414. doi: 10.1152/jn.2000.84.1.401. [DOI] [PubMed] [Google Scholar]
- 37.Rossant C, Harris KD. Hardware-accelerated interactive data visualization for neuroscience in Python. Frontiers in neuroinformatics. 2013;7:36. doi: 10.3389/fninf.2013.00036. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Harris KD, Hirase H, Leinekugel X, Henze DA, Buzsaki G. Temporal interaction between single spikes and complex spike bursts in hippocampal pyramidal cells. Neuron. 2001;32:141–149. doi: 10.1016/s0896-6273(01)00447-0. [DOI] [PubMed] [Google Scholar]
- 39.Schmitzer-Torbert N, Jackson J, Henze D, Harris K, Redish AD. Quantitative measures of cluster quality for use in extracellular recordings. Neuroscience. 2005;131:1–11. doi: 10.1016/j.neuroscience.2004.09.066. [DOI] [PubMed] [Google Scholar]
- 40.Dorn JD, Ringach DL. Estimating membrane voltage correlations from extracellular spike trains. Journal of neurophysiology. 2003;89:2271–2278. doi: 10.1152/jn.000889.2002. [DOI] [PubMed] [Google Scholar]
- 41.de la Rocha J, Doiron B, Shea-Brown E, Josic K, Reyes A. Correlation between neural spike trains increases with firing rate. Nature. 2007;448:802–806. doi: 10.1038/nature06028. [DOI] [PubMed] [Google Scholar]
- 42.Niell CM, Stryker MP. Highly selective receptive fields in mouse visual cortex. The Journal of neuroscience: the official journal of the Society for Neuroscience. 2008;28:7520–7536. doi: 10.1523/JNEUROSCI.0623-08.2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.