Self-supervised Nuclei Segmentation in Histopathological Images Using Attention

Mihir Sahasrabudhe, Stergios Christodoulidis, Roberto Salgado, Stefan Michiels, Sherene Loi, Fabrice André, Nikos Paragios, Maria Vakalopoulou

TL;DR

This paper introduces a novel self-supervised method for segmenting cell nuclei in histopathological images, a crucial but labor-intensive task. By leveraging the assumption that nuclei's appearance can reveal the magnification level at which an image was captured, the authors train an attention network to identify nuclei without manual annotations, achieving performance comparable to supervised methods.

What Problem Does This Paper Address?

Accurate segmentation and localization of cell nuclei in histopathological images are vital for diagnosing diseases, particularly cancers. However, existing supervised methods heavily rely on manual annotations, which are time-consuming and expensive to obtain, especially for large whole-slide images (WSIs). Furthermore, these methods often struggle with generalization across different datasets due to variations in staining, tissue types, and acquisition parameters. This paper tackles the challenge of nuclei segmentation by developing a self-supervised approach that bypasses the need for manual annotations, aiming for better generalization and reduced annotation burden.

Methods

The core of the proposed method is a self-supervised learning strategy that uses the magnification level of image patches as a supervisory signal. The authors hypothesize that the size and texture of nuclei are discriminative features for determining the magnification at which a patch was extracted.

  1. Attention Network (F): A fully convolutional network is designed to generate an "attention map" (A) from an input image patch (I). This map highlights regions likely to contain nuclei.
  2. Sparsity Regularization: To encourage the attention map to focus specifically on nuclei, a sparsity regularizer is applied. This regularizer aims to ensure that only a small percentage of pixels in the attention map are activated, assuming nuclei constitute a small fraction of the image content.
  3. Scale Classification Network (G): The "attended" image (J = A ⊙ I), where the attention map is element-wise multiplied with the original image, is then fed into a scale classification network (initialized as a ResNet-34). This network is trained to predict the magnification level of the patch. The loss from this classification task serves as the primary self-supervision signal for training both networks.
  4. Additional Regularizers: To further improve the quality of the attention maps, two additional regularization terms are introduced:
  5. Smoothness Regularization (Lsmooth): This encourages the attention maps to be smooth and avoid high-frequency components, leading to more coherent nuclear regions.
  6. Transformation Equivariance (Lequiv): This constraint ensures that the attention map remains consistent under certain geometric transformations (flips, rotations, transpose), promoting semantic consistency.
  7. Post-processing Pipeline: Since the model is not directly trained for segmentation, a post-processing pipeline is employed to convert the attention maps into final instance segmentation masks. This pipeline involves morphological operations (opening and closing), distance transform calculation, Gaussian blurring, local maxima identification, and a marker-driven watershed algorithm.

Datasets

  • MoNuSeg dataset: This dataset, containing 30,000 annotated patches from 30 WSIs, was used for training and evaluation. The authors extracted tiles of size 224x224 from three different magnifications (10x, 20x, and 40x) and filtered them for tissue content. The MoNuSeg train set was further split into training and validation sets.
  • TNBC and CoNSeP datasets: These datasets were used for evaluating the generalization capabilities of the proposed model without retraining.

Key Insights and Ideas

  • Magnification as a Self-Supervision Signal: The paper ingeniously leverages the inherent property of image magnification to create a supervisory signal for nuclei segmentation. This is a significant departure from traditional supervised methods that require explicit pixel-level annotations.
  • Attention for Nuclei Localization: The use of an attention mechanism effectively guides the model to focus on relevant regions (nuclei) within the image, even when the primary task is scale classification.
  • Modularity of Regularizers: The authors demonstrate that different regularization terms (sparsity, smoothness, equivariance) contribute uniquely to the quality of the attention maps and the final segmentation, highlighting the modularity and flexibility of their approach. Sparsity was found to be particularly crucial.
  • Generalization through Self-Supervision: The strong performance on unseen datasets (TNBC, CoNSeP) suggests that the self-supervised approach, by learning fundamental visual cues related to nuclei appearance across magnifications, leads to better generalization than methods trained on specific annotated datasets.

Key Results

  • On the MoNuSeg test dataset, the proposed method (Mproposed) achieved an Aggregated Jaccard Index (AJI) of 0.5354, Average Hausdorff Distance (AHD) of 7.7502, and Average Dice Coefficient (ADC) of 0.7477.
  • This performance is comparable to supervised methods like CNN2 (AJI: 0.3482) and CNN3 (AJI: 0.5083), and significantly outperforms unsupervised methods like Fiji (AJI: 0.2733) and CellProfiler (AJI: 0.1232).
  • The model also showed strong competitive performance on the TNBC and CoNSeP datasets, achieving an AJI of 0.2656 and 0.1980, respectively, without retraining.
  • Ablation studies indicated that all components of the proposed model are essential, with sparsity regularization being the most impactful.

Limitations and Future Work

  • Post-processing Dependency: While the attention maps are generated in a self-supervised manner, the final instance segmentation still relies on a handcrafted post-processing pipeline. The authors mention that this pipeline was tuned on the validation set.
  • Future Work: The authors suggest integrating their nuclei segmentation results into treatment selection strategies, indicating a potential for clinical application. They also note that other domains in medical imaging share similar conceptual similarities, hinting at broader applicability. The modular nature of their approach also suggests potential for incorporating multi-task learning schemes, similar to the winning method in a previous study.

Summary updated

BibTeX
@inproceedings{sahasrabudhe2020self,
  author = {Mihir Sahasrabudhe and Stergios Christodoulidis and Roberto Salgado and Stefan Michiels and Sherene Loi and Fabrice André and Nikos Paragios and Maria Vakalopoulou},
  title = {{Self-supervised Nuclei Segmentation in Histopathological Images Using Attention}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2020},
  doi = {10.1007/978-3-030-59722-1\_38},
}
Figure