Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2026 Nov 20.
Published before final editing as: Nature. 2026 Sep 2:10.1038/s41586-026-10690-6. doi: 10.1038/s41586-026-10690-6

Connectome analysis of a cerebellum-like circuit for sensory prediction

Krista E Perks 1,*, Mariela D Petkova 2,*, Salomon Z Muller 1,*, Michael Genecin 1, Adishree Ghatare 1, Richard Schalek 2, Yuelong Wu 2, Michal Januszewski 3, Viren Jain 4, Jeff W Lichtman 2, LF Abbott 1, Nathaniel B Sawtell 1
PMCID: PMC13784113  NIHMSID: NIHMS2218710  PMID: 42686902

Abstract

Many forms of learning, for example learning a model of the environment or a motor skill, rely on synaptic plasticity that is widely distributed across cell types and network stages. Understanding how such distributed plasticity functions is a central challenge in neuroscience 1–5. Here we use connectomics to map the cell types and synaptic connections underlying a form of multi-layer continual learning that cancels predictable sensory responses in a cerebellum-like structure in electric fish 6,7. Our analysis reveals inhibitory and dis-inhibitory sensory input pathways that fulfill theoretical requirements for instructing synaptic plasticity 8,9, structured synaptic connectivity between network stages that solves a credit assignment problem, and structured recurrent connectivity that accelerates sensory prediction and cancellation. A computational model constrained by electrophysiological recordings shows how this synaptic connectivity ensures that multiple sites of plasticity cooperate to overcome their individual limitations, resulting in cancellation that is fast, accurate, and robust to noise. Overall, these findings highlight the potential of connectomics, in combination with cell-type specific physiological recordings and computational modeling, for deciphering learning in neural circuits.


High-resolution analysis of neural circuits using connectomics has led to major advances in understanding neural computations, ranging from direction selectivity in the retina to spatial navigation in insects 10,11. However, since connectomics provides a static view of neural circuitry, its utility for investigating learning remains to be established. Here we use connectomics, in tight combination with neural recordings and computational modeling, to elucidate the neural basis for a form of internal model learning in the electrosensory lobe (ELL) of African pulse-type electric fish. The ELL is particularly amenable to analysis using serial-section electron microscopy (EM) because its major cell and input types form a repeating microcircuit with local connectivity restricted to a small volume 12,13. Furthermore, these cell and input types have been the subject of extensive electrophysiological investigations 8,14,15 and can be identified based solely on their morphology 16–21. As well as providing an interesting example of the use of learned predictions in sensing (see below), the ELL shares numerous features of its circuitry and physiology with the cerebellum 22.

African weakly electric fish emit brief (<0.5 ms duration) electrical pulses, known as electric organ discharges (EODs), for communication and active sensing in low-visibility habitats 23(Figure 1A). These fish also sense weak electric fields generated by prey using specialized, low-frequency-tuned electroreceptors on their skin 24. EODs induce damped oscillatory responses in these electroreceptors that mask prey signals (Figure 1B). Furthermore, such responses are modulated by environmental factors, such as water conductivity, that alter the amplitude and shape of the EOD waveform (Figure 1A) 25.

Figure 1. Connectome-based analysis of the cell types and circuitry of the ELL.

Figure 1.

A, Schematic of the interference problem facing the passive electrosensory system of weakly electric fish. Responses of electroreceptor afferent fibers (EAFs) to prey are masked by responses to the fish’s own EOD which vary depending on factors such as water conductivity. B, Schematic of prediction and cancellation of responses to the EOD. Predictions are based on electric organ corollary discharge signals conveyed by GCs (Granule cell Basis) and require specific patterns of synaptic connectivity. C, Summary diagram of the synaptic connectivity patterns revealed in the present study. Only connections comprising >10% of the total synapses to a given cell type are shown in the diagram. D, Two example Output cells (blue and red) are shown along with EAF (pink) and GC (magenta) inputs overlaid on a cutout of the EM volume (424 × 427 × 45 μm; all EM connectomic data are from a single biological specimen). The dorso-ventral and anterior-posterior dimensions of the skin surface are mapped onto the x and z dimensions of the volume, respectively. Top inset: example excitatory GC synapses (magenta fill and star) onto apical dendritic spines of the ON cell (red fill). Magenta fill marks the example GC axon visualized in the volume; magenta star marks another GC axon. White star marks an inhibitory molecular layer interneuron synapse onto the dendritic shaft of the same ON cell. Bottom inset: Example excitatory EAF synapse (pink fill) onto the ON cell basal dendrite (red fill). mol, molecular layer; ggl, ganglion layer; plex, plexiform layer; gran, granular layer. E-H, Example reconstructions of major ELL cell types. Axons are shown in black. ON/OFF: Output, MG+/MG−: medium ganglion, SG+/SG−: small ganglion, Gr+: granular, SP−: small plexiform. Inset (F): example inhibitory synapse between an MG+ cell (orange) and an OFF cell soma (blue).

The ELL solves this interference problem by combining input from electroreceptors with excitatory input from granule cells (GCs; Figure 1B) that transform a copy of the EOD motor command (corollary discharge) into a large set of temporally diverse signals that span the duration of the electroreceptor response to the EOD 14. GC synapses are subject to ongoing bi-directional synaptic plasticity consisting of associative synaptic depression and non-associative potentiation 26,27. The overall effect of these two forms of plasticity is to generate temporally-specific predictions, termed negative images, that cancel the response to the EOD by driving the postsynaptic neuron toward a constant “equilibrium” firing rate (Figure 1B) 14,26,28–30.

Although the functional importance of negative images for enhancing neural coding and behavioral detection of prey-related signals is well-established 15, their hypothesized neural implementation is surprisingly complex (Figure 1B). Electrophysiological recordings indicate that negative images are formed at multiple sites, including GC synapses onto GABAergic interneurons, known as medium ganglion (MG) cells, and onto glutamatergic Output cells 8,26,28,29. MG and Output cells (analogs of Purkinje cells and cerebellar nucleus cells, respectively) are further divided into morphologically distinct sub-types with opposite polarity responses to electrosensory stimuli (MG+, MG−, ON and OFF; Extended Data Table 1) 13. The goal of the present study is to understand how this circuit complexity supports learning of negative images that is rapid, accurate, and robust to noise.

To accomplish this, we used serial-section electron microscopy to reconstruct the ELL microcircuit (Figure 1C,D; Supplemental Video 1). This analysis confirmed two major predictions of prior models of ELL function 8,9. First, the major sensory input to MG and Output cells is not relayed directly by excitatory electroreceptor afferent nerve fibers (EAFs) but rather through inhibitory and dis-inhibitory pathways mediated by two stages of interneurons (Gr+, SP+) and (SP−, SG−) (Figure 1C). These pathways fulfill critical biophysical requirements for instructing synaptic plasticity in MG cells 8,9. Second, connectivity between MG and Output cell sub-types is extremely precise and matches that predicted for negative images formed within MG cells to cancel EOD-evoked responses in Output cells (Figure 1B,C) 8. Connectome analysis also revealed novel features of ELL circuitry, including highly-structured recurrent connections between MG cell sub-types (Figure 1C). Incorporating these connections into a detailed computational model of the ELL recapitulated measured neuronal responses and suggests a critical role for recurrent circuitry in accelerating learning. Finally, modeling and in vivo recordings reveal an important functional role for dual sites of plasticity in MG and Output cells under realistic scenarios in which the ELL must maintain accurate negative images in the presence of noise from external sources, including the EODs of conspecifics (Figure 1A).

Serial-section EM reconstruction of ELL circuitry

We generated a 450 × 450 × 105 μm imaged volume of the ELL using serial section electron microscopy 31 (Figures 1D and Extended Data Figure 1A,B; see also Supplemental Video 1). Automated segmentation was performed using a flood filling network (FFN) pipeline 32 that was retrained for the ELL volume, followed by manual synapse annotation (see Methods). Consistent with prior EM studies of electric fish, ultrastructure and synapse morphology resembled that of other vertebrates, including typical ‘asymmetric’ (putative excitatory) and ‘symmetric’ (putative inhibitory) synapses 33,34 (Figure 1D,F and Extended Data Figure 1C,D,E; see also Supplemental Video 2). The main cell types of the ELL, including ON, OFF, MG+, and MG− cells, could all be unambiguously classified based on morphological features (Figure 1E,F and Extended Data Figure 2; see also Extended Data Table 1 and Methods). Iterative annotation and reconstruction of MG cell synaptic targets resulted in a densely reconstructed network of 88 Output and 136 MG cells. Tracing the input pathways to these two main cell types resulted in the sparse reconstruction of three additional interneuron classes: small ganglion (SG), granular (Gr+), and small plexiform (SP−) cells (Figures 1G,H and Extended Data Figure 2; see also Extended Data Table 1 and Methods). Like MG cells, SG cells are divided into subtypes referred to as SG+ and SG− based on their axonal and dendritic morphologies (Extended Data Figure 2C-F). Although the in vivo response properties of SG, GR+, and SP− cells are largely uncharacterized 35, their synapse morphology along with prior immunohistochemical and EM studies indicate that they are inhibitory 12,13,17,19 (Extended Data Figure 1). In all, our analysis includes 29,694 annotated synapses and 5,016 reconstructed neurons (out of ~10,000 total neurons in the volume).

The granule cell input pathway

GC inputs to the molecular layer of the ELL convey electric organ corollary discharges (as well as additional information) that provide the basis for predicting self-generated sensory input to the ELL 14,36(Figure 1B,C,D). GC axons form synapses onto dendritic spines of Output, MG, and SG cells as well as onto smooth, beaded dendrites of molecular layer interneurons and other interneuron types (Extended Data Figure 3A). No clear patterns were observed in the connectivity of individual GC axons (n = 64) onto Output, MG, and SG sub-types (Extended Data Figure 3B). However, given the small fraction of GC axons analyzed here, we cannot rule out biases in GC connectivity. We estimated the relative proportion of GC input received by different ELL cell types using spine count as a proxy (Methods). On average, individual SG cells have many fewer spines (482), than Output (5,163) or MG cells (15,811). However, there are far more SG than MG or Output cells. Collectively, Output cells and SG cells receive roughly the same amount of GC input, whereas MG cells receive fivefold greater GC input (Extended Data Figure 3C). Although little is currently known regarding the physiological responses and plasticity of SG cells, we explore their possible functions in the modeling section of the Results and in the Discussion.

Finally, in addition to GC axons, we also found thicker fibers that likely correspond to a previously-described excitatory feedback projection from a higher stage of electrosensory processing 37,38. Although this projection plays important roles in sensory cancellation in the active electrosensory system of South American weakly electric fish 39–41, we do not discuss it further here as it has not been electrophysiologically characterized in the context of passive electrolocation.

Electrosensory input pathways

Our next goal was to map the electrosensory input pathways to the ELL. Like cerebellar Purkinje cells, MG cells exhibit two types of action potentials: narrow spikes (which are axonal) constitute their main signaling output, while broad spikes (which are dendritic) induce synaptic plasticity 26,29. Prior work has shown that electrosensory stimuli modulate broad spike firing rate with little impact on narrow spikes and that this selectivity is vital for the axonal transmission of negative images to Output cells (Extended Data Figure 4A) 8. A biophysical model indicated that this selectivity can be explained if electrosensory input is relayed by inhibition (for MG−) and dis-inhibition (for MG+) 8,9. The prediction of a dis-inhibitory (rather than directly excitatory) pathway for sensory input onto MG+ cells is notable because EAFs terminate near the basal dendrites of MG+ cells and hence are anatomically well-positioned to excite them directly.

To trace electrosensory input pathways, we chose example ON, OFF, MG+, and MG− cells and reconstructed the cells synapsing onto their basal dendrites, soma, and axon (Figure 2A,B). This analysis excludes synapses from GCs and MLIs (which are the main inputs onto the apical dendrites) and synapses from MG cells (which are discussed below). The different cell types of the ELL, including those chosen here for reconstruction of presynaptic inputs, are intermixed in the x and z dimensions of the volume without any apparent spatial pattern (Figure 2B).

Figure 2. Sensory input pathways to Output and MG cells.

Figure 2.

