Abstract
In computational pathology, segmenting densely distributed objects like glands and nuclei is crucial for downstream analysis. To alleviate the burden of obtaining pixel-wise annotations, semi-supervised learning methods learn from large amounts of unlabeled data. Nevertheless, existing semi-supervised methods overlook the topological information hidden in the unlabeled images and are thus 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 data. In particular, we propose a topology-aware teacher-student approach in which the teacher and student networks learn shared topological representations. To achieve this, we introduce topological consistency loss, which contains signal consistency and noise removal losses to ensure the learned representation is robust and focuses on true topological signals. Extensive experiments on public pathology image datasets show the superiority of our method, especially on topology-wise evaluation metrics.
Introduction
The segmentation of morphological structures such as glands and nuclei is a fundamental task in digital pathology, directly impacting cancer grading and diagnosis. While semi-supervised learning (SSL) has emerged as a powerful paradigm to utilize vast amounts of unlabeled data, standard SSL methods often fail to preserve the topological integrity of these structures. A common failure mode is the "merged gland" problem, where thin tissue boundaries are ignored, leading to incorrect morphological measurements. Existing topology-aware methods typically rely on full supervision, making them unsuitable for SSL where only noisy predictions are available for unlabeled samples.
Methodology: Topology-Aware Learning
TopoSemiSeg introduces a noise-aware topological consistency framework within a Teacher-Student architecture. The core innovation lies in leveraging Persistent Homology to decompose topological features into "signal" and "noise."
As shown in Figure 6, the method tracks the birth and death of topological features (connected components and holes) across varying thresholds. Features with high persistence are treated as true signals, while low-persistence features are considered noise. The framework employs a dual-loss strategy:
- Signal Topology Consistency Loss: Uses Wasserstein distance to align the "true" topological structures of the student with the teacher's persistent signals.
- Noisy Topology Removal Loss: Minimizes the Total Persistence of noisy features, effectively "squashing" artifacts and preventing the student from learning the teacher's errors.
Experimental Results
The framework was evaluated on the CRAG, GlaS, and MoNuSeg datasets using limited labels (10% and 20%). TopoSemiSeg consistently outperformed state-of-the-art SSL methods like XNet and UA-MT.
Qualitative results demonstrate that TopoSemiSeg effectively prevents the merging of adjacent glands, maintaining the thin stromal boundaries that other methods miss. Quantitatively, on the CRAG dataset with 20% labels, TopoSemiSeg achieved a Betti Matching Error of 8.575, a significant improvement over XNet's 10.900. It also reached an Object-level Dice score of 0.898, nearing fully supervised performance (0.928) while using significantly fewer annotations.
Conclusion
TopoSemiSeg represents a significant step forward in semi-supervised medical image segmentation by explicitly modeling topological consistency. By separating signal from noise in persistence diagrams, it enables robust learning from unlabeled data. Future work will focus on automating the signal-noise threshold and extending the framework to 3D volumetric data.
Summary updated