Electron Microscopy Images as Set of Fragments for Mitochondrial Segmentation

Naisong Luo, Rui Sun, Yuwen Pan, Tianzhu Zhang, Feng Wu

Abstract

Accurate 3D segmentation of mitochondria in electron microscopy (EM) images is crucial for understanding cellular physiology and neurodegenerative diseases. Traditional deep learning methods, including 3D Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs), typically operate on rigid rectangular grids. This constraint often leads to "cluttered semantics," where a single patch contains both foreground and background elements, resulting in blurry boundaries. We present FragViT (Fragment Vision Transformer), which treats EM images as a set of irregularly shaped, semantically homogeneous "fragments." By utilizing affinity-based tokenization and hierarchical aggregation, FragViT achieves state-of-the-art performance on benchmarks such as MitoEM and Lucchi, demonstrating significant improvements in capturing complex biological structures.

Introduction

Mitochondria mapping is vital for biological research, but manual annotation remains a significant bottleneck. Current automated approaches generally utilize 3D CNNs or ViTs, both of which process data on regular 3D grids. Because biological structures are inherently irregular, grid-based patches often contain mixed semantics, leading to coarse predictions and difficulty in separating intertwined mitochondrial branches.

Conceptual comparison between CNN-based, Transformer-based, and the proposed FragViT models.

Methodology

FragViT introduces a novel paradigm by partitioning images into semantically consistent fragments. The architecture consists of two primary components:

  1. Fragment Encoder: A transformer-based backbone equipped with Affinity Heads. Instead of fixed square patches, the affinity head learns voxel-to-token associations by calculating the probability that a voxel belongs to one of its 27 nearest neighbor tokens. This transforms tokens into "3D superpixels" or fragments that adapt to biological shapes.
  2. Hierarchical Fragment Aggregation: Unlike standard UNet decoders, FragViT employs a progressive aggregation module. It distributes fragment-level embeddings back to the voxel level stage-by-stage, maintaining local spatial precision while leveraging the transformer's long-range dependency modeling.
The FragViT architecture, showcasing the hierarchical stages of fragment encoding and aggregation.

The network predicts both semantic masks and boundaries, which are then refined using a seeded watershed algorithm for instance segmentation.

Experiments and Results

FragViT was evaluated on several gold-standard benchmarks, including MitoEM-R/H (rat and human tissue), Lucchi (semantic segmentation), and AC3/AC4 (neuron segmentation).

Key Insights

  • Semantic Purity: Analysis of "fragment entropy" confirmed that FragViT's fragments are significantly more semantically pure than traditional grids, effectively grouping voxels of the same type.
  • Locality and Global Context: By using affinity to group voxels, FragViT regains the "locality prior" often lost in standard ViTs without sacrificing global receptive fields.
  • Anisotropy Management: The model preserves critical context in the depth (Z) axis, which often has lower resolution in EM imaging.

Quantitative Performance

  • MitoEM: FragViT outperformed previous state-of-the-art methods (e.g., ResUNet) by 4.1% on MitoEM-R and 6.4% on MitoEM-H in terms of Average Precision (AP).
  • Lucchi: Achieved a record 95.0% Dice Similarity Coefficient (DSC).
  • AC3/AC4: Demonstrated generalizability with the lowest error rates (ARAND of 0.093) in neuron segmentation.

Conclusion

FragViT demonstrates that moving beyond rigid grids to irregular fragments significantly enhances the segmentation of complex biological structures. While the model introduces some computational overhead (increasing from 29.9M to 34.2M parameters), the gains in semantic purity and boundary precision are substantial. Future work will explore end-to-end instance segmentation heads and broader applications across diverse cellular organelles.

Summary updated

BibTeX
@inproceedings{luo2024electron,
  author = {Naisong Luo and Rui Sun and Yuwen Pan and Tianzhu Zhang and Feng Wu},
  title = {{Electron Microscopy Images as Set of Fragments for Mitochondrial Segmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i4.28191},
}
Figure