Abstract
In digital pathology, segmenting densely distributed objects like glands and nuclei is crucial for downstream analysis. Since detailed pixel-wise annotations are very time-consuming, we need semi-supervised segmentation methods that can learn from unlabeled images. Existing semi-supervised methods are often prone to topological errors, e.g., missing or incorrectly merged/separated glands or nuclei. To address this issue, we propose TopoSemiSeg, the first semi-supervised method that learns the topological representation from unlabeled histopathology images. The major challenge is for unlabeled images; we only have predictions carrying noisy topology. To this end, we introduce a noise-aware topological consistency loss to align the representations of a teacher and a student model. By decomposing the topology of the prediction into signal topology and noisy topology, we ensure that the models learn the true topological signals and become robust to noise. Extensive experiments on public histopathology image datasets show the superiority of our method, especially on topology-aware evaluation metrics.
Introduction
Accurately segmenting glands and nuclei is a fundamental step in cancer diagnosis and digital pathology. However, training robust deep learning models for this task typically requires exhaustive, pixel-perfect annotations, which are prohibitively expensive and time-consuming for expert pathologists. Semi-supervised learning (SSL) addresses this by leveraging a small amount of labeled data alongside a large pool of unlabeled images.
While SSL has shown promise, most existing methods focus on pixel-level accuracy. In dense tissues, these models frequently commit "topological" errors, such as merging adjacent glands or failing to identify the central lumen (hole) of a gland. Existing topology-aware methods often rely on ground-truth labels to define correct structures. Applying these to unlabeled data is challenging because model predictions are inherently "noisy," containing spurious artifacts that can mislead the learning process.
The TopoSemiSeg Framework
We introduce TopoSemiSeg, a semi-supervised framework designed to bring topological awareness to histopathology segmentation. Operating within a Teacher-Student paradigm, the core innovation is the Noise-Aware Topological Consistency Loss.
Persistent Homology and Signal-Noise Decomposition
TopoSemiSeg utilizes persistent homology to represent the topological structure of an image. This process generates a Persistence Diagram (PD), which maps topological features (like connected components and holes) based on their "birth" and "death" during a filtration process.
A key insight is that not all features in the PD are equally important. Features that persist over a wide range of thresholds are likely "true" biological signals, while short-lived features are typically noise. TopoSemiSeg decomposes the PD into Signal Topology (significant structures) and Noisy Topology (artifacts).
Dual Loss Strategy
The framework employs two specific topological losses:
- Signal Topology Consistency Loss: Aligns the significant topological structures of the Student model with those of the Teacher using Wasserstein distance.
- Noisy Topology Removal Loss: Minimizes the "total persistence" of the noise component, effectively cleaning the predictions.
Experimental Evaluation
We evaluated TopoSemiSeg on three public histopathology datasets: CRAG (Colorectal Adenocarcinoma Gland), GlaS (Gland Segmentation), and MoNuSeg (Multi-Organ Nuclei Segmentation). To simulate real-world data scarcity, we tested the model using only 10% and 20% of available labels.
Key Results
TopoSemiSeg consistently outperformed state-of-the-art (SoTA) semi-supervised methods like XNet and Mean-Teacher across all three datasets.
- Topological Accuracy: On the CRAG dataset (20% labels), TopoSemiSeg significantly reduced the Betti Matching Error—a metric for structural disagreement—from 10.900 (SoTA) to 8.575.
- Pixel-wise Performance: The method achieved the highest Object-level Dice scores, demonstrating that improved topological understanding leads to better boundary definition.
- Qualitative Improvements: Visual analysis confirms that TopoSemiSeg excels at maintaining separations between densely packed objects, where other methods often fail and merge them.
Conclusion
TopoSemiSeg represents a significant advancement in semi-supervised medical image segmentation by explicitly modeling and regularizing topological structures in unlabeled data. By separating signal from noise, it avoids the pitfalls of blindly enforcing consistency on erroneous predictions. Future work will explore adaptive thresholding for signal-noise decomposition and extending the framework to 3D volumetric data.
Summary updated