Abstract
Understanding the relationship between circuit connectivity and function is crucial for uncovering how the brain implements computation. In the mouse primary visual cortex (V1), excitatory neurons with similar response properties are more likely to be synaptically connected, but previous studies have been limited to within V1, leaving much unknown about broader connectivity rules. In this study, we leverage the millimeter-scale MICrONS dataset to analyze synaptic connectivity and functional properties of individual neurons across cortical layers and areas. Our results reveal that neurons with similar responses are preferentially connected both within and across layers and areas — including feedback connections — suggesting the universality of the ‘like-to-like’ connectivity across the visual hierarchy. Using a validated digital twin model, we separated neuronal tuning into feature (what neurons respond to) and spatial (receptive field location) components. We found that only the feature component predicts fine-scale synaptic connections, beyond what could be explained by the physical proximity of axons and dendrites. We also found a higher-order rule where postsynaptic neuron cohorts downstream of individual presynaptic cells show greater functional similarity than predicted by a pairwise like-to-like rule. Notably, recurrent neural networks (RNNs) trained on a simple classification task develop connectivity patterns mirroring both pairwise and higher-order rules, with magnitude similar to those in the MICrONS data. Lesion studies in these RNNs reveal that disrupting ‘like-to-like’ connections has a significantly greater impact on performance compared to lesions of random connections. These findings suggest that these connectivity principles may play a functional role in sensory processing and learning, highlighting shared principles between biological and artificial systems.
Keywords: functional connectomics, visual cortex, digital twin, MICrONS
Introduction
In the late 1800’s, Santiago Ramón y Cajal — while poring over the structure of Golgi-stained neurons using only light microscopy — imagined the Neuron Doctrine, the idea that individual neurons are the fundamental units of the nervous system (Ramón y Cajal, 1911). Implicit in the Neuron Doctrine is the idea that the function of individual neurons — their role in what we would now call neural computation — is inextricably linked to their connectivity in neural circuits. A variety of influential proposals about the relationship between connectivity and function have been advanced in the past century. For example, Donald Hebb’s cell assembly hypothesis (Hebb, 1949) — colloquially stated as “neurons that fire together, wire together” — predicted that interconnected neuronal subnetworks “reverberate” to stabilize functionally relevant activity patterns. In the cortical visual system, Hubel and Wiesel proposed that the hierarchical organization of connected neurons might build more complex feature preferences from simpler ones; for example the position invariance of orientation-selective complex cells might be derived from convergent inputs of like-oriented simple cells with spatially scattered receptive fields (Hubel and Wiesel, 1962; Reid, 2012).
Testing these predictions has been difficult because of the challenges of measuring neural activity and synaptic-scale connectivity in the same population of neurons. In the mammalian visual cortex, evidence for several varieties of like-to-like connectivity (i.e. increased connectivity for cells with similar response preferences) has been found via spine imaging (Iacaruso et al., 2017), combined in vivo imaging and in vitro multipatching (Ko et al., 2011, 2013; Cossell et al., 2015; Znamenskiy et al., 2024), combined in vivo imaging and rabies monosynaptic retrograde tracing (Wertz et al., 2015; Rossi et al., 2020), and combined in vivo imaging with electron microscopy (EM) reconstruction (Lee et al., 2016; Scholl et al., 2021). However, a caveat of these important early studies is that they have mostly been limited to small volumes, usually single lamina of primary visual cortex (except see Wertz et al. 2015; Rossi et al. 2020), mostly due to the challenge of identifying synaptic connections between functionally-characterized neurons across distances larger than a few hundred microns. Thus, many questions remain unanswered about how these rules generalize across areas and layers.
The MICrONS dataset is the largest functionally-imaged EM dataset to date (MICrONS Consortium et al., 2021), with mesoscopic calcium imaging (Sofroniew et al., 2016) performed in vivo and subsequent EM imaging (Yin et al., 2020; Phelps et al., 2021) and dense reconstruction (Turner et al., 2020; Dorkenwald et al., 2022b; Mitchell et al., 2019; Lu et al., 2021; Wu et al., 2021; Dorkenwald et al., 2022a; Lee et al., 2017) for an approximately 1 mm3 volume spanning visual cortical areas V1, LM, AL, and RL in a single mouse. In contrast with previous studies that have selectively reconstructed presynaptic or postsynaptic partners of a small set of functionally-characterized target cells (Lee et al., 2016; Bock et al., 2011), the MICrONS volume is densely reconstructed, offering access to segmentation of all neurons in the volume, and enabling analyses that are not possible in targeted sparse reconstructions. Here, we take advantage of the dense reconstruction to compare the functional similarity of connected pairs with unconnected “bystanders” — pairs of neurons with closely-apposed axons and dendrites that had the opportunity to form synaptic connections, yet didn’t.
Our analysis of functional similarity builds on recent advances in using machine learning to characterize the response properties of neurons in visual cortex. By training a neural network to replicate the responses of recorded neurons across a rich stimulus set of natural and parametric movies (Wang et al., 2024), we produce a “digital twin” of the cortical population which can accurately predict the response of a neuron to any arbitrary visual stimulus. The digital twin makes it possible to explore a much larger stimulus space with in silico experiments than would be possible (due to time constraints) with in vivo measurements (Wang et al., 2024). We have extensively validated this approach by looping back in vivo and validating model predictions of the most-exciting natural images and synthetic stimuli for a neuron (Walker et al., 2019). As part of the current study, we have validated the correspondence between model predictions and empirically-observed visual response properties, including signal correlations, orientation tuning, and spatial receptive field location. These validation results are described below. Finally, the digital twin model allowed us to separate each neuron’s tuning into two components: a feature component (what the neuron responded to), and a spatial component (where the neuron’s receptive field is located), allowing us to dissociate these two aspects of function and their relationship to connectivity.
Results
MICrONS functional connectomic dataset.
Data were collected and processed as described in the MICrONS data release publication (MICrONS Consortium et al., 2021, Fig. 1). Briefly, a in excitatory neurons underwent single mouse expressing GCaMP6s fourteen two-photon scans (awake and headfixed on treadmill) of a 1200 × 1100 × 500μm3 volume (anteroposterior × mediolateral × radial depth) spanning layers 2 through 6 at the conjunction of lateral primary visual cortex (V1) and anterolateral (AL), lateromedial (LM) and rostrolateral (RL) higher visual areas (Fig. 1a). Mice rapidly acclimated to head fixation, and were able to walk, groom, and adjust their posture during imaging. We monitored treadmill velocity and collected video of the pupil to track behavioral state. Neuronal responses from 115,372 functional units representing an estimated 75,909 unique excitatory neurons were collected in response to visual stimuli composed of natural and rendered movies and parametric dynamic stimuli (Fig. 1b). A state-of-the-art deep recurrent neural network was trained to predict neural responses to arbitrary stimuli (Wang et al., 2024), and used to characterize the in silico functional properties of imaged neurons (Fig. 1c).
After functional imaging, the tissue was processed for electron microscopy and imaged (Yin et al., 2020) at 4 × 4 × 40nm3 resolution (Fig. 1a). The EM images were aligned (Mitchell et al., 2019) and automatically segmented using 3D convolutional networks into “atomic” supervoxels, which were agglomerated to create objects (e.g. neurons) with corresponding 3D meshes (Lee et al., 2017; Dorkenwald et al., 2022b; Lu et al., 2021; Wu et al., 2021; Dorkenwald et al., 2022a), and synapses were automatically detected and assigned to presynaptic and postsynaptic partners (Dorkenwald et al., 2022b; Turner et al., 2020; Wu et al., 2021). The analysis presented here is restricted to the overlap of “subvolume 65” (MICrONS Consortium et al., 2021) and the two-photon functional volume (Fig. 1a), an approximately 560 × 1100 × 500μm3 volume (in vivo dimensions) that has been both densely functionally and structurally characterized. Of 82,247 automatically extracted neuronal nuclei in this subvolume, 45,334 were both classified as excitatory and located within the intersection of the EM reconstructed volume and functional volume.
The two-photon and EM volumes were approximately aligned (Fig. 1a, and 13,952 excitatory neurons were manually matched between the two volumes (Fig. 1a; MICrONS Consortium et al., 2021). Retinotopically-matched regions in V1 and higher visual areas AL and RL (together, HVA) were chosen to increase the likelihood of inter-area connections, and visually-responsive neurons within these regions were chosen for manual proofreading. Proofreading focused on extending axonal branches — with an emphasis on enriching projections across the V1/HVA boundary — and on removing false merges (instances where other somas, glia, axons, or dendrites were incorrectly merged into a neuron’s reconstruction) (MICrONS Consortium et al., 2021, Supplemental Table 1). Postsynaptic partners of the proofread neurons were automatically cleaned of false merges with NEURD (Celii et al., 2024). In total, this resulted in a connectivity graph consisting of 148 functionally-characterized presynaptic neurons and 4811 functionally-characterized postsynaptic partners (Fig. 1d).
Multi-tiered anatomical controls.
Connectivity between neurons may be affected by numerous mechanisms, ranging from developmental processes that broadly organize neural circuits, to fine-scale plasticity mechanisms that modulate the strength of individual synaptic connections. The MICrONS volume offers the opportunity to examine function-structure relationships at both of these scales. Because it is densely reconstructed, we not only know the distance between every pair of cell bodies in the volume, but also the relative geometry of their axons and dendrites. With this information, we can determine whether two neurons experience any fine-scale axon-dendrite proximities (ADP), with axon and dendrite coming within 5 μm of each other. Furthermore, for neurons pairs with one or more ADP, we can compute the axon-dendrite co-travel distance (Lee et al., 2016), a pairwise measurement which captures the total extent of postsynaptic dendritic skeleton within 5 μm from any point on the presynaptic axonal skeleton.
With this metric in hand, we can define three cohorts of other neurons for functional comparisons with each presynaptic neuron (Fig. 2a–c, Supplemental Fig. 1). The first cohort are the connected postsynaptic targets of the presynaptic cell; these are neurons in the cortical region of interest that receive at least one synaptic input from the presynaptic neuron. The second group are “ADP controls”, these are neurons with dendrites that come within striking range (5μm) of the presynaptic axon, but which don’t actually form a synaptic connection. Finally, there are “same region controls” which are non-ADP neurons in the same cortical region (V1 or higher visual area). All connected neurons, ADP controls, and same region controls are restricted to visually responsive neurons with high-quality predictions from the digital twin (see Methods).
At the “axonal scale”, we can ask how selective are axon trajectories within the volume, and whether neurons with axons and dendrites that meet and co-travel together have more similar tuning than nearby neurons that do not have any examples of axon-dendrite proximities. Selectivity at this scale could occur, for example, if a target cortical area has topographically-organized functional properties such as receptive field location (i.e. retinotopy) (Wang and Burkhalter, 2007; Garrett et al., 2014) or preferred orientation (Fahey et al., 2019; Ringach et al., 2016), and if axons preferentially target subregions with similar functional properties. In this case, we would expect functional properties between a presynaptic neuron and its ADP cohort to be more similar than random neurons selected from anywhere within the target region (same region control).
At the “synaptic scale”, we can ask whether there is a relationship between functional properties and connectivity beyond the axonal scale — i.e. beyond what can be explained by the axonal trajectory and the spatial organization of functional properties within the volume. For this analysis, we compare the functional similarity between synaptically-connected neurons on the one hand, and unconnected ADP controls on the other, asking how frequently a certain amount of axon-dendrite co-travel distance is converted to a synapse. One hypothesis is that converting proximities to synapses is independent of the functional similarity between pre- and postsynaptic neurons. In this case, axon trajectories and axon-dendrite proximities would be sufficient to explain all of the observed connectivity between neurons (“Peter’s rule”) (Peters and Feldman, 1976; Braitenberg and Schüz, 2013; Rees et al., 2017). A competing hypothesis is that synapse formation and/or stabilization depends on the functional similarity between pre- and postsynaptic neurons. In this case, we might expect to find an additional boost in synaptic connections in similarly-tuned neurons above and beyond whatever selectivity already exists due to axonal trajectories and functional inhomogeneities in the volume. The densely-reconstructed MICrONS volume offers the first opportunity to distinguish between these two hypotheses at a scale spanning layers and areas.
Functional similarity is enhanced at both the axonal and synaptic scale.
We tested the hypothesis of like-to-like connectivity in the context of signal correlations, a more general measure of functional similarity and a better predictor of connectivity in V1 L2/3 than orientation or direction tuning (Cossell et al., 2015). The digital twin was used to calculate the in silico signal correlation across a large battery of novel natural movies (250 ten-second clips). This approach was validated in a set of control experiments in a separate cohort of mice to ensure that the in silico signal correlation faithfully reproduced in vivo signal correlation measurements. In these control experiments, in silico signal correlations from the digital twin closely resembled the benchmark in vivo signal correlation matrix computed across a set of 30 movie clips each presented ten times, and in fact were more accurate than the in vivo signal correlation matrix computed with only six movie clips each presented ten times (which is the number of clips available in the MICrONS data, Supplemental Fig. 2). This excellent correspondence between in vivo and in silico signal correlation estimates was achieved even though none of the in vivo clips were used during training or testing of the digital twin.
For each proofread presynaptic neuron, we computed the mean signal correlation with postsynaptic neurons, ADP controls, and same region controls (Fig. 2d). We found that mean signal correlations were higher for connected neurons than both ADP and same region control groups, indicating that functional properties and connectivity are indeed related at the scale of individual synapses. Furthermore, signal correlations across pairs of neurons that experience at least one axon-dendrite proximity (ADP controls) were significantly higher than same region controls, indicating that there is also functional specificity at the axonal scale, with axons more likely to travel near dendrites of similarly-tuned neurons. These effects were independently observed when subsets of neuron pairs were considered within and across local V1 (V1 → V1), local HVA (HVA → HVA), feedforward (V1 → HVA) and feedback (HVA → V1) projection types (Fig. 2d, see Supp. Tab. 2 for details). In summary, we observed a functional “like-to-like” rule both at the level of axonal trajectories and for connectivity at the synaptic scale.
We explored this finding further, by asking whether there is a graded relationship between the amount of axon-dendrite co-travel distance and the corresponding boost in signal correlations (Fig. 2e).
For this analysis, to avoid confounding variability due to the size of each presynaptic neuron’s axonal arbor and their varying mean signal correlations, for each presynaptic neuron we first computed the mean and mean signal correlations across all of its ADP targets and same region control neurons. Then for each of the pairwise comparisons, we subtracted the pre-computed mean and kept only the difference from the mean for each metric. This approach has the effect of centering both the x- and y-axes in Fig. 2e (and also 2f), in order to focus on the relative effect within each presynaptic neuron and its downstream partners, removing neuron-to-neuron variability in both metrics.
Binning these differences revealed that longer-than-average between a presynaptic neuron and a downstream target was associated with higher-than-average signal correlation between the two neurons. This result was significant when repeated across all projection types, and indicates that the axons and dendrites of neurons with more similar functional properties are likely to meet more often and/or travel farther together in the volume, and there is a graded relationship in this effect that is observed both within and across cortical areas.
We next performed a similar analysis for synapses, looking at connected neuron pairs. For each presynaptic neuron we first computed the mean number of synapses per millimeter of co-travel distance (synapse density, ), along with mean signal correlations across all pairs of synaptic and ADP targets. Then for each of these pairwise comparisons for a single presynaptic neuron, we subtracted the mean and kept only the difference from the mean. After centering on the means for each presynaptic cell in this way, the binned differences again revealed a strong graded relationship between synaptic connectivity and functional similarity (Fig. 2f). Specifically, higher-than-average rates of synaptic density (synapses per unit co-travel length) were associated with higher-than-average functional similarity, again in a graded fashion.
Given this relationship between synapse frequency and functional similarity, we wondered whether there might be a relationship between functional similarity and either synapse size (a proxy for synaptic strength; (Holler et al., 2021)) and/or the multiplicity of synaptic connections between two neurons. Indeed, previous studies have found that functionally-similar presynaptic-postsynaptic pairs have stronger synaptic connections (Cossell et al., 2015) and larger postsynaptic densities (PSDs) (Lee et al., 2016). In the MICrONS dataset, segmented synapses were automatically annotated with the cleft volume, which is positively correlated to spine head volume, PSD area, and synaptic strength (Celii et al., 2024; Holler et al., 2021; Dorkenwald et al., 2022b) (Fig. 2g).
We found that signal correlation positively correlates with cleft volume (Fig. 2h; r = 0.032, p < 0.001). Looking at the multiplicity of connections between neurons (the number of individual synapses connecting two cells), we also found that presynaptic-postsynaptic pairs with multiple synapses also had higher signal correlations (Fig. 2i, j) when compared to monosynaptic pairs. In both Fig. 2h, j, the synaptic scale effect is isolated by regressing out the contribution of to signal correlation. In summary, both the strength (synaptic volume) and multiplicity of connections are higher when neurons are more functionally similar, consistent with an underlying Hebbian plasticity mechanism that might act to strengthen and stabilize connections between jointly-active neurons.
Lastly, to ensure the robustness of these findings, we ran the same analyses above with signal correlations measured directly from in vivo responses (rather than from the digital twin) and found that they replicated the like-to-like results achieved using the in silico signal correlations — including the graded relationships at the axonal and synaptic scale, and the relationships with synaptic cleft volume and synapse multiplicity (Supplemental Fig. 3).
Factorized in silico functional representation.
A key advantage of the digital twin (Fig.1c, Wang et al. 2024) is the factorization of each modeled neuron’s predicted response into two factors: readout location in visual space—a pair of azimuth/altitude coordinates; and readout feature weights—the relative contribution of the core’s learned features in predicting the target neuron’s activity. Intuitively, these learned features can be thought of as the basis set of stimulus features that the network then weighs to predict the neural responses. For each neuron, the combination of feature weights (“what”) and receptive field location (“where”) together encode everything the model has learned about that neuron’s functional properties, and enable the model’s predictive capacity for that neuron. This factorized representation allowed us to examine the extent to which these two aspects of neural selectivity independently contribute to the relationship between signal correlation and connectivity we observed in Fig. 2. Feature weight similarity was measured as the cosine similarity between the vectors of presynaptic and postsynaptic feature weights. Receptive field (RF) location similarity was measured as the visual angle difference between the center of the model readout locations, with lesser distance between the centers (“center distance”) corresponding to greater location similarity. We conducted a separate series of experiments to validate the model’s readout location as an estimate of RF center. These experiments demonstrated that the readout location correlates strongly with receptive field centers measured using classical sparse noise (dot-mapping) stimuli (Supplemental Fig.4a, b). Moreover, our approach outperformed classical linear in vivo measurements of the spatial receptive field for the significant fraction of neurons that are not responsive to the dot-mapping stimuli, even with one hour of dot-mapping data (Supplemental Fig.4c).
Both RF location similarity and feature weight similarity increase with axon-dendrite co-travel distance.
Among pairs of neurons with at least one axon-dendrite proximity (ADP neurons), axon/dendrite co-traveling for longer-than-average distances was associated with higher-than-average feature similarity (Fig. 3a). Similarly, neurons with higher-than-average receptive field similarity (i.e. receptive fields closer to each other), also co-traveled for longer-than-average distances. Thus, both feature tuning and receptive field location are positively correlated with the extent of axon-dendrite proximity between pairs of neurons, and these relationships held both within and across cortical areas. This result is consistent with a scenario where axonal projections are enriched in downstream regions with similar tuning properties, either via axon guidance cues during development or via selective stabilization of axons in areas with similar functional properties, or both.
A like-to-like rule for feature similarity, but not spatial RF location, is observed at the scale of individual synapses.
In contrast with the functional similarity in both features and RF locations associated with axon-dendrite proximity, synaptic connectivity between neurons was only positively correlated with similarity in feature preferences (Fig. 3b). Receptive field location similarity was either not correlated with synapse density or — in the case of V1 — was anti-correlated. Thus, at the synaptic scale, only like-to-like feature preference (not smaller spatial RF center distance) is associated with increased synaptic connectivity. This is a prominent difference between axonal-scale and synaptic-scale relationships with function, and suggests that Hebbian plasticity mechanisms operating at the level of individual synapses are driven by feature similarity rather than receptive field center distance. Consistent with this view, both synapse multiplicity (Fig. 3c) and synaptic cleft volume (Fig. 3d) strongly increase with feature similarity rather than RF location similarity (after regressing out as for Fig. 2h, j).
Like-to-like rule generalizes across joint layer and area membership of cells.
To achieve a more detailed understanding of the organization of connections across layers and areas, for each functional similarity metric (signal correlation, feature weight similarity, and receptive field center distance), we also tested the relationship with connectivity across two areas (primary visual cortex, V1; higher visual areas AL and RL, HVA) and three layers (L2/3, L4, and L5, Fig. 4). For signal correlation (Fig. 4a, b, see Supplemental Tab. 25, 26 for details) and feature weight similarity (Fig. 4c, d, see Supplemental Tab. 27, 28 for details), like-to-like effects (red squares) were widespread across many area and layer combinations, at both the axonal and synaptic scale.
In the case of RF center distance, while like-to-like effects (red squares) were widespread at the axonal scale, these effects disappeared when considering synaptic-scale specificity. This finding is consistent with the view that selectivity for retinotopic overlap exists at the scale of axon trajectories but not at the scale of individual synapse formation (Fig. 4e, f, see Supplemental Tab. 29, 30 for details). In this analysis, individual presynaptic baselines (e.g. variable , synapse rate, signal correlation), were accounted for with a generalized linear mixed model (GLMM) (see Methods for details). Distributions of all pairwise functional measurements, including in vivo signal correlation, in silico signal correlation, feature weight similarity, and receptive field distance are provided in Supplementary Fig. 10. Varying the inclusion thresholds of the above analyses across varying levels of digital twin model performance (quartiles of neurons ranked by prediction accuracy) did not substantially change the main results (Supplementary Fig. 11).
Orientation tuning is like-to-like within V1 at both axonal and synaptic scales.
Many neurons in mouse primary visual cortex and higher visual areas are strongly tuned for orientation, and a number of previous functional connectivity studies have used differences in preferred orientation as a metric for visual similarity within V1. In order to compare our findings more directly with this previous work, we repeated the central analysis in Fig. 2, but now using only the difference in preferred orientation — rather than signal correlations — to determine functional similarity.
We used the digital twin to estimate orientation tuning, and we validated this approach with in vivo validation experiments (Supplemental Fig. 7a, b), where we compared the in silico orientation tuning curve with the tuning curve estimated from the in vivo data. Orientation-selective responses were driven by lowpass filtered noise with coherent orientation and motion, a stimulus we have previously used to drive strong visual responses in orientation-tuned cells (Fahey et al., 2019; Wang et al., 2024). For orientation-tuned neurons (gOSI > 0.25, corresponding to more that 50% of coregistered neurons; please see methods for gOSI versus OSI comparison), the in silico orientation tuning curves align extraordinarily well with in vivo orientation tuning curves (Supplemental Fig. 7c–f).
We found that connected neurons in V1 have more similar orientation tuning than unconnected controls (Supplemental Fig. 8), as reported by previous studies (Rossi et al., 2020; Ko et al., 2011; Lee et al., 2016). However, in contrast with previous studies, we did not observe a similar significant like-to-like effect when restricting the analysis specifically to projections within V1 L2/3 excitatory neurons. To understand this deviation from previous literature, we first determined that connected neuron pairs within V1 L2/3 projections in the MICrONS dataset did indeed have similar orientation preferences (Supplemental Fig. 9), as expected. However, unconnected pairs showed the same level of similarity in orientation preference. We believe this is the result of a local orientation bias where the MICrONS volume is located in V1 (Fahey et al. 2019).
Overall, we found that the model feature weight similarity is a better predictor of connectivity than classical orientation preference, even for neurons tuned to oriented stimuli (Supplemental Fig. 6). Recent work by our group and others has emphasized that optimal stimuli for neurons in mouse V1 can exhibit complex spatial features that deviate strikingly from Gabor-like stimuli (Walker et al., 2019; Tong et al., 2023). These results highlight the advantages of studying more complete tuning functions, such as the model feature weights that we focus on here, rather than single tuning parameters such as orientation preference.
Neurons with common input are functionally similar.
If the pairwise “like-to-like” rule were the sole organizing principle of the visual cortex — implying that all postsynaptic neurons closely resemble their presynaptic partners — we would expect postsynaptic neurons to exhibit a certain degree of similarity to one another.
However, neural feature selectivity likely arises from more complex connectivity rules, so a cohort of neurons downstream of a single presynaptic neuron might, on average, be less (Fig. 5a, left) or more functionally similar to each other (Fig. 5a, right). To evaluate whether the similarity among postsynaptic neurons differs from what the “like-to-like” rule predicts, we built a simple model network, and introduced the empirical relationships between presynaptic/postsynaptic functional similarity and connectivity that we observed in our data. Specifically, we replicated the empirical distribution of signal correlations, feature weight similarities, and receptive field location distances over all model neuron pairs, and then predicted the expected number of synapses between neuron pairs — based on their functional similarity — with a Poisson linear mixed-effects model (Fig. 5b). We confirmed that this model replicated the expected functional similarity between connected neurons, indicating that it accurately captured the same pairwise “like-to-like” rule that we observed in the data (Supplemental Fig. 5). Then, we measured the similarity among all postsynaptic neurons downstream of a single presynaptic neuron, by calculating the mean pairwise signal correlations. As expected, on average, postsynaptic neurons were more functionally-similar to other postsynaptic neurons than random pairs (Supplemental Fig. 5). However, we also found that postsynaptic neurons receiving common synaptic inputs in the MICrONS dataset were even more similar than the “like-to-like” model predicted (Fig. 5c). These relationships held when tested at both axonal and synaptic scales for three out of the four projection types (Supplemental Fig. 5). This suggests the existence of higher-order functional organization beyond the simple pairwise relationships that we focused on up to this point.
Like-to-like connectivity and its functional role in artificial neural networks.
A possible functional role for the like-to-like connectivity observed in our data is suggested by theoretical work on recurrent neural network (RNN) models, starting with early work on attractor-based models like Hopfield networks (Hopfield, 1982; Khona and Fiete, 2022a). In these models, like-to-like connectivity increases similarity in neural responses to similar stimuli, which aids both supervised and unsupervised learning. Artificial neural networks produce stimulus representations similar to those in primary visual cortex (Yamins et al., 2014; Cadena et al., 2019), but there have been no comparisons to date between like-to-like connectivity in biological and artificial neural networks.
To make such a comparison, we trained an RNN model on a simple image classification task (Fig. 6a; see Methods for details). The trained RNN showed increased like-to-like connectivity compared to the same model before training (Fig. 6b,c), and a small shift in the distributions of signal correlations, similar to those in our data (Supplementary Figs. 10 and 12). Intriguingly, we found that ablating like-to-like connections in the trained model decreased performance more than ablating random connections with the same connection strengths (Fig. 6d), suggesting that like-to-like connectivity plays a functional role in the model. Finally, we found that the trained model exhibits an increase in signal correlations within cohorts of postsynaptic cells defined by a shared presynaptic neuron, similar to the higher order connectivity rule that we observed in our data. (Fig. 6e). These results suggest that like-to-like connectivity — similar to the magnitude we observed in the MICrONS data — could be sufficient to subserve a functional role in sensory processing and learning.
Discussion
Discovering the principles that relate structure to function is central in the pursuit of a circuit-level mechanistic understanding of brain computations. Here, we used the MICrONS multi-area dataset — the largest of its kind — to study the relationship between the connections and functional responses of excitatory neurons in mouse visual cortex across cortical layers and visual areas. Our findings revealed that neurons with highly correlated responses to natural videos (i.e. high signal correlations) tended to be connected with each other, not only within the same cortical areas but also across multiple layers and visual areas, including feedforward and feedback connections. While the overall principle of “like-to-like” connectivity that we describe here is consistent with a number of previous studies (Ko et al., 2011, 2013; Wertz et al., 2015; Lee et al., 2016; Rossi et al., 2020), our work leverages three unique strengths of the MICrONS dataset to extend and refine these previous findings.
First, the scale of the volume enabled us to look at connection principles across layers 2–5 of cortex, not just within V1, but also in projections between V1 and higher visual areas. In agreement with previous findings from V1 L2/3, we found that pairs of cells with higher signal correlations were more likely to be connected (Ko et al., 2011, 2013; Cossell et al., 2015). This general principle held not just in V1 L2/3, but also in higher visual areas and for inter-area feedforward and feedback projections.
Second, we were able to take advantage of the dense reconstruction to ask questions about functional specificity at the axonal scale that would be difficult to address with any other data. We found that axons are more likely to co-travel with dendrites of similarly-tuned neurons, even for long-range axons spanning areas. The dense reconstruction also allowed us to compute a set of null distributions for the expected synaptic connectivity between neurons based on axon-dendrite proximities. These controls enable us to distinguish whether the relationships we observed between connectivity and function are due to the overall geometry of axonal and dendritic arbors in the volume, or whether they reflect a more precise connectivity rule at the level of individual synapses. For example, it is only with the inclusion of both same region and ADP controls that we are able to observe the diverging findings of axon trajectory level selectivity for receptive field center distance (Fig. 3 d, e, f) and synaptic level selectivity for feature weight similarity (Fig. 3 a, b, c). These different controls can be mapped onto potential developmental or adult plasticity mechanisms that may shape the coarse axon trajectory and fine-scale synaptic connectivity across the brain.
Finally, our deep learning neural predictive modeling approach enabled us to comprehensively characterize the tuning function of a neuron, factorize it into spatial and feature tuning components, and facilitate in silico exploration with neural responses to novel visual stimuli. The digital twin model allowed us to measure signal correlations over a much larger set of naturalistic videos, resulting in better connectivity predictions compared to in vivo measurements from a smaller stimulus set (Supplemental Fig. 6). Moreover, the model’s factorized architecture provided a unique opportunity to discover distinct synaptic organizing principles for two interpretable components of neuronal tuning: what the neuron is tuned to and where its receptive fields are located. Notably, the digital twin model demonstrated excellent out-of-training-set performance (Supplemental Fig. 2) even for novel stimulus domains (Supplemental Fig. 4). This generalization ability opens exciting possibilities for future in silico visual experiments, although validation experiments remain essential when studying the digital twin model with new stimulus domains. Currently we treat this model as a black box, but future models could constrain the architecture in order to make internal model parameters more interpretable. Additionally, recent studies have shown that behavioral states and task variables explain a substantial portion of neural responses, even in sensory cortices (Stringer et al., 2019; Musall et al., 2019). Future digital twins could incorporate additional behavioral measurements that enable us to study more general relationships between structure and function, beyond visual processing.
Many of the analyses described in this paper evaluated pairwise relationships between one presynaptic neuron and one postsynaptic or control neuron. While our experiment in an RNN toy model shows that a pairwise like-to-like rule can have important functional consequences for task performance (Fig. 6), there is still a question of whether there exist higher-order functional motifs beyond simple, pairwise relationships. We explored one such higher-order pattern in our analysis of functional similarity among postsynaptic neurons sharing at least one common input (Fig. 5). This investigation revealed functionally similar postsynaptic cohorts, suggesting the presence of more complex organizational principles. Other studies have looked at functional similarity in presynaptic cells converging on a single common postsynaptic neuron (Bock et al., 2011; Wertz et al., 2015; Rossi et al., 2020). As proofreading in the MICrONS volume continues, it will become possible to test motifs of much higher order and complexity and their relationship to more complex functional properties. In addition to a more complete connectivity graph, another route to discovery may be to study more richly-colored graphs that include additional modalities about each neuron, including features such as morphological or transcriptomic information, or local ultrastructure. Alternatively, it may be important to investigate functional connectivity rules operating at the scale of sub-cellular compartments, for example looking at synapse clustering on dendrites.
Just as pairwise relationships might only partially reveal rules at play in higher-order motifs, the principle of “like-to-like” may only partially capture more complicated principles relating structure and function. For example, Wertz et al. found that for some networks (multiple presynaptic neurons converging onto a single postsynaptic output), the similarity of inputs differed depending on layer origin, a phenomenon they termed “feature-variant” networks (Wertz et al., 2015). Several studies have also found that there is an interplay between the geometric relationship of receptive field positions and feature preferences (Rossi et al., 2020; Marques et al., 2018; Oldenburg et al., 2024). For example, Rossi et al. found that the spatial offset between the receptive fields of excitatory and inhibitory inputs matched the postsynaptic cell’s direction selectivity (Rossi et al., 2020). Future work could further discriminate along the relevant feature dimensions to find more precise rules.
Like-to-like connectivity is a recurring theme in theoretical models of neural circuit function, including Hebb’s theory of neural assemblies (Hebb, 1949), Hubel and Wiesel’s theory of receptive field formation (Hubel and Wiesel, 1962), and later work by Hopfield (Hopfield, 1982) and others (Khona and Fiete, 2022b) on attractor based models. Like-to-like connectivity is often assumed a priori or emerges due to Hebbian plasticity in these models, but our analysis of a vanilla RNN trained by gradient descent shows that like-to-like connectivity — in addition to higher order connectivity motifs observed in our data — can arise naturally from optimizing a recurrent system for a simple visual task (Fig. 6). Theory-driven experiments will allow us to move beyond correlational to causal understanding of biological systems. Future works could study these connectivity rules further in artificial systems with greater complexity or biological realism.
Our work provides a first glimpse of principles of cortical organization that can be discovered with large datasets combining detailed functional characterization with synaptic-scale connectivity. While the incredible accuracy of machine learning-based reconstruction methods has rightly increased optimism about the potential discoveries that can be made from large EM volumes — especially when combined with functional characterization — we should also not forget the magnitude of the challenge contained in even a 1 mm3 volume of cortex in a single mouse. The analyses in this paper are based on only a small number of manually proofread neurons, but even this limited view of the dataset represents an impressive volume of axonal and dendritic reconstruction. Ongoing investments in proofreading, matching, and extension efforts within this volume will have exponential returns for future analyses as they yield a more complete functional connectomic graph, and reduce or eliminate potential biases in the connections. As more large-scale datasets like MICrONS are publicly released, there will be much more to discover about the organizing principles relating structure and function in other brain areas (Kuan et al., 2024) and even other model organisms (Wanner et al., 2016). Our hope is that this dataset, including both the structural anatomy and the immortalized digital twin for ongoing in silico experiments, will be a community resource that will yield concrete insights as well as inspiration about the scale of investigation that is now possible in neuroscience.
Methods
MICrONS Dataset.
MICrONS dataset was collected in a single animal as described in MICrONS Consortium et al. (2021), including neurophysiological data collection, visual stimulation, stimulus composition, EM data collection, automatic EM segmentation and reconstruction, manual EM proofreading, volume coregistration, and manual soma-soma matching between the functional and EM volumes. Neurophysiological experiments, Visual Stimulution,and Stimulus Composition sections below are specific to additional experiments described in Supplemental Fig. 7.
Neurophysiological experiments.
All procedures were approved by the Institutional Animal Care and Use Committee of Baylor College of Medicine. Ten mice (Mus musculus, 3 female, 7 males, 78–190 days old at first experimental scan) expressing GCaMP6s in excitatory neurons via Slc17a7-Cre and Ai162 transgenic lines (recommended and generously shared by Hongkui Zeng at Allen Institute for Brain Science; JAX stock 023527 and 031562, respectively) were anesthetized and a 4 mm craniotomy was made over the visual cortex of the right hemisphere as described previously (Reimer et al., 2014; Froudarakis et al., 2014).
Mice were head-mounted above a cylindrical treadmill and calcium imaging was performed with a mesoscope (Sofroniew et al., 2016) as described in release (MICrONS Consortium et al., 2021), with surface power not exceeding 20 mW, depth constant of 220 μm, and greatest laser power of ~ 86 mW was used at approximately 400 μm from the surface.
The cranial window was leveled with regard to the objective with six degrees of freedom. Pixel-wise responses from an ROI spanning the cortical window (3600 × 4000 μm, 0.2 px/μm, 200 μm from surface, 2.5 Hz) to drifting bar stimuli were used to generate a sign map for delineating visual areas (Garrett et al., 2014).
For the orientation tuning validation data in Supplemental Fig. 7, our target imaging site was a 1200 × 1100μm2 area spanning L2-L5 at the conjunction of lateral primary visual cortex (V1) and three lateral higher visual areas: anterolateral (AL), lateromedial (LM), and rostrolateral (RL). This resulted in an imaging volume that was roughly 50% V1 and 50% higher visual area. This target was chosen in order to mimic the area membership and functional property distribution in the MICrONS animal. Each scan was performed at 6.3 Hz, collecting eight 620 × 1100μm2 fields per frame at 0.4 px/μm xy resolution to tile a 1190 – 1200 × 1100μm2 FOV at four depths (two planes per depth, 40 – 50μm overlap between coplanar fields). The four imaging planes were distributed across layers with at least 50μm spacing, with two planes in L2/3 (depths: 180μm,230μm), one in L4 (325μm), and one in L5 (400μm).
Movie of the animal’s eye and face was captured throughout the experiment. A hot mirror (Thorlabs FM02) positioned between the animal’s left eye and the stimulus monitor was used to reflect an IR image onto a camera (Genie Nano C1920M, Teledyne Dalsa) without obscuring the visual stimulus. The position of the mirror and camera were manually calibrated per session and focused on the pupil. Field of view was manually cropped for each session. The field of view contained the left eye in its entirety, 212–330 pixels height × 262–424 pixels width at 20 Hz. Frame times were time stamped in the behavioral clock for alignment to the stimulus and scan frame times. Video was compressed using Labview’s MJPEG codec with quality constant of 600 and stored the frames in AVI file.
Light diffusing from the laser during scanning through the pupil was used to capture pupil diameter and eye movements. A DeepLabCut model (Mathis et al., 2018) was trained on 17 manually labeled samples from 11 animals to label each frame of the compressed eye video (intraframe only H.264 compression, CRF:17) with 8 eyelid points and 8 pupil points at cardinal and intercardinal positions. Pupil points with likelihood >0.9 (all 8 in 69.8–99.2% of frames per scan) were fit with the smallest enclosing circle, and the radius and center of this circle was extracted. Frames with < 3 pupil points with likelihood >0.9 (<1.1% frames per scan), or producing a circle fit with outlier > 5.5 standard deviations from the mean in any of the three parameters (center x, center y, radius, <0.1% frames per scan) were discarded (total <1.2% frames per scan). Gaps were filled with linear interpolation. The mouse was head-restrained during imaging but could walk on a treadmill. Rostro-caudal treadmill movement was measured using a rotary optical encoder (Accu-Coder 15T-01SF-2000NV1ROC-F03-S1) with a resolution of 8000 pulses per revolution, and was recorded at ~100 Hz in order to extract locomotion velocity.
Visual stimulation.
For the validation data in Supplemental Fig. 2, 4 and 7, monitor size and positioning relative to the mouse were as described in MICrONS Consortium et al. (2021), with the exception of replacing the dot stimulus for monitor positioning with 10 × 10 grid tiling a central square (approx 90 degrees width and height) with 10 repetitions of 200 ms presentation at each location.
A photodiode (TAOS TSL253) was sealed to the top left corner of the monitor, and the voltage was recorded at 10 KHz and timestamped with a 10 MHz behavior clock. Simultaneous measurement with a luminance meter (LS-100 Konica Minolta) perpendicular to and targeting the center of the monitor was used to generate a lookup table for linear interpolation between photodiode voltage and monitor luminance in cd/m2 for 16 equidistant values from 0–255, and one baseline value with the monitor unpowered.
At the beginning of each experimental session, we collected photodiode voltage for 52 full-screen pixel values from 0 to 255 for one second trials. The mean photodiode voltage for each trial was collected with an 800 ms boxcar window with 200 ms offset. The voltage was converted to luminance using previously measured relationship between photodiode voltage and luminance and the resulting luminance vs voltage curve was fit with the function where is the measured luminance for pixel value , and the of the monitor was fit as 1.73. All stimuli were shown without linearizing the monitor (i.e. with monitor in normal gamma mode).
During the stimulus presentation, display frame sequence information was encoded in a 3 level signal, derived from the photodiode, according to the binary encoding of the display frame (flip) number assigned in-order. This signal underwent a sine convolution, allowing for local peak detection to recover the binary signal together with its behavioral time stamps. The encoded binary signal was reconstructed for >93% of the flips. Each flip was time stamped by a stimulus clock (MasterClock PCIe-OSC-HSO-2 card). A linear fit was applied to the flip timestamps in the behavioral and stimulus clocks, and the parameters of that fit were used to align stimulus display frames with scanner and camera frames. The mean photodiode voltage of the sequence encoding signal at pixel values 0 and 255 was used to estimate the luminance range of the monitor during the stimulus, with minimum values of approximately 0.003–0.60 cd/m2 and maximum values of approximately 8.68–10.28 cd/m2.
Preprocessing of neural responses and behavioral data.
Fluorescence traces from the MICrONS dataset and the additional data for Supplemental Fig. 2, 4 and 7 were detrended, deconvolved, and aligned to stimulus and behavior as described in Wang et al. (2024), and all traces were resampled at 29.967 Hz. Possible redundant traces, where a single neuron produced segmented masks in multiple imaging fields, were all kept for downstream model training. We elected to remove one of the 14 released scans from the analysis (session 7, scan_idx 4) due to compromised optics (water ran out from under the objective for ~ 20 minutes), leaving 13 scans.
Model architecture and training of the digital twin model.
The model architecture and training for the digital twin model used for assessing in silico signal correlation, feature weight similarity, and receptive field center distance is the same as the cvt-lstm model described in Wang et al. (2024).
Briefly, the core network of the cvt-lstm models was trained on 8 scans collected from 8 mice with natural movie stimuli to capture cortical representations of visual stimuli shared across mice. The parameters of the core network are then frozen, and the rest of the network parameters are trained for each scan with trials where natural movies are shown in the MICrONS dataset. Trials were excluded from model training if more than 25% of their pupil frames were untrackable. This issue most commonly arose when the animal closed its eye, rendering the functional relationship between neural activity and the visible stimulus ambiguous. The number of excluded trials varied across scans, ranging from 2 to 123 per scan, representing 0.6–38.0% of total trials.
To assess orientation tuning similarity, we used a slightly different digital twin model with a conv-lstm architecture as described in Wang et al. (2024). The core network of the conv-lstm models was trained with the same 8 scans as the cvt-lstm model. The rest of the network parameters are fine-tuned with both natural movies and oriented noise stimuli available from the MICrONS dataset to reach maximum alignment between in vivo and in silico orientation tuning.
Functional unit inclusion criteria.
In order to focus our analyses on neurons that are visually responsive and well modeled by the digital twin, we applied a dual functional threshold over two metrics (in vivo reliability and model prediction performance) prior to all analyses related to signal correlation, receptive field center distance, and feature weight similarity.
In vivo reliability threshold.
In order to estimate the reliability of neuronal responses to visual stimuli, we computed the upper bound of correlation coefficients for each neuron(, Schoppe et al. 2016) across 60 seconds of natural movie stimuli repeated 10 times across the stimulus period (10 min total). was computed as:
where is the in vivo responses, and is the number of trials. A threshold of was applied. Where more than one two-photon functional unit was matched to a given EM unit, the functional trace with the higher oracle score was used for analysis.
Model prediction performance threshold.
In order to focus our analyses on neurons for which adequate model performance indicated sufficiently accurate representation of the neuronal tuning features, we computed the test correlation coefficient on the withheld oracle test dataset, which was not part of the training set. Test correlation coefficients () were computed as:
where is the in silico response and is the in vivo response. A threshold of was applied.
144 out of 148 presynaptic neurons and 3920 out of 4811 postsynaptic neurons passed the dual functional unit inclusion criteria.
Oracle score.
The oracle score was computed for all units as described in MICrONS Consortium et al. (2021). Oracle score is later used to select presynaptic neurons for morphological proofreading (see below).
Two-photon/ Electron Microscopy Matching.
The matching between two-photon functional units and EM cells aligns closely with table coregistration_manual_v4 (MICrONS Consortium et al., 2021) with some additional restrictions applied. First, the matches to the excluded scan described in Section Preprocessing of neural responses and behavioral data were removed. Then, two thresholds were applied directly to the table (residual < 20 and score > −10).
Morphological Proofreading.
While automation of the EM segmentation has progressed to where dense reconstruction is possible at the millimeter scale, even state-of-the-art methods still leave imperfections in the graph relative to human expert performance. The two categories of reconstruction error are false merges (the incorrect grouping of segmented objects, such as including an axon or dendrite that does not belong to a specific soma) and false splits (the incorrect separation of objects, such as excluding an axon or dendrite that does belong to a specific soma). These errors lead to incorrect associations between pre- and post-synaptic partners and ultimately an incorrect connectivity graph. Proofreading corrects false merges by “cleaning” the reconstruction, i.e. removing incorrectly associated segments, and corrects false splits by “extending” the reconstruction, i.e. adding back missing segments. We used two proofreading approaches in this study: manual and automatic. “Manual proofreaders” were trained to both clean and extend reconstructions to a high degree of accuracy, as validated by expert neuroanatomists. All of the presynaptic cells in this study were manually proofread. The manual proofreading protocol can be found in the primary dataset paper, (MICrONS Consortium et al., 2021). For the rest of the cells (postsynaptic and control neurons), we used the NEURD package (Celii et al., 2024) to perform automated proofreading. Automated proofreading cleans reconstructions to a high degree of accuracy relative to manual proofreaders, but it does not extend reconstructions.
Dendritic Proofreading.
At baseline, reconstructed dendrites were generally complete and required little extension (Elabbady et al., 2024). However, they often contained false merges that required cleaning (Elabbady et al., 2024). The dendrites of all of the presynaptic neurons were manually cleaned and extended. The dendrites of other neurons were cleaned with NEURD (Celii et al., 2024).
Axonal Proofreading.
At baseline, reconstructed axons require both cleaning and extension (Elabbady et al., 2024). Only the axons of presynaptic neurons were manually cleaned and extended. In order to balance morphological completeness (per neuron) and coverage (across projection types), we extended axons to varying degrees of completion. Specifically, we performed full manual proofreading on a subset of neurons (n=84), which involved thoroughly cleaning and extending all axonal branches throughout the dataset. For the remaining neurons (n=64), we applied partial proofreading, focusing exclusively on extending axonal branches that were pre-screened to feedback from HVA to V1. The full list of proofread presynaptic neurons, their area and layer membership, and whether they were fully or partially proofread is included in Supplemental Table 1, and a subset of proofread axons are shown in Supplemental Fig. 1.
Presynaptic Neuron Selection.
Our approach for selecting presynaptic neurons for manual proofreading was designed to enrich for higher-order connectivity motifs within and (especially) across visual areas. Because connection probability drops off with distance (Holmgren et al., 2003), we elected to initially focus proofreading efforts on spatially clustered cells in two cylindrical columns spanning cortical layers 2–5, with the first column located in V1 and the second located in RL. Column centers were chosen according to retinotopic maps, as it has been shown that inter-areal projections are retinotopically matched (Wang and Burkhalter, 2007; Marques et al., 2018). During the proofreading process we added an additional column in V1 and another spanning the RL and AL border, to increase coverage of the volume. Lastly, a few HVA cells that were postsynaptic to proofread V1 cells were chosen to enrich for higher order motifs (n=9). All neurons selected for proofreading had an oracle score greater than 0.25 and model test correlation (model predictive performance from an intermediate version of the digital twin) greater than 0.15. The first 40 neurons were selected by experienced neuroscientists unblinded to functional properties for an emphasis on functional diversity. All remaining neurons were chosen blind to functional properties.
Anatomical controls.
In order to control for anatomy at the axonal scale, we recruited all visually responsive, well predicted, functionally matched excitatory neurons () that are located in the same region as the postsynaptic target, but are not observed to form a synapse with the presynaptic neuron (same region control). Area membership labels per neuron were used from the MICrONS release (MICrONS Consortium et al., 2021). Additionally, control candidates that meet criteria for both the same region control and the ADP control (described below) will only be included in ADP control.
In order to control for anatomy at the synaptic scale, we recruited all visually responsive, well predicted, functionally matched excitatory neurons with a dendritic skeleton passing within 5μm of the presynaptic neuron axonal synapse in the presynaptic axonal arbor (3D euclidean distance), but which are not observed to form a synapse with the presynaptic neuron (ADP control). Presynaptic axonal skeletons were computed using the pcg_skel package developed by collaborators at the Allen Institute for Brain Science (Schneider-Mizell et al., 2024; Schneider-Mizell and Collman, 2023). For postsynaptic dendritic skeletons, we used the automatically proofread and skeletonized dendritic arbors as described in Celii et al. 2024.
To compute the axon-dendrite co-travel distance () between a pair of neurons, we first discretized both the axonal skeleton of one neuron and the dendritic skeleton of the other neuron so that no edge exceeded a length of 1 μm. Next, we identified all pairs of vertices from the two skeletons that were within 5 μm of each other by performing spatial queries using KDTree’s query_ball_tree method from the scipy.spatial module in SciPy (Virtanen et al., 2020). From these proximal vertices (“proximity”), we identified the associated dendritic edges. The lengths of these dendritic edges were summed to obtain .
Synapses were obtained from Table synapses_pni_2 (MICrONS Consortium et al., 2021) and were assigned to an axon-dendrite proximity if they were within 3 μm of any vertex in the proximity.
In the case of the joint area and layer analysis (Fig. 4), candidates in both the “same region” and “ADP” controls must additionally match the same layer classification as the post-synaptic target in order to be included. Layer assignment was performed as in (Weis et al., 2024).
Measuring functional similarities.
In silico response correlations.
To characterize the pair-wise tuning similarity between two modeled neurons, we computed the Pearson correlation of their responses to 2500 seconds of natural movies. The natural movies were fed in to the model as trials of 10 sec. Model responses were generated at 29.967 Hz and Pearson correlations were computed after binning the responses into 500 msec non-overlapping bins and concatenating across trials.
In silico feature weight similarity and receptive field center distance.
The digital twin model architecture includes a shared core which is trained to represent spatiotemporal features in the stimulus input, and a final layer where the spatiotemporal features at a specific readout location are linearly weighted in order to produce the predicted activity of a specific neuron at the current time point (Wang et al., 2024). The readout location and linear feature weight are independently learned for each neuron. In order to measure the feature weight similarity between two units, we extract the linear feature weights from this final step as vector of length 512, and take the cosine similarity between the two vectors. In order to measure the receptive field center distance between two units, we extract the readout location as 2D coordinates on the monitor, and take the angle between them with respect to the mouse’s eye, assuming the monitor is centered on, 15 cm away from, and normal to the surface of the mouse’s eye at the closest point.
In silico difference in preferred orientation.
240 blocks of parametric directional visual stimuli (“Monet”) are shown to the model, with each fifteen-second block consisting of 16 trials of equally distributed and randomly ordered unique directions of motion between 0–360 degrees. A modeled neuron’s direction tuning curve is computed as its mean responses to 16 directions averaged across blocks. We calculated the global orientation selectivity index (gOSI) and the orientation selectivity index (OSI) from the modeled neuron’s tuning curve as follows:
(1) |
where is the direction of the stimulus, is the mean modeled response to the stimulus at direction , and and are the mean modeled responses at the preferred and orthogonal orientation, respectively. The gOSI metric is based on the 1 – CircV ar metric in (Mazurek et al., 2014), which is a vector-based method designed to reduce the uncertainty in quantifying orientation selectivity of responses, especially in cases where high throughput, unbiased recording methods return many cells with low orientation selectivity, as is the case with calcium imaging. Only neurons with were included in the analyses in this paper. For neurons selected with our gOSI threshold > 0.25, the computed OSI ranges from 0.43 to 0.99, with mean of 0.56. For both thresholds, the fraction of cells considered orientation tuned (57.4% of coregistered V1 neurons has gOSI > 0.25, 62.7% of coregistered V1 neurons has OSI > 0.4) is similar to those reported in other studies (72% in V1 layer 2/3 (Ko et al., 2011), 62.9% in V1 layer 2/3 and 58.0% in V1 layer 4 (Kondo and Ohki, 2016).Unit-wise direction tuning curves are then modeled by a bivariate von Mises function with an offset:
(2) |
where is the modified Bessel function, is the preferred direction, measures the concentration of the two peaks (larger means higher peaks thus higher orientation selectivity), measures the relative height of the two peaks ( means two peaks of the same height, when approaches 0 or 1, the bi-modal distribution reduces to a uni-model von Mises distribution), is the offset. , and are fit by minimizing least squared error. The preferred orientation of a neuron is taken as the modulus of to 180 degrees.
Validation of the digital twin model.
Validation of In silico signal correlations.
To validate the in silico signal correlations generated by our digital twin model, we first established a benchmark for in vivo signal correlations. We began by determining the optimal number of stimulus repetitions for measuring in vivo signal correlations. Two mice were presented with 6 unique 10-second natural movie clips, each repeated 60 times over a 60-minute period. Based on the results shown in Supplemental Fig. 2a, we determined that 10 repetitions per clip provided a reliable estimate of in vivo signal correlation while maintaining a reasonable experimental time for presenting a large number of clips in subsequent experiments.
With this optimal repetition count established, we conducted experiments with three mice using an expanded set of visual stimuli. These stimuli contained those presented in the MICrONS dataset as described in MICrONS Consortium et al. (2021), including natural movies, global directional parametric stimuli (“monet”), and local directional parametric stimuli (“trippy”). Additionally, we presented 36 unique 10-second natural movie clips, each repeated 10 times, totaling 60 minutes of stimulation. To facilitate comparison with the MICrONS dataset and establish a robust ground truth, we divided these 36 clips into two sets: a benchmark set of 30 clips repeated 10 times, serving as our “ground truth” for signal correlation, and a MICrONS-equivalent set of 6 clips repeated 10 times, mimicking the amount of repeated natural clip data available in the MICrONS dataset.
For each mouse, we trained a digital twin model using the same architecture and training data as the MICrONS digital twin. This allowed us to generate three signal correlation matrices for comparison: an in vivo matrix computed from the MICrONS-equivalent set, an in silico matrix generated by the digital twin model using 250 novel natural movie clips, and a benchmark matrix computed from the 30-clip set. To compare these matrices, we randomly sampled submatrices of signal correlations between 1000 neurons. We then performed hierarchical clustering using Ward’s method on the benchmark matrix and used the resulting dendrogram to sort neurons. This sorting was applied to the MICrONS-equivalent and in silico matrices for visual comparison, as shown in Supplemental Fig. 2b. Following this initial comparison, we calculated the Pearson correlation coefficient between the corresponding entries in the lower triangles of the three matrices. To assess statistical significance, we employed a resampling approach, performing 1000 random splits of the benchmark and MICrONS-equivalent sets, from which we estimated the standard deviation and resampling-based p-value of the Pearson correlations. This comprehensive approach enabled us to evaluate how well our digital twin model’s in silico signal correlations matched the ground truth compared to in vivo measurements with limited data, thus validating the model’s performance in replicating neural response correlations.
Validation of receptive field center.
To validate the receptive field estimates of our digital twin model, we conducted additional experiments and analyses comparing in vivo and in silico silico receptive field measurements. We collected three additional functional scans using an expanded set of visual stimuli. These stimuli contained those presented in the MICrONS dataset as described in MICrONS Consortium et al. (2021), including natural movies, global directional parametric stimuli (“monet”), and local directional parametric stimuli (“trippy”). Additionally, we presented 57.6 minutes of sparse noise stimuli. The sparse noise stimuli consisted of bright (pixel value 255) and dark (pixel value 0) square dots, each approximately 6° in visual angle, presented on a grey background (pixel value 127) in a randomized order. These dots were presented at 12 positions covering 70° of visual angle along both the horizontal and vertical axes of the screen. Each presentation lasted 200 ms, and each condition was repeated 60 times.
We computed the in vivo spike-triggered average (STA) receptive fields by cross-correlating the visual stimuli with deconvolved calcium traces. STAs for bright dots (on-STAs) and dark dots (off-STAs) were estimated independently and then combined by taking the pixel-wise maximum of the on- and off-STAs. We then presented the same sparse noise stimuli to the digital twin model and computed in silico silico STA receptive fields using the model responses. To assess STA quality, we generated response predictions by multiplying each neuron’s STA with the stimulus frames and compared these predictions to either the in vivo trial-averaged responses or model responses using Pearson correlation coefficients. Neurons with correlations greater than 0.2 were considered well-characterized. We then extracted the STA receptive field centers by fitting a 2D Gaussian to the STAs, with fits yielding an r-squared value over 0.5 considered well-fit. Our analysis revealed that 40% of all imaged neurons had well-characterized, well-fit in vivo STAs.
Finally, we visualized the retinotopic maps measured with either in vivo STA or in silico STA by converting the STA receptive field centers to azimuth and elevation angles, assuming the mouse was looking at the center of the monitor. To exclude partially measured STAs, we included only neurons with fitted STA centers located in the central 8×8 square of the entire 12×12 stimulus grid (27% of all imaged neurons) for the analysis presented in Supplemental Fig. 4 a, b, and c left. For the analysis in Supplemental Fig. 4 c right, we included neurons with the bottom 25% of response correlations.
Validation of orientation tuning.
To validate in silico orientation tuning with in vivo orientation tuning, we collected three additional functional scans with an expanded set of stimuli. These stimuli contained those presented in the MICrONS dataset as described in MICrONS Consortium et al. (2021), including natural movies, global directional parametric stimuli (“monet”), and local directional parametric stimuli (“trippy”). In addition, each stimulus contained an additional 40 minutes of trials, randomly intermixed, as follows:
Unique Global Directional Parametric Stimulus (“Monet”): 120 seeds, 15 seconds each, 1 repeat per scan, 30 minutes total. Seeds conserved across all scans.
Oracle Global Directional Parametric Stimulus (“Monet”): 4 seeds, 15 seconds each, 10 repeats, 10 minutes total. Seeds conserved across all scans.
We characterized both the in vivo orientation tuning in response to 30 minutes of global directional parametric stimulus (“Monet”, Supplemental Fig. 7a), as well as the in silico orientation tuning as described above for digital twin models with shared cores and readouts trained on neurons from the same scans, in response to stimuli matching the composition and duration of the MICrONS release scans (Supplemental Fig. 7b). When we applied a threshold of , we found that 95% of cells had an absolute difference between their in silico and in vivo preferred orientations less than 9.77°.
Statistical analysis of mean signal correlations.
We employed paired t-tests to compare signal correlations between presynaptic neurons and three groups of potential target neurons: connected postsynaptic neurons, axon-dendrite proximity (ADP) neurons, and same-region control neurons. Our analysis focused on presynaptic neurons with more than 10 postsynaptic targets for each projection type to ensure robust comparisons. For each presynaptic neuron, we computed mean signal correlations with its synaptically connected postsynaptic targets, ADP neurons (neurons with dendrites in proximity to the presynaptic axon but not synaptically connected), and same-region control neurons (neurons in the same brain region but without proximal axon-dendrite contacts). We then performed paired t-tests to compare these mean correlations. For example, to compare connected and ADP neuron pairs, we conducted a paired t-test between each presynaptic neuron’s mean signal correlation with its postsynaptic targets versus its mean signal correlation with ADP neurons. This approach allowed us to control for variability across presynaptic neurons while directly comparing their correlations with different target groups. All statistical analyses were performed using the scipy package in Python. We set the significance level () at 0.05 for all tests. To account for multiple comparisons, we adjusted p-values using the Benjamini-Hochberg (BH) procedure as implemented in the statsmodels package.
Visualization of the relationship between and the functional similarities.
Visualization of .
To quantify the changes in as a function of functional similarities, we restrict our analysis to neuron pairs with no synaptic connections observed between them. We then follow these steps:
We compute the mean and mean functional similarities for each presynaptic neuron across all other neurons that no synaptic connections with the presynaptic neuron were observed.
We subtract the presynaptic mean from each of the pairwise and functional similarities between every neuron pair to compute and .
The neurons pairs are then binned by and the average is computed for each bin.
The standard deviation of average is estimated by bootstrapping. Specifically, we resampled the neuron pairs 1000 times with replacement and repeated steps 1–3.
Only bins with more than 10 connected neuron pairs and more than 10 presynaptic neurons are included in the visualization.
Visualization of .
To quantify the changes in as a function of functional similarities, we restrict our analysis to neuron pairs with positive observed between them. We then follow these steps:
We compute the mean and mean functional similarities for each presynaptic neuron across all other neurons that no synaptic connections with the presynaptic neuron were observed.
We subtract the presynaptic mean from each of the pairwise and functional similarities between every neuron pair to compute and .
The neurons pairs are then binned by and the average is computed for each bin.
The standard deviation of average is estimated through bootstrapping. Specifically, we resampled the neuron pairs 1000 times with replacement and repeated steps 1–3.
Only bins with more than 10 connected neuron pairs and more than 10 presynaptic neurons are included in the visualization.
Statistical modeling of “like-to-like” rules for different anatomical measurements.
Axon-dendrite co-travel distance (
measures the distance dendrites of one neuron travel within 5 μm from another neuron’s axon. Most pairs of neurons’ axons and dendrites never come into close proximity with each other, and their is zero. Thus, the distribution is a non-negative continuous distribution with a substantial non-zero probability measure at zero . Thus, we modeled as a random variable following the Tweedie exponential dispersion family (with Tweedie index parameter ). Tweedie distributions with such index parameters are Poisson mixtures of gamma distributions, commonly used to model continuous data with exact zeros. We assume two neurons’ axons and dendrites travel within 5 μm at proximity points, where is the mean number of axonal dendritic proximal contacts of the Poisson distribution. When , we assume the distance dendrites travel within five μm at each proximal point follows a Gamma distribution . Under these assumptions, the total potential synapsing distance
where when , follows a Tweedie distribution with . We then model the relationship between , functional similarities (e.g., signal correlation, feature weight similarity, receptive field location distance between two neurons), and projection types using a Tweedie-distributed generalized linear mixed model (GLMM) with a log link function. For analysis at the brain area level, is a nominal variable with 4 categories: V1 intra-area, HVA intra-area projections, feedforward projections, and feedback projections. For analysis at the brain area and layer level, we apply GLMMs for modeling as they have been recommended for accounting for multi-level data dependencies in datasets (Yu et al., 2022), such as the projection types and presynaptic neuron proofreading progress in our study. We specify the model as follows:
where:
is the axon-dendrite co-travel distance between presynaptic neuron and postsynaptic neuron
is the functional similarity between the neuron pair
is the projection type of the neuron pair
, and are the fixed effect coefficients of the functional similarity, projection type, and their interaction term, respectively
is the intercept
is the random effect accounting for the projection type and the proofread status associated with presynaptic neuron
is the error term, following a Tweedie distribution
The coefficients , and represent how functional similarities and projection types affect connectivity at the axonal scale. We fit the models for each functional similarity independently using the glmmTMB R package. The goodness-of-fit of the estimated models is reported as Nakagawa’s R squared, computed with the performance R package. We define the axonal-scale like-to-like coefficients for each functional similarity and projection type as the estimated linear association between each category of functional similarity conditioned on the projection type. The coefficient estimates and the corresponding significance tests are computed for the fitted GLMM using the emtrends function from the emmeans R package.
Number of synapses
measures the number of synapses between two neurons. We model it as a Poisson-distributed random variable and its relationship to functional similarities as a GLMM model with the following specifications:
where:
is the number of synapses between presynaptic neuron and postsynaptic neuron
is the functional similarity between the neuron pair
is the projection type of the neuron pair
, and are the fixed effect coefficients of the functional similarity, projection type, and their interaction term, respectively
is the intercept
is the random effect accounting for the projection type and the proofread status associated with presynaptic neuron
is the error term, following a Poisson distribution
The coefficients , and estimate how the functional similarities and projection types affect connectivity regardless of the spatial scales (i.e., axonal or synaptic). We fit the models for each functional similarity independently using the glmmTMB R package. The goodness-of-fit of the estimated models is reported as Nakagawa’s R squared, computed with the performance R package. We define the axonal-scale like-to-like coefficients for each functional similarity and projection type as the estimated linear association between each category of functional similarity conditioned on the projection type. The coefficient estimates and the corresponding significance tests are computed for the fitted GLMM using the emtrends function from the emmeans R package.
Synapse conversion rate (
measures the number of synapses per millimeter axon-dendrite co-travel distance for each neuron pair. To quantify its relationship to functional similarities, we adopted the following GLMM model:
where:
is the number of synapses between presynaptic neuron and postsynaptic neuron
is the axon-dendrite co-travel distance between the neuron pair
is the functional similarity between the neuron pair
is the projection type of the neuron pair
, and are the fixed effect coefficients of the functional similarity, projection type, and their interaction term, respectively
is the intercept
is the random effect accounting for the projection type and the proofread status associated with presynaptic neuron
is the error term, following a Poisson distribution
The above equation can be re-arranged to:
Thus, , and model how the functional similarities affect synapse conversion rate () at the synaptic scale. We fit the models for each functional similarity independently using the glmmTMB R package. The goodness-of-fit of the estimated models is reported as Nakagawa’s R squared, computed with the performance R package. We define the like-to-like coefficients of each functional similarity for each projection type as the estimated linear association between each category of functional similarity conditioned on the projection type. The coefficient estimates and the corresponding significance tests are computed for the fitted GLMM using the emtrends function from the emmeans R package. To avoid fitting models to projection types with little data or dominated by few presynaptic neurons, for all the models described above, we only include and report like-to-like coefficients to projection types with more than 30 synapses observed, more than 5 presynaptic neurons, and with none of the presynaptic neurons contributing more than half of all synapses observed.
Statistical analysis of functional similarities and synaptic anatomy.
We investigated the relationship between functional similarities of neurons and the anatomical features of their synaptic connections. Our analysis accounted for the confounding effect of axon-dendrite co-travel distance (), which correlates with both functional similarities and synaptic measurements. To isolate the effect of synaptic anatomy on functional similarity, we employed a two-step regression approach:
First, we condition our analysis on the effect of from the functional similarity measure. This process involves:
Fitting a linear regression model with functional similarity as the dependent variable and as the independent variable.
Calculating the residuals from this model, which represent the variation in functional similarity that cannot be explained by alone.
These residuals become our new measure of functional similarity, adjusted for the influence of . Next, we constructed a linear regression model using these residuals as the dependent variable. The independent variables in this model included anatomical measurements of synaptic connections, the total number of synapses between neuron pairs and the mean synaptic cleft volume.
This approach allows us to test whether synaptic measurements significantly predict functional similarities between neurons, beyond what can be explained by their physical proximity (as measured by ).
Common input analysis.
Functional similarity among all postsynaptic neurons sharing one common input.
For a connectivity graph , we define
where is a presynaptic neuron and are any two neurons in the volume. measures the average similarity of all post-synaptic neurons of the presynaptic neuron .
Estimation of expected by pairwise “like-to-like” connectivity rules.
With the observed connectivity graph , we estimated the relationship between and the functional similarities (in silico signal correlation, feature weight similarity, and receptive field center distance) with GLMM similar to the specifications for modeling the number of synapses described above. Instead of modeling each functional similarity independently, we included all functional similarities and their interaction with projection types in a single model to account for as much pairwise connectivity rule as possible. We then estimated the expected functional similarity among all postsynaptic neurons sharing one common input as:
where is the predicted number of synapses between neurons and given their functional similarities by the GLMM.
RNN model.
The RNN model used to produce the results in Fig. 6 consisted of a vanilla RNN layer with 1000 hidden units and a hyperbolic tangent activation function simulated over 20 time steps. Static inputs were obtained by passing MNIST images through a linear layer. Outputs were obtained by passing the hidden activations at the last time step through another linear layer. All three layers were trained for 10 epochs, a batch size of 512, the categorical cross entropy loss function, and the Adam optimizer in PyTorch. A pre- and post-synaptic neuron pair was classified as connected if the associated weight was in the top 35th percentile of all weights, specifically if the weight larger than 0.01. In Fig. 6d, weights were chosen as candidates for ablation if the weight was above 0.01 and the neurons’ signal correlation was above 0.2. About 10.5% of the weights met these criteria, and ablated weights were selected randomly from this set. Changing the thresholds for weights and signal correlations did not change our conclusions.
Software.
Experiments and analysis are carried out with custom built data pipelines. The data pipeline is developed in Matlab, Python, and R with the following tools: Psychtoolbox, ScanImage, DeepLabCut, CAIMAN, and Labview were used for data collection. DataJoint, MySQL, and CAVE were used for storing and managing data. Meshparty, NEURD, and pcg_skel were used for morphology analysis. Numpy, pandas, SciPy, statsmodels, scikit-learn, PyTorch, tidyverse, glmmTMB, performance, and emmeans were used for model training and statistical analysis. Matplotlib, seaborn, HoloViews, Ipyvolume, and Neuroglancer were used for graphical visualization. Jupyter, Docker, and Kubernetes were used for code development and deployment.
Supplementary Material
ACKNOWLEDGEMENTS
The authors thank David Markowitz, the IARPA MICrONS Program Manager, who coordinated this work during all three phases of the MICrONS program. We thank IARPA program managers Jacob Vogelstein and David Markowitz for co-developing the MICrONS program. We thank Jennifer Wang, IARPA SETA for her assistance. The work was supported by the Intelligence Advanced Research Projects Activity (IARPA) via Department of Interior/ Interior Business Center (DoI/IBC) contract numbers D16PC00003, D16PC00004, and D16PC0005. The U.S. Government is authorized to reproduce and distribute reprints for Governmental purposes notwithstanding any copyright annotation thereon. XP acknowledges support from NSF CAREER grant IOS-1552868. ZD, SP, RR, KJ, XP, and AST acknowledge support from NSF NeuroNex grant 1707400. AST, XP, KJ, and JR are supported by RF1 MH130416. AST acknowledges support from National Institute of Mental Health and National Institute of Neurological Disorders And Stroke under Award Number U19MH114830 and National Eye Institute award numbers R01 EY026927 and Core Grant for Vision Research T32-EY-002520–37. ABK acknowledges support from a training fellowship from the Gulf Coast Consortia, on the NLM Training Program in Biomedical Informatics & Data Science (T15LM007093). RR acknowledges support from Air Force Office of Scientific Research (AFOSR) award number FA9550–21-1–0223. Disclaimer: The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of IARPA, DoI/IBC, or the U.S.
Footnotes
COMPETING FINANCIAL INTERESTS
XP is a co-founder of UploadAI, LLC, a company in which he has financial interests. AST is co-founder of Vathes Inc., and UploadAI LLC companies in which he has financial interests. JR is co-founder of Vathes Inc., and UploadAI LLC companies in which he has financial interests.
Code availability. Custom developed code used in the analysis including digital twin architecture will be made publicly available in an online repository latest upon journal publication. Please contact the corresponding authors for advance access.
Data availability.
All MICrONS data have already been released on BossDB (https://bossdb.org/project/microns-minnie, please also see https://www.microns-explorer.org/cortical-mm3 for details). Additional data including learned weights of the digital twin model and in silico similarity metrics will be made publicly available in an online repository latest upon journal publication. Please contact the corresponding authors for advance access.
Bibliography
- Bock D. D., Lee W.-C. A., Kerlin A. M., Andermann M. L., Hood G., Wetzel A. W., Yurgenson S., Soucy E. R., Kim H. S., and Reid R. C.. Network anatomy and in vivo physiology of visual cortical neurons. Nature, 471(7337):177–182, Mar. 2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Braitenberg V. and Schüz A.. Cortex: Statistics and geometry of neuronal connectivity. Springer Science & Business Media, Mar. 2013. [Google Scholar]
- Cadena S. A., Denfield G. H., Walker E. Y., Gatys L. A., Tolias A. S., Bethge M., and Ecker A. S.. Deep convolutional models improve predictions of macaque v1 responses to natural images. PLoS computational biology, 15(4):e1006897, 2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Celii B., Papadopoulos S., Ding Z., Fahey P. G., Wang E., Papadopoulos C., Kunin A. B., Patel S., Alexander Bae J., Bodor A. L., Brittain D., Buchanan J., Bumbarger D. J., Castro M. A., Cobos E., Dorkenwald S., Elabbady L., Halageri A., Jia Z., Jordan C., Kapner D., Kemnitz N., Kinn S., Lee K., Li K., Lu R., Macrina T., Mahalingam G., Mitchell E., Mondal S. S., Mu S., Nehoran B., Popovych S., Schneider-Mizell C. M., Silversmith W., Takeno M., Torres R., Turner N. L., Wong W., Wu J., Yu S.-C., Yin W., Xenes D., Kitchell L. M., Rivlin P. K., Rose V. A., Bishop C. A., Wester B., Froudarakis E., Walker E. Y., Sinz F., Sebastian Seung H., Collman F., da Costa N. M., Clay Reid R., Pitkow X., Tolias A. S., and Reimer J.. NEURD: automated proofreading and feature extraction for connectomics. bioRxiv, Apr. 2024. URL 10.1101/2023.03.14.532674v4. [DOI] [Google Scholar]
- Cossell L., Iacaruso M. F., Muir D. R., Houlton R., Sader E. N., Ko H., Hofer S. B., and Mrsic-Flogel T. D.. Functional organization of excitatory synaptic strength in primary visual cortex. Nature, 518(7539):399–403, 2015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Dorkenwald S., McKellar C. E., Macrina T., Kemnitz N., Lee K., Lu R., Wu J., Popovych S., Mitchell E., Nehoran B., Jia Z., Bae J. A., Mu S., Ih D., Castro M., Ogedengbe O., Halageri A., Kuehner K., Sterling A. R., Ashwood Z., Zung J., Brittain D., Collman F., Schneider-Mizell C., Jordan C., Silversmith W., Baker C., Deutsch D., Encarnacion-Rivera L., Kumar S., Burke A., Bland D., Gager J., Hebditch J., Koolman S., Moore M., Morejohn S., Silverman B., Willie K., Willie R., Yu S.-C., Murthy M., and Seung H. S.. FlyWire: online community for whole-brain connectomics. Nat. Methods, 19(1):119–128, Jan. 2022a. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Dorkenwald S., Turner N. L., Macrina T., Lee K., Lu R., Wu J., Bodor A. L., Bleckert A. A., Brittain D., Kemnitz N., Silversmith W. M., Ih D., Zung J., Zlateski A., Tartavull I., Yu S.-C., Popovych S., Wong W., Castro M., Jordan C. S., Wilson A. M., Froudarakis E., Buchanan J., Takeno M. M., Torres R., Mahalingam G., Collman F., Schneider-Mizell C. M., Bumbarger D. J., Li Y., Becker L., Suckow S., Reimer J., Tolias A. S., Macarico da Costa N., Reid R. C., and Seung H. S.. Binary and analog variation of synapses between cortical pyramidal neurons. Elife, 11, Nov. 2022b. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Elabbady L., Seshamani S., Mu S., Mahalingam G., Schneider-Mizell C., Bodor A. L., Alexander Bae J., Brittain D., Buchanan J., Bumbarger D. J., Castro M. A., Dorkenwald S., Halageri A., Jia Z., Jordan C., Kapner D., Kemnitz N., Kinn S., Lee K., Li K., Lu R., Macrina T., Mitchell E., Mondal S. S., Nehoran B., Popovych S., Silversmith W., Takeno M., Torres R., Turner N. L., Wong W., Wu J., Yin W., Yu S.-C., The MICrONS Consortium H. Seung Sebastian, Clay Reid R, Da Costa N. M., and Collman F.. Perisomatic features enable efficient and dataset wide Cell-Type classifications across Large-Scale electron microscopy volumes. bioRxiv, Jan. 2024. URL 10.1101/2022.07.20.499976v2. [DOI] [Google Scholar]
- Fahey P. G., Muhammad T., Smith C., Froudarakis E., Cobos E., Fu J., Walker E. Y., Yatsenko D., Sinz F. H., Reimer J., and Tolias A. S.. A global map of orientation tuning in mouse visual cortex. bioRxiv, Aug. 2019. URL 10.1101/745323v1. [DOI] [Google Scholar]
- Froudarakis E., Berens P., Ecker A. S., Cotton R. J., Sinz F. H., Yatsenko D., Saggau P., Bethge M., and Tolias A. S.. Population code in mouse V1 facilitates readout of natural scenes through increased sparseness. Nat. Neurosci., 17(6):851–857, June 2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Garrett M. E., Nauhaus I., Marshel J. H., and Callaway E. M.. Topography and areal organization of mouse visual cortex. J. Neurosci., 34(37):12587–12600, Sept. 2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hebb D. O.. The organization of behavior; a neuropsychological theory. A Wiley Book in Clinical Psychology, 62:78, 1949. [Google Scholar]
- Holler S., Köstinger G., Martin K. A. C., Schuhknecht G. F. P., and Stratford K. J.. Structure and function of a neocortical synapse. Nature, 591(7848):111–116, Mar. 2021. [DOI] [PubMed] [Google Scholar]
- Holmgren C., Harkany T., Svennenfors B., and Zilberter Y.. Pyramidal cell communication within local networks in layer 2/3 of rat neocortex. The Journal of physiology, 551(Pt 1):139–153, Aug. 2003. ISSN 0022–3751. doi: 10.1113/jphysiol.2003.044784. URL 10.1113/jphysiol.2003.044784. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hopfield J.. Neural networks and physical systems with emergent collective computational abilities. Proc. Natl. Acad. Sci. USA, 79(8):2554–2558, 1982. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hubel D. H. and Wiesel T. N.. Receptive fields, binocular interaction and functional architecture in the cat’s visual cortex. J. Physiol., 160:106–154, Jan. 1962. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Iacaruso M. F., Gasler I. T., and Hofer S. B.. Synaptic organization of visual space in primary visual cortex. Nature, 547(7664):449–452, July 2017. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Khona M. and Fiete I.. Attractor and integrator networks in the brain. Nat. Rev. Neurosci., 23(12):744–766, 2022a. [DOI] [PubMed] [Google Scholar]
- Khona M. and Fiete I. R.. Attractor and integrator networks in the brain. Nat. Rev. Neurosci., 23(12):744–766, Dec. 2022b. [DOI] [PubMed] [Google Scholar]
- Ko H., Hofer S. B., Pichler B., Buchanan K. A., Sjöström P. J., and Mrsic-Flogel T. D.. Functional specificity of local synaptic connections in neocortical networks. Nature, 473(7345):87–91, 2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ko H., Cossell L., Baragli C., Antolik J., Clopath C., Hofer S. B., and Mrsic-Flogel T. D.. The emergence of functional microcircuits in visual cortex. Nature, 496(7443):96–100, Apr. 2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kondo S. and Ohki K.. Laminar differences in the orientation selectivity of geniculate afferents in mouse primary visual cortex. Nat. Neurosci., 19(2):316–319, Feb. 2016. [DOI] [PubMed] [Google Scholar]
- Kuan A. T., Bondanelli G., Driscoll L. N., Han J., Kim M., Hildebrand D. G. C., Graham B. J., Wilson D. E., Thomas L. A., Panzeri S., Harvey C. D., and Lee W.-C. A.. Synaptic wiring motifs in posterior parietal cortex support decision-making. Nature, Feb. 2024. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lee K., Zung J., Li P., Jain V., and Sebastian Seung H.. Superhuman accuracy on the SNEMI3D connectomics challenge. arXiv, May 2017. [Google Scholar]
- Lee W.-C. A., Bonin V., Reed M., Graham B. J., Hood G., Glattfelder K., and Reid R. C.. Anatomy and function of an excitatory network in the visual cortex. Nature, 532(7599):370–374, Apr. 2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lu R., Zlateski A., and Sebastian Seung H.. Large-scale image segmentation based on distributed clustering algorithms. arXiv, June 2021. [Google Scholar]
- Marques T., Nguyen J., Fioreze G., and Petreanu L.. The functional organization of cortical feedback inputs to primary visual cortex. Nat. Neurosci., 21(5):757–764, May 2018. [DOI] [PubMed] [Google Scholar]
- Mathis A., Mamidanna P., Cury K. M., Abe T., Murthy V. N., Mathis M. W., and Bethge M.. DeepLabCut: markerless pose estimation of user-defined body parts with deep learning. Nat. Neurosci., 21(9):1281–1289, Sept. 2018. [DOI] [PubMed] [Google Scholar]
- Mazurek M., Kager M., and Van Hooser S. D.. Robust quantification of orientation selectivity and direction selectivity. Front. Neural Circuits, 8:92, Aug. 2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- MICrONS Consortium, Alexander Bae J., Baptiste M., Bodor A. L., Brittain D., Buchanan J., Bumbarger D. J., Castro M. A., Celii B., Cobos E., Collman F., da Costa N. M., Dorkenwald S., Elabbady L., Fahey P. G., Fliss T., Froudakis E., Gager J., Gamlin C., Halageri A., Hebditch J., Jia Z., Jordan C., Kapner D., Kemnitz N., Kinn S., Koolman S., Kuehner K., Lee K., Li K., Lu R., Macrina T., Mahalingam G., McReynolds S., Miranda E., Mitchell E., Mondal S. S., Moore M., Mu S., Muhammad T., Nehoran B., Ogedengbe O., Papadopoulos C., Papadopoulos S., Patel S., Pitkow X., Popovych S., Ramos A., Clay Reid R., Reimer J., Schneider-Mizell C. M., Sebastian Seung H., Silverman B., Silversmith W., Sterling A., Sinz F. H., Smith C. L., Suckow S., Tan Z. H., Tolias A. S., Torres R., Turner N. L., Walker E. Y., Wang T., Williams G., Williams S., Willie K., Willie R., Wong W., Wu J., Xu C., Yang R., Yatsenko D., Ye F., Yin W., and Yu S.-C.. Functional connectomics spanning multiple areas of mouse visual cortex. bioRxiv, July 2021. URL 10.1101/2021.07.28.454025v3. [DOI] [Google Scholar]
- Mitchell E., Keselj S., Popovych S., Buniatyan D., and Sebastian Seung H.. Siamese encoding and alignment by multiscale learning with Self-Supervision. arXiv, Apr. 2019. [Google Scholar]
- Musall S., Kaufman M. T., Juavinett A. L., Gluf S., and Churchland A. K.. Single-trial neural dynamics are dominated by richly varied movements. Nat. Neurosci., 22(10):1677–1686, Oct. 2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Oldenburg I. A., Hendricks W. D., Handy G., Shamardani K., Bounds H. A., Doiron B., and Adesnik H.. The logic of recurrent circuits in the primary visual cortex. Nature neuroscience, 27(1):137–147, Jan. 2024. ISSN 1097–6256. doi: 10.1038/s41593-023-01510-5. URL https://www.nature.com/articles/s41593-023-01510-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Peters A. and Feldman M. L.. The projection of the lateral geniculate nucleus to area 17 of the rat cerebral cortex. I. general description. J. Neurocytol., 5(1):63–84, Feb. 1976. [DOI] [PubMed] [Google Scholar]
- Phelps J. S., Hildebrand D. G. C., Graham B. J., Kuan A. T., Thomas L. A., Nguyen T. M., Buhmann J., Azevedo A. W., Sustar A., Agrawal S., Liu M., Shanny B. L., Funke J., Tuthill J. C., and Lee W.-C. A.. Reconstruction of motor control circuits in adult drosophila using automated transmission electron microscopy. Cell, 184(3):759–774.e18, Feb. 2021. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ramón y Cajal S.. Histologie du système nerveux de l’homme et des vertébrés. 1911. [Google Scholar]
- Rees C. L., Moradi K., and Ascoli G. A.. Weighing the evidence in peters’ rule: Does neuronal morphology predict connectivity?, Feb. 2017. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Reid R. C.. From functional architecture to functional connectomics. Neuron, 75(2):209–217, July 2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Reimer J., Froudarakis E., Cadwell C. R., Yatsenko D., Denfield G. H., and Tolias A. S.. Pupil fluctuations track fast switching of cortical states during quiet wakefulness. Neuron, 84(2):355–362, Oct. 2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ringach D. L., Mineault P. J., Tring E., Olivas N. D., Garcia-Junco-Clemente P., and Trachtenberg J. T.. Spatial clustering of tuning in mouse primary visual cortex. Nat. Commun., 7:12270, Aug. 2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Rossi L. F., Harris K. D., and Carandini M.. Spatial connectivity matches direction selectivity in visual cortex. Nature, 588(7839):648–652, Dec. 2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Schneider-Mizell C. and Collman F.. Alleninstitute/pcg_skel: v0.3.2, Mar. 2023. URL 10.5281/zenodo.7703278. [DOI] [Google Scholar]
- Schneider-Mizell C. M., Bodor A. L., Brittain D., Buchanan J., Bumbarger D. J., Elabbady L., Gamlin C., Kapner D., Kinn S., Mahalingam G., Seshamani S., Suckow S., Takeno M., Torres R., Yin W., Dorkenwald S., Bae J. A., Castro M. A., Halageri A., Jia Z., Jordan C., Kemnitz N., Lee K., Li K., Lu R., Macrina T., Mitchell E., Mondal S. S., Mu S., Nehoran B., Popovych S., Silversmith W., Turner N. L., Wong W., Wu J., MICrONS Consortium, Reimer J., Tolias A. S., Seung H. S., Reid R. C., Collman F., and Maçarico da Costa N.. Cell-type-specific inhibitory circuitry from a connectomic census of mouse visual cortex. bioRxiv, Jan. 2024. URL 10.1101/2023.01.23.525290v3. [DOI] [Google Scholar]
- Scholl B., Thomas C. I., Ryan M. A., Kamasawa N., and Fitzpatrick D.. Cortical response selectivity derives from strength in numbers of synapses. Nature, 590(7844):111–114, Feb. 2021. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Schoppe O., Harper N. S., Willmore B. D. B., King A. J., and Schnupp J. W. H.. Measuring the performance of neural models. Frontiers in Computational Neuroscience, 10, Feb. 2016. doi: 10.3389/fncom.2016.00010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Sofroniew N. J., Flickinger D., King J., and Svoboda K.. A large field of view two-photon mesoscope with subcellular resolution for in vivo imaging. Elife, 5, June 2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Stringer C., Pachitariu M., Steinmetz N., Reddy C. B., Carandini M., and Harris K. D.. Spontaneous behaviors drive multidimensional, brainwide activity. Science, 364(6437):255, Apr. 2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Tong R., da Silva R., Lin D., Ghosh A., Wilsenach J., Cianfarano E., Bashivan P., Richards B., and Trenholm S.. The feature landscape of visual cortex. bioRxiv, 2023. doi: 10.1101/2023.11.03.565500. URL https://www.biorxiv.org/content/early/2023/11/05/2023.11.03.565500. [DOI] [Google Scholar]
- Turner N. L., Lee K., Lu R., Wu J., Ih D., and Seung H. S.. Synaptic partner assignment using attentional voxel association networks. 2020 IEEE 17th International Symposium on Biomedical Imaging (ISBI), pages 1–5, Apr. 2020. [Google Scholar]
- Virtanen P., Gommers R., Oliphant T. E., Haberland M., Reddy T., Cournapeau D., Burovski E., Peterson P., Weckesser W., Bright J., van der Walt S. J., Brett M., Wilson J., Millman K. J., Mayorov N., Nelson A. R. J., Jones E., Kern R., Larson E., Carey C. J., Polat, Moore E. W., VanderPlas J., Laxalde D., Perktold J., Cimrman R., Henriksen I., Quintero E. A., Harris C. R., Archibald A. M., Ribeiro A. H., Pedregosa F., van Mulbregt P., and SciPy 1.0 Contributors. SciPy 1.0: fundamental algorithms for scientific computing in python. Nat. Methods, 17(3):261–272, Mar. 2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Walker E. Y., Sinz F. H., Cobos E., Muhammad T., Froudarakis E., Fahey P. G., Ecker A. S., Reimer J., Pitkow X., and Tolias A. S.. Inception loops discover what excites neurons most using deep predictive models. Nat. Neurosci., 22(12):2060–2065, Dec. 2019. [DOI] [PubMed] [Google Scholar]
- Wang E. Y., Fahey P. G., Ding Z., Papadopoulos S., Ponder K., Weis M. A., Chang A., Muhammad T., Patel S., Ding Z., Tran D., Fu J., Schneider-Mizell C. M., Reid R. C., Collman F., da Costa N. M., Franke K., Ecker A. S., Reimer J., Pitkow X., Sinz F. H., and Tolias A. S.. Foundation model of neural activity predicts response to new stimulus types and anatomy. bioRxiv, Aug. 2024. URL 10.1101/2023.03.21.533548v4. [DOI] [Google Scholar]
- Wang Q. and Burkhalter A.. Area map of mouse visual cortex. J. Comp. Neurol., 502(3):339–357, May 2007. [DOI] [PubMed] [Google Scholar]
- Wanner A. A., Genoud C., Masudi T., Siksou L., and Friedrich R. W.. Dense EM-based reconstruction of the interglomerular projectome in the zebrafish olfactory bulb. Nat. Neurosci., 19 (6):816–825, June 2016. [DOI] [PubMed] [Google Scholar]
- Weis M. A., Papadopoulos S., Hansel L., Lüddecke T., Celii B., Fahey P. G., Wang E. Y., Bae J. A., Bodor A. L., Brittain D., Buchanan J., Bumbarger D. J., Castro M. A., Collman F., da Costa N. M., Dorkenwald S., Elabbady L., Halageri A., Jia Z., Jordan C., Kapner D., Kemnitz N., Kinn S., Lee K., Li K., Lu R., Macrina T., Mahalingam G., Mitchell E., Mondal S. S., Mu S., Nehoran B., Popovych S., Reid R. C., Schneider-Mizell C. M., Seung H. S., Silversmith W., Takeno M., Torres R., Turner N. L., Wong W., Wu J., Yin W., Yu S.-C., Reimer J., Berens P., Tolias A. S., and Ecker A. S.. An unsupervised map of excitatory neurons’ dendritic morphology in the mouse visual cortex. bioRxiv, Apr. 2024. URL 10.1101/2022.12.22.521541v3. [DOI] [Google Scholar]
- Wertz A., Trenholm S., Yonehara K., Hillier D., Raics Z., Leinweber M., Szalay G., Ghanem A., Keller G., Rózsa B., Conzelmann K.-K., and Roska B.. PRESYNAPTIC NETWORKS. Single-cell-initiated monosynaptic tracing reveals layer-specific cortical network modules. Science, 349(6243):70–74, July 2015. [DOI] [PubMed] [Google Scholar]
- Wu J., Silversmith W. M., Lee K., and Seung H. S.. Chunkflow: hybrid cloud processing of large 3D images by convolutional nets. Nat. Methods, 18(4):328–330, Apr. 2021. [DOI] [PubMed] [Google Scholar]
- Yamins D., Hong H., Cadieu C., Solomon E. A., Seibert D., and DiCarlo J.. Performance-optimized hierarchical models predict neural responses in higher visual cortex. Proc. Natl. Acad. Sci. USA, 111(23):8619–8624, 2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yin W., Brittain D., Borseth J., Scott M. E., Williams D., Perkins J., Own C. S., Murfitt M., Torres R. M., Kapner D., Mahalingam G., Bleckert A., Castelli D., Reid D., Lee W.-C. A., Graham B. J., Takeno M., Bumbarger D. J., Farrell C., Reid R. C., and da Costa N. M.. A petascale automated imaging pipeline for mapping neuronal circuits with high-throughput transmission electron microscopy. Nat. Commun., 11(1):4949, Oct. 2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yu Z., Guindani M., Grieco S. F., Chen L., Holmes T. C., and Xu X.. Beyond t test and ANOVA: applications of mixed-effects models for more rigorous statistical analysis in neuroscience research. Neuron, 110(1):21–35, Jan. 2022. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Znamenskiy P., Kim M.-H., Muir D. R., Iacaruso M. F., Hofer S. B., and Mrsic-Flogel T. D.. Functional specificity of recurrent inhibition in visual cortex. Neuron, 112(6):991–1000.e8, Mar. 2024. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
All MICrONS data have already been released on BossDB (https://bossdb.org/project/microns-minnie, please also see https://www.microns-explorer.org/cortical-mm3 for details). Additional data including learned weights of the digital twin model and in silico similarity metrics will be made publicly available in an online repository latest upon journal publication. Please contact the corresponding authors for advance access.