A, Summary diagram of the main cell types synapsing onto Output and MG cells (excluding synapses from MG cells and synapses formed in the molecular layer). Only connections comprising >10% of the total synapses are shown. B, Soma locations of all reconstructed Output (42 OFF and 46 ON) and MG (67 MG− and 69 MG+) cells. ggl, ganglion layer; plex, plexiform layer. Arrows mark the 4 cells (shown in C and D) used for targeted reconstructions of their complete set of presynaptic partners. C, Left: example ON and OFF cells. Middle: all SG−, SP−, and EAF presynaptic to the ON cell. Right: all SG+ and Gr+ presynaptic to the OFF cell. D, Left: example MG+ and MG− cells. Middle: all SG−, SP−, and EAF presynaptic to the MG+ cell. Right: all SG+ and Gr+ cells presynaptic to the MG− cell. E, Stacked histograms show the number of synapses onto individual Output (5 ON, 5 OFF) and MG (5 MG+ and 5 MG−) cells per presynaptic cell type (n = 2838 synapses from 925 SG, SP−, Gr+, and EAF cells; n = 5003 total synapses, with 10% of those synapses from MG cells and 33% synapses from unclassified). Complete reconstructions of all presynaptic partners were made for one cell of each type (shown in C and D). Reconstruction of a random subset of presynaptic partners were performed for additional example cells of each type (Extended Data Figure 5B). F, Fraction (and total number) of synapses from each presynaptic cell type onto all ON, OFF, MG+ and MG− cells in E. G, Conditional input analysis shows the normalized probability (see Methods) of Output cells (same 10 represented in E) receiving input from EAF, Gr+, SP−, SG+, and SG− cell types (input) conditional on receiving at least one synapse from a cell type (condition). Two clusters (dotted lines) are observed among the presynaptic cell types, corresponding to the ON and OFF pathways. H, same as in G for all 5 MG cells in E.

Putative excitatory synapses from EAFs made up only a small fraction of the input to ON and MG+ cells (Figure 2C-F). The overwhelming majority of input to all MG and Output subtypes arose instead from the SG+, SG−, Gr+, and SP− inhibitory interneuron classes (Figure 2C-F). A strictly segregated pattern of connectivity was observed in which ON and MG+ cells received synapses from SG−, and SP−, and EAFs, whereas OFF and MG− cells received synapses from SG+ and Gr+ cells (Figures 2G,H and Extended Data Figure 5).

Proceeding backwards along the electrosensory pathway, we reconstructed presynaptic neurons synapsing onto SG+, SG−, SP−, and Gr+ cells (Figure 3A). Again, a segregated pattern of connectivity was observed in which SG− and SP− cells received a large majority of their input from Gr+ cells, whereas SG+ cells received both EAF and SG− input (Figure 3B-G and Extended Data Figure 5). Finally, Gr+ cells received a large majority of their input from EAFs (Figure 3C,D,E,G and Extended Data Figure 5).

Figure 3. Sensory input is conveyed by inhibitory and dis-inhibitory pathways.

Figure 3.

A, Summary diagram of the main cell types synapsing onto SG, Gr+, and SP− cells (excluding synapses from MG cells and synapses formed in the molecular layer). Only connections comprising >10% of the total synapses are shown. B, Left: example Gr+ and SP− cells. Middle: all Gr+ cells presynaptic to the SP− cell. Right: all EAFs presynaptic to the Gr+ cell. C, Left: example SG+ and SG− cells. Middle: all SG+ and Gr+ cells presynaptic to the SG− cell. Right: all SG−, SP−, and EAF cells presynaptic to the SG+ cell. D, Stacked histograms show the number of synapses onto individual SG (5 SG+ and 5 SG−), Gr+ (10) and SP− (6) cells per presynaptic cell type (n = 1387 synapses from 457 SG, SP−, Gr+, and EAF cells; n = 2366 total synapses, with only 1 synapse from one MG cell and 41% synapses from unclassified). Complete reconstructions of all presynaptic partners were made for one cell of each type (those shown in C and D). Reconstruction of a random subset of presynaptic partners were performed for additional example cells of each type (Extended Data Figure 5B). E, Pie charts show the fraction (and total number) of synapses from each presynaptic cell type to all SG+, SG−, Gr+, and SP− cells in D. F, Conditional input analysis shows the normalized probability of SG cells (same 10 in E) receiving input from EAF, Gr+, SP−, SG+, and SG− cell types (input) conditional on receiving at least one synapse from a cell type (condition). Two clusters (illustrated with dotted lines) are observed among the presynaptic cell types, corresponding to the ON and OFF pathways. G, Same display as in F for all SP− and Gr+ cells in D.

Summarizing these connectivity patterns, two stages of inhibition in series preserve the sign of EAF input to ON and MG+ cells, whereas a single stage of inhibition inverts the sign of EAF input to OFF and MG− cells (Figure 1C). Thus, the connectome results provide not only an anatomical basis for the distinct ON and OFF responses to sensory input observed in Output and MG cell sub-types but also striking support for the hypothesized dis-inhibitory and inhibitory effects of electrosensory input on MG cells 9.

Feedforward and recurrent connectivity of MG cells

Prior in vivo intracellular recordings and modeling suggests that the cancellation of self-generated sensory input in Output cells is mediated, in part, by predictions transmitted by MG cells 8. A specific wiring scheme is required to achieve this (Extended Data Figure 4B and modeling section below). The negative image appropriate for an ON cell is generated by MG− cells, while the negative image for an OFF cell is generated by MG+ cells (Figure 4A). To test whether this requirement is satisfied in the connectome, we annotated all MG cell synapses in the volume and reconstructed their postsynaptic partners. MG cells overwhelmingly targeted Output cells (~72 % of synapses onto classified targets) and other MG cells (~27 % of synapses onto classified targets) (Figure 4B). Moreover, their synaptic connectivity (which was annotated blind to cell type identity) obeyed a remarkably strict pattern: MG− cells synapsed onto ON cells and MG+ cells, whereas MG+ cells targeted OFF cells and MG+ cells (Figure 4B-E and Extended Data Figure 6A,B; see also Supplemental Video 3). The accuracy of this synaptic targeting was remarkable; of a total of 3,527 synapses from MGs to Output cells, only 1 synapse violated the MG− to ON, MG+ to OFF pattern. Similarly, of 1,322 MG-to-MG synapses only 10 were between similar MG subtypes. This is a testament both to the accuracy of synaptic targeting in the ELL and to the quality of our connectome reconstruction. Although the spatial overlap between MG cell axons and Output cell somas suggest a rough wiring selectivity 8, it cannot account for the nearly perfect wiring specificity demonstrated here. Additional connectome analysis revealed that MG synapses are not restricted to Output cell somas but also synapse heavily on their basal dendrites (Figure 4F,G). Similarly, the specificity of the recurrent connections between MG sub-types cannot be inferred solely from the spatial overlap between their axons and basal dendrites. A substantial fraction of MG recurrent synapses target the somas of MG+ and MG− cells (Figure 4F) both of which are located in the ganglion layer (Figure 4H and Extended Data Figure 2H,I).

Figure 4. Feedforward and recurrent connectivity of MG cells.

Figure 4.

A, Summary diagram of feedforward and recurrent connectivity of MG and Output cell subtypes. B, Number of synapses formed by each MG cell per postsynaptic cell type (n = 4957 synapses from 103 MG cells onto 293 Output, MG, SG, SP−, and Gr+ cells; n = 6756 total synapses, with 27% to unclassified). Pie charts illustrate the fraction (and total number) of synapses to each cell type from all MG cells represented in the bar graph. C, Adjacency matrix showing the number of synapses between all connected MG:MG and MG:Output pairs. D, Left: example ON and OFF cells. Middle: all MG cells presynaptic to the ON cell (n = 104 total synapses). Right: all MG cells presynaptic to the OFF cell (n = 106 total synapses). E, Left: example MG+ and MG− cells. Middle: all MG− cells presynaptic to the MG+ cell (n = 31 synapses). Right: all MG+ cells presynaptic to the MG− cell (n = 26 total synapses). F, Fraction (and total number) of synapses from MG cells onto specific cellular compartments of Output (top) and MG (bottom) cells. G, Number of MG cell synapses onto Output cells as a function of position relative to the molecular layer border. H, Same as G but for MG cell synapses onto MG cells. I, MG cell divergence (left) and convergence (right) to MG and Output cell subtypes. Boxplots show the median (center line), 25th and 75th percentiles (box bounds), and minima and maxima of the non-outlier data (1.5× IQR from the box edges); outliers are shown as individual data points. J, Mean (and 95% ci) connection probability as a function of distance for MG cells to ON, OFF, MG+, and MG− cells.

We also examined the convergence of MG cells onto Output and other MG cells and found a median of 7 MGs converging onto one Output cell and a 3:1 convergence ratio for MGs onto each other (median values; Figures 4I and Extended Data Figure 6C). As far as divergence, an MG cell synapses onto 6 Output cells and 5 other MGs (median values; Figures 4I and Extended Data Figure 6C). These are likely underestimates due to the truncation of MG cell axonal arbors by the EM volume boundary. Connection probability declined with distance, consistent with synaptically-connected MG and Output cells sharing electrosensory input from the same region of the body surface (Figure 4J).

Structured synaptic connectivity supports fast and accurate learning

Having mapped the synaptic connectivity of the ELL in detail, we now address its functional significance for predicting and cancelling self-generated interference due to the EOD. To this end, we constructed a model that incorporates the synaptic connectivity revealed by the connectome and uses measured EAF and GC responses and measured synaptic plasticity at GC synapses onto MG and Output cells (Methods). The model is further constrained by matching data from in vivo electrophysiological recordings of morphologically identified MG and Output cells, including the finding that sensory input strongly modulates MG broad spike rate with little impact on narrow spikes by regulating axonal spike backpropagation 8,9. For modeling recurrent inhibition (the effects of which have not been directly measured), we adopt the standard assumption that inhibition modulates both broad and narrow spike rates through membrane potential hyperpolarization (Extended Data Figure 4C,D). SG cells have not been included in previous models of the ELL. Our connectome results suggest several possible roles for them; for example, because at least some SG cells receive GC input, they could take part in negative image learning. We explored this possibility in our model assuming that GC to SG synapses exhibit the same plasticity as those onto MG and Output cells. Plasticity in individual SG cells is slow due to the small number of GC synapses they receive (Extended Data Figure 3C), making their impact on cancellation negligible in the model (Extended Data Figure 4E). For this reason, and because no recordings from identified SG cells are currently available, the modeling in this section treats SG cells purely as sensory relays. Because SG+ and Gr+ cells share similar connectivity patterns, as do SG− and SP− cells (Figure 1C and Figure 3), these cell pairs are combined as single functional units in the model presented here (Figure 5A). An alternative hypothesis regarding SG cells is considered in the Discussion.

Figure 5. Structured synaptic connectivity supports fast and accurate sensory cancellation.

Figure 5.

A, Experiment timeline for measuring sensory cancellation. Summary diagram shows the cells and connections represented in the model. B, Cancellation of the effects of an EOD mimic on the broad spike rate of MG+ cells (n = 24) and the spike rate of ON cells (n = 43) for the data (left) and model (right). Time = 0 ms denotes the time of the EOD command. Responses are shown at equally-spaced time points from the start (dark) to the end (light) of the mimic on period (4min). C, Time-course of cancellation for the spike rate in MG+ (broad spikes) and ON cells for the data (left; ± sem; n=24 MG+ and 43 ON cells) and model (right). In C and D, cancellation is quantified as a normalized variance of the Output cell membrane potential (with the baseline variance subtracted and normalized by the initial variance). D, Time-course of cancellation in the model simulated for 3 scenarios: without any MG connectivity, which effectively restricts learning to the Output cells (dashed), with MG connections to Output cells, and thus two-site learning, but without MG recurrence (dotted), and with both MG to Output and MG recurrence (fully-connected model, solid).

We simulated prior experiments (Methods) in which cancellation was monitored using in vivo electrophysiological recordings (Figure 5A). In these experiments, fish continue to generate EOD motor commands (engaging the GC input to the ELL shown in Figure 1B), but the emission of the EOD itself is blocked by a paralytic. Under these conditions, ongoing plasticity drives MG cell broad spiking and Output cell spiking to a constant (unmodulated) equilibrium rate. Then, an EOD mimic is triggered on the EOD commands (simulating a naturally occurring increase in EOD amplitude). Cancellation is quantified based on the decrease in MG cell broad spike or Output cell spike rate modulations driven by the EOD mimic. Under these conditions, both model and data show a rapid decrease in MG+ broad spike rate modulation and a slower decrease in ON cell spike rate modulation (Figure 5B,C). It is difficult to detect cancellation in the spiking responses of MG− and OFF cells under these conditions due to rectification (which conceals subthreshold changes; Extended Data Figure 7B,C). However, intracellular recordings of OFF cells show ~1 mV reduction over 4 minutes of pairing from an initial peak response of ~2.25 mV (Extended Data Figure 7B).

