Semi-supervised Segmentation of Histopathology Images with Noise-Aware Topological Consistency

Meilong Xu, Xiaoling Hu, Saumya Gupta, Shahira Abousamra, Chao Chen

TL;DR

TopoSemiSeg is the first semi-supervised segmentation framework designed to preserve the topological integrity of histopathology images—such as ensuring glands and nuclei aren't mistakenly merged or split. By introducing a noise-aware topological consistency loss, the method successfully distinguishes true structural "signals" from training noise in unlabeled data, significantly outperforming existing methods on both pixel-level and structural evaluation metrics.

What Problem Does This Paper Address?

In digital pathology, the spatial arrangement and morphology of glands and nuclei are vital for cancer diagnosis and prognosis. While deep learning has automated much of this segmentation, these models typically require massive amounts of pixel-wise annotations, which are expensive and time-consuming to produce.

Semi-supervised learning (SSL) offers a solution by training on a small labeled set and a large unlabeled set. However, current SSL methods focus almost exclusively on pixel-wise accuracy. In dense tissue environments, this leads to "topological errors": two distinct glands might be merged into one, or a small false-positive "island" might appear where none exists. While previous research has introduced "topological losses" to fix this, those methods rely on clean ground-truth labels, making them unusable for the vast amount of unlabeled data available in clinical settings.

Methods

The authors propose TopoSemiSeg, which operates within a Teacher-Student framework. The student model learns from the teacher's predictions on unlabeled images, but with a twist: it doesn't just copy the pixels; it aligns the topology.

The core innovation is the Noise-Aware Topological Consistency Loss, which involves three main steps:

  1. Persistent Homology: The model uses a mathematical tool called persistent homology to create a Persistence Diagram (PD). This diagram maps out every topological feature (like a connected component or a hole) based on its "birth" and "death" times as a likelihood threshold is varied.
  2. Signal-Noise Decomposition: Because predictions on unlabeled data are messy, the PD is often full of "noise" (spurious tiny dots). The authors use a persistence threshold to separate long-lived signal topology (true structures) from short-lived noisy topology (artifacts).
  3. Dual-Loss Strategy:
    • Signal Topology Consistency Loss: This uses the Wasserstein distance to force the student's "true" structures to match the teacher's.
  4. Noisy Topology Removal Loss: This minimizes the "Total Persistence" of the noise dots, effectively squashing spurious islands and holes out of existence.
Overview of the TopoSemiSeg framework, showing the decomposition of persistence diagrams into signal and noise components.

Datasets

The method was evaluated on three widely used public histopathology datasets:

  • CRAG: Colorectal Adenocarcinoma Gland dataset.
  • GlaS: Gland Segmentation in Colon Histology Images Challenge.
  • MoNuSeg: Multi-Organ Nuclei Segmentation.

The researchers tested the model using only 10% and 20% of the available labels to simulate real-world data scarcity.

Key Insights and Ideas

  • Topology > Pixels: A few incorrectly classified pixels at the boundary of two glands might not hurt a standard Dice score much, but they completely change the semantic meaning by merging two objects into one. TopoSemiSeg prioritizes this structural "truth."
  • Learning from "Dirty" Teachers: In SSL, the teacher model isn't perfect. By decomposing the topology, the student learns to ignore the teacher's flickering noise while still capturing its high-level structural understanding.
  • Differentiable Topology: The paper demonstrates how these abstract topological features can be mapped back to specific "critical pixels" in the image, allowing the model to be trained using standard backpropagation.
Fig. 2: (a) A predicted likelihood map f, (b) the binary prediction, and (c) the corresponding persistence diagram Dgm(f), which tends to be noisy. In (d), consider the filtration for different values of threshold c. Notice that there are three true, or signal, structures, denoted by colors red, green, and blue, which persist across the range of c. Hence the dots corresponding to these structures are located at the upper- left corner of Dgm(f). The remaining colors denote several noisy structures which persist for a short range of c, and thus their dots appear closer to the diagonal. Note that we only show 0-dim persistent dots referring to connected components in Dgm(f).

Key Results

TopoSemiSeg consistently outperformed state-of-the-art (SoTA) semi-supervised methods like XNet and UA-MT.

  • Quantitative: On the CRAG dataset (20% labels), TopoSemiSeg achieved a Betti Matching Error of 8.575, compared to 10.900 for the next best method (XNet). Lower Betti error indicates much better structural accuracy.
  • Qualitative: Visual results show that TopoSemiSeg is significantly better at maintaining the thin separations between densely packed glands and avoiding the "holey" or "noisy" predictions common in other models.
Fig. 1: Illustration of the significance of topological correctness in gland segmentation. (a) an input image. (b) ground truth GT. (c) the result of SoTA semi-supervised seg- mentation method [64] devoid of any topological regularization. (d) our segmentation result. For the regions within boxes, the SoTA’s result has errors that, while minor at the pixel level, significantly alter the semantic interpretation. The red boxes indicate prediction errors such as incorrectly merging adjacent glands, the blue box indicates false positive gland predictions, and the green boxes indicate the false negative holes in glands. These errors affect the pathologist’s decision and analysis.

Limitations and Future Work

  • Teacher Uncertainty: The model assumes the teacher's "signal" is correct, but the teacher can still be wrong. Future work could involve weighting the topological loss by the teacher's confidence.
  • Manual Thresholding: The persistence threshold ($\phi$) used to separate signal from noise is currently set manually. The authors suggest an adaptive threshold based on data distribution would be a valuable improvement.
  • Dimensionality: The current implementation is optimized for 2D images. Extending this to 3D volumes (like CT or MRI scans) is a promising but computationally expensive next step.

Summary updated

BibTeX
@inproceedings{xu2024semi,
  author = {Meilong Xu and Xiaoling Hu and Saumya Gupta and Shahira Abousamra and Chao Chen},
  title = {{Semi-supervised Segmentation of Histopathology Images with Noise-Aware Topological Consistency}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  url = {https://openreview.net/forum?id=oJtfYHvWu9},
}
Figure