Abstract
Versatile Medical Image Segmentation (VMIS) is essential for comprehensive anatomical analysis but is often hampered by the lack of fully annotated datasets. Most available resources are Partially Labeled Datasets (PLDs), where only specific organs are labeled, leading to class imbalance and ambiguous background signals. We present Task Consistency Training (TCT), a framework that leverages unlabeled structures by enforcing consistency between a multi-channel Main Segmentation Head (MSH) and task-specific Auxiliary Task Heads (ATHs). TCT effectively mines latent information from unannotated regions, improving model robustness and generalization. Evaluated on 1,133 cases, TCT achieves state-of-the-art performance (92.26% DSC on CT) and demonstrates superior cross-dataset generalization without additional inference overhead.
Introduction
In clinical practice, medical image segmentation often requires identifying a wide range of organs and tissues. While deep learning has advanced this field, the scarcity of "fully labeled" datasets—where every structure of interest is annotated—remains a significant bottleneck. Most available data are Partially Labeled Datasets (PLDs), where only a subset of organs is annotated per scan. Treating unannotated organs as background leads to class imbalance and conflicting training signals, hindering the development of versatile models. Existing solutions often rely on pseudo-labeling, which is computationally expensive and prone to noise propagation.
Methodology: Task Consistency Training (TCT)
The proposed TCT framework addresses these challenges by "mining" information from unlabeled structures within PLDs. The architecture utilizes a shared 3D-UNet backbone followed by two types of output heads:
- Main Segmentation Head (MSH): A multi-channel head that predicts all $N$ target classes simultaneously.
- Auxiliary Task Heads (ATHs): A set of $N$ lightweight, single-channel heads, each specialized in segmenting a specific organ.
Consistency Constraint
The core innovation is the enforcement of consistency between the MSH and the ATHs. For a given scan where only a subset of organs is labeled, the MSH still produces predictions for all organs. TCT requires that the MSH's prediction for an unlabeled organ aligns with the prediction from the corresponding specialized ATH. This self-supervision allows the model to learn from unlabeled regions without requiring external teacher models.
Optimization and Filtering
To maintain high-quality learning and prevent error propagation, the framework includes:
- Consistency Filtering: An Intersection over Union (IoU) metric evaluates the agreement between MSH and ATH. Low-agreement predictions are filtered out to ensure the model does not learn from unreliable "garbage" predictions.
- Unified Auxiliary Uncertainty-Weighted Loss (UAUWL): This loss function uses learnable parameters to dynamically weight tasks based on difficulty, preventing simpler segmentation tasks (like the liver) from dominating the training process over more complex ones (like the pancreas).
Experimental Results
The framework was evaluated using a large-scale cohort of 1,133 abdominal cases across eight datasets, including CT and MR modalities. Training was performed on PLDs such as KiTS19 and MSD, while evaluation focused on unseen fully labeled datasets like BTCV and AMOS-CT.
Performance and Generalization
TCT achieved a state-of-the-art Dice Similarity Coefficient (DSC) of 92.26% on CT PLDs, outperforming existing methods like Task-Adaptive Learning (TAL) and Adaptive-Alignment Learning (AAL). Crucially, the model demonstrated superior generalization to unseen clinical sites and scanners. Qualitative analysis showed that TCT successfully separates adjacent organs that often overlap in other task-prompted models. Furthermore, the auxiliary heads are discarded during inference, ensuring the final model remains as efficient as a standard UNet.
Conclusion
Task Consistency Training provides an efficient, single-stage solution for training versatile segmentation models on partially labeled data. By treating unlabeled organs as opportunities for consistency-based self-supervision, TCT achieves high accuracy and excellent generalization. Future work will explore incorporating explicit anatomical priors to further enhance spatial reasoning between segmented structures.
Summary updated