Simultaneous Semantic and Instance Segmentation for Colon Nuclei Identification and Counting

Lihao Liu, Chenyang Hong, Angelica I. Avilés-Rivero, Carola-Bibiane Schönlieb · DOI

Abstract

Accurate nuclei identification and classification in Haematoxylin and Eosin (H&E) stained histology images are critical for automated pathology diagnosis. This paper presents a high-performing ensemble framework that integrates semantic and instance segmentation to address the challenges of nuclear overlap and morphological variation. By combining the global contextual strengths of Hover-Net with the precise boundary detection of Cascade Mask-RCNN through a custom weighted Non-Maximum Suppression (NMS) algorithm, the framework achieved a top-5 finish in the CoNIC 2022 Grand Challenge. The results demonstrate that leveraging the complementary strengths of different segmentation paradigms significantly improves both counting accuracy ($R^2$) and panoptic quality (PQ).

Introduction

In computational pathology, the segmentation and classification of nuclei serve as the foundation for downstream diagnostic tasks. However, this process is complicated by the high density of nuclei, frequent overlapping, and the diverse functional classes present in colon tissue, such as neutrophils, epithelial cells, and lymphocytes.

Existing deep learning methodologies typically fall into two categories: semantic segmentation and instance segmentation. Semantic segmentation focuses on pixel-level classification, which is effective for understanding the overall scene but often fails to separate individual, touching objects. Conversely, instance segmentation excels at delineating individual object boundaries but may lack the broader context required for highly accurate classification. This research bridges the gap by proposing a framework that utilizes both approaches simultaneously to optimize nuclei identification and counting.

Methodology

The proposed ensemble framework consists of three primary components designed to maximize detection precision and classification accuracy.

1. The Instance Model

The framework utilizes Cascade Mask-RCNN with a ResNeXt-152 backbone. To adapt this standard computer vision architecture for microscopic targets, the researchers significantly reduced the "anchor sizes"—the initial bounding box guesses—to ensure the network could detect the small scale of nuclei relative to the overall image dimensions. Additionally, input images were upscaled from 256x256 to 512x512 to improve feature extraction.

2. The Semantic Model

For semantic segmentation, the team employed Hover-Net, a specialized architecture for nuclear segmentation. Hover-Net utilizes horizontal and vertical distance maps to effectively separate overlapping nuclear instances. To maintain consistency across the ensemble, a ResNeXt-152 backbone was also utilized for this model.

3. Custom NMS Embedding

The integration of these models is handled by a customized Non-Maximum Suppression (NMS) algorithm. Unlike standard NMS, which typically discards overlapping boxes, this custom approach merges overlapping segmentation masks and employs a weighted voting mechanism to determine the final cell class. The voting power was distributed based on experimental reliability; for instance, the semantic model was given higher weight for specific cell types, such as neutrophils and plasma cells, where it demonstrated superior performance.

Datasets and Experimental Setup

The study was conducted using the Colon Nuclei Identification and Counting (CoNIC) Challenge dataset, derived from the Lizard dataset—the largest publicly available dataset for nuclear instance segmentation in histology.

  • Data Volume: 3,900 training images and 1,081 testing images (256x256 crops).
  • Classification: The models were trained to identify six distinct cell types: Neutrophil, Epithelial, Lymphocyte, Plasma, Eosinophil, and Connective tissue.

Results

The ensemble framework significantly outperformed individual models and challenge baselines, securing a top-5 ranking out of 373 submissions in the CoNIC 2022 challenge.

Key quantitative results include:

  • Counting Accuracy ($R^2$): Achieved 0.9048, compared to the baseline of 0.8585.
  • Panoptic Quality (PQ): Achieved 0.6658, surpassing the baseline of 0.6149.
  • Multi-class Panoptic Quality ($mPQ^+$): Reached 0.5655, indicating high accuracy in both segmentation and classification across all six cell types.

Discussion and Conclusion

The success of this framework highlights the value of "Intelligent Merging." The researchers found a clear trade-off: the instance model provided superior boundary precision (PQ), while the semantic model was more effective at global context and counting ($R^2$). By merging these masks and using weighted class probabilities, the ensemble corrected errors that either model would have made in isolation.

Despite its performance, the framework faces limitations regarding computational complexity. The use of two heavy ResNeXt-152 backbones increases inference time, which may pose challenges for real-time clinical deployment. Future work will focus on optimizing the pipeline, potentially through knowledge distillation into a single, more efficient network, and testing the framework's generalizability across other tissue types such as lung or breast tissue.

Summary updated

BibTeX
@inproceedings{liu2022simultaneous,
  author = {Lihao Liu and Chenyang Hong and Angelica I. Avilés-Rivero and Carola-Bibiane Schönlieb},
  title = {{Simultaneous Semantic and Instance Segmentation for Colon Nuclei Identification and Counting}},
  booktitle = {MIUA},
  year = {2022},
  url = {https://openreview.net/forum?id=rO186mAslXj},
}
Figure