3D Mitochondria Instance Segmentation with Spatio-Temporal Transformers

Omkar Thawakar, Rao Muhammad Anwer, Jorma Laaksonen, Orly Reiner, Mubarak Shah, Fahad Shahbaz Khan

TL;DR

Researchers have developed STT-UNET, a hybrid CNN-Transformer architecture that achieves state-of-the-art results in segmenting 3D mitochondria from electron microscopy (EM) images. By splitting attention into parallel spatial and temporal streams and using an adversarial loss to sharpen boundaries, the model captures long-range structural dependencies that traditional 3D convolutions often miss.

What Problem Does This Paper Address?

Mitochondria are the "powerhouses" of the cell, and their shape and distribution are key indicators of metabolic and neurodegenerative diseases. To study them, scientists use 3D Electron Microscopy (EM), which produces massive volumes of high-resolution data.

Manually segmenting every mitochondrion in these volumes is an impossible task for humans. While 3D Convolutional Neural Networks (CNNs) have automated much of this, they have a "local" focus—they struggle to understand long-range dependencies or the "big picture" of a mitochondrion's complex, winding shape. Transformers, which excel at capturing global context, are a natural alternative, but applying them to 3D volumes is computationally expensive because the number of calculations grows quadratically with the volume size.

Methods

The authors propose STT-UNET, which integrates the strengths of both CNNs and Transformers:

  1. Split Spatio-Temporal Attention (SST) Module: Instead of calculating "joint" attention (comparing every voxel to every other voxel in 3D, which is memory-intensive), the model splits the task. It runs a Spatial Attention stream (focusing on the 2D slice) and a Temporal Attention stream (focusing on the depth/z-axis) in parallel.
  2. Deformable Convolution Fusion: After processing spatial and temporal features separately, the model fuses them using a deformable convolution. This allows the network to "align" features even if the mitochondria shift or change shape across slices.
  3. Semantic FG-BG Adversarial Loss: To help the model distinguish mitochondria from "cluttered" backgrounds (like other organelles or noise), the authors added a discriminator network. This discriminator tries to tell the difference between ground-truth masks and predicted masks, forcing the segmentation model to produce more realistic, well-defined boundaries.
  4. Hybrid Encoder-Decoder: The overall structure follows the popular U-Net shape but replaces standard convolution blocks with these new SST modules.

Datasets

The model was evaluated on three major benchmarks:

  • Lucchi: A sparse mitochondria dataset commonly used for semantic segmentation.
  • MitoEM-R (Rat): A dense, large-scale dataset from rat tissue.
  • MitoEM-H (Human): A dense, large-scale dataset from human tissue.

The MitoEM datasets are particularly challenging because they contain 1,000 slices of high-resolution (4096 x 4096) imagery with many entangled mitochondria.

Key Insights and Ideas

  • Efficiency through Splitting: The "aha moment" here is that you don't need full 3D attention to get 3D context. By splitting attention into spatial and temporal components, the model achieves the benefits of Transformers (long-range dependency) without the massive memory overhead.
  • Fusion Matters: The authors found that simply adding or concatenating spatial and temporal features wasn't enough. Using deformable convolutions for fusion provided a significant performance boost, likely because it accounts for the non-rigid nature of biological structures across 3D space.
  • Adversarial Sharpening: Using a GAN-style adversarial loss helps the model "clean up" its predictions, making it much more robust to the noise and clutter typical of EM imaging.

Key Results

STT-UNET set new state-of-the-art (SOTA) records across all tested datasets:

  • MitoEM-R/H: Achieved an AP-75 score of 0.958 (Rat) and 0.849 (Human), outperforming the previous baseline (Res-UNET) by roughly 3-4%.
  • Lucchi: Reached a Jaccard index of 0.913, surpassing previous methods.
  • Qualitative Improvement: The model was able to accurately segment 16% more cell instances in complex regions compared to the standard Res-UNET baseline, specifically excelling where mitochondria were entangled or boundaries were unclear.

Limitations and Future Work

While the split attention mechanism is more efficient than joint attention, the paper does not provide a detailed breakdown of the inference speed or the specific hardware requirements compared to pure CNN approaches. Additionally, the model relies on a pre-processing denoising step; future work could look into integrating denoising directly into the Transformer architecture. The authors suggest that this spatio-temporal approach could be extended to other 3D biological segmentation tasks beyond just mitochondria.

Summary updated

BibTeX
@inproceedings{thawakar2023d,
  author = {Omkar Thawakar and Rao Muhammad Anwer and Jorma Laaksonen and Orly Reiner and Mubarak Shah and Fahad Shahbaz Khan},
  title = {{3D Mitochondria Instance Segmentation with Spatio-Temporal Transformers}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2023},
  url = {https://openreview.net/forum?id=NXG_ozfCMD},
}

Loading related content...

Figure