Abstract
Mapping the brain's connectome requires high-throughput Electron Microscopy (EM), which often results in anisotropic data where depth resolution is significantly lower than planar resolution. This anisotropy poses a challenge for traditional segmentation methods, frequently leading to false merges between neural processes. We propose a 3D segmentation pipeline that utilizes a 3D U-Net trained with a topology-aware MALIS loss to predict voxel affinities, followed by a Z-watershed and hierarchical agglomeration. Our approach significantly outperforms 2D-to-3D linkage baselines, particularly in preserving thin neural structures like spine necks, while simultaneously reducing over- and under-segmentation errors.
Introduction
In connectomics, researchers aim to map the complex "wiring diagram" of the brain. While isotropic imaging is ideal for automatic segmentation, it is difficult to scale to the large volumes required for meaningful biological insights. Anisotropic methods, such as Multi-beam Scanning Electron Microscopy (MSEM), can capture much larger regions but produce data where the $z$-axis resolution is often 10x lower than the $x$ and $y$ axes.
This anisotropy creates a major hurdle: neural processes often appear to overlap or touch across sections, leading standard 3D algorithms to "merge" different neurons. Historically, researchers handled this by segmenting 2D slices and then linking them, but this often results in excessive over-segmentation, making manual correction labor-intensive.
Methods
We propose a three-stage pipeline designed to handle the "stretched" nature of anisotropic data:
- 3D Affinity Learning: A 3D U-Net is trained to predict "affinities"—the probability that two adjacent voxels belong to the same cell—in the $x, y,$ and $z$ directions. To preserve depth information, the architecture utilizes anisotropic pooling (pooling only in $x$ and $y$).
- MALIS Loss: Instead of standard pixel-wise loss, we employ the Maximum Likelihood Labeling of Segmentation (MALIS) loss. This topology-aware loss prioritizes "bottleneck" edges that are critical for preventing false merges or splits, focusing on the connectivity of the neuron.
- Z-Watershed & Agglomeration: Predicted affinities generate an initial 3D over-segmentation via a "Z-watershed" algorithm. This is followed by hierarchical agglomeration, where a separate classifier decides which segments to merge based on shared boundary features.
Key Results
The method was evaluated on Mouse Neocortex (MSEM) and Rat Visual Cortex (V1) datasets.
Quantitative Performance: Using the Variation of Information (VI) metric, the proposed pipeline demonstrated a significant reduction in both split and merge errors. When plotted as a difference from the baseline Rhoana pipeline and VD2D3D, the results consistently land in the first quadrant, indicating simultaneous improvement in both over-segmentation and under-segmentation.
Qualitative Tracing: A major success of the 3D affinity approach is its ability to trace spine necks—the extremely thin bridges connecting synapses to dendrites. Previous 2D-based methods often "snapped" these necks, leading to fragmented reconstructions. Our 3D approach maintains these connections reliably.
Conclusion
By shifting from 2D-slice-based processing to a direct 3D approach tuned for anisotropy, we significantly improve the accuracy of neural reconstructions. While manual proofreading is still required for 100% biological accuracy, this method reduces the error rate and manual effort involved. Future work will focus on improving the computational efficiency of 3D convolutions and refining the stitching process for massive data volumes.
Summary updated