[Paper Review] Prototypical Contrast Adaptation for Domain Adaptive Semantic Segmentation
This paper proposes Prototypical Contrast Adaptation (ProCA), a novel contrastive learning method for unsupervised domain adaptive semantic segmentation that enhances feature discrimination by modeling inter-class relationships through class-wise prototypes. By aligning target features to same-class prototypes and pushing them away from others, ProCA achieves state-of-the-art mIoU of 56.3% on GTA5→Cityscapes and 53.0% on SYNTHIA→Cityscapes using DeepLab-v2 with ResNet-101.
Unsupervised Domain Adaptation (UDA) aims to adapt the model trained on the labeled source domain to an unlabeled target domain. In this paper, we present Prototypical Contrast Adaptation (ProCA), a simple and efficient contrastive learning method for unsupervised domain adaptive semantic segmentation. Previous domain adaptation methods merely consider the alignment of the intra-class representational distributions across various domains, while the inter-class structural relationship is insufficiently explored, resulting in the aligned representations on the target domain might not be as easily discriminated as done on the source domain anymore. Instead, ProCA incorporates inter-class information into class-wise prototypes, and adopts the class-centered distribution alignment for adaptation. By considering the same class prototypes as positives and other class prototypes as negatives to achieve class-centered distribution alignment, ProCA achieves state-of-the-art performance on classical domain adaptation tasks, {\em i.e., GTA5 $ o$ Cityscapes ext{and} SYNTHIA $ o$ Cityscapes}. Code is available at \href{https://github.com/jiangzhengkai/ProCA}{ProCA}
Motivation & Objective
- Address the limitation of prior unsupervised domain adaptation (UDA) methods that focus only on intra-class distribution alignment, leading to poor inter-class separation on the target domain.
- Improve feature discriminability in the target domain by explicitly modeling inter-class structural relationships using class-wise prototypes.
- Enhance domain invariance and representation quality by jointly optimizing feature-level and output-level contrastive adaptation with online prototype updates.
- Achieve superior performance on standard UDA benchmarks for semantic segmentation by integrating class-aware pseudo-labeling and multi-level adaptation.
Proposed method
- Construct class-wise prototypes as centroid representations of features from the source domain to model inter-class relationships.
- Apply prototypical contrastive learning by treating features of the same class as positive pairs and features from different classes as negative pairs.
- Introduce a dual-branch contrastive adaptation: one at the feature level (using features from the segmentation head) and one at the output level (using logits from the classifier).
- Implement an online prototype updating scheme that refines prototypes using features from both source and target domains during training to improve domain invariance.
- Integrate a self-training framework with class-aware adaptive thresholds to filter high-confidence pseudo-labels, improving pseudo-label quality.
- Combine in-domain (source-to-source) and cross-domain (target-to-source) contrastive learning to stabilize and enhance feature alignment.
Experimental results
Research questions
- RQ1Can explicit modeling of inter-class relationships through prototypes improve domain generalization in unsupervised semantic segmentation?
- RQ2Does contrastive learning based on class-wise prototypes outperform pixel-wise contrastive methods in domain adaptation for semantic segmentation?
- RQ3How does joint feature-level and output-level contrastive adaptation affect performance compared to single-level adaptation?
- RQ4To what extent does online prototype updating improve domain invariance and model robustness?
- RQ5What is the optimal threshold percentage for generating high-confidence pseudo-labels in the self-training phase?
Key findings
- ProCA achieves a state-of-the-art mIoU of 56.3% on the GTA5→Cityscapes benchmark using DeepLab-v2 with ResNet-101, significantly outperforming previous SOTA methods.
- The ablation study confirms that combining in-domain and cross-domain contrastive learning yields the highest mIoU (48.8%), demonstrating the effectiveness of dual-branch adaptation.
- Using 60% as the threshold for pseudo-label generation in self-training yields the best performance (55.1% mIoU), while higher thresholds degrade performance.
- The multi-level adaptation (feature + output) achieves 48.8% mIoU, outperforming single-level variants (47.9% and 48.4% respectively), proving the benefit of hierarchical alignment.
- The online mixed updating scheme for prototypes achieves 48.8% mIoU, surpassing fixed-prototype (47.8%) and source-only updating (48.3%) methods, validating its role in improving domain invariance.
- ProCA achieves 48.8% mIoU with only prototypical contrastive adaptation, outperforming FADA (46.9%), SDCA (47.2%), and memory bank baselines (47.6%), confirming its superiority in inter-class modeling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.