Self-Supervised Noisy Label Learning for Source-Free Unsupervised Domain Adaptation

Weijie Chen, Luojun Lin, Shicai Yang, Di Xie, Shiliang Pu, Yueting ZhuangIROS 2021

Abstract

It is a strong prerequisite to access source data freely in many existing unsupervised domain adaptation approaches. However, source data is agnostic in many practical scenarios due to the constraints of expensive data transmission and data privacy protection. Usually, the given source domain pre-trained model is expected to optimize with only unlabeled target data, which is termed as source-free unsupervised domain adaptation. In this paper, we solve this problem from the perspective of noisy label learning, since the given pre-trained model can pre-generate noisy label for unlabeled target data via directly network inference. Under this problem modeling, incorporating self-supervised learning, we propose a novel Self-Supervised Noisy Label Learning method, which can effectively fine-tune the pre-trained model with pre-generated label as well as selfgenerated label on the fly. Extensive experiments had been conducted to validate its effectiveness. Our method can easily achieve state-of-the-art results and surpass other methods by a very large margin.

Introduction

In traditional Unsupervised Domain Adaptation (UDA), a model is trained using a labeled source dataset and an unlabeled target dataset to bridge the domain gap. However, real-world constraints such as data privacy (e.g., HIPAA, GDPR) and transmission costs often make source data inaccessible during the adaptation phase. This scenario is known as Source-Free UDA.

The primary challenge in Source-Free UDA is that a model pre-trained on source data will inevitably produce "noisy" predictions when first applied to the target domain. Directly fine-tuning on these initial guesses can lead to the model memorizing its own errors, a phenomenon known as model collapse. This paper proposes SSNLL (Self-Supervised Noisy Label Learning), which reframes the adaptation process as a denoising problem.

Overview of the Source-Free UDA pipeline, illustrating the transition from source pre-training to target label de-noising.

Methodology

The SSNLL framework consists of three distinct phases designed to iteratively refine the model's performance on the target domain without source data access.

1. Label Denoising Preprocessing

Before the main training loop, the model undergoes two preprocessing steps to improve the quality of initial pseudo-labels:

  • Adaptive Batch Normalization (AdaBN): The model's internal statistics are recalculated using target data to account for basic distribution shifts.
  • Deep Transfer Clustering (DTC): Unsupervised clustering ensures that visually similar images are assigned consistent labels, reducing initial noise.

2. Dataset Splitting and the Small-Loss Trick

A key observation in deep learning is that networks tend to learn clean, "easy" samples before noisy, "hard" ones. SSNLL exploits this by splitting the target data based on loss values:

  • Cleaner Subset ($X_{cl}$): Samples with the lowest loss relative to initial noisy labels.
  • Noisier Subset ($X_{no}$): Samples with higher loss. To maintain class diversity and prevent the model from ignoring rare categories, a label-wise splitting strategy is employed, ensuring every class is represented in the clean group.

3. Self-Supervised Fine-Tuning

The model is then trained using a dual-objective approach:

  • Task Anchor: The cleaner subset is trained using the pre-generated labels to maintain focus on the classification task.
  • Style Adaptation: The noisier subset is trained using self-generated labels produced on-the-fly by an Exponential Moving Average (EMA) version of the model. This allows the model to adapt to the target domain's visual style while correcting its own errors.
The SSNLL training framework, showing the dataset splitting process and the dual training objectives for clean and noisy subsets.

Experimental Results

The authors evaluated SSNLL across several benchmarks, demonstrating its robustness and state-of-the-art performance.

  • VisDA-C: On this challenging synthetic-to-real benchmark, SSNLL achieved 85.8% accuracy, outperforming previous source-free methods and even several "vanilla" UDA methods that had full access to source data.
  • Digits and Traffic Signs: The method showed significant gains, such as improving USPS $\rightarrow$ MNIST accuracy from a 29.7% baseline to 98.8%.
  • Feature Stability: t-SNE visualizations confirmed that SSNLL produces tighter, more distinct feature clusters in the target domain compared to the unadapted source model.

Conclusion

SSNLL demonstrates that Source-Free UDA can be effectively solved by treating it as a noisy label learning problem. By combining the "small-loss" trick with self-supervised EMA updates, the framework achieves remarkable stability and accuracy. Future research will explore the application of this denoising perspective to more complex tasks such as object detection and semantic segmentation.

Summary updated

BibTeX
@inproceedings{chen2021self,
  author = {Weijie Chen and Luojun Lin and Shicai Yang and Di Xie and Shiliang Pu and Yueting Zhuang},
  title = {{Self-Supervised Noisy Label Learning for Source-Free Unsupervised Domain Adaptation}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=1pgC3uwdGn},
}
Figure