Abstract
Automated cell tracking in microscopy is challenging due to low contrast and visual similarity between cells. This paper introduces CellTrack R-CNN, the first end-to-end deep learning framework to perform cell segmentation and tracking simultaneously. By incorporating a Siamese tracking branch and relative position encoding into the Mask R-CNN architecture, the model achieves state-of-the-art accuracy on benchmark datasets without the need for complex post-processing.
Introduction
In biomedical research, monitoring cell movement, division, and interaction is crucial for understanding biological processes. However, automating this is difficult because microscopy images often feature low-contrast "blobs" that look nearly identical to a computer. Traditionally, this task is split into two independent steps: segmentation (finding cells in a single frame) and tracking (linking those cells across frames).
This decoupled approach often leads to error propagation, where segmentation mistakes compromise tracking accuracy. Furthermore, simple tracking methods like IoU (Intersection-over-Union) matching struggle when cells lack distinct visual features. CellTrack R-CNN addresses these challenges by teaching a neural network to not only see cells but to remember their "neighborhoods."
Methods
CellTrack R-CNN builds upon the Mask R-CNN architecture, extending it with specialized components for temporal consistency and spatial awareness.
Siamese Tracking Branch
The network includes a fourth "head" alongside the standard classification, bounding box, and mask branches. This Siamese branch compares a cell in the current frame ($t$) with candidates in the previous frame ($t-1$) to compute a similarity score based on visual features.
Relative Position Encoding
To overcome the lack of visual distinctness, the authors introduced spatial context. The network calculates the relative distance of each cell to its $n$ nearest neighbors, creating a unique "spatial fingerprint." This relationship remains more stable during cell movement than raw coordinates or blurry visual texture.
Unified Training and Inference
The entire system is trained end-to-end with a unified loss function. During inference, the model fuses visual and spatial similarity scores to match cells. It also handles mitosis (cell division) by checking if two new cells in the current frame both map back to a single parent cell from the previous frame.
Datasets
The model was evaluated on the RAW264.7 dataset from the DeepCell benchmark, which consists of 13 live-cell imaging sequences of cell nuclei. It was compared against the original DeepCell algorithm and FR-Ro-GE, a high-performing competitor.
Results and Discussion
CellTrack R-CNN outperformed state-of-the-art methods across all key metrics on the DeepCell dataset.
Key Performance Metrics
- Tracking Accuracy (TRA): The model achieved 97.05%, surpassing the DeepCell baseline of 95.46%.
- Segmentation (SEG): Joint training improved mask quality, reaching 85.26%.
- The D-T Gap: The authors emphasize the "D-T" metric, which measures the difference between detection and tracking accuracy. CellTrack R-CNN achieved a remarkably low D-T of 0.09, indicating that the tracker effectively utilizes almost all information provided by the detector.
Ablation Study
Removing the Spatial Tracking Head (STH) caused tracking accuracy to drop from 97.05% to 94.19%. This confirms that relative position encoding is a critical component for distinguishing visually similar cells in crowded environments.
Limitations and Future Work
While the results are impressive, the model currently uses a fixed number of neighbors ($n=4$) for spatial encoding, which may require adjustment in extremely sparse or dense environments. Future work will explore more advanced feature fusion strategies and validate the model across diverse cell morphologies and imaging modalities, such as phase-contrast and fluorescence microscopy.
Conclusion
By integrating tracking directly into the segmentation pipeline, CellTrack R-CNN eliminates the need for complex, hand-tuned post-processing. It demonstrates that spatial context and end-to-end learning are powerful tools for automating the analysis of complex biological sequences.
Summary updated