An Error Detection and Correction Framework for Connectomics

Jonathan Zung, Ignacio Tartavull, Kisuk Lee, H. Sebastian SeungNeurIPS 2017

Mapping the intricate "wiring diagram" of the brain—a field known as connectomics—requires reconstructing individual neurons from massive volumes of 3D electron microscopy (EM) imagery. While modern artificial intelligence excels at finding the boundaries between cells, it is not infallible. Automated segmentations frequently suffer from two primary types of mistakes: split errors (where a single neuron is incorrectly broken into multiple pieces) and merge errors (where two distinct neurons are erroneously fused together).

Historically, rectifying these mistakes demanded thousands of hours of manual labor by human "tracers." As automated initial segmentation methods improve, finding the remaining errors becomes a daunting "needle in a haystack" problem. To address this, researchers at Princeton and MIT have developed a two-stage deep learning framework that automates the "proofreading" of 3D brain maps. By first detecting errors and then using those detections as "advice" to guide a correction network, this system significantly reduces reconstruction errors while drastically cutting down on computational and human labor.

A Two-Stage Modular Framework

The proposed solution relies on a modular framework consisting of two specialized 3D multiscale convolutional neural networks (CNNs): the Error Detector and the Error Corrector.

Illustration of the two-stage framework detecting and correcting split and merge errors.

1. The Error Detector: This network takes the raw EM image and a candidate object mask as input, producing an "error map" that highlights the locations of likely split or merge mistakes. Interestingly, the researchers found that the network could perform quite well using only the morphological shape of the mask, even without relying heavily on the raw EM image.

2. The Error Corrector (Object Mask Pruning): Instead of attempting to grow a neuron from scratch (a method known as "flood-filling"), the authors formulate correction as a pruning task. The network is provided with a "superset" mask—a mask guaranteed to contain the true object along with some errors—and is tasked with subtracting the voxels that do not belong. The correction network utilizes metric learning to produce a vector field where voxels belonging to the same object share similar vectors, allowing for a clean mathematical separation of merged objects.

3. The "Advice" Mechanism: The core innovation of this framework is the communication between the two networks. The detector provides "advice" to the corrector by creating a mask that represents the union of all segments flagged as erroneous. This advice mask narrows the corrector's focus, making the task of identifying the true object significantly easier and more computationally efficient.

Key Insights and Efficiency Gains

The framework was tested on a high-resolution dataset of a mouse primary visual cortex (V1) provided by the Allen Institute for Brain Science. The dataset featured a resolution of 3.6 x 3.6 x 40 nm per voxel, with training and testing volumes totaling over 2.3 billion voxels (Gvoxels). Creating the "gold standard" ground truth for this dataset originally required approximately 560 hours of expert human tracing.

Several key insights drove the success of the model:

  • Detection is easier than Correction: Humans can often visually identify that a neuron's shape looks "wrong" (e.g., an axon suddenly ending in a blunt stump) without knowing exactly how to fix it. The authors leveraged this intuition by training the detector to exploit these morphological cues.
  • Pruning vs. Growing: In the sparse, complex environment of brain tissue, an upper bound (a mask that is "too big") is often more informative than a lower bound. Pruning down from a superset is computationally more efficient than searching unconstrained space to add new parts.
  • Selective Application: By using the detector as a gatekeeper, the computationally expensive correction process only needs to be run on about 10% of the volume.

Results and Future Directions

The framework demonstrated a major leap over baseline automated segmentations. The error detector achieved over 90% precision and recall simultaneously. In the test volume, the baseline segmentation contained 944 errors; the "With Advice" framework reduced this to just 305 errors—a nearly 70% reduction. Furthermore, the system proved highly efficient, processing a large 2048 x 2048 x 256 volume in under 100 minutes on a single GPU.

While highly effective, the current algorithm operates on "supervoxels" (small clusters of voxels from an initial watershed). If an error exists inside a single supervoxel, the framework cannot currently fix it. Future work may explore data augmentation techniques—such as "mutilating" ground truth data to create synthetic errors—to provide a virtually unlimited training set. Additionally, the researchers suggest that future versions could involve co-training the detector and corrector simultaneously, akin to the architecture of Generative Adversarial Networks (GANs). In the meantime, the error detector can immediately be deployed in a "human-in-the-loop" setup, pointing human proofreaders to the most likely mistake locations and making manual tracing vastly more efficient.

Summary updated

BibTeX
@inproceedings{zung2017error,
  author = {Jonathan Zung and Ignacio Tartavull and Kisuk Lee and H. Sebastian Seung},
  title = {{An Error Detection and Correction Framework for Connectomics}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
}
Figure