Introduction
Cell instance segmentation is a critical task in medical imaging, yet it remains challenging due to the "small, dense, and blurry" nature of cell populations. Standard object detection models like the YOLO (You Only Look Once) family excel at real-time performance but often lack the spatial sensitivity required for histopathology. Conversely, two-stage architectures like Mask R-CNN provide high accuracy but fail to meet real-time processing requirements. ASF-YOLO (Attentional Scale Sequence Fusion YOLO) addresses this gap by integrating advanced feature fusion and attention mechanisms into a real-time framework.
Methodology
ASF-YOLO is built upon the YOLOv5 architecture, enhanced with three primary innovations in the network's "neck" to improve feature representation:
- Scale Sequence Feature Fusion (SSFF): Traditional fusion methods often lose information when combining multiscale features. SSFF treats feature maps from different layers as a sequence, stacking them into a 3D volume. It then employs 3D convolutions to extract scale-space information, allowing the model to maintain a global context across varying magnifications.
- Triple Feature Encoder (TFE): To specifically address the detection of small objects, the TFE module processes large, medium, and small feature maps. By using a hybrid of pooling and interpolation, it amplifies fine-grained spatial details that typically vanish in deeper layers.
- Channel and Position Attention Mechanism (CPAM): This dual-attention block enhances feature focus without dimensionality reduction. The channel component uses 1D convolutions to capture inter-channel interactions, while the position component decomposes features along horizontal and vertical axes to localize cells precisely in crowded environments.
Furthermore, the model adopts Efficient IoU (EIoU) loss to optimize bounding box dimensions directly and utilizes Soft-NMS to improve the handling of overlapping cell boundaries.
Datasets and Evaluation
The performance of ASF-YOLO was validated on two benchmark datasets:
- 2018 Data Science Bowl (DSB2018): A diverse collection of 670 images featuring various cell types and imaging modalities, including brightfield and fluorescence.
- Breast Cancer Cell (BCC) Dataset: 160 H&E-stained histopathology images characterized by complex backgrounds and varying cell morphologies.
Key Results
ASF-YOLO achieves state-of-the-art performance in cell instance segmentation. On the DSB2018 dataset, the model reached a Mask mAP of 0.887 and a Box mAP of 0.910, significantly outperforming YOLOv8l-seg (0.866 Mask mAP) and Mask R-CNN (0.782 Mask mAP). Crucially, it maintains an inference speed of 47.3 FPS, enabling real-time laboratory use.
Qualitative analysis demonstrates that ASF-YOLO effectively delineates cell boundaries even in dense clusters or blurred regions where baseline models like YOLOv5 or SOLO often fail.
Conclusion and Future Work
By combining 3D convolutions for scale-aware fusion with a non-reductive dual-attention mechanism, ASF-YOLO provides a robust solution for real-time cell instance segmentation. While highly effective, the authors suggest that future versions could incorporate Transformers or Deformable Convolutions to better capture non-local dependencies. Additionally, exploring transfer learning specifically for histological features could further boost performance on specialized cell types.
The source code is available at: https://github.com/mkang315/ASF-YOLO
Summary updated