[Paper Review] Unsupervised Adaptation of Semantic Segmentation Models without Source Data
This paper proposes a self-training framework for unsupervised domain adaptation in semantic segmentation without access to source data, leveraging confidence-filtered pseudo-labeling and input-output consistency under spatial and augmentation transformations. The method achieves state-of-the-art performance on GTA5→Cityscapes, SYNTHIA→Cityscapes, and SceneNet→SUN, outperforming existing source-free approaches and nearing SOTA results that use source data.
We consider the novel problem of unsupervised domain adaptation of source models, without access to the source data for semantic segmentation. Unsupervised domain adaptation aims to adapt a model learned on the labeled source data, to a new unlabeled target dataset. Existing methods assume that the source data is available along with the target data during adaptation. However, in practical scenarios, we may only have access to the source model and the unlabeled target data, but not the labeled source, due to reasons such as privacy, storage, etc. In this work, we propose a self-training approach to extract the knowledge from the source model. To compensate for the distribution shift from source to target, we first update only the normalization parameters of the network with the unlabeled target data. Then we employ confidence-filtered pseudo labeling and enforce consistencies against certain transformations. Despite being very simple and intuitive, our framework is able to achieve significant performance gains compared to directly applying the source model on the target data as reflected in our extensive experiments and ablation studies. In fact, the performance is just a few points away from the recent state-of-the-art methods which use source data for adaptation. We further demonstrate the generalisability of the proposed approach for fully test-time adaptation setting, where we do not need any target training data and adapt only during test-time.
Motivation & Objective
- To address the practical challenge of adapting semantic segmentation models to new domains without access to the original labeled source data due to privacy or storage constraints.
- To develop a self-training framework that extracts knowledge from a pre-trained source model using only unlabeled target data.
- To demonstrate the effectiveness of consistency regularization and pseudo-labeling in the absence of source data for domain adaptation.
- To extend the proposed method to the fully test-time adaptation setting, enabling adaptation per inference sample without any target training data.
Proposed method
- First, update only the normalization (batch norm) parameters of the target model using unlabeled target data to reduce distribution shift.
- Generate pseudo-labels for the unlabeled target images using the source model, applying confidence filtering to discard low-confidence predictions.
- Enforce input-output consistency by applying spatial transformations (e.g., rotation, flipping) and data augmentations (e.g., cutout, blur) to input images and enforcing consistent predictions across views.
- Optimize the target model using a constrained objective: minimize the pseudo-label loss while satisfying consistency constraints derived from transformed inputs.
- Introduce a data augmentation strategy using image collage to increase training diversity and improve generalization.
- Adapt the framework for test-time adaptation by applying the consistency loss per test image, resetting the model to the source weights after each prediction.
Experimental results
Research questions
- RQ1Can a semantic segmentation model be effectively adapted to a new domain without access to the original source training data?
- RQ2How effective is consistency-based self-training with pseudo-labeling in the absence of source data for domain adaptation?
- RQ3Can the proposed method achieve performance competitive with state-of-the-art methods that use source data during adaptation?
- RQ4Does the consistency-based approach generalize to the fully test-time adaptation setting, where no target training data is available?
Key findings
- The proposed method achieves 39.3 mIoU on GTA5→Cityscapes, outperforming existing source-free methods and being within a few points of SOTA methods that use source data.
- On SYNTHIA→Cityscapes, the method achieves 33.2 mIoU, demonstrating strong generalization across diverse outdoor scenes.
- For the novel indoor domain shift (SceneNet→SUN), the method achieves 27.6 mIoU, establishing a new SOTA in this previously unexplored setting.
- In the fully test-time adaptation setting, the method achieves 39.3 mIoU on GTA5→Cityscapes, outperforming dedicated loss functions from recent TTA methods.
- Ablation studies show that fine-tuning the source model underperforms compared to training a new target model from scratch, highlighting the benefit of starting from a fresh initialization.
- The consistency-based approach with pseudo-labeling on original images (rather than augmented ones) yields better performance than pseudo-labeling augmented images, confirming the importance of transformation order.
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.