Abstract
Cell segmentation for multi-modal microscopy images remains a challenge due to the complex textures, patterns, and cell shapes in these images. To tackle this, the authors present a "divide-and-conquer" framework that automatically classifies images based on low-level visual cues and routes them to specialized segmentation models. By utilizing Stardist for round cells and Hover-net for irregular ones, the framework achieves highly accurate and efficient results, securing a strong F1-score in the NeurIPS 2022 Cell Segmentation Challenge.
Introduction: The Challenge of Multi-modal Segmentation
Cell segmentation is a foundational task in biomedical analysis, essential for applications ranging from tumor detection to understanding cell heterogeneity. However, real-world microscopy datasets are usually multi-modal, containing images from Brightfield, Phase-contrast, Fluorescent, and Differential Interference Contrast (DIC) microscopes.
These images feature vastly different textures, lighting patterns, and cell shapes. Furthermore, datasets often lack explicit labels indicating which modality an image belongs to. Training a single, generalized deep learning model to accurately segment all these diverse cell types simultaneously is incredibly difficult and often leads to sub-optimal performance across the board.
Methodology
To tackle this diversity, the authors propose a class-wise multi-stream cell segmentation framework. Instead of relying on one massive, generalized model, they use an ensemble of specialized models routed by an automatic classifier.
1. Automatic Cell Image Classification
Because the dataset lacks modality labels, the authors built an unsupervised pipeline to categorize images based on low-level features.
They split images into four distinct classes: Binary (Class 0), Gray (Class 1), Large-cell color (Class 2), and Small-cell color (Class 3). The classification relies on channel counts, HSV color space thresholds, and cell area estimates generated via pseudo-labels. A ResNet18 model is then trained on these heuristic labels to robustly classify any new, incoming test images.
2. Multi-stream Segmentation
For the segmentation task itself, the authors use a highly efficient ConvNeXt-Small backbone within a U-Net architecture. Crucially, they swap out the prediction heads based on the assigned image class to better handle specific cell geometries.
- ConvNeXt-Stardist: Used for Classes 0, 2, and 3. Stardist predicts star-convex polygons by regressing distances from the cell center to the boundary. It is highly effective for roundish, convex cells.
- ConvNeXt-Hover: Used for Class 1 (Gray images). Because these images contain a high proportion of irregular, high-concavity cells, Stardist fails. Instead, the authors use a Hover-net head, which predicts horizontal and vertical distance maps, allowing it to capture complex, non-convex shapes.
All models are initially pre-trained on the entire dataset to learn general features, then fine-tuned exclusively on their assigned image class.
Datasets
The primary dataset is from the NeurIPS 2022 Cell Segmentation Challenge, which includes 800 training, 200 validation, and 101 tuning images across four modalities. To boost generalization, the authors heavily supplemented the training data with three well-known public datasets:
- Cellpose: Contains fluorescent, brightfield, and non-microscopy images for robust feature learning.
- Omnipose: Focuses on bacterial cell segmentation.
- Sartorius: Contains neuronal cell types.
Key Insights
- Low-level heuristics are a great proxy for modality: Expert annotations are not strictly necessary to separate a dataset into meaningful training buckets. Simple metrics like saturation, value, and average cell size are enough to group images that share underlying segmentation challenges.
- Shape dictates architecture: A major insight is that segmentation failures aren't just about image texture; they are about geometric assumptions. Stardist forces a convex polygon shape, which actively harms performance on irregular cells. Swapping to a Hover-net head specifically for the class containing irregular cells drastically improves overall pipeline accuracy.
- Pre-train globally, fine-tune locally: Training specialized models from scratch on small sub-classes leads to overfitting. Pre-training the ConvNeXt backbone on all available data learns general edge and texture features, making subsequent fine-tuning on specific image classes much more effective.
Results
- Overall Performance: The method achieved an impressive F1-score of 0.8795 on the competition's Tuning Set. On the final unseen testing set, it achieved a Median F1-All score of 0.8474.
- Modality Breakdown: The model excelled on Brightfield (Median F1: 0.9100) and Phase-contrast (0.8878) images.
- Ablation Success: Class-wise fine-tuning proved highly effective. For example, fine-tuning the ConvNeXt-Hover model on Class 1 images improved its F1 score from 0.8023 to 0.8604 compared to the globally trained baseline.
- Efficiency: Thanks to the ConvNeXt-Small backbone, inference times were kept strictly within the competition's time tolerances (e.g., processing a 3000x3000px image in just 13.5 seconds).
Limitations and Future Work
The authors note that the model has difficulty precisely segmenting cells in Differential Interference Contrast (DIC) and Fluorescent images (Median F1 scores of 0.7496 and 0.6645, respectively). It occasionally misses cells or predicts false positives in images with bright foregrounds and dark backgrounds. Furthermore, while they successfully used unlabeled data to train the image classifier, attempting to use pseudo-labels to train the actual segmentation models did not improve performance.
Future directions include exploring better semi-supervised methods to leverage unlabeled data for segmentation, investigating multiple decoders, and using even more granular low-level attributes to define additional, finer-grained image categories.
Summary updated