CUTS: A Deep Learning and Topological Framework for Multigranular Unsupervised Medical Image Segmentation

Chen Liu, Matthew Amodio, Liangbo L. Shen, Feng Gao, Arman Avesta, Sanjay Aneja, Jay C. Wang, Luciano V. Del Priore, Smita Krishnaswamy

TL;DR

This paper introduces CUTS, a novel unsupervised deep learning framework for medical image segmentation that addresses the critical need for accurate segmentation without relying on extensive manual annotations. By combining contrastive learning with topological data analysis, CUTS generates segmentations at multiple granularities, offering a flexible and powerful tool for medical image analysis.

What Problem Does This Paper Address?

Accurate segmentation of medical images is crucial for diagnosis, treatment planning, and research. However, a major bottleneck is the scarcity of labeled data, as manual annotation is time-consuming, expensive, and prone to inter-observer variability. Existing deep learning methods, while powerful, typically require large annotated datasets. Furthermore, the desired level of segmentation granularity can vary significantly depending on the clinical application, making a single, fixed segmentation insufficient. This paper tackles these challenges by proposing an unsupervised framework that can produce segmentations at various levels of detail, adapting to different clinical needs without requiring any manual labels.

Methods

CUTS employs a two-stage unsupervised framework:

  1. Learning an Embedding Space for Pixel-Centered Patches:
    • The first stage uses a convolutional encoder to transform pixel-centered patches (a small region around each pixel) into a high-dimensional embedding space.
  2. This embedding is learned by jointly optimizing two objectives:
  3. Intra-image Contrastive Learning: This encourages similar patches within the same image to have similar embeddings, and dissimilar patches to have different embeddings. This is crucial for medical images where global homogeneity can mask local variations.
  4. Local Patch Reconstruction: This ensures that the learned embeddings retain enough information to reconstruct the original patch, acting as an autoencoding objective.
  5. Positive and negative patch pairs for contrastive learning are selected based on proximity and structural similarity (using SSIM) within the image itself.
  6. Coarse-Graining for Multiscale Segmentation:
    • The learned embedding vectors are then processed using diffusion condensation, a topological data analysis technique.
  7. Diffusion condensation iteratively "coarse-grains" the data by moving points towards their local centers of gravity, effectively merging similar embeddings.
  8. This process naturally generates a hierarchy of segmentations at different granularities, from fine details to coarse structures. Metastable granularities (those that remain stable over many iterations) are identified as meaningful segmentation levels.
  9. For binary segmentation tasks, a method is described to map cluster assignments from the ground truth segmentation to select the most probable cluster label for the foreground.

Datasets

The framework was evaluated on three medical image datasets:

  • Retinal fundus images: Images of eyes with Geographic Atrophy (GA), a condition related to age-related macular degeneration. These images were segmented by two graders and reviewed by a specialist, resulting in 56 images.
  • Brain MRI images (ventricles): T1-weighted brain MRIs from the Alzheimer's Disease Neuroimaging Initiative study. Ventricles were manually segmented by a radiologist on 100 images.
  • Brain MRI images (tumor): Fluid-attenuated inversion recovery (FLAIR) brain MRIs from patients with glioma. Tumor regions were segmented by medical students and finalized by a neuroradiologist, totaling 200 images.

The paper does not introduce new datasets but uses publicly available or well-established medical imaging datasets for evaluation.

Key Insights and Ideas

  • Intra-image contrastive learning is key for medical images: Unlike many self-supervised methods that rely on augmentations of the entire image, CUTS focuses on learning from local patch relationships within an image. This is vital because medical images can be globally similar but locally heterogeneous, and standard augmentations might obscure critical subtle differences.
  • Topology provides multiscale segmentation naturally: Diffusion condensation, a topological method, inherently produces segmentations at various levels of detail. This is a significant advantage over methods that require explicit specification of the number of segments or rely on heuristics.
  • Unsupervised learning can rival supervised methods: The paper demonstrates that CUTS, despite being unsupervised, achieves competitive or superior results compared to some supervised methods and state-of-the-art unsupervised methods, especially when considering the lack of annotation burden.
  • Pixel-centered patches offer richer information than pixels: By using patches instead of individual pixels for embedding, CUTS captures more local context and structural information, leading to more robust representations.

Key Results

  • Improved Segmentation Metrics: CUTS improved Dice coefficient and Hausdorff distance by at least 10% compared to existing unsupervised methods on the evaluated datasets.
  • Competitive Performance with Foundation Models: CUTS achieved performance on par with Segment Anything Models (SAM, MedSAM, SAM-Med2D) that were pre-trained on massive datasets, despite CUTS being trained only on the target images without any pre-training or labels.
  • Qualitative Improvements: Qualitatively, CUTS demonstrated superior boundary delineation and identification of subtle structures, particularly in the retinal atrophy and brain tumor segmentation tasks, where competing methods struggled.
  • Multigranular Segmentation: The framework successfully generated segmentations at various scales, from fine anatomical details to coarse organ outlines, as visualized in Figure 3.

Limitations and Future Work

  • Hyperparameter Sensitivity: While the paper tunes hyperparameters, the performance might still be sensitive to their selection. The paper mentions that diffusion condensation will not run if the number of features is 1 for single-channel images, implying a limitation for very simple image data.
  • Comparison with SAM Variants: The paper notes that SAM variants with bounding box inputs are not a fair comparison due to the additional information provided.
  • Future Work: The paper implicitly suggests that the framework's ability to generate multigranular segmentations can be further leveraged for more sophisticated clinical applications, such as automated measurements of structures at different scales. The authors also highlight the potential for CUTS to be a practical and effective alternative in the evolving landscape of medical imaging, especially where extensive annotation is not feasible.

Summary updated

BibTeX
@inproceedings{liu2024cuts,
  author = {Chen Liu and Matthew Amodio and Liangbo L. Shen and Feng Gao and Arman Avesta and Sanjay Aneja and Jay C. Wang and Luciano V. Del Priore and Smita Krishnaswamy},
  title = {{CUTS: A Deep Learning and Topological Framework for Multigranular Unsupervised Medical Image Segmentation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2024},
  doi = {10.1007/978-3-031-72111-3\_15},
}
Figure