The time-course of cancellation in the model closely matches the data (Figure 5B,C; Extended Data Figure 7D,E). Having verified the accuracy of the model, we then used it to dissect the impact of different components of the circuit connectivity on learning. First, we considered a model in which MG cells do not connect to Output cells, which means that cancellation in Output cells relies solely on their cell-autonomous plasticity (dashed lines in Figure 5D and Extended Data Figure 4F). In this case, cancellation is moderately rapid in ON cells and extremely slow in OFF cells. We next restored the MG to Output cell synapses to the model, which allows MG cells to assist in cancellation by transmitting their negative images to the Output cells (dotted lines in Figure 5D and Extended Data Figure 4F). This greatly increases the rate of cancellation in OFF cells but has only a small impact in ON cells. Finally, we considered the fully-connected model, with MG cell connections to both Output cells and each other (solid lines in Figure 5D and Extended Data Figure 4F). This further increases the rate of cancellation in both Output cell types, but especially for ON cells.

The effects on learning speed seen in Figure 5D can largely be explained by the dependence of plasticity at GC to Output and MG synapses on pre- and postsynaptic spike rates. This, in turn, provides a logic for the entire pattern of MG-Output cell connectivity. As stated previously, this plasticity involves non-associative potentiation and associative depression 26,27. The rate of potentiation is proportional to the presynaptic, that is GC, spike rate. The rate of depression, on the other hand, is proportional to the product of the GC spike rate and the postsynaptic spike rate (Methods). Specifically, it varies in proportion to the ratio of the postsynaptic spike rate (rpost) to its equilibrium value (req) 14,30. Changes in the EOD that require depression of GC synapses drive plasticity much more rapidly than changes that require potentiation (by a factor of ~8 for Output cells; Extended Data Figure 4G) because they increase the postsynaptic spike rate. For the cancellation shown in Figure 5, ON cells require depression and OFF cells require potentiation to construct their negative images. This is why cancellation is so much faster for ON than OFF cells when Output learning is cell-autonomous (dashed lines in Figure 5D). For MG cells, where the relevant postsynaptic factor is the broad spike rate, the enhancement is even larger than it is for Output cells, ~60 (Extended Data Figure 4G). This explains why the impact of including MG connections to Output cells, and thus MG cell plasticity (dotted lines in Figure 5D), is so much larger for OFF than ON cells. In this case, OFF cells receive part of their negative image from MG+ cells and these, like ON cells, use the more rapid synaptic depression to build their negative images. Notably, ELL circuitry pairs MG and Output cells such that one member of the pair is using faster depression and the other is using slower potentiation. This occurs whether the required learning is in response to an increase in EOD amplitude, as in Figure 5, in which case ON and MG+ learn through depression, or a decrease in amplitude, in which case OFF and MG− learn through depression (Extended Data Figure 7D,E).

The ELL employs one more circuit feature to speed up learning, as indicated by the solid curves of Figure 5D: MG recurrence. According to the analysis of the previous paragraph, the cell-autonomous plasticity rate in one of the two MG cell types will always be faster than in the other. Recurrent connections enhance learning speed by transmitting negative images from the MG cell with faster plasticity to the MG cell with slower plasticity. This explains the approximate equality of the initial cancellation speeds in ON and OFF cells in the fully-connected model (solid lines in Figure 5D). With recurrence in place, both MG cells learn more quickly than either of the Output cells, and thus MG learning dominates the early phase of cancellation.

From the standpoint of cancellation speed, one question remains: from our fits of the model to data, we find that only about half of the contribution to the total negative image in Output cells is provided by MG cells, with the other half coming from the plasticity of GC synapses directly onto the Output cells (Figure 5C,D; Extended Data Figure 4H). Why not increase this ratio? This would presumably allow MG cell plasticity to make cancellation even faster, while still leaving room for “fine tuning” by Output cell plasticity. As we show in the following section, distributing plasticity roughly equally across two sites provides added benefits in the presence of noise.

Robustness to noise despite continual learning

Prior experimental and theoretical work, including that in the previous section, considered responses to the EOD in isolation from other signals. In nature, however, electrosensory input to the ELL is likely to contain various sources of noise that cannot be fully predicted 42, including the EODs of other nearby electric fish 43,44. Because plasticity in the ELL appears to operate continuously, this raises the important question of whether the ELL can maintain accurate predictions in the presence of noise and, if so, how.

We first used the model to examine continual learning under noisy conditions using EOD-like pulses of different amplitudes and polarities to simulate other electric fish at different locations (Figure 6A; Methods). We explored different durations of noise exposure (from 10–100 minutes) and different temporal patterns, including cases in which the timing of the noise pulses was either random or correlated with the fish’s spontaneously emitted EOD commands at an ~16 ms delay. This latter case mimics a prominent electrocommunication behavior known as the echo response 45. For all scenarios tested, noise exposure minimally impacted the accuracy of self-EOD cancellation in Output cells (Figure 6B; Extended Data Figure 8B). Importantly, this robustness to noise depended strongly on plasticity occurring at both Output and MG cell synapses from GC cells (Figure 6B; Extended Data Figure 8B).

Figure 6. Multiple sites of plasticity solve a continual learning problem.

Figure 6.

A, Schematic of the experimental paradigm for measuring the effects of noise due to conspecific EODs. Colored traces illustrate sensory input due to conspecific EODs. Summary diagram shows the cells and connections represented in the model. B, Comparison of Output cell responses in data (green; mean ± sem for n = 9 ON cells and n = 15 OFF cells) and under different model conditions (black and brown) immediately after 10 minutes of noise consisting of random amplitude and polarity pulses correlated with the fish’s own EOD command, simulating echoes. The EOD command occurs at time zero. The temporal structure of the effects of noise on Output cell responses observed in the model with GC-Output plasticity turned off (brown line), reflects the non-uniform temporal structure of the GC corollary discharge input (gray dashed line) 14. C, Comparison of the evolution of model and recorded MG cell responses during 10 minutes of noise exposure under identical experimental conditions as in B (MG+: n = 7; MG− n = 6). Data are averages of 30–50 trials at each time point. D, Dynamics of the membrane potential of a model Output cell to excitatory GC input (grey) and inhibitory MG cell input during and after 10 minutes of noise exposure. Note that the changes in GC and MG synaptic input during the noise period oppose one another. Because ON and OFF cells exhibit similar responses, results are averaged across ON and OFF cells here and in panels E-G. E, Dynamics of the firing rate of a model Output cell during and after 10 minutes of noise exposure with plasticity at both GC to Output and GC to MG cell synapses (black) or only at GC to MG cell synapses (brown). F, Modulation of model Output cell firing rate immediately after 10 minutes of noise exposure (low values indicate robustness to noise) as a function of the strength of MG synapses onto Output cells. Dashed line indicates the parameter value derived from fits to the data. G, Same as in F, but varying the ratio of sensory-evoked firing to equilibrium spike rate in Output cells.

We were surprised by the robustness shown by the model and therefore examined what happens in analogous electrophysiological experiments. Following a 10-minute bout of temporally correlated (echo-like) pulses with random amplitude and polarity, we found that cancellation was as robust in real ON and OFF cells as it was in the model (Figure 6B).

Before using the model to investigate the source of this robustness, we verified that the neural responses evoked by noise in the data matched those observed in the model. The noise input we used was zero mean and evokes, on average, a strong initial increase in the model MG broad spike rate that is nearly identical in MG+ and MG− subtypes (Figure 6C). This occurs due to rectification: sensory input fluctuations that increase the spike rate have a much larger effect than those that decrease it. The initial noise-evoked increase in broad spike rate drives synaptic depression at GC to MG synapses, resulting in a gradual reduction in the broad spike rate over the ten minutes of noise exposure (Figure 6C). Very similar responses to noise were observed in real MG+ and MG− cells recorded in vivo (Figure 6C). Noise also evokes a large initial increase in both ON and OFF Output cell spike rates. Importantly however, their spike rate changes much less than for MG cells over the ten minutes of noise exposure (Extended Data Figure 8C).

Analysis of the model provided an explanation for noise robustness. Although noise effects spiking and plasticity in a similar way in all 4 cell types (MG+, MG−, ON and OFF), the connectivity of the circuit ensures that Output cells receive two opposing cancellation signals, the signal they construct from their GC input and the inverted signal that that they receive from their partner MG cells (Figure 6D; Extended Data Figure 8D). These two contributions largely cancel each other (Figure 6D), leading to a much smaller impact on Output cells than would be produced if the ELL had only a single stage of plasticity in MG cells (Figure 6B,E; Extended Data Figure 8E).

Finally, we return to the question raised at the end of the previous section: why do MG cells contribute only around one-half of the total negative image in Output cells? To address this, we examined how noise robustness depends on model parameters that determine this fraction, specifically the strength of MG to Output and MG recurrent connections and the rate of plasticity in Output cells. For both parameters, we found that values fit to prior data for self-EOD cancellation (i.e. roughly equal contributions of MG and Output cell plasticity to cancellation) were close to optimal in the presence of noise (Figure 6F,G; Extended Data Figure 8F-H).

Discussion

Synaptic plasticity that is widely distributed across cell types and processing stages is a common, yet poorly understood, feature of neural circuits 3,46–48. Using connectomics, in tight combination with physiological recordings and modeling, the present study reveals how a detailed knowledge of synaptic connectivity is essential for understanding how multiple sites of synaptic plasticity support learning that is fast, accurate, and robust to noise. Remarkably, much of the detailed structure revealed by our connectome analysis can be understood as assuring that cells with fast and slow plasticity are always paired, so that the fast plasticity can compensate for the slow. Assuring that cells with fast and slow plasticity are paired regardless of whether cancellation primarily involves synaptic potentiation or depression, requires all of the following prominent features of ELL circuitry: ON and OFF pathways, synaptic plasticity at two stages of each pathway, “crossed” connectivity between MG and Output cells, and a strict pattern of recurrent connectivity between MG cell subtypes. By extending our analysis to more challenging and realistic social scenarios in which negative images must be maintained in the presence of the EOD of conspecifics, we found that having two separate stages of synaptic plasticity also confers robustness to noise. While the idea that multiple stages of plasticity could support continual learning is not new 49–51, the present work is unique in providing the actual implementation details at the level of specific cell types and synaptic connectivity patterns.

Similar to cerebellar Purkinje cells, two spike types under largely independent control are required for MG cells to learn negative images (based on ongoing plasticity of granule cell input) and simultaneously transmit them to downstream neurons. In the case of Purkinje cells, such independent control is due to a specialized excitatory synaptic input to Purkinje cells—the powerful climbing fiber input from the inferior olive. Our connectome analysis revealed specialized inhibitory and dis-inhibitory electrosensory input pathways to MG cells that meet the biophysical requirements for independent control of broad spikes established by prior multi-compartment models 8,9. Hence, despite differences in their anatomical form, sensory input to the ELL and climbing fiber input to the cerebellum may perform analogous functions.

Dis-inhibitory sensory input to MG+ cells is also essential for allowing recurrent connections to accelerate learning. Prior biophysical modeling and recordings suggest that if sensory input to MG+ cells was relayed primarily through direct EAF excitation (as might have been expected based on the spatial overlap of EAF terminals and MG+ basal dendrites), both broad and narrow spike firing would be modulated by the EOD 8,9. Our model shows that recurrent connections amplify the unwanted effects of the EOD in this scenario, impeding cancellation (Extended Data Figure 4A). These findings clearly illustrate the importance of combining detailed anatomical and physiological analyses for inferring circuit function. Another broader implication is that recurrent inhibition may accelerate learning in other circuits where it has been described, including the cerebral cortex 52, hippocampus 53,54, and cerebellum 55,56.

SG cells represent a prominent site of integration of sensory and predictive information (GC input), the function of which remains to be established. Both SG and MG cells exhibit substantial variation in size, including the length of their basal and apical dendritic arbors and their soma diameter (Extended Data Figure 2A,B,G). An intriguing possibility is that this variation is related to the fact that the mormyrid brain exhibits growth throughout life, including substantial enlargement of the ELL and continuous addition of adult-born GCs 57. One hypothesis is that the MG and SG cell classes actually represent a continuum (Extended Data Figure 2B), with SG cells slowly maturing into MG cells even in adults 13. For SG cells to take on the function of MG cells, our model predicts that their connectivity must change in a specific way: dis-inhibitory SG− input should increase relative to excitatory EAF input during maturation. This hypothesis could be explored in our existing EM volume by comparing the electrosensory input pathways for SG and MG cells as a function of their size.

