DyCON: Dynamic Uncertainty-aware Consistency and Contrastive Learning for Semi-supervised Medical Image Segmentation
Maregu Assefa, Muzammal Naseer, Iyyakutti Iyappan Ganapathi, Syed Sadaf Ali, Mohamed L Seghier, Naoufel Werghi
TL;DR
DyCON tackles the challenge of semi-supervised medical image segmentation under extreme class imbalance and pathology-driven uncertainty by introducing two specialized losses: UnCL, which dynamically weights voxel-wise consistency by entropy to favor uncertain regions early and refine confident areas later, and FeCL, which uses patch-wise focal, entropy-aware contrastive learning with top-$k$ hard negatives to improve local discrimination. The framework is embedded in a Mean-Teacher setup and leverages entropy-based weighting $\frac{1}{\exp(\beta \cdot H_s(p^s_i)) + \exp(\beta \cdot H_t(p^t_i))}$ with a schedulable $\beta(t)$ to balance exploration and convergence, plus patch-level representations $z_i^s$ processed through a projection head with dual focal weights $F_k^+$ and $F_q^-$. Extensive experiments on ISLES'22, BraTS'19, LA, and Pancreas demonstrate state-of-the-art performance under 5–20% labeled data, with notable improvements in Dice, IoU, and boundary delineation, confirming robust generalization across MRI and CT modalities. The results highlight the method’s potential to reduce annotation burden while preserving high segmentation fidelity in clinically challenging scenarios.
Abstract
Semi-supervised learning in medical image segmentation leverages unlabeled data to reduce annotation burdens through consistency learning. However, current methods struggle with class imbalance and high uncertainty from pathology variations, leading to inaccurate segmentation in 3D medical images. To address these challenges, we present DyCON, a Dynamic Uncertainty-aware Consistency and Contrastive Learning framework that enhances the generalization of consistency methods with two complementary losses: Uncertainty-aware Consistency Loss (UnCL) and Focal Entropy-aware Contrastive Loss (FeCL). UnCL enforces global consistency by dynamically weighting the contribution of each voxel to the consistency loss based on its uncertainty, preserving high-uncertainty regions instead of filtering them out. Initially, UnCL prioritizes learning from uncertain voxels with lower penalties, encouraging the model to explore challenging regions. As training progress, the penalty shift towards confident voxels to refine predictions and ensure global consistency. Meanwhile, FeCL enhances local feature discrimination in imbalanced regions by introducing dual focal mechanisms and adaptive confidence adjustments into the contrastive principle. These mechanisms jointly prioritizes hard positives and negatives while focusing on uncertain sample pairs, effectively capturing subtle lesion variations under class imbalance. Extensive evaluations on four diverse medical image segmentation datasets (ISLES'22, BraTS'19, LA, Pancreas) show DyCON's superior performance against SOTA methods.
