Abstract
Cell instance segmentation is a cornerstone of quantitative biology, yet traditional pixel-wise regression methods often struggle with the complex geometries of tightly packed cells. This paper introduces Ceb (Cell boundaries), a framework that shifts the paradigm from pixel-level clustering to structured boundary classification. By extracting "boundary signatures" that capture local junction geometry and employing a lightweight classifier, Ceb preserves critical geometric properties like curvature and convexity. Evaluated across diverse datasets including TissueNet and the Cell Tracking Challenge, Ceb consistently outperforms state-of-the-art methods, demonstrating significant gains in segmentation accuracy and temporal consistency.
Introduction
In quantitative biology, the ability to segment individual cells accurately is essential for downstream analysis. However, this task is notoriously difficult: cells are often tightly packed, vary wildly in size, and possess textures nearly identical to their neighbors.
Current state-of-the-art (SOTA) methods typically rely on pixel-wise objectives. For instance, CellPose predicts horizontal and vertical gradients, while StarDist predicts distances to boundaries at fixed angles. The authors of this work argue that these methods possess a fundamental flaw: they treat pixels as independent units. By decomposing a cell into individual pixel predictions, the model often "loses the forest for the trees," failing to capture global geometric features like the specific curvature of a cell wall or the overall convexity of the cell body. When these pixel-level predictions are even slightly inaccurate, the resulting clustering often leads to over-segmentation (splitting one cell) or under-segmentation (merging two cells).
The Ceb Framework
Ceb reimagines cell instance segmentation as a boundary classification problem rather than a pixel-wise regression task. It operates as a sophisticated post-processing pipeline that can be integrated with any standard semantic segmentation backbone, such as U-Net or Res2Net. The framework follows a five-step process:
- Seed Generation: The system identifies "seeds" (potential cell centers) using an Instance Candidate Forest (ICF) based on probability maps.
- Boundary Generation: A revised Watershed algorithm grows these seeds until they meet, creating a "codebook" of all potential boundaries between regions.
- Boundary Signature Extraction: This is the core innovation. For every candidate boundary, the system identifies its endpoints (using the Floyd-Warshall algorithm) and samples pixels from the boundary and its neighbors. This creates a small binary image called a boundary signature that captures the local "fork" geometry where cells meet.
- Boundary Classification: A lightweight ResNet-18 classifier analyzes these signatures to predict whether a boundary is "true" (separating two distinct cells) or "false" (an artifact that should be merged).
- Inference & Temporal Consistency: False boundaries are removed, and neighboring regions are merged. For video data (Ceb+temporal), the authors employ an iterative matching process across frames to ensure cells remain consistent over time.
Experimental Results
The authors evaluated Ceb on six diverse datasets to demonstrate its generalizability across imaging modalities, including Differential Interference Contrast (DIC), Fluorescence, and Phase Contrast microscopy.
Performance Benchmarks
- TissueNet: On this massive dataset containing over 3,800 images, Ceb improved the Average Precision (AP) by 6.9% compared to the best existing clustering methods using a Res2Net backbone.
- BBBC039: Ceb achieved an F1-score of 95.2% on this nuclei dataset, outperforming specialized SOTA models like CellPose and StarDist.
- Cell Tracking Challenge: The temporal version (Ceb+temporal) reached an F1-score of 97.6% on DIC-HeLa, proving that temporal consistency effectively resolves errors found in individual frames.
Key Insights
- The "Fork" is the Key: The authors observed that the most informative part of a boundary is not the middle, but the "fork" roads at the endpoints where multiple boundaries intersect. Sampling these areas allows the model to "see" the junction geometry, which is critical for distinguishing between real cell contacts and noise.
- Classification vs. Regression: Instead of asking a model to regress a complex distance map, Ceb asks a simpler binary question: "Does this specific line look like a real cell wall?" Classification is inherently more robust for deep learning models in this context.
- Optimization via ILP: To generate high-quality training labels, the authors used Integer Linear Programming (ILP) to find the mathematically optimal matching between ground-truth cells and the candidate regions generated by the Watershed algorithm.
Limitations and Future Work
The primary limitation of the Ceb framework is its computational complexity. Because the pipeline involves several discrete steps—seed generation, signature extraction, and classification—it is currently slower than end-to-end models. Python-based loops for processing individual instances take several seconds per image (e.g., ~4.8s for signature extraction).
Future work will focus on parallelization. By rewriting the core logic in C++/CUDA and integrating it into GPU kernels, the framework could potentially reach real-time speeds. Additionally, the method remains dependent on the quality of the initial semantic probability map; if the backbone fails to distinguish foreground from background, Ceb cannot recover that lost information.
Summary updated