Cycle Self-Training for Domain Adaptation

Hong Liu, Jianmin Wang, Mingsheng Long

Abstract

Unsupervised Domain Adaptation (UDA) aims to transfer knowledge from a labeled source domain to an unlabeled target domain. While self-training with pseudo-labels is a popular approach, it often suffers from confirmation bias, where the model accumulates errors from incorrect initial predictions. We present Cycle Self-Training (CST), a novel framework that addresses this by enforcing bidirectional generalization. By requiring a target-trained classifier to maintain performance on the source domain, CST filters unreliable pseudo-labels and improves feature alignment. Evaluated across 25 tasks in computer vision and natural language processing, CST achieves state-of-the-art performance, demonstrating its robustness and versatility.

Introduction: The Challenge of Domain Shift

The core challenge in Unsupervised Domain Adaptation (UDA) is the discrepancy between the source distribution (e.g., synthetic images) and the target distribution (e.g., real-world photos). While self-training has emerged as a dominant paradigm, its reliance on model-generated "pseudo-labels" is a double-edged sword. If the initial domain gap is significant, the model's predictions on the target data are likely to be noisy. Standard self-training treats these noisy predictions as ground truth, leading the model to become increasingly confident in its own errors—a phenomenon termed confirmation bias.

Methodology: Cycle Self-Training (CST)

To mitigate error accumulation, Cycle Self-Training (CST) introduces a "round-trip" validation mechanism. Unlike standard self-training, which only optimizes for target performance, CST employs a bi-level optimization process to ensure that the knowledge transferred to the target domain is consistent with the source domain.

Comparison of Standard Self-Training vs. Cycle Self-Training architectures.

The CST process consists of two primary loops:

  1. Forward Step (Inner Loop): A classifier trained on the source domain generates pseudo-labels for the target data.
  2. Reverse Step (Outer Loop): A target-specific classifier is trained using these pseudo-labels. The model then updates its shared feature representations ($h_\phi$) to ensure that this target classifier can also accurately classify the original source data.

The underlying intuition is that if the target pseudo-labels are accurate, a classifier trained on them should be able to "cycle back" and recognize source domain features. If the labels are incorrect, the cycle fails, signaling the model to adjust its feature extraction to find more domain-invariant representations.

Adaptive Regularization with Tsallis Entropy

Beyond the cycle mechanism, the authors propose using Tsallis Entropy for regularization. Standard Gibbs entropy can be overly aggressive, forcing the model into high-confidence states too early in training. Tsallis entropy introduces an entropic-index ($\alpha$) that the model can tune adaptively. This allows for a "confidence-friendly" approach, preventing the model from collapsing into single-class predictions when uncertainty is high.

Experimental Evaluation

CST was rigorously tested across diverse benchmarks, including computer vision (Office-Home, VisDA-2017, DomainNet) and natural language processing (Amazon Reviews).

Empirical analysis of pseudo-label quality, error rates, and ROC curves under various domain shift conditions.

Key Results

CST demonstrated superior performance and universality:

  • Computer Vision: On the Office-Home dataset, CST achieved an average accuracy of 73.0%, outperforming strong baselines like SENTRY and MDD. On the large-scale VisDA-2017 synthetic-to-real task, it reached 84.8% accuracy.
  • Natural Language Processing: Using a BERT backbone on the Amazon Review sentiment analysis dataset, CST achieved an average of 91.5%, showing that the method generalizes well beyond image-based tasks.
  • Theoretical Robustness: Mathematical analysis confirms that CST can recover ground truth in scenarios where traditional distribution matching or vanilla self-training fail.

Discussion and Future Work

CST effectively addresses the confirmation bias inherent in self-training by enforcing bidirectional consistency. However, several avenues for future research remain. Integrating CST with consistency regularization—ensuring stable predictions under input perturbations—could further enhance robustness. Additionally, the vulnerability of self-training systems to adversarial data poisoning and extreme dataset bias remains an open challenge for the UDA community.

Summary updated

BibTeX
@inproceedings{liu2021cycle,
  author = {Hong Liu and Jianmin Wang and Mingsheng Long},
  title = {{Cycle Self-Training for Domain Adaptation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure