Automatic Detection of Synaptic Partners in a Whole-Brain Drosophila EM Dataset

Julia Buhmann, Arlo Sheridan, Stephan Gerhard, Renate Krause, Tri Nguyen, Larissa Heinrich, Philipp Schlegel, Wei-Chung Allen Lee, Rachel I. Wilson, Stephan Saalfeld, Gregory S.x.e. Jefferis, Davi D. Bock, Srinivas C. Turaga, Matthew Cook, Jan FunkebioRxiv 2019 · DOI

TL;DR

This paper introduces a novel deep learning method for automatically identifying synaptic connections between neurons in large-scale electron microscopy datasets. By training a convolutional neural network on human-annotated synaptic sites, they can predict millions of connections in the entire fruit fly brain, paving the way for more efficient and comprehensive connectome reconstruction.

What Problem Does This Paper Address?

Understanding neural circuits requires mapping out all the neurons and, crucially, how they communicate with each other via synapses. Electron microscopy (EM) provides the necessary resolution to see these connections, but the sheer volume of data from a whole brain is immense. Manually tracing neurons and identifying every synapse is an incredibly time-consuming bottleneck, taking years of collaborative effort. While previous work has focused on automating neuron segmentation, identifying the actual synaptic connections between these segmented neurons has remained a significant challenge, especially in complex insect brains where synapses can be polyadic (one presynaptic site connecting to multiple postsynaptic sites). This paper aims to bridge this gap by providing an automated method for synaptic partner identification that can scale to whole-brain datasets.

Methods

The core of the method is a 3D U-Net convolutional neural network (CNN). Instead of directly detecting synapse features like T-bars or clefts, the CNN is trained to predict two things for each voxel:

  1. Post-synaptic site mask (m): A probability map indicating whether a voxel is part of a post-synaptic site.
  2. Offset vector field (d): For voxels identified as post-synaptic sites, this field provides a 3D vector pointing towards the corresponding pre-synaptic site.

This approach is novel because it directly infers connectivity from point annotations of pre- and post-synaptic locations, bypassing the need for explicit synapse feature detection and, importantly, not requiring a complete neuron segmentation for training. The network can be trained using only human-generated point annotations of synaptic sites. After prediction, simple post-processing steps are used to extract putative synaptic connections. They explored different network architectures (single-task vs. multi-task U-Nets) and training strategies, including curriculum learning to handle the extreme class imbalance of sparse synaptic sites in EM data.

Datasets

  • Training Data: The CREMI challenge dataset was used for training and initial model validation. This dataset consists of three 5x5x5 µm cubes from the calyx region of the FAFB volume, with fully annotated synaptic partners.
  • Evaluation Data:
    • Synapse-Complete Datasets: Six datasets from four different brain regions (calyx, lateral horn, ellipsoid body, protocerebral bridge) were used. These include datasets with complete annotations for input/output synapses of specific neurons (e.g., INCALYX, OUTLH, INOUTEB, INOUTPB) and datasets with complete connectivity information between pairs of neurons (e.g., PAIRCALYX, PAIRLH).
  • FAFB Dataset: The entire 50-teravoxel full adult fly brain (FAFB) EM dataset was processed to extract 244 million putative synaptic partners.

Key Insights and Ideas

  • Direct Synaptic Partner Prediction: The method bypasses the traditional two-step approach (detecting synapse features, then classifying connections) by directly predicting post-synaptic sites and their corresponding pre-synaptic partners. This simplifies the pipeline and reduces reliance on intermediate feature detection.
  • Annotation Efficiency: Training solely on point annotations of pre- and post-synaptic sites significantly reduces the annotation effort required for future datasets, making large-scale connectomics more feasible.
  • Segmentation Independence (for training): The ability to train without a complete neuron segmentation is a major advantage, as segmentation itself is a challenging task. This allows for more flexible workflows and the potential to improve accuracy by simply swapping in a better segmentation for post-processing.
  • Polyadic Synapse Handling: The representation of synapses as pairs of voxels (s, t) is well-suited for polyadic synapses, where one presynaptic site can connect to multiple postsynaptic sites, a common feature in Drosophila.
  • Curriculum Learning for Sparsity: The success in handling the extreme sparsity of synaptic sites in EM data through curriculum learning highlights its importance for training robust models on such datasets.

Key Results

  • Large-Scale Prediction: The method successfully processed the entire FAFB dataset, predicting 244 million putative synaptic partners.
  • High Accuracy on Validation: On the CREMI validation set, the best model achieved an f-score of 0.74 without neuron segmentation post-processing, and 0.76 with it.
  • Connectome Inference Accuracy: When used to infer connectivity graphs, the predicted connections achieved 92-96% accuracy in classifying edges as weak (less than 5 synapses) or strong (5 or more synapses).
  • Performance on Synapse-Complete Neurons: For whole-brain datasets, f-scores ranged from 0.59 to 0.73, with higher scores in regions closer to the training data (calyx). Adding synaptic cleft predictions as a score improved performance slightly.
  • Edge Accuracy: For pair-complete datasets, edge accuracy was high, reaching 0.96 for PAIRCALYX and 0.92 for PAIRLH at a threshold of 5 synapses. This significantly outperformed a neuron-proximity baseline.
  • Qualitative Agreement: Predicted synaptic site distributions along neuron skeletons generally matched ground-truth, especially in more complex brain regions.

Limitations and Future Work

  • Synapse Type Bias: The model is better suited for detecting one-to-many synapses and may struggle with the rarer many-to-one synapses. Future work aims to capture these more complex configurations.
  • Neuron Segmentation Dependence (for evaluation/mapping): While training doesn't require segmentation, mapping predicted synapses to skeletons for evaluation and analysis does. The accuracy of the final connectome is thus dependent on the quality of the neuron segmentation.
  • Regional Variation: Performance decreased in brain regions farther from the calyx (where training data was sourced), suggesting that synapse phenotypes are not uniform across the brain. This indicates a need for more diverse training datasets.
  • Annotation Ambiguity: The CREMI metric, used for evaluation, is sensitive to errors in neuron segmentation and ambiguous manual annotations, meaning the reported f-scores are likely lower bounds for the synaptic partner prediction accuracy itself.
  • Future Work:
    • Training on more diverse datasets to capture regional synapse variations.
  • Improving neuron segmentation quality, especially near synaptic sites, to enhance mapping accuracy.
  • Developing methods to better handle many-to-one synapses.
  • Incorporating error estimates into downstream connectome analysis.
  • Publicly releasing predictions and a query library for community use.

Summary updated

Abstract

Abstract The study of neural circuits requires the reconstruction of neurons and the identification of synaptic connections between them. To scale the reconstruction to the size of whole-brain datasets, semi-automatic methods are needed to solve those tasks. Here, we present an automatic method for synaptic partner identification in insect brains, which uses convolutional neural networks to identify post-synaptic sites and their pre-synaptic partners. The networks can be trained from human generated point annotations alone and require only simple post-processing to obtain final predictions. We used our method to extract 244 million putative synaptic partners in the fifty-teravoxel full adult fly brain (FAFB) electron microscopy (EM) dataset and evaluated its accuracy on 146,643 synapses from 702 neurons with a total cable length of 312 mm in four different brain regions. The predicted synaptic connections can be used together with a neuron segmentation to infer a connectivity graph with high accuracy: between 92% and 96% of edges linking connected neurons are correctly classified as weakly connected (less than five synapses) and strongly connected (at least five synapses). Our synaptic partner predictions for the FAFB dataset are publicly available, together with a query library allowing automatic retrieval of up- and downstream neurons.
BibTeX
@misc{buhmann2019automatic,
  author = {Julia Buhmann and Arlo Sheridan and Stephan Gerhard and Renate Krause and Tri Nguyen and Larissa Heinrich and Philipp Schlegel and Wei-Chung Allen Lee and Rachel I. Wilson and Stephan Saalfeld and Gregory S.X.E. Jefferis and Davi D. Bock and Srinivas C. Turaga and Matthew Cook and Jan Funke},
  title = {{Automatic Detection of Synaptic Partners in a Whole-Brain <i>Drosophila</i> EM Dataset}},
  year = {2019},
  doi = {10.1101/2019.12.12.874172},
  howpublished = {bioRxiv},
}
Figure