Universal Semi-supervised Model Adaptation via Collaborative Consistency Training

Zizheng Yan, Yushuang Wu, Yipeng Qin, Xiaoguang Han, Shuguang Cui, Guanbin Li

Universal Semi-supervised Model Adaptation via Collaborative Consistency Training

Introduction

In modern machine learning, the ability to adapt models to new environments is crucial. However, traditional Domain Adaptation (DA) often relies on assumptions that fail in real-world scenarios: the availability of original source data, identical label sets across domains, and a total lack of target labels. This paper introduces Universal Semi-supervised Model Adaptation (USMA), a more realistic setting where data privacy is paramount, label sets may only partially overlap, and a small number of labeled target samples are available.

The USMA Challenge

The USMA setting presents a unique "blind spot" problem. A model pre-trained on a source dataset (e.g., recognizing dogs and cats) is inherently biased toward those categories and may fail to recognize "private" classes in the target domain (e.g., birds). Conversely, a model trained solely on a few labeled target samples lacks the robust feature representations learned from the massive source dataset.

Overview of the Universal Semi-supervised Model Adaptation (USMA) framework, showing the transition from a source-pretrained network to a target dataset with mismatched labels and sparse supervision.

Collaborative Consistency Training (CCT)

To bridge this gap, the authors propose Collaborative Consistency Training (CCT). The core idea is to train two distinct models that "collaborate" to cover each other's weaknesses:

  1. Model A (Source-Pretrained): Initialized with source weights, this model acts as an expert on common classes but is initially "blind" to target-private categories.
  2. Model B (Target-Only): Initialized via self-supervised learning on target data, this model is better at capturing the unique features of the target domain, including private classes.

The framework employs two primary regularization strategies:

  • Sample-wise Consistency: The models exchange high-confidence pseudo-labels. When Model A is certain about a common-class sample, it guides Model B; when Model B identifies a target-private sample, it guides Model A. This creates a "virtuous circle" where the models cover each other's blind spots.
  • Class-wise Consistency: This strategy enforces consistency across the entire batch by analyzing the correlation between classes. It uses a class sparsity prior to ensure the models produce sharp, distinct predictions rather than collapsing into a single-class output.

Experimental Evaluation

The researchers tested CCT on three major benchmarks: DomainNet, Office-Home, and Office. To measure success in the "Universal" setting, they used the H-score, which is the harmonic mean of accuracy on common and target-private classes. This ensures a model cannot "cheat" by only performing well on one group.

On the DomainNet dataset (5-shot), CCT achieved a mean H-score of 73.3%, a significant improvement over the previous state-of-the-art (MCL at 70.0%) and basic fine-tuning (56.2%). The method proved robust even with as few as 3 labeled samples per class, maintaining a consistent lead over specialized adaptation methods.

Conclusion

CCT demonstrates that cross-model collaboration is a powerful tool for model adaptation. By forcing two differently-initialized models to agree, the system effectively transfers source knowledge while remaining flexible enough to learn entirely new categories in the target domain. While training two models increases computational overhead, the performance gains in data-scarce and privacy-sensitive environments are substantial. Future work may explore extending this collaborative approach to multi-source scenarios where multiple pre-trained models are available.

Summary updated

BibTeX
@inproceedings{yan2024universal,
  author = {Zizheng Yan and Yushuang Wu and Yipeng Qin and Xiaoguang Han and Shuguang Cui and Guanbin Li},
  title = {{Universal Semi-supervised Model Adaptation via Collaborative Consistency Training}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00092},
}
Figure