Gradual Domain Adaptation via Self-Training of Auxiliary Models

Yabin Zhang, Bin Deng, Kui Jia, Lei ZhangarXiv 2021

Introduction: The Challenge of Large Domain Gaps

Deep learning models often exhibit significant performance degradation when deployed on data that differs from their training distribution—a phenomenon known as domain shift. While standard Domain Adaptation (DA) techniques attempt to align source and target distributions in a shared feature space, they frequently fail when the "gap" between these domains is substantial.

As the distance between the source ($S$) and target ($T$) domains increases, the labels from the source become increasingly unreliable for the target data. This leads to a drop in the model's prediction confidence and accuracy. Empirical evidence suggests that direct alignment methods struggle to bridge this divide in a single step, as the model cannot find a stable anchor in the target domain.

Performance degradation and confidence drop as the domain gap (rotation) increases.

The AuxSelfTrain Framework

To address this, the authors introduce AuxSelfTrain, a method that decomposes the adaptation process into a sequence of $M$ manageable steps. Instead of attempting a direct jump from $S$ to $T$, the framework constructs a path of evolving intermediate domains.

Visualizing the gradual adaptation process through intermediate domains.

Core Methodology

  1. Evolving Intermediate Domains: The process begins with the source domain and gradually shifts toward the target. At each step $m$, the training set is updated to include a higher proportion of target data and a lower proportion of source data.
  2. Intelligent Sample Selection: The framework does not select samples at random. It prioritizes target samples for which the current model exhibits high confidence (maximum prediction probability). Simultaneously, it filters out source samples that are most divergent from the target domain using a prototype-based classifier.
  3. Self-Training of Auxiliary Models: An auxiliary model is trained at each step $m$ using pseudo-labels generated by the model from the previous step ($m-1$). Because the distributional shift between consecutive steps is kept small, the accuracy of these pseudo-labels remains high, preventing the error accumulation typical of standard self-training.
  4. Enhanced Indicator (Implicit Ensemble): To mitigate the risk of "confident but wrong" predictions, AuxSelfTrain employs an implicit ensemble. It combines the standard softmax output with two parameter-free classifiers: K-means clustering and Label Propagation. This trio provides a robust measure of sample reliability, ensuring that only the most trustworthy target samples are used for adaptation.

Experimental Evaluation

The researchers evaluated AuxSelfTrain on several rigorous benchmarks, demonstrating its superiority over existing state-of-the-art (SOTA) methods:

  • VisDA-2017: In this large-scale synthetic-to-real challenge, AuxSelfTrain achieved 85.2% accuracy, significantly outperforming the previous best (RWOT at 84.0%) and the standard DANN baseline (55.0%).
  • OfficeHome: Across 65 categories and four domains, the method reached an average accuracy of 72.5%, surpassing other modern techniques like SRDC (71.3%).
  • Semi-Supervised DA (DomainNet): The method proved scalable to semi-supervised settings, reaching 76.4% accuracy on the massive DomainNet dataset.

Key Insights and Discussion

A central insight of this work is that a model's maximum prediction probability serves as an effective proxy for domain distance. By using the model to "curate" its own adaptation path, AuxSelfTrain maintains high pseudo-label accuracy throughout the transition. Furthermore, the use of diverse indicators (clustering and label propagation) captures structural data properties that a single classifier might miss, making the selection process more resilient.

Limitations and Future Work

While highly effective, the primary drawback of AuxSelfTrain is its computational overhead. Training $M$ auxiliary models (often $M=50$) is more intensive than single-step adaptation, though the authors note that fine-tuning is faster than training from scratch. Future research may explore more efficient ways to construct intermediate domains, such as using pixel-level mixup, or developing even more advanced indicators for sample selection.

Conclusion

AuxSelfTrain demonstrates that gradualism is a powerful strategy for domain adaptation. By breaking a large domain gap into a series of small, self-trained steps supported by a robust ensemble indicator, the framework achieves new levels of performance on challenging real-world datasets.

Summary updated

BibTeX
@misc{zhang2021gradual,
  author = {Yabin Zhang and Bin Deng and Kui Jia and Lei Zhang},
  title = {{Gradual Domain Adaptation via Self-Training of Auxiliary Models}},
  year = {2021},
  eprint = {2106.09890},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.09890},
}
Figure