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)65. This repository contains any processed connectomics data, generated modelling data, electrophysiology data and supporting files that have not been previously published. Source data are provided with this paper.
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, v.3.8 and higher) used to analyse the segmented, agglomerated and proofread EM datasets and all code (written in Matlab 2024b, MathWorks) necessary for implementing the models used in this study. All code not previously published (along with documentation) is available from GitHub (https://github.com/neurologic/efish_em_ELL) and is additionally archived in Zenodo (https://doi.org/10.5281/zenodo.19892261)65. This Zenodo archive includes custom Python code used for dataset processing and analysis and custom MATLAB code used for modelling. All previously published code used is cited in the text.
References
Marblestone, A. H., Wayne, G. & Kording, K. P. Toward anintegration of deep learning and neuroscience. Front Comput. Neurosci. 10, 94 (2016).
Article PubMed PubMed Central Google Scholar
Richards, B. A. et al. A deep learning framework for neuroscience. Nat. Neurosci. 22, 1761–1770 (2019).
Article CAS PubMed PubMed Central Google Scholar
Abbott, L. F. & Nelson, S. B. Synaptic plasticity: taming the beast. Nat. Neurosci. 3, 1178–1183 (2000).
Article CAS PubMed Google Scholar
Doya, K. What are the computations of the cerebellum, the basal ganglia and the cerebral cortex? Neural Netw. 12, 961–974 (1999).
Article CAS PubMed Google Scholar
Magee, J. C. & Grienberger, C. Synaptic plasticity forms and functions. Annu. Rev. Neurosci. 43, 95–117 (2020).
Article CAS PubMed Google Scholar
Sawtell, N. B. Neural mechanisms for predicting the sensory consequences of behavior: insights from electrosensory systems. Annu. Rev. Physiol. 79, 381–399 (2017).
Article CAS PubMed Google Scholar
Bell, C., Bodznick, D., Montgomery, J. & Bastian, J. The generation and subtraction of sensory expectations within cerebellum-like structures. Brain Behav. Evol. 50, 17–31 (1997).
PubMed Google Scholar
Muller, S. Z., Zadina, A. N., Abbott, L. F. & Sawtell, N. B. Continual learning in a multi-layer network of an electric fish. Cell 179, 1382–1392 (2019).
Article CAS PubMed PubMed Central Google Scholar
Muller, S. Z., Abbott, L. F. & Sawtell, N. B. A mechanism for differential control of axonal and dendritic spiking underlying learning in a cerebellum-like circuit. Curr. Biol. 33, 2657–2667 (2023).
Article CAS PubMed PubMed Central Google Scholar
Briggman, K. L., Helmstaedter, M. & Denk, W. Wiring specificity in the direction-selectivity circuit of the retina. Nature 471, 183–188 (2011).
Article ADS CAS PubMed Google Scholar
Hulse, B. K. et al. A connectome of the Drosophila central complex reveals network motifs suitable for flexible navigation and context-dependent action selection. eLife 10, e66039 (2021).
Article PubMed PubMed Central Google Scholar
Bell, C. C., Meek, J. & Yang, J. Y. Immunocytochemical identification of cell types in the mormyrid electrosensory lobe. J. Comp. Neurol. 483, 124–142 (2005).
Article PubMed Google Scholar
Meek, J., Grant, K. & Bell, C. Structural organization of the mormyrid electrosensory lateral line lobe. J. Exp. Biol. 202, 1291–1300 (1999).
Article CAS PubMed Google Scholar
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).
Article CAS PubMed PubMed Central Google Scholar
Enikolopov, A. G., Abbott, L. F. & Sawtell, N. B. Internally generated predictions enhance neural and behavioral detection of sensory stimuli in an electric fish. Neuron 99, 135–146.e3 (2018).
Article CAS PubMed PubMed Central Google Scholar
Bell, C. C., Caputi, A. & Grant, K. Physiology and plasticity of morphologically identified cells in the mormyrid electrosensory lobe. J. Neurosci. 17, 6409–6423 (1997).
Article CAS PubMed PubMed Central Google Scholar
Grant, K. et al. Projection neurons of the mormyrid electrosensory lateral line lobe: morphology, immunohistochemistry, and synaptology. J. Comp. Neurol. 375, 18–42 (1996).
Article CAS PubMed Google Scholar
Grant, K., Sugawara, S., Gomez, L., Han, V. Z. & Bell, C. C. The mormyrid electrosensory lobe in vitro: physiology and pharmacology of cells and circuits. J. Neurosci. 18, 6009–6025 (1998).
Article CAS PubMed PubMed Central Google Scholar
Meek, J. et al. Interneurons of the ganglionic layer in the mormyrid electrosensory lateral line lobe: morphology, immunohistochemistry, and synaptology. J. Comp. Neurol. 375, 43–65 (1996).
Article CAS PubMed Google Scholar
Mohr, C., Roberts, P. D. & Bell, C. C. 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).
Article PubMed Google Scholar
Han, V. Z., Bell, C. C., Grant, G. & Sugawara, Y. Mormyrid electrosensory lobe in vitro: morphology of cells and circuits. J. Comp. Neurol. 404, 359–374 (1999).
Article CAS PubMed Google Scholar
Bell, C. C., Han, V. & Sawtell, N. B. Cerebellum-like structures and their implications for cerebellar function. Annu. Rev. Neurosci. 31, 1–24 (2008).
Article CAS PubMed Google Scholar
Nelson, M. E. Electric fish. Curr. Biol. 21, R528–R529 (2011).
Article CAS PubMed Google Scholar
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).
Article PubMed Google Scholar
Bell, C. C. in Electroreception (eds Bullock, T. H. & Heiligenberg, W.) 423–452 (Wiley, 1986).
Bell, C. C., Han, V. Z., Sugawara, Y. & Grant, K. Synaptic plasticity in a cerebellum-like structure depends on temporal order. Nature 387, 278–281 (1997).
Article ADS CAS PubMed Google Scholar
Han, V. Z., Grant, K. & Bell, C. C. Reversible associative depression and nonassociative potentiation at a parallel fiber synapse. Neuron 27, 611–622 (2000).
Article CAS PubMed Google Scholar
Bell, C. C. An efference copy which is modified by reafferent input. Science 214, 450–453 (1981).
Article ADS CAS PubMed Google Scholar
Bell, C. C., Caputi, A., Grant, K. & Serrier, J. Storage of a sensory pattern by anti-Hebbian synaptic plasticity in an electric fish. Proc. Natl Acad. Sci. USA 90, 4650–4654 (1993).
Article ADS CAS PubMed PubMed Central Google Scholar
Roberts, P. D. & Bell, C. C. Computational consequences of temporally asymmetric learning rules: II. sensory image cancellation. J. Comput. Neurosci. 9, 67–83 (2000).
Article CAS PubMed Google Scholar
Shapson-Coe, A. et al. A petavoxel fragment of human cerebral cortex reconstructed at nanoscale resolution. Science 384, eadk4858 (2024).
Article CAS PubMed PubMed Central Google Scholar
Januszewski, M. et al. High-precision automated reconstruction of neurons with flood-filling networks. Nat. Methods 15, 605–610 (2018).
Article CAS PubMed Google Scholar
Dorkenwald, S. et al. Automated synaptic connectivity inference for volume electron microscopy. Nat. Methods 14, 435–442 (2017).
Article CAS PubMed Google Scholar
Peters, A. & Palay, S. L. The morphology of synapses. J. Neurocytol. 25, 687–700 (1996).
Article CAS PubMed Google Scholar
Perks, K. E. & Sawtell, N. B. Neural readout of a latency code in the active electrosensory system. Cell Rep. 38, 110605 (2022).
Article CAS PubMed PubMed Central Google Scholar
Sawtell, N. B. Multimodal integration in granule cells as a basis for associative plasticity and sensory prediction in a cerebellum-like circuit. Neuron 66, 573–584 (2010).
Article CAS PubMed Google Scholar
Bell, C. C., Finger, T. E. & Russell, C. J. Central connections of the posterior lateral line lobe in mormyrid fish. Exp. Brain Res. 42, 9–22 (1981).
Article CAS PubMed Google Scholar
Sawtell, N. B., Mohr, C. & Bell, C. C. Recurrent feedback in the mormyrid electrosensory system: cells of the preeminential and lateral toral nuclei. J. Neurophysiol. 93, 2090–2103 (2005).
Article PubMed Google Scholar
Engelmann, J., Wallach, A. & Maler, L. Linking active sensing and spatial learning in weakly electric fish. Curr. Opin. Neurobiol. 71, 1–10 (2021).
Article CAS PubMed Google Scholar
Bastian, J. Plasticity in an electrosensory system. III. Contrasting properties of spatially segregated dendritic inputs. J. Neurophysiol. 79, 1839–1857 (1998).
Article CAS PubMed Google Scholar
Bastian, J., Chacron, M. J. & Maler, L. Plastic and nonplastic pyramidal cells perform unique roles in a network capable of adaptive redundancy reduction. Neuron 41, 767–779 (2004).
Article CAS PubMed Google Scholar
Hopkins, C. D. Lightning as background noise for communication among electric fish. Nature 242, 268–270 (1973).
Article ADS Google Scholar
Hopkins, C. D. in How Animals Communicate (ed. Sebeok, T.) 263–289 (Indiana Univ. Press, 1977).
Pedraja, F. & Sawtell, N. B. Collective sensing in electric fish. Nature 628, 139–144 (2024).
Article ADS CAS PubMed PubMed Central Google Scholar
Russell, C. J., Myers, J. P. & Bell, C. C. The echo response in Gnathonemus petersii (Mormyridae). J. Comp. Physiol. 92, 181–200 (1974).
Article Google Scholar
Gao, Z., van Beugen, B. J. & De Zeeuw, C. I. Distributed synergistic plasticity and cerebellar learning. Nat. Rev. Neurosci. 13, 619–635 (2012).
Article CAS PubMed Google Scholar
Liao, Z. & Losonczy, A. Learning, fast and slow: single- and many-shot learning in the hippocampus. Annu. Rev. Neurosci. 47, 187–209 (2024).
Article CAS PubMed PubMed Central Google Scholar
Kirkpatrick, J. et al. Overcoming catastrophic forgetting in neural networks. Proc. Natl Acad. Sci. USA 114, 3521–3526 (2017).
Article ADS MathSciNet CAS PubMed PubMed Central Google Scholar
McClelland, J. L., McNaughton, B. L. & O’Reilly, R. C. Why there are complementary learning systems in the hippocampus and neocortex: insights from the successes and failures of connectionist models of learning and memory. Psychol. Rev. 102, 419–457 (1995).
Article PubMed Google Scholar
Fusi, S., Drew, P. J. & Abbott, L. F. Cascade models of synaptically stored memories. Neuron 45, 599–611 (2005).
Article CAS PubMed Google Scholar
Tremblay, R., Lee, S. & Rudy, B. GABAergic interneurons in the neocortex: from cellular properties to circuits. Neuron 91, 260–292 (2016).
Article CAS PubMed PubMed Central Google Scholar
Freund, T. F. & Buzsáki, G. Interneurons of the hippocampus. Hippocampus 6, 347–470 (1996).
Article CAS PubMed Google Scholar
Couey, J. J. et al. Recurrent inhibitory circuitry as a mechanism for grid formation. Nat. Neurosci. 16, 318–324 (2013).
Article CAS PubMed Google Scholar
Rieubland, S., Roth, A. & Häusser, M. Structured connectivity in cerebellar inhibitory networks. Neuron 81, 913–929 (2014).
Article CAS PubMed PubMed Central Google Scholar
Lackey, E. P. et al. Specialized connectivity of molecular layer interneuron subtypes leads to disinhibition and synchronous inhibition of cerebellar Purkinje cells. Neuron 112, 2333–2348.e6 (2024).
Article CAS PubMed PubMed Central Google Scholar
Radmilovich, M. et al. Post-hatching brain morphogenesis and cell proliferation in the pulse-type mormyrid Mormyrus rume proboscirostris. J. Physiol. Paris 110, 245–258 (2016).
Article PubMed Google Scholar
Hua, Y., Laserstein, P. & Helmstaedter, M. Large-volume en-bloc staining for electron microscopy-based connectomics. Nat. Commun. 6, 7923 (2015).
Article ADS CAS PubMed PubMed Central Google Scholar
Bacelo, J., Engelmann, J., Hollmann, M., von der Emde, G. & Grant, K. Functional foveae in an electrosensory system. J. Comp. Neurol. 511, 342–359 (2008).
Article PubMed Google Scholar
Kasthuri, N. et al. Saturated reconstruction of a volume of neocortex. Cell 162, 648–661 (2015).
Article ADS CAS PubMed Google Scholar
Berger, D. R., Seung, H. S. & Lichtman, J. W. VAST (volume annotation and segmentation tool): efficient manual and semi-automatic labeling of large 3D image stacks. Front. Neural Circuits 12, 88 (2018).
Article PubMed PubMed Central Google Scholar
Zheng, Z. et al. Structured sampling of olfactory input by the fly mushroom body. Curr. Biol. 32, 3334–3349.e6 (2022).
Article CAS PubMed PubMed Central Google Scholar
Ganguly, I., Heckman, E. L., Litwin-Kumar, A., Clowney, E. J. & Behnia, R. Diversity of visual inputs to Kenyon cells of the Drosophila mushroom body. Nat. Commun. 15, 5698 (2024).
Article ADS CAS PubMed PubMed Central Google Scholar
Caron, S. J. C., Ruta, V., Abbott, L. F. & Axel, R. Random convergence of olfactory inputs in the Drosophila mushroom body. Nature 497, 113–117 (2013).
Article ADS CAS PubMed PubMed Central Google Scholar
Dempsey, C., Abbott, L. F. & Sawtell, N. B. Generalization of learned responses in the mormyrid electrosensory lobe. eLife 8, e44032 (2019).
Article PubMed PubMed Central Google Scholar
Perks, K. et al. Connectome analysis of a cerebellum-like circuit for sensory prediction. Zenodo https://doi.org/10.5281/zenodo.19892261 (2026).
Download references
Acknowledgements
We thank R. Andon, M. Chklovskii, D. Friedman, H. Hailu, R. Loike, S. Sasson, J. Singh and A. Vaisse for assistance with neuronal reconstructions.
Funding
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 the Gatsby Foundation (to L.F.A.).
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature thanks Leonard Maler and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Extended data figures and tables
Extended Data Fig. 1 ELL sample preparation and EM data examples.
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 × 4 nm × 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). Related to Fig. 1.
Extended Data Fig. 2 Morphological characterization of ELL cell types.
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. Related to Fig. 1.
Extended Data Fig. 3 The granule cell input pathway.
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 Fig. 4 Effects of synaptic connectivity on sensory cancellation.
A, Absolute peak membrane potential (relative to baseline) of ON (red) and OFF (blue) model Output cells during the first 4 min 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 min 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 min 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 min 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 min of cancelling the EOD-mimic for the different conditions described in Fig. 5d: 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 Fig. 5, 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 min of learning (left two plots) and at equilibrium when the EOD is fully cancelled (right two plots). After 4 min, 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 injections8. At equilibrium, half of the negative image is contributed by MG input and half is from the direct GC input. Related to Fig. 5.
Extended Data Fig. 5 Sensory input pathways.
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 Figs. 2 and 3. 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 Figs. 2 and 3. 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 Figs. 2 and 3 are included here.
Extended Data Fig. 6 Feedforward and recurrent connectivity of MG cells.
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 Fig. 4) 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 Fig. 4. 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 Fig. 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. Related to Fig. 4.
Extended Data Fig. 7 Sensory cancellation in the model matches electrophysiological recording from MG and Output cells.
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 on8. 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. Related to Fig. 5.
Extended Data Fig. 8 Multiple sites of plasticity solve a continual learning problem.
A, Experimental time-course. B, Comparison of Output cell responses under different model conditions (black and brown) immediately after 10 min 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 min of noise exposure under identical experimental conditions as in Fig. 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 min of noise exposure. Note that the changes in GC and MG synaptic input during the noise period oppose one another. Compare to Fig. 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 min 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 Fig. 6e. F, Membrane potential modulation of Output cells immediately after 10 min 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 min 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. Related to Fig. 6.
Full size table
Supplementary information
Source data
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
Reprints and permissions
About this article
Cite this article
Perks, K.E., Petkova, M.D., Muller, S.Z. et al. Connectome analysis of a cerebellum-like circuit for sensory prediction. Nature (2026). https://doi.org/10.1038/s41586-026-10690-6
Download citation
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41586-026-10690-6