Finally, an in-depth analysis of the synaptic connectivity of the molecular layer of the ELL is likely to provide additional insight, with particular relevance to learning in cerebellar circuits 22. Key questions include: the connectivity of MLIs and whether they comprise functionally and anatomically distinct sub-classes, as in the cerebellum 56; whether GC input to synaptically-coupled MG and Output cells is primarily shared (as our model assume) or distinct; and whether anatomical correlates of plasticity at GC synapses can be identified.

Methods

Experimental model and subject details

Wild caught fish (7–14 cm in length) of undetermined sex of the species Gnathonemus petersii were used in these experiments. Fish were housed in 60 gallon tanks in groups of 5–20. Water conductivity was maintained between 40–65 microsiemens both in the fish’s home tanks and during experiments. All experiments performed in this study adhere to the American Physiological Society’s Guiding Principles in the Care and Use of Animals and were approved by the Institutional Animal Care and Use Committee of Columbia University.

EM data acquisition and processing

Two fish of the species Gnathonemus petersii were deeply anesthetized with tricaine methanesulfonate (MS:222, 1:10,000) and transcardially perfused with 2% paraformaldehyde and 2% glutaraldehyde in 0.15 M sodium cacodylate buffer. Following perfusion, 2.5 mm × 2 mm × 0.4 mm volumes of the hindbrain containing the anterior ELL were processed for electron microscopy using a modified rOTO staining protocol 59. The size of the skin region projecting to the imaged volume cannot be precisely estimated due to differences in receptor density and central magnification factor associated with different body locations. However, given its anterior location, the volume likely contains the central representation of a few mm of the skin surface on the chin appendage 60. The specimen ultimately selected for imaging was 9.3 cm long and weighed 6.9 g. After dissection, the tissue was washed three times for 10 minutes each in 0.15 M Sodium Cacodylate buffer (Sigma-Aldrich, C0250) at room temperature, then incubated in 2% osmium tetroxide (Electron Microscopy Sciences, #19190) in 0.15 M Sodium Cacodylate for 30 minutes flat followed by 4 hours on a rotator at room temperature. The sample was rinsed (3 × 10 min, 0.15 M Sodium Cacodylate) and incubated in 2.5% potassium ferrocyanide (Sigma-Aldrich, P3289) in 0.15 M Sodium Cacodylate for 2 hours at room temperature, followed by overnight incubation at 4 °C. The next day, samples were washed with Milli-Q water (3 × 10 min) and incubated in freshly prepared, 0.45 μm-filtered 1% (w/v) thiocarbohydrazide (Sigma-Aldrich, 223220) in water for 1 hour at room temperature. Following water washes (3 × 10 min), the tissue was post-fixed with 2% osmium tetroxide (Electron Microscopy Sciences, #19190) in water for 4 hours at room temperature, washed again (3 × 10 min), and incubated overnight at 4 °C in 2% aqueous uranyl acetate (Electron Microscopy Sciences, #22400). Samples were brought to room temperature the following day, placed in a 60 °C oven for 1 hour, and returned to room temperature before final water washes (3 × 10 min). Dehydration was carried out in a graded ethanol series (30%, 50%, 75%, 95%, 3 × 100%) using wide-mouth pipettes to avoid tissue damage. The tissue was infiltrated with increasing concentrations of LX-112 resin in propylene oxide (25%, 50%, 75%) and then with 100% resin, freshly prepared using 29.1 g NMA, 46.8 g LX-112, 14.1 g NSA, and 1.8 g BDMA (Ladd Research, #21212) Resin infiltration was performed over 2 days with uncapped tubes to allow evaporation of propylene oxide. On the final day, the sample was embedded in BEEM capsule molds and cured at 60 °C.

The resin embedded sample was trimmed and sectioned using an ultramicrotome (UC6, Leica, Germany) fitted with Diatome Trim 90 and Diatome Ultra 45/Ultra 35 diamond knives, respectively (Diatome, USA). A 250 μm depth of tissue was serially sectioned at ~30 nm thickness using an automated tape-collecting ultramicrotome (ATUM) system 61 and collected onto carbon-coated Kapton tape. Sections were mounted 120 per wafer across 69 silicon wafers using double-sided carbon tape. Wafers were post-stained with uranyl acetate and lead citrate prior to imaging with a multibeam scanning electron microscope (MultiSEM, Zeiss) as in 31. Wafer overviews were first acquired using reflected light microscopy (Zeiss Axio Imager) to guide automated acquisition. Imaging proceeded in phases using a 61-beam configuration with 4 nm pixel size and 200ns dwell time. A custom workflow manager monitored acquisition, validated data integrity and focus, and generated real-time diagnostic reports (https://github.com/YuelongWu/mSEM_workflow_manager). We collected images spanning a 105 μm depth, totaling 3,534 sections, of which 83 non-consecutive sections were missing with the exception of one instance with three consecutively skipped sections. Stitching was performed using a block-matching algorithm on a scattered grid within the overlapping regions of image tiles, followed by elastic optimization across high-resolution tiles. The stitched images were then rendered into non-overlapping 4096×4096 px tiles. To enable large-scale registration, low-resolution thumbnail images (512nm pixel resolution) were generated in parallel with acquisition and aligned using a combination of feature-based affine registration, template matching, and spring-mesh relaxation. The transformations resulting from this thumbnail alignment were then upscaled and used as an initial estimation for fine alignment. The fine alignment process involved its own template matching and spring-mesh relaxation steps, but at a much higher resolution (16nm) compared to the thumbnails. Finally, the resulting alignment transformations were applied to the full-resolution stitched dataset. The stitching and the alignment processes were carried out with a combination of feabas (https://github.com/YuelongWu/feabas) and mb_aligner (https://github.com/adisuissa/mb_aligner).

EM segmentation and skeletonization

We first applied 16 nm and 32 nm Flood-Filling Networks (FFNs), originally trained on a human cortical dataset 31,32, to the ELL dataset to generate a preliminary segmentation. This preliminary output was manually agglomerated to create a ground truth dataset consisting of complete axons and dendrites. Using this ground truth, we retrained the original human cortex FFNs, and used sparse point pair annotations to select optimal model checkpoints. This yielded optimized 16 nm and 32 nm FFN models, which were used to produce a base segmentation tuned for low merge error and an agglomeration that reduced split errors. At the agglomeration stage, we applied soma splitting using 12,700 manually annotated soma using VAST 62. Skeletons were then generated from the base segmentation using the same TEASAR-based method employed for the human cortical dataset.

Cellular reconstruction proofreading

After base segmentation and agglomeration of the EM volume was completed, a modified version of CREST was used to reconstruct all neurons and neuron fragments in the current dataset 31. Complete instructions and a demonstration of the proofreading process in CREST is available via https://github.com/ashapsoncoe/CREST. The modified CREST codebase (eCREST) used in this study is available via https://github.com/neurologic/efish_em_ELL. When proofreading a biological object using CREST, a reconstruction was initiated from a seed base segment and all base segments that were agglomerated with it. Split errors were corrected by adding on missing base segments (and their agglomerated base segments) and merge errors were corrected by removing base segments that did not belong to the object (which was made more efficient by CREST). An object was considered complete once all base segments that define its morphology were included, and base segments that were not part of it were excluded. An example of the relationship between these stages of proofreading is available at https://neuroglancer-demo.appspot.com/#!gs://efish-public/ng_states/Proofreading_example.json Correction of merge errors within an individual base segment was not possible. CREST enabled all base segments in each branch of a neuron to be labeled according to their subcellular compartment (axon, apical dendrite, basal dendrite, and soma; Supplemental Video 1). This capability utilized the igraph library (https://python.igraph.org/en/stable/). When a single base segment significantly spanned multiple structures, it was categorized as ‘multiple.’ For each proofread neuron object, the identified and labeled final set of base segments were recorded into JSON state which could be reloaded in eCREST for annotation (of synapses and soma), inspection and/or further proofreading.

Morphological Identification

Cells that receive plastic granule cell input from the molecular layer are distinguished by spiny apical dendrites – these include two classes that have been characterized anatomically and electrophysiologically: Output cells and MG cells (Extended Data Table 1)12,13,16–21. These two classes have the largest soma of cells ELL, with output cells tending to be larger than MG cells (Extended Data Figure 2G). MG cells are clearly distinct from Output cells in that the former are interneurons, synapsing locally within the ELL, whereas the axons of Output cells exit the ELL without forming collaterals. The morphology of the basal dendrites of MG and Output cells are also highly distinct (Figure 1E,F). A third class of cells with spiny apical dendrites has been previously identified morphologically are the SG cells (Extended Data Table 1)13,19. Like the larger MG cells, SG cells have spiny apical dendrites and axons that terminate locally within the ELL. Although it is possible that SG and MG cells form a continuum, for consistency with prior work and to aid the present analysis we objectively split these classes using hierarchical clustering (Ward method with Euclidean distance) based on the following morphological criteria: soma size, lateral spread of basal dendrite and axon (along x and z axes), and apical dendritic size (Extended Data Figure 2A,B). Point annotation classes in neuroglancer (implemented via eCREST) were used to mark and measure the diameter and location of each neuron’s soma. We used the statistics of the x,y,z locations of the set of skeleton nodes (from the base segment skeletonization) for all base segments in each structure for each cell to quantify the basal dendrite and axon spread (std in x and y) and apical dendrite size (node count). There were 59/728 MG and SG cells that were manually identified as having either dendrites or axons out of the volume, or soma partially out of the volume could not be included in the hierarchical clustering; these cells were classified manually based on the remaining parts of the cells that were within the volume.

Output cell subtypes (ON and OFF) are distinguishable by soma positions in the plexiform and ganglion layers, respectively (Extended Data Table 1 and Extended Data Figure 2H). ON cells also tend to have a more fusiform soma shape than OFF cells. We used the basal dendrite location of the MG+/MG− subtypes to assist in defining a boundary plane between the ganglion and plexiform layers (Extended Data Figure 2C and Figure 3B). Two Output cells had soma intersecting the ganglion-plexiform boundary and were categorized by their soma shape (fusiform versus round)(Figure 3B). The basal dendrites of MG+ cells arborize in the plexiform layer, while those of MG− cells arborize in the ganglion layer (Extended Data Figure 2C). The axons of MG+ and MG− cells have the opposite pattern: MG+ type arborize in the ganglion layer, while MG− type arborize predominantly in the plexiform layer (though they also send terminals into the ganglion layer). This pattern is consistent with the Type 1&2 morphological characterization previously established for MG cells (MG−:MG1 and MG+:MG2). The anti-correlated relationship between axon and basal dendrite position in these two subtypes was used, along with a linear regression classifier, to completely split the MG population into MG+ and MG− types (Extended Data Table 1 and Extended Data Figure 2D). We extended the subtype morphological characterization of MG cells to SG cells as well (Extended Data Table 1). The basal dendrites of SG− cells arborize in the ganglion layer (like MG−), while the basal dendrites of SG+ cells arborize in the plexiform layer (like MG+). Like MG cells, the axons of SG− and SG+ cells have the opposite layer pattern as their dendrites: SG− branch predominantly in the plexiform layer, while SG+ branch in the ganglion layer (Extended Data Figure 2E). Therefore, the relationship between axon and basal dendrite position in these two subtypes is also anti-correlated and could be used in a linear regression model to split the SG population into SG+ and SG− subtypes (Extended Data Figure 2F).

Other cell types that we classified in this study are: the electroreceptor afferent fibers (EAF), the granular (Gr+) cell, the small plexiform (SP−) cell, and granule cell (GC) axons (Extended Data Table 1, Figure 1D,H, and Extended Data Figure 2G-I, 3A). Granular cells (Gr+) are the most numerous cell type in the ELL (aside from the granule cells of the overlying eminentia granularis posterior) 12,13. Despite their similar names, only the latter give rise to the granule cell axons in the molecular layer. Gr+ cells have small soma and their axon extends toward the plexiform and ganglion layers, branching throughout both. Basal dendrites of Gr+ ramify through the granular layer of ELL where EAFs terminate. If any apical dendrite exists, it is smooth and constrained to the granular layer as well. SP− cells have similarly small soma to Gr+ cells, but their somas are mostly in the plexiform layer. The axon of SP− cells, after exiting the soma, splits into two branches that go in opposite directions: one branch goes toward (and often into) the molecular layer with synaptic boutons terminating in both the ganglion and molecular layers, and another branch goes toward the granular layer with synaptic boutons terminating locally within the plexiform layer and sometimes in the granular layer (Extended Data Figure 2H,I). The apical dendrite of SP− cells is variable length (sometimes extending into the molecular layer and sometimes constrained to the plexiform layer), but is always smooth. GC axons were identified as thin, unmyelinated fibers that traveled for long distances in the molecular layer, forming excitatory synapses onto molecular layer spines, and entered and exited the volume at both faces without having a soma within the volume. Reconstructions that did not fit into one of the above categories, including neuronal processes for which no soma in the volume could be identified, were termed ‘unclassified.’

Spine count estimates

First, we estimated spine density for each of the spiny cell types (Output, MG, and SG). Following reconstruction and proofreading, 5 example cells of each type were selected for spine annotation. Annotation spheres with a radius of 10micrometers were placed along apical dendrites of these cells and annotation points were manually placed on all spines within the sphere. Combined, these annotations enabled estimates of spine density (spine count per unit dendrite length) per cell type along the extent of the apical dendritic tree. Second, we estimated apical dendritic length for each of the same 3 cell types (Output, MG, and SG). We densely reconstructed all soma with spiny apical dendrites in a 60×80×60μm region covering the ganglion, plexiform, and granular layers around the middle of the volume. Then, for each cell with a soma in that region, we collected all apical dendrite base segments into a single mesh that we then skeletonized (using Igneous; https://github.com/seung-lab/igneous). The apical dendrite skeletons, combined with spine density estimates enabled estimates of the mean total spine count per cell of each type.

Synapse identification and annotation

Following training in synapse identification (from M.P.), K.P., M.G., and N.B.S. manually identified and recorded synapses using neuroglancer point annotations via eCREST. Synapses were identifiable based on several key features: (i) the presence of a synaptic cleft, characterized by a thickened membrane gap at the junction between an axon bouton and a postsynaptic neuronal compartment, which is consistently observed across multiple tissue sections; and (ii) the presence of an active zone, indicated by the clustering of synaptic vesicles at the presynaptic membrane adjacent to the apposition site. Separate point annotation classes in neuroglancer (implemented via eCREST) were used to record the location of synapses to versus from a reconstructed neuron. Presynaptic synapse annotations were placed on the presynaptic side of each identified synapse and on a base segment such that the base segment associated with that synapse would be recorded in the reconstruction file. Postsynaptic synapse annotations were placed on the postsynaptic side of each identified synapse. For each annotated synapse, the annotated base segment was either matched with an existing reconstruction containing that base segment, or a new reconstruction was seeded and completed from that base segment if it could not be found in any existing reconstruction (and subsequently merged if resulting in a duplicate/overlapping reconstruction). After all synapse base segments were accounted for in the dataset, we could create connectivity matrices among reconstructed cells.

Conditional output/input analysis

We implemented the conditional input analysis methods described by 63, see also 64,65. We constructed a connectivity matrix in which we counted the total synaptic connections between each post/presynaptic cell and each pre/postsynaptic cell type (for conditional input/output analysis respectively). Conditional Input (associated with Figures 2G,H and 3F,G and Extended Data Figure 5C): On the condition that a cell gets one or more synapses from one cell type A (condition), we counted the number of synapses that cell gets from another cell type B (input) (less the synapse from cell type A that qualifies the cell for that condition). This calculation was repeated for all possible pairs of presynaptic cell types. Because not all presynaptic sites were annotated for each postsynaptic cell, we normalized the connectivity matrix for each cell to the fraction of total input from each cell type (probability = number of synapses from each presynaptic cell type divided by the total number of synapses across all presynaptic cell types). Conditional Output (associated with Extended Data Figure 6A): On the condition that a cell makes one or more synapses to one cell type A (condition), we counted the number of synapses that cell makes to another cell type B (output) (less the synapse to cell type A that qualifies the cell for that condition). This calculation was repeated for all possible pairs of postsynaptic cell types. Because not all axons were fully reconstructed for each MG cell (due to axons exiting the volume), we normalized the connectivity matrix for each condition to the fraction of total synapses to each cell type (probability = number of synapses to each postsynaptic cell type divided by the total number of synapses across all postsynaptic cell types). Comparison to Random Connectivity: For each set of post/presynaptic cells, the mean conditional input/output matrix was normalized to a randomized null model (Extended Data Figures 5C and 6A) resulting in z-score normalized values. A null model was generated by randomly reassigning pre/postsynaptic cells for each post/pre synapse in the original connectivity matrix for each analyzed set of cells (which contains a subset of the cells reconstructed for the whole study). In this way, the number of synapses each cell gets/makes remains constant, but the post/presynaptic partner identities are randomized (according to a normal distribution model). In this way, we generated 100 null models to estimate a distribution (normal) of randomized conditional input/output probabilities. For each pair of inputs/outputs:conditions, we computed a z-score (i.e., how many standard deviations the observed connection probability is from the mean of the null distribution). The resultant conditional input/output matrix could be used to determine if observed connectivity from/to a specific cell type was significantly more or less dependent on connectivity from a second input/output than would be expected in a random model of connectivity.

Electrophysiological recordings

Neural data presented in Figure 5 is a re-analysis of data collected in a prior study 8. Figure 6 includes additional extracellular recordings from MG and Output cells performed using the same methods. Briefly, fish were anesthetized (MS:222, 1:25,000) and held against a foam pad. Skin on the dorsal surface of the head was removed and a long-lasting local anesthetic (0.75% Bupivacaine) was applied to the wound margins. A plastic rod was cemented to the anterior portion of the skull to secure the head. The posterior portion of the skull overlying the ELL was removed. Gallamine triethiodide (Flaxedil) was given at the end of the surgery (~20 μg/cm of body length) and the anesthetic was removed. Aerated water was passed over the fish’s gills for respiration. Paralysis blocks the effect of electromotoneurons on the electric organ, preventing the EOD, but the motor command signal that would normally elicit an EOD continues to be emitted at a rate of 3 to 5 Hz. The EOD motor command signal (the synchronized volley of electromotoneurons that would normally elicit an EOD) was recorded with an electrode placed over the electric organ. Extracellular single-unit recordings were made from the VLZ using glass microelectrodes (2–10 MΩ) filled with 2M NaCl. For in vivo whole-cell recordings electrodes (8–15 MΩ) were filled with an internal solution containing, in mM: K-gluconate (122); KCl (7); HEPES (10); Na2GTP (0.4); MgATP (4); EGTA (0.5), and 0.5–1% biocytin (pH 7.2, 280–290 mOsm). No correction was made for liquid junction potentials. Only cells with stable membrane potentials more hyperpolarized than −45 mV and spike amplitudes >40 mV were analyzed. Membrane potentials were recorded and filtered at 3–10 kHz (Axoclamp 2B amplifier, Axon Instruments) and digitized at 20 kHz (CED micro1401 hardware and Spike2 software; Cambridge Electronics Design, Cambridge, UK). For pairing experiments shown in Figure 6, neural responses to the EOD motor command were recorded before, during, and after 4 minutes of pairing, in which an EOD mimic was presented 4.5 ms following EOD command onset. The EOD mimic was a 0.2 ms duration square pulse delivered between an electrode in the stomach and another positioned near the electric organ in the tail. The amplitude was 25 μA at the output of the stimulus isolation unit (stomach electrode negative). Conspecific EOD mimics delivered in the experiments shown in Figure 6 consisted of 0.2 ms duration square pulse delivered at a 16.5 ms delay following the EOD motor command with amplitudes and polarities that were varied on each command (±10, 25, 25, and 50 μA) to simulate conspecifics at different distances and relative locations.

ELL model

We use a quasi-static approximation to compute cell responses to each EOD, and these then evolve across EODs (denoted by an index i) due to synaptic plasticity. In the experimental setup we simulate, the average EOD rate is 4 Hz, so a 4 min period of EOD learning corresponds to 4 min*60 s/min *4 EOD/s = 960 EODs. Prior experimental and modeling work indicate that the mechanisms for sensory cancellation in the ELL generalize across EOD rates, including the substantially higher EOD rates used by the fish during foraging 66.

We define S as the EOD-generated stimulus to be cancelled, which is a decaying sinusoidal function that we fit to the shape of the average EOD-evoked stimulus in the data. The amplitude of S is adjusted to produce a 2.25 mV change in the membrane potential to match the data (Extended Data Figure 7). We track S and the different model activities for a time period from 10 ms before the EOD command to 150 ms after it in time steps of 1 ms. Thus, S is a T=160 component vector across this time span. GC activity in the model was taken from in vivo intracellular recordings of granule cell response to EOD corollary discharge input 14, and the ratio of distributions of GC synapses onto MG, Output and SG cells were obtained from the connectome (Extended Data Fig. 3B). The GC activity matrix is of dimension T×N, where N=2088 for Output cells, N=6390 for MG cells and, when SG cells are included, N=195 for them. Except for Extended Data Figure 4E we did not include learning at GC-SG synapses as the model shows minimal contribution to speed of cancellation from these synapses (see Discussion).

The model includes dis-inhibitory and inhibitory sensory input pathways, MG+, MG−, ON, and OFF cells. The baseline-subtracted membrane potentials of ON and OFF Output cells are T-component vectors determined at the time of the ith EOD by

VON=S+GCAoutWiON←GC-wout←mgMG-
VOFF=-S+GCAoutWiOFF←GC-wout←mgMG+

Here GCAout is the GC activity (quantified as the probability of spiking at each time bin) convolved with a double exponential (with time constants of 5 and 10 ms 14.) synapsing onto Output cells to yield an EPSP input. WiON←GC and WiOFF←GC are the synaptic weights from the GCs onto the ON and OFF Output cells, and wout←mg describes the strength of inhibition from MG to Output cells. WiON←GC and WiOFF←GC depend on i, the EOD index, because of synaptic plasticity. MG± are T-component MG cell simple spike activities. MG activities are delayed by 1 ms to account for the di-synaptic input-MG-Output pathway. For the reverse connectivity simulation in Extended Data Figure 4B we exchanged the MG± subtype in both of the above equations, and for the random connectivity we included both MG+ and MG− inputs to both Output cell types weighted by 0.5 wout←mg.

MG± represent the narrow spiking activity of MG cells, determined by a set of coupled equations

MG+=aS+GCAmgWiMG+←GC-bwmgMG-
MG-=-aS+GCAmgWiMG-←GC-bwmgMG+.

For Extended Data Figure 4A,C,D, we modified the magnitudes of the first (a) and last (b) terms on the right sides of these equations, with a default value of a = 0 and b = 1.

To compute the broad spiking activity of MG± cells, we first compute a membrane potential that controls broad spiking,

VMG+=S+GCAmgWiMG+←GC-wmgMG-
VMG-=-S+GCAmgWiMG-←GC-wmgMG+.

For the reverse connectivity simulation in Extended Data Figure 4B, we exchanged the MG± subtypes in these equations, and for the random connectivity we added both MG inputs to both MG cell types weighted by 0.5 wmg.

For MG narrow spikes, which have a high baseline rate and are not typically subject to rectification, we assumed a linear relationship between membrane potential and firing rate 9. However, for Output and MG broad spike activity, we transformed their membrane potentials into firing rates using a sigmoid nonlinearity 9.

r=rmax/(1+exp-γV+θ)

with γ=1.59/mV,θ=2.20 and rmax=180Hz for Output cells, and γ=2.53/mV,θ=4.30 and rmax=75Hz for broad spikes of MG cells. This sets the equilibrium rates (for V=0) to 18 Hz for Output cells and 1 Hz for MG broad spikes, and the stimulus response to a 2.25 mV depolarization to 145 Hz for Output cells and 60 Hz for MG broad spikes.

Synaptic plasticity at GC synapses onto MG and Output cells was based on prior in vitro and in vivo measurements 14,26,27,29. Plasticity in the ELL is anti-Hebbian with

Wix←GC=Wi-1x←GC+α(nGCx-GCAxrx/reqx)

where x can be either “out” (Output cell) or “mg” (MG cell), and nGCx is a vector with components equal to the number of spikes fired by each GC over the course of the ith EOD. The parameter α=1.5⋅10-9 mV sets the overall learning rate.

Learning in the noise context (Figure 6)

Conspecific EOD echoes were modeled using the EOD waveform described in the previous section (S), delayed by 12 ms and with an amplitude scaled by 0.75. Echo polarity was randomly assigned as either +1 or −1. For the random-noise condition (Extended Data Figure 8E), the noise consisted of ~16 Hz presentations of the EOD waveform delivered at random times, rendering them temporally uncorrelated with granule-cell corollary discharge inputs. Noise amplitudes were drawn from a uniform distribution between −1 and 1, where 1 corresponds to the self EOD and −1 corresponds to an EOD of equal magnitude but opposite polarity. Initial weights were set such that activity in the MG and Output cells perfectly canceled the self-EOD signal.

Study design

No statistical methods were used to predetermine sample size for the EM connectome analysis. A single EM volume (450 × 450 × 105 μm) was generated from one specimen of Gnathonemus petersii, yielding a sparsely reconstructed network of 5,025 cells with 29,694 annotated synapses. The volume size was chosen based on the known spatial extent of the ELL microcircuit and practical limits of serial-section EM acquisition. For electrophysiological recordings, sample sizes (n = 20–55 cells per cell type) were chosen based on prior publications using the same preparation and are consistent with the field. No randomization was performed. For the EM connectome analysis, cell type classification was performed using morphological criteria (soma location, dendrite and axon layer distributions) that were defined a priori and applied consistently. Synapse annotation was performed without knowledge of pre- or postsynaptic identity. For electrophysiological recordings, no formal blinding was applied, as cell identity was determined during recording by anatomical and physiological criteria. Quantification of cancellation was performed using standardized analysis pipelines applied uniformly across cell types and conditions.

Additional Software and packages

In addition to the abovementioned libraries, processing and analysis of the EM dataset was performed in a Python environment (v.3.8 or higher, https://python.org/). The proofreading and annotation workflow was implemented as Python scripts driving the Neuroglancer viewer (https://github.com/google/neuroglancer). Cloudvolume (https://github.com/seung-lab/cloud-volume) and Igneous (https://github.com/seung-lab/igneous) were utilized to query and create base segments in their mesh and skeleton formats. Standard data handling and computational algorithms from the pandas (https://pandas.pydata.org/docs/index.html), numpy (https://numpy.org/), scipy (https://scipy.org/), and sklearn (https://scikit-learn.org/stable/) libraries were used throughout the above analyses. Seaborn (https://seaborn.pydata.org/) and matplotlib (https://matplotlib.org/stable/) libraries were integral for data visualization in all Figures visualizing quantitative results. Modeling experiments were written and performed in Matlab (2024b, Mathworks).

Extended Data

Extended Data Fig. 1. ELL sample preparation and EM data examples (Related to Figure 1).

Extended Data Fig. 1.

All EM connectomic data are from a single biological specimen. A, uCT volume of a transverse section through the hindbrain containing the region of interest within the ventrolateral zone of the ELL (dashed rectangle). B, EM volume of the ELL obtained at 4 nm × 4nm × 30 nm resolution. C, Examples of asymmetric, putative excitatory, synapses formed by granule cell axons (purple) onto apical dendritic spines in the molecular layer (blue: postsynaptic dendrite)(https://neuroglancer-demo.appspot.com/#!gs://efish-public/ng_states/excitatory_example.json). D, Example symmetric, putative inhibitory synapse formed by an MG cell axon (purple) onto a dendrite (blue)(https://neuroglancer-demo.appspot.com/#!gs://efish-public/ng_states/inhibitory_example.json). E, Additional example of asymmetric synapses formed onto somas (blue stars) by different ELL cell types (purple star: presynaptic axon of each cell type as labeled above).

Extended Data Fig. 2. Morphological characterization of ELL cell types (Related to Figure 1).

Extended Data Fig. 2.

See https://neuroglancer-demo.appspot.com/#!gs://efish-public/ng_states/Proofread_Classified_Cells.json for browsable renderings of all proofread and classified bodies of the main cell types analyzed in this study. A, Dendrogram visualization of the hierarchical clustering used to classify MG (n = 104) and SG (n = 545) cells. An additional 32 MG and 47 SG cells were manually categorized because they lacked sufficient soma in the volume and/or the majority of either their axon or dendrite exited the volume. B, Example MG and SG cells showing the variation in morphology across the population. Axons visualized in black. C, Reconstructed axons and basal dendrites of all MG cells showing the inverse relationship between axon and basal dendrite position (perpendicular to the layer plane in ELL) for MG− versus MG+ subtypes. D, Scatterplot of the median basal dendrite versus axon position for the 110/136 MG cells with sufficient axon and basal dendrite within the volume to classify. Dotted line shows the classifier obtained by linear regression on the dataset. Any cells shown in C with either axon or basal dendrite mostly out of the volume were excluded from this analysis and classified manually based on the location of the remaining in-volume axon/dendrite (n=26 MG cells). E, Reconstructed axons and basal dendrites of all SG cells showing the inverse relationship between axon and dendrite position (perpendicular to the layer plane in ELL) for SG− versus SG+ subtypes. F, Scatterplot of the median basal dendrite versus axon position for the 559/592 SG cells with sufficient axon and basal dendrite within the volume to classify. Dotted line shows the classifier obtained by linear regression on the dataset. Based on these classification metrics, the SG− and SG+ subtypes are less distinct than MG+/MG− because of how much further ventrally SG− basal dendrites extend compared to MG−. Any cells shown in E with either axon or basal dendrite mostly out of the volume were excluded from this analysis and classified manually based on the location of the remaining in-volume axon/dendrite (n=33 SG cells). G, Scatterplots (data points are randomly jittered along the x-axis within each category) overlaid on boxplots illustrating the soma diameter distribution of each cell type. Boxplots show the median (centre line), 25th and 75th percentiles (box bounds), and minima and maxima of the non-outlier data (1.5× IQR from the box edges); outliers are shown as individual data points in the scatterplot. Only cells with their full soma in the volume were included in this analysis. H, Same display as G for the distribution for soma location of each cell type. I, Same display as G for the distribution of the locations of synapses formed by each cell type.

Extended Data Fig. 3. The granule cell input pathway.

Extended Data Fig. 3.

A, A GC axon (magenta) synapsing onto the spines of an ON (red) and MG− (blue) cell and onto the swelling of a smooth apical dendrite (gray) (arrows show synapse locations). B, Stacked histogram plot shows the number of synapses formed by each proofread and synapse-annotated GC axon pre postsynaptic cell type (n = 674 synapses from 64 GC axons onto 310 Output, MG, SG, and molecular layer interneurons (MLIs)). An additional 323 GC axon synapses innervated other non-spiny and unclassified elements. C, A 40 × 40 × 40 μm region of the molecular layer (~100 μm from the surface of the ganglion layer) capturing apical dendrites from Output, MG, and SG cells with soma located in a densely-reconstructed 60 × 80 × 60 μm central region of the ganglion, plexiform, and granular layers (see methods).

Extended Data Figure 4. Effects of synaptic connectivity on sensory cancellation (related to Figure 5).

Extended Data Figure 4.

A, Absolute peak membrane potential (relative to baseline) of ON (red) and OFF (blue) model Output cells during the first 4 minutes after turning an EOD mimic on for different levels of ‘selectivity’ of the effects of sensory input on broad spikes. A value of 1 (‘selective’) indicates that sensory input solely effects broad spikes and a value of 0 (‘non-selective’) indicates equal effects on broad and narrow spikes. When selectivity is low, MG cells substantially impair cancellation compared to not having MG input at all (dashed line). This occurs because sensory drive to narrow spikes amplifies EOD-evoked responses in the Output cells. MG recurrence further amplifies this effect, producing large depolarization in MG cells (~15 mV peak response) compared with no recurrence (2.25 mV). B, Membrane potential modulation of ON (red) and OFF (blue) model Output cells after 4 minutes of learning (quantified as variance normalized by the variance at zero MG synapse weight). Modulation is plotted as a function of MG:Output synaptic strength for different MG:Output connectivity patterns (left two plots), and as a function of MG:MG synaptic strength for different MG recurrence patterns (right two plots). For MG:Output connectivity, “reverse” denotes MG+:ON and MG−:OFF, whereas “random” denotes both MG types synapsing onto both Output types. For MG:MG connectivity, “reverse” denotes MG+:MG+ and MG−:MG−, whereas “random” denotes all-to-all connectivity. Vertical gray lines indicate default synaptic strength values used in the model. C, Absolute peak membrane potential (relative to baseline) of ON (red) and OFF (blue) model Output cells during the first 4 minutes of learning to cancel the EOD-mimic, shown for different levels of recurrence selectivity for broad spikes. A value of 1 (‘selective’) indicates that recurrence solely effects broad spikes and a value of 0 (‘non-selective’) indicates equal effects on broad and narrow spikes. When selectivity is high, the contribution of MG cells to cancellation is comparable to the condition without MG recurrence (dashed line), because negative images transmitted exclusively to broad spikes are not transmitted to Output cells. D, The reduction in MG contribution caused by increased broad spike selectivity can be compensated by increasing MG to Output synaptic strength, suggesting an alternative biophysical mechanism for maintaining an effective MG contribution of ~0.5 to the negative image in Output cells. E, Membrane potential modulation of ON (red traces) and OFF (blue traces) model Output cells in the first 4 minutes of learning, shown for different plasticity rates at GC to SG synapses. A value of 1 (“SG learning”) indicates that the ratio of post-synaptic EOD response to background activity matches that of MG cells (~60), resulting in faster depression of GC synapses in SG+ cells. Introducing SG learning slightly slows cancellation in ON cells because, as SG− synapses gradually cancel their sensory inputs, ON cells must reverse previously learned cancellation. This continual rebalancing limits the net contribution of SG plasticity to overall cancellation. In these simulations, SG cells are assumed to generate two spike types but lack sufficient electrical separation to decouple learning from signaling. Thus, unlike MG cells, SGs both receive and transmit sensory input. Learning at GC-SG synapses therefore cancels predictable EOD-evoked input at the level of narrow spikes, yielding a “cleaned-up” sensory signal in which predictable components are attenuated while unpredictable components (e.g. prey signals) are preserved. In this framework, SG cells enhance Output responses to unpredictable sensory input, whereas MG cells suppress Output responses to predictable input. F, Spike rate of ON (red) and OFF (blue) model Output cells after 4 minutes of cancelling the EOD-mimic for the different conditions described in Figure 6D: without any MG connectivity, which effectively restricts learning to the Output cells (dashed), with MG-Output connections to Output cells, and thus two-site learning, but no recurrence (dotted), and with both MG to Output and MG-MG recurrent connections (fully connected model, solid). Grey lines denote the initial response. G, Ratio of peak sensory-evoked firing (measured during the first second after turning the EOD mimic on) relative to their baseline (equilibrium) firing rate for broad spikes for individual MG+ cells (n = 43) and ON cells (n = 24). In Figure 6, population-averaged responses yielded a ratio of ~60:8 (MG+:ON), comparable to that obtained here (~100:12) from single cells. Boxplots show the median (centre line), 25th and 75th percentiles (box bounds), and minima and maxima of the non-outlier data (1.5× IQR from the box edges). H, Contribution of MG cells to the negative image in model Output cells after 4 minutes of learning (left two plots) and at equilibrium when the EOD is fully cancelled (right two plots). After 4 minutes, approximately 90% of the negative image in ON cells (red traces) arises from GC-MG plasticity, with an even larger contribution in OFF cells (blue traces). These results replicate prior experimental findings in which Output cell plasticity was blocked using intracellular current injections 8. At equilibrium, half of the negative image is contributed by MG input and half is from the direct GC input.

Extended Data Fig. 5. Sensory input pathways (related to Figures 2 & 3).

Extended Data Fig. 5.

A, Summary diagram of the sensory input pathways from EAFs to Output and MG cells (only connections >10% of total synapses to each cell type are shown). B, Pairwise cosine similarity of the input pattern per cell type for all cells in the analyses in Figure 3 and 4. Cosine similarity was calculated on the total number of input synapses to each postsynaptic cell from each presynaptic cell type (after within-cell normalization to the total number of synapses for each postsynaptic cell). Postsynaptic cells are ordered along the x and y axes according to their cell types, and cell types are ordered according to putative ON/OFF-type physiology (based on connectivity and/or in-vivo data from previous work). C, Data: The conditional input probability (without z-scoring applied) for all Output, MG, SG, SP−, and Gr+ cells represented in Figures 3 and 4. The color of each square represents the mean fraction (probability) of synapses from each presynaptic cell type (input) conditional on getting a synapse from a given presynaptic cell type (condition). Null: An example null model result (one of 100 iterations) used to calculate the z-score normalization of the observed (Data) conditional input probability matrix (see Methods). Cell types are grouped along the x and y axes according to their putative ON/OFF pathway associations. D, Histograms of presynaptic input location (relative to the ganglion-molecular layer boundary) for all inputs from each cell type. All cells used for the analyses in Figures 3 and 4 are included here.

Extended Data Fig. 6. Feedforward and recurrent connectivity of MG cells (related to Figure 4).

Extended Data Fig. 6.

See https://neuroglancer-demo.appspot.com/#!gs://efish-public/ng_states/Proofread_MG_Output_MGsyn.json for browsable renderings of all proofread and classified MG and Output cells along with the annotated MG postsynaptic target locations. A, Left: Conditional output analysis (applied to the 103 MG cells represented in Figure 5) shows the observed connectivity from MG cells to Output and other MG cells compared with that expected from random connectivity (see Methods). Each entry corresponds to the probability (z-score normalized) of synapsing on the postsynaptic cell type shown on the horizontal axis (output) given that the presynaptic MG cell makes at least one synapse to the postsynaptic cell type shown on the vertical axis (condition). Cell types are grouped along the x and y axes according to their known electrophysiological response types (ON/OFF). Two clusters (illustrated with dotted lines) are observed among the postsynaptic cell types, corresponding to the ON and OFF pathways. Middle (Data): The conditional output probability (without z-scoring applied) for all MG cells represented in Figure 5. The color of each square represents the mean fraction (probability) of an MG cell synapsing onto each postsynaptic cell type (output) conditional on synapsing onto a given postsynaptic cell type (condition). Right (Null): An example null model result (one of 100 iterations) used to calculate the z-score normalization of the observed (Data) conditional output probability matrix (see Methods). Cell types are grouped along the x and y axes according to their known electrophysiological response types (ON/OFF). B, Stacked histograms show the number of synapses onto individual Output and MG cells from different presynaptic cell types (indicated by colors) (n = 3347 synapses from 1002 MG, SG, SP−, Gr+, and EAF cells to the same 20 Output and MG cells represented in Figure 3E,F; 5003 total synapses were annotated, with 33% of those synapses from unclassified elements). Cells are ordered along the horizontal axis by the number of inputs from SG+ (decreasing) and then SG− (increasing). Pie charts show the fraction (and total number) of synapses from each presynaptic cell type onto all ON, OFF, MG+ and MG− cells represented in the bar graphs. C, Divergence and convergence of MG connectivity to all Output cells (n = 103 presynaptic MG cells and 87 Output cells) and to all MG cells (n = 93 presynaptic and 115 postsynaptic MG cells). Boxplots show the median (center line), 25th and 75th percentiles (box bounds), and minima and maxima of the non-outlier data (1.5× IQR from the box edges); outliers are shown as individual data points.

Extended Data Figure 7. Sensory cancellation in the model matches electrophysiological recording from MG and Output cells (related to Figure 5).

Extended Data Figure 7.

A, Schematic of the connectivity between MG and Output cells (left) and experiment timeline (see Results). B-C, Cancellation of the effects of turning on an EOD mimic (simulating a natural increase in EOD amplitude) on recorded (left) and model (right) neurons of various types. In the plot, 0 denotes the time of the EOD command. Responses are shown at equally-spaced time points from the start (dark) to the end (light) of the mimic on period. OFF cell spike rate (n = 55); OFF cell membrane potential (n = 13); MG− broad spike rate (n = 37); MG+ narrow spike rate (n = 24). Unlike broad spikes, narrow spikes rate is not driven to be constant but rather shows a modulated response to the corollary discharge input (black trace showing mean ± SEM of pre EOD-mimic response). Thus, the negative image transmitted by the narrow spikes is measured as the change from the response prior to turning the EOD mimic on 8. To match model to data, we added to the model the initial data response to the EOD mimic. D-E, Same display as above, but after turning off the EOD mimic (simulating a natural decrease in EOD amplitude) for spike rate in OFF (n = 32) and ON (n = 42) Output cells and broad spike rate in MG− (n = 20) and MG+ (n = 29) cells. For MG− cells, we show model results with and without MG recurrence to demonstrate that the strong response observed in the recorded MG− cells can be explained by strong recurrence between MG cells.

Extended Data Figure 8. Multiple sites of plasticity solve a continual learning problem (related to Figure 6).

Extended Data Figure 8.

A, Experimental time-course. B, Comparison of Output cell responses under different model conditions (black and brown) immediately after 10 minutes of noise consisting of random amplitude and polarity pulses delivered uncorrelated with the fish’s own EOD command. The EOD command occurs at time zero. The temporal structure of the effects of noise on Output cell responses observed in the model with GC-Output plasticity turned off (brown line), reflects the non-uniform temporal structure of the GC corollary discharge input (gray dashed line) 14. Figure 6B shows similar results for correlated noise. C, Evolution of model Output cell responses during 10 minutes of noise exposure under identical experimental conditions as in Figure 6B,C. D, Dynamics of the membrane potential of a model Output cell to excitatory GC input (grey) and inhibitory MG cell input during and after 100 minutes of noise exposure. Note that the changes in GC and MG synaptic input during the noise period oppose one another. Compare to Figure 6D. Because ON and OFF cells exhibit similar responses, results throughout this figure are averaged across ON and OFF cells. E, Dynamics of the firing rate of a model Output cell during and after 100 minutes of noise exposure with plasticity at both GC to Output and GC to MG cell synapses (black) or only at GC to MG cell synapses (brown). Compare to Figure 6E. F, Membrane potential modulation of Output cells immediately after 10 minutes of noise exposure as a function of strength of MG recurrence. Stronger recurrence results in reduced Output cell modulation. G, Peak firing rate of the model Output cells during and after 100 minutes of noise exposure with MG:Output synaptic strength of 0.5 (black trace), the value fitted to data, or strength of 1 (grey trace). Dotted horizontal lines denote equilibrium spike rate. H, Similar to G, but comparing different effective learning rates of Output cells. The black trace corresponds to a modeled ratio of sensory response to equilibrium firing of 8 (the value fitted to data) and the gray trace to a ratio of 16.

Extended Data Table 1:

Cell Types of the ELL.

Cell Type Subtype Previous Classification Terms Classification Criteria
Output Spiny apical dendrites in molecular layer; multipolar basal dendrites; axon exits volume
ON Large Fusiform Primary: soma in plexiform or granular layer; Secondary: soma fusiform shape
OFF Large Ganglion Primary: soma in ganglion layer; Secondary: soma round shape
Medium Ganglion (MG) Spiny apical dendrites in molecular layer; unipolar basal dendrites ramifying mostly in ganglion and plexiform layers; axon terminates within main cell layers (mostly ganglion and plexiform layer); clustered from SG using hierarchical clustering
MG+ MG Type 2, BS+ Axon ramifying in ganglion layer; Basal dendrite ramifying in plexiform layer
MG− MG Type 1, BS− Axon ramifying in plexiform and ganglion layer; Basal dendrite ramifying in ganglion layer
Small Ganglion (SG) Similar to MG, but smaller soma, less extensive spiny apical dendrites, and basal dendrites that can be multipolar and more likely to extend into granular layer; axon terminates within main cell layers (mostly ganglion and plexiform layer)
SG+ SG type 1 Axon ramifying in ganglion layer; Basal dendrite ramifying in plexiform layer (but many extend ventral into granular layer)
SG− SG type 2 Axon ramifying in plexiform and ganglion layer; Basal dendrite ramifying in ganglion layer (but many extend ventral into granular layer)
Small Plexiform (SP−) N/A Soma mostly in plexiform layer; smooth beaded apical dendrite (can extend into molecular layer); axon bifurcates with one termination zone in ganglion and molecular layer and one termination zone in plexiform and granular layer
Granular (Gr+) Granule Cell Soma in the granular layer; basal dendrites extend ventrally; axon extends dorsally toward the ganglion layer surface terminating mostly in ganglion layer, with some in plexiform and lower molecular
Granule Cell Axon (GC) Parallel Fibers; EGp granule cells Small fibers in the molecular layer running roughly parallel to the main cell layers of ELL; enters/exits into the volume at z=0 and enters/exits at z=3536 with no soma in the volume; Synapses on spines of spiny apical dendrites.
Molecular Layer Interneuron (MLI) Deep Molecular Layer Cells; Molecular Layer Interneurons Soma in the molecular layer; smooth beaded apical and basal dendrites
Unclassified (includes: other, unknown, from outside volume, glia) -- other: smooth apical dendrites, axon terminates within layers either locally or extending out of volume bounds in both z planes -- unknown: reconstruction could not be completed enough for identification or reconstructed cell was not morphologically well-developed into one of the main categories -- from outside volume: reconstruction could not be completed enough for identification or reconstructed cell was not morphologically well-developed into one of the main categories -- glia: processes filled the spaces between distinct cylindrical cell compartments of other cells; no synaptic boutons/transmitter

Supplementary Material

movie1
Download video file (56.8MB, mov)
movie2
Download video file (26.5MB, mov)
movie3
Download video file (114.1MB, mov)

Acknowledgments:

Thanks to R. Andon, M. Chklovskii, D. Friedman, H. Hailu, R. Loike, S. Sasson, J. Singh, and A. Vaisse for assistance with neuronal reconstructions.

Funding Statement:

This work was supported by grants from the National Institutes of Health (NIH NS075023 and NS118448) to N.B.S. and (U24NS109102, U19 NS104653, and UM1NS132250) to J.W.L. and from the Gatsby Foundation to LFA.

Footnotes

Declaration of interests: The authors declare no competing interests.

Data availability

Original data and/or segmentations for the EM dataset are available in browsable and API-accessible (precomputed) format (https://github.com/google/neuroglancer). The dedicated web page for this project (http://efish-public.storage.googleapis.com/index.html) provides the public Google Storage addresses for each component of the EM dataset. Processed data and supporting files needed to reproduce the published results are deposited in a public Zenodo repository (https://doi.org/10.5281/zenodo.19892261) 58. This repository contains any processed connectomics data, generated modeling data, electrophysiology data, and supporting files that have not been previously published.

Code availability

The dedicated web page for this project (http://efish-public.storage.googleapis.com/index.html) provides links to all code (written in Python, v3.8 and higher) used to analyze the segmented, agglomerated, and proofread EM datasets and all code (written in Matlab 2024b, MathWorks) necessary for implementing the models utilized in this study. All code not previously published (along with documentation) is available from the Github repository https://github.com/neurologic/efish_em_ELL and is additionally archived in the Zenodo repository (https://doi.org/10.5281/zenodo.19892261) 58. This Zenodo archive includes custom Python code used for dataset processing and analysis and custom MATLAB code used for modeling. All previously published code used is cited in the text.

References

  • 1.Marblestone AH, Wayne G & Kording KP Toward an Integration of Deep Learning and Neuroscience. Front Comput Neurosci 10, 94 (2016). 10.3389/fncom.2016.00094 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Richards BA et al. A deep learning framework for neuroscience. Nature Neuroscience 22, 1761–1770 (2019). 10.1038/s41593-019-0520-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Abbott LF & Nelson SB Synaptic plasticity: taming the beast. Nat. Neurosci 3, 1178–1183 (2000). [DOI] [PubMed] [Google Scholar]
  • 4.Doya K What are the computations of the cerebellum, the basal ganglia and the cerebral cortex? Neural Netw 12, 961–974 (1999). 10.1016/s0893-6080(99)00046-5 [DOI] [PubMed] [Google Scholar]
  • 5.Magee JC & Grienberger C Synaptic Plasticity Forms and Functions. Annu Rev Neurosci (2020). 10.1146/annurev-neuro-090919-022842 [DOI] [PubMed] [Google Scholar]
  • 6.Sawtell NB Neural Mechanisms for Predicting the Sensory Consequences of Behavior: Insights from Electrosensory Systems. Annu Rev Physiol 79, 381–399 (2017). 10.1146/annurev-physiol-021115-105003 [DOI] [PubMed] [Google Scholar]
  • 7.Bell C, Bodznick D, Montgomery J & Bastian J The generation and subtraction of sensory expectations within cerebellum-like structures. Brain, Behavior and Evolution 50, 17–31 (1997). [DOI] [PubMed] [Google Scholar]
  • 8.Muller SZ, Zadina AN, Abbott LF & Sawtell NB Continual learning in a multi-layer network in an electric fish. Cell 179, 1382–1392 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Muller SZ, Abbott L & Sawtell NB A mechanism for differential control of axonal and dendritic spiking underlying learning in a cerebellum-like circuit. Current Biology (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Briggman KL, Helmstaedter M & Denk W Wiring specificity in the direction-selectivity circuit of the retina. Nature 471, 183–188 (2011). [DOI] [PubMed] [Google Scholar]
  • 11.Hulse BK et al. A connectome of the Drosophila central complex reveals network motifs suitable for flexible navigation and context-dependent action selection. Elife 10 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Bell CC, Meek J & Yang JY Immunocytochemical identification of cell types in the mormyrid electrosensory lobe. J. Comp Neurol 483, 124–142 (2005). [DOI] [PubMed] [Google Scholar]
  • 13.Meek J, Grant K & Bell C Structural organization of the mormyrid electrosensory lateral line lobe. J. Exp. Biol 202, 1291–1300 (1999). [DOI] [PubMed] [Google Scholar]
  • 14.Kennedy A et al. A temporal basis for predicting the sensory consequences of motor commands in an electric fish. Nat. Neurosci 17, 416–422 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Enikolopov AG, Abbott LF & Sawtell NB Internally Generated Predictions Enhance Neural and Behavioral Detection of Sensory Stimuli in an Electric Fish. Neuron 99, 135–146 e133 (2018). 10.1016/j.neuron.2018.06.006 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Bell CC, Caputi A & Grant K Physiology and plasticity of morphologically identified cells in the mormyrid electrosensory lobe. J. Neurosci 17, 6409–6422 (1997). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Grant K et al. Projection neurons of the mormyrid electrosensory lateral line lobe:morphology, immunocytochemistry and synaptology. J. Comp. Neurol 375, 18–42 (1996). [DOI] [PubMed] [Google Scholar]
  • 18.Grant K, Sugawara S, Gomez L, Han VZ & Bell CC The Mormyrid Electrosensory Lobe In Vitro: Physiology and Pharmacology of Cells and Circuits. J. Neurosci 18, 6009–6025 (1998). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Meek J et al. Interneurons of the ganglionic layer in the mormyrid electrosensory lateral line lobe: morphology,immunocytochemistry,and synaptology. J. Comp. Neurol 375, 43–65 (1996). [DOI] [PubMed] [Google Scholar]
  • 20.Mohr C, Roberts PD & Bell CC Cells of the mormyromast region of the mormyrid electrosensory lobe: I. Responses to the electric organ corollary discharge and to electrosensory stimuli. J. Neurophysiol 90, 1193–1210 (2003). [DOI] [PubMed] [Google Scholar]
  • 21.Han VZ, Bell CC, Grant G & Sugawara Y Mormyrid electrosensory lobe in vitro: morphology of cells and circuits. Journal of Comparative Neurology 404, 359–374 (1999). [DOI] [PubMed] [Google Scholar]
  • 22.Bell CC, Han V & Sawtell NB Cerebellum-like structures and their implications for cerebellar function. Annu. Rev. Neurosci 31, 1–24 (2008). [DOI] [PubMed] [Google Scholar]
  • 23.Nelson ME Electric fish. Curr Biol 21, R528–529 (2011). 10.1016/j.cub.2011.03.045 [DOI] [PubMed] [Google Scholar]
  • 24.von der Emde G & Bleckmann H Finding food: senses involved in foraging for insect larvae in the electric fish gnathonemus petersii. J. Exp. Biol 201, 969–980 (1998). [DOI] [PubMed] [Google Scholar]
  • 25.Bell CC in Electroreception (eds Bullock TH & Heiligenberg W) 423–452 (John Wiley & Sons, Inc., 1986). [Google Scholar]
  • 26.Bell CC, Han VZ, Sugawara S & Grant K Synaptic plasticity in a cerebellum-like structure depends on temporal order. Nature 387, 278–281 (1997). [DOI] [PubMed] [Google Scholar]
  • 27.Han VZ, Grant G & Bell CC Reversible associative depression and nonassociative potentiation at a parallel fiber synapse. Neuron 27, 611–622 (2000). [DOI] [PubMed] [Google Scholar]
  • 28.Bell CC An efference copy modified by reafferent input. Science 214, 450–453 (1981). [DOI] [PubMed] [Google Scholar]
  • 29.Bell CC, Caputi A, Grant K & Serrier J Storage of a sensory pattern by anti-Hebbian synaptic plasticity in an electric fish. Proc. Nat. Acad. Sci 90, 4650–4654 (1993). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Roberts PD & Bell CC Computational consequences of temporally asymmetric learning rules: II. sensory image cancellation. J. Comput. Neurosci 9, 67–83 (2000). [DOI] [PubMed] [Google Scholar]
  • 31.Shapson-Coe A et al. A petavoxel fragment of human cerebral cortex reconstructed at nanoscale resolution. Science 384, eadk4858 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Januszewski M et al. High-precision automated reconstruction of neurons with flood-filling networks. Nature methods 15, 605–610 (2018). [DOI] [PubMed] [Google Scholar]
  • 33.Dorkenwald S et al. Automated synaptic connectivity inference for volume electron microscopy. Nature methods 14, 435–442 (2017). [DOI] [PubMed] [Google Scholar]
  • 34.Peters A & Palay SL The morphology of synapses. Journal of neurocytology 25, 687–700 (1996). [DOI] [PubMed] [Google Scholar]
  • 35.Perks KE & Sawtell NB Neural readout of a latency code in the active electrosensory system. Cell Rep 38, 110605 (2022). 10.1016/j.celrep.2022.110605 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Sawtell NB Multimodal integration in granule cells as a basis for associative plasticity and sensory prediction in a cerebellum-like circuit. Neuron 66, 573–584 (2010). [DOI] [PubMed] [Google Scholar]
  • 37.Bell CC, Finger TE & Russell CJ Central connections of the posterior lateral line lobe in mormyrid fish. Exp. Brain Res 42, 9–22 (1981). [DOI] [PubMed] [Google Scholar]
  • 38.Sawtell NB, Mohr C & Bell CC Recurrent feedback in the mormyrid electrosensory system: cells of the preeminential and lateral toral nuclei. J. Neurophysiol 93, 2090–2103 (2005). [DOI] [PubMed] [Google Scholar]
  • 39.Engelmann J, Wallach A & Maler L Linking active sensing and spatial learning in weakly electric fish. Current opinion in neurobiology 71, 1–10 (2021). [DOI] [PubMed] [Google Scholar]
  • 40.Bastian J Plasticity in an electrosensory system III: Contrasting properties of spatially segrated dendritic inputs. J. Neurophysiol 79, 1839–1857 (1998). [DOI] [PubMed] [Google Scholar]
  • 41.Bastian J, Chacron MJ & Maler L Plastic and nonplastic pyramidal cells perform unique roles in a network capable of adaptive redundancy reduction. Neuron 41, 767–779 (2004). [DOI] [PubMed] [Google Scholar]
  • 42.Hopkins C Lightning as background noise for communication among electric fish. Nature 242, 268–270 (1973). [Google Scholar]
  • 43.Hopkins CD in How Animals Communicate (ed Seboek T) 263–289 (Indiana University Press, 1977). [Google Scholar]
  • 44.Pedraja F & Sawtell NB Collective sensing in electric fish. Nature 628, 139–144 (2024). 10.1038/s41586-024-07157-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Russell CJ, Myers JP & Bell CC The echo response in Gnathonemus petersii. J. Comp. Physiol 92, 181–200 (1974). [Google Scholar]
  • 46.Gao Z, van Beugen BJ & De Zeeuw CI Distributed synergistic plasticity and cerebellar learning. Nat. Rev. Neurosci 13, 619–635 (2012). [DOI] [PubMed] [Google Scholar]
  • 47.Liao Z & Losonczy A Learning, fast and slow: Single-and many-shot learning in the hippocampus. Annual Review of Neuroscience 47 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Magee JC & Grienberger C Synaptic Plasticity Forms and Functions. Annu Rev Neurosci 43, 95–117 (2020). 10.1146/annurev-neuro-090919-022842 [DOI] [PubMed] [Google Scholar]
  • 49.Kirkpatrick J et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences 114, 3521–3526 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.McClelland JL, McNaughton BL & O’Reilly RC Why there are complementary learning systems in the hippocampus and neocortex: insights from the successes and failures of connectionist models of learning and memory. Psychological review 102, 419 (1995). [DOI] [PubMed] [Google Scholar]
  • 51.Fusi S, Drew PJ & Abbott LF Cascade models of synaptically stored memories. Neuron 45, 599–611 (2005). [DOI] [PubMed] [Google Scholar]
  • 52.Tremblay R, Lee S & Rudy B GABAergic interneurons in the neocortex: from cellular properties to circuits. Neuron 91, 260–292 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Freund TF & Buzsáki G Interneurons of the hippocampus. hippocampus 6, 347–470 (1996). [DOI] [PubMed] [Google Scholar]
  • 54.Couey JJ et al. Recurrent inhibitory circuitry as a mechanism for grid formation. Nature neuroscience 16, 318–324 (2013). [DOI] [PubMed] [Google Scholar]
  • 55.Rieubland S, Roth A & Häusser M Structured connectivity in cerebellar inhibitory networks. Neuron 81, 913–929 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Lackey EP et al. Specialized connectivity of molecular layer interneuron subtypes leads to disinhibition and synchronous inhibition of cerebellar Purkinje cells. Neuron 112, 2333–2348. e2336 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Radmilovich M et al. Post-hatching brain morphogenesis and cell proliferation in the pulse-type mormyrid Mormyrus rume proboscirostris. Journal of Physiology-Paris 110, 245–258 (2016). [DOI] [PubMed] [Google Scholar]

Methods References

  • 58.Perks K, Petkova M, Muller S, Genecin M, Ghatare A, Schalek R, Wu Y, Januszewski M, Jain V, Lichtman J, Abbott L, & Sawtell N. (Zenodo, 2026). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Hua Y, Laserstein P & Helmstaedter M Large-volume en-bloc staining for electron microscopy-based connectomics. Nature communications 6, 7923 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 60.Bacelo J, Engelmann J, Hollmann M, von der EG & Grant K Functional foveae in an electrosensory system. J. Comp Neurol 511, 342–359 (2008). [DOI] [PubMed] [Google Scholar]
  • 61.Kasthuri N et al. Saturated reconstruction of a volume of neocortex. Cell 162, 648–661 (2015). [DOI] [PubMed] [Google Scholar]
  • 62.Berger DR, Seung HS & Lichtman JW VAST (volume annotation and segmentation tool): efficient manual and semi-automatic labeling of large 3D image stacks. Frontiers in neural circuits 12, 88 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63.Zheng Z et al. Structured sampling of olfactory input by the fly mushroom body. Current Biology 32, 3334–3349. e3336 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64.Ganguly I, Heckman EL, Litwin-Kumar A, Clowney EJ & Behnia R Diversity of visual inputs to Kenyon cells of the Drosophila mushroom body. Nature Communications 15, 5698 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.Caron SJ, Ruta V, Abbott LF & Axel R Random convergence of olfactory inputs in the Drosophila mushroom body. Nature 497, 113–117 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 66.Dempsey C, Abbott LF & Sawtell NB Generalization of learned responses in the mormyrid electrosensory lobe. Elife 8 (2019). 10.7554/eLife.44032 [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

movie1
Download video file (56.8MB, mov)
movie2
Download video file (26.5MB, mov)
movie3
Download video file (114.1MB, mov)

Data Availability Statement

Original data and/or segmentations for the EM dataset are available in browsable and API-accessible (precomputed) format (https://github.com/google/neuroglancer). The dedicated web page for this project (http://efish-public.storage.googleapis.com/index.html) provides the public Google Storage addresses for each component of the EM dataset. Processed data and supporting files needed to reproduce the published results are deposited in a public Zenodo repository (https://doi.org/10.5281/zenodo.19892261) 58. This repository contains any processed connectomics data, generated modeling data, electrophysiology data, and supporting files that have not been previously published.

RESOURCES