EfficientCellSeg: Efficient Volumetric Cell Segmentation Using Context Aware Pseudocoloring

Royden Wagner, Karl Rohr

Abstract

Volumetric cell segmentation in fluorescence microscopy images is important to study a wide variety of cellular processes. Applications range from the analysis of cancer cells to behavioral studies of cells in the embryonic stage. Like in other computer vision fields, most recent methods use either large convolutional neural networks (CNNs) or vision transformer models (ViTs). Since the number of available 3D microscopy images is typically limited in applications, we take a different approach and introduce a small CNN for volumetric cell segmentation. Compared to previous CNN models for cell segmentation, our model is efficient and has an asymmetric encoder-decoder structure with very few parameters in the decoder. Training efficiency is further improved via transfer learning. In addition, we introduce Context Aware Pseudocoloring to exploit spatial context in z-direction of 3D images while performing volumetric cell segmentation slice-wise. We evaluated our method using different 3D datasets from the Cell Segmentation Benchmark of the Cell Tracking Challenge. Our segmentation method achieves top-ranking results, while our CNN model has an up to 25x lower number of parameters than other top-ranking methods.

Introduction

Volumetric (3D) cell segmentation is a cornerstone of biological research, enabling the tracking of cancer progression and the study of embryonic development. However, the field currently faces a significant "data-model mismatch." Modern deep learning architectures, such as Vision Transformers (ViTs) and large 3D CNNs, require massive amounts of training data to generalize effectively. In contrast, high-quality, annotated 3D microscopy datasets are notoriously difficult and expensive to produce, often leaving researchers with very limited samples.

Existing solutions often rely on massive ensembles or complex 3D architectures that are computationally expensive and prone to overfitting on small datasets. EfficientCellSeg addresses this by demonstrating that top-tier results can be achieved with a lightweight model by optimizing how 3D context is handled and leveraging transfer learning.

Methodology

The researchers introduced two primary innovations to bridge the gap between model complexity and data scarcity: an asymmetric architecture and a novel data representation technique.

EfficientCellSeg Architecture

Departing from the traditional symmetric U-Net design, EfficientCellSeg utilizes an asymmetric encoder-decoder structure. The encoder is based on EfficientNet-B5, a model optimized via neural architecture search for high efficiency. In contrast, the decoder is intentionally "tiny," containing only 1.1 million parameters compared to the 5.6 million in the encoder. This design is predicated on the idea that once the encoder has extracted complex features, a simpler mapping is sufficient for pixel-wise classification, drastically reducing the overall parameter count.

The EfficientCellSeg architecture features an asymmetric encoder-decoder structure with an EfficientNet-B5 backbone and a lightweight decoder.

Context Aware Pseudocoloring

To process 3D volumes without the heavy computational cost of 3D convolutions, the model processes data slice-by-slice. To preserve depth information, the authors developed "Context Aware Pseudocoloring," which creates a 3-channel "pseudocolor" image for each slice $z$:

  • Red Channel: Encodes information from the previous slice ($z-1$).
  • Green Channel: The current slice ($z$).
  • Blue Channel: Encodes information from the next slice ($z+1$).

Crucially, the $z-1$ and $z+1$ channels are processed using Contrast Limited Adaptive Histogram Equalization (CLAHE) and thresholding to highlight regions of interest. This approach allows the model to leverage standard transfer learning from ImageNet, which is typically designed for 3-channel RGB images, while maintaining 3D spatial context.

Experimental Results

The model was evaluated on three diverse 3D datasets from the Cell Segmentation Benchmark of the Cell Tracking Challenge (CTC): Fluo-C3DL-MDA231 (breast carcinoma), Fluo-N3DL-TRIC (Drosophila embryo), and Fluo-C3DH-A549-SIM (simulated lung cancer cells).

Efficiency and Accuracy

EfficientCellSeg achieved top-ranking results (1st, 2nd, or 3rd depending on the dataset) while maintaining a significantly smaller footprint than its competitors. The model uses only 6.7 million parameters. For comparison, the top-ranking model for the A549-SIM dataset uses an ensemble of 3D U-Nets totaling 176 million parameters—a 25x difference.

EfficientCellSeg maintains competitive SEG scores across datasets while requiring significantly fewer parameters than state-of-the-art (SOTA) ensembles.

Computational Speed

Due to its reduced size, the model is significantly faster during inference. On a CPU, it is roughly 4.4x faster than larger models (334ms vs 1.47s per sample), making it highly accessible for laboratories without high-end GPU clusters.

Discussion and Conclusion

EfficientCellSeg demonstrates that asymmetry and clever data representation can overcome the need for massive model architectures in specialized domains like microscopy. By formatting 3D biological data into a 3-channel pseudocolor format, the authors successfully "jump-started" the model with ImageNet weights, proving that pre-training is a powerful tool even for non-natural images.

While highly efficient, the model currently relies on traditional post-processing, such as watershed algorithms, to separate touching cells in dense datasets like TRIC. Future work may involve optimizing the pseudocoloring process further or exploring this asymmetric approach for multi-class tissue segmentation tasks. Currently, the pipeline requires resizing images to 384x384, which may be a limitation for extremely high-resolution data where fine detail is paramount.

Summary updated

BibTeX
@inproceedings{wagner2022efficientcellseg,
  author = {Royden Wagner and Karl Rohr},
  title = {{EfficientCellSeg: Efficient Volumetric Cell Segmentation Using Context Aware Pseudocoloring}},
  booktitle = {MIDL},
  year = {2022},
  url = {https://openreview.net/forum?id=KnJsGdhx1kH},
}
Figure