Fast Mitochondria Segmentation for Connectomics

Vincent Casser, Kai Kang, Hanspeter Pfister, Daniel HaehnarXiv 2018

Abstract

High-resolution connectomics data allows for the identification of dysfunctional mitochondria which are linked to a variety of diseases such as autism or bipolar. However, manual analysis is not feasible since datasets can be petabytes in size. We present a fully automatic mitochondria detector based on a modified U-Net architecture that yields high accuracy and fast processing times. We evaluate our method on multiple real-world connectomics datasets, including an improved version of the EPFL mitochondria benchmark. Our results show an Jaccard index of up to 0.90 with inference times lower than 16ms for a 512x512px image tile. This speed is faster than the acquisition speed of modern electron microscopes, enabling mitochondria detection in real-time. Our detector ranks first for real-time detection when compared to previous works and data, results, and code are openly available.

Introduction

In the field of connectomics, scientists use high-resolution electron microscopy (EM) to map the brain's intricate wiring. Identifying mitochondria within these images is vital, as their dysfunction is linked to disorders like autism, diabetes, and bipolar disorder. However, these datasets are massive—often reaching petabytes—making manual annotation impossible.

The primary challenge is twofold:

  1. Processing Speed: Modern microscopes acquire data at roughly 11 Megapixels per second (MP/s). Existing high-accuracy detection methods are often too slow to keep up, creating a massive processing bottleneck.
  2. Data Quality: The "gold standard" benchmark datasets, such as the EPFL Hippocampus dataset, contain numerous boundary inconsistencies and misclassifications, which can mislead machine learning models and skew performance metrics.

Methodology

To address these challenges, we propose a streamlined 2D U-Net specifically optimized for speed and efficiency. Key modifications to the standard U-Net architecture include:

  • Parameter Reduction: By reducing the number of convolutional filters, we achieved a 94% reduction in encoder parameters and a 93.6% reduction in decoder parameters compared to the original U-Net.
  • Bilinear Upsampling: We replaced computationally expensive transpose convolutions with light-weight bilinear upsampling layers.
  • Full-Resolution Output: We replaced the original U-Net's center-cropping with padding, allowing the model to output dense predictions at the same resolution as the input (512x512 pixels).
  • Z-Filtering: While the model operates on 2D slices to maintain speed, we optionally apply a median filter across the Z-dimension (depth) during post-processing to ensure biological consistency across the 3D stack.

Datasets and Refinement

The study utilizes three main datasets, including two newly refined benchmarks to address existing data quality issues:

  • EPFL Hippocampus: The original de facto standard benchmark.
  • Lucchi++: A re-annotated version of the EPFL dataset. Experts spent over 30 hours correcting boundary inconsistencies and misclassifications in the original ground truth.
  • Kasthuri++: A re-annotated version of the mouse neocortex dataset from Kasthuri et al. (2015), providing more consistent labels for training and evaluation.
Comparison between original labels (a) and the refined Lucchi++ labels (b). Yellow boxes highlight corrected misclassifications.

Results and Discussion

Our optimized model demonstrates that a much smaller network can learn the task just as effectively as larger ones. We discovered that in the standard U-Net, roughly 33.53% of ReLU activations were "dead" (permanently inactive) for this task. Our model reached 99.7% utilization.

Performance Metrics

  • Inference Speed: The model processes a 512x512 pixel tile in less than 16ms.
  • Throughput: It achieves a throughput of 15–35 MP/s on a consumer-grade GPU, comfortably outperforming the 11 MP/s acquisition speed of modern microscopes.
  • Accuracy: The model achieved a Jaccard index (IoU) of up to 0.90.
  • Ranking: It ranks first among all real-time capable methods on the EPFL benchmark and third overall, even when compared to much slower, offline methods.

By sticking to 2D image slices, the system avoids the computationally expensive 3D pre-alignment required by many volumetric methods, allowing for immediate processing after image acquisition.

Conclusion

This work presents a lightweight, modified U-Net architecture capable of detecting mitochondria in EM images in real-time. By drastically reducing model parameters and improving benchmark datasets, we achieved state-of-the-art speed without sacrificing segmentation accuracy. While the 2D approach is exceptionally fast, it does lose some volumetric context compared to true 3D CNNs. Future iterations could further increase throughput and potentially integrate more sophisticated 3D stack alignment that incorporates biological priors.

Summary updated

BibTeX
@misc{casser2018fast,
  author = {Vincent Casser and Kai Kang and Hanspeter Pfister and Daniel Haehn},
  title = {{Fast Mitochondria Segmentation for Connectomics}},
  year = {2018},
  eprint = {1812.06024},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.06024},
}
Figure