Abstract
We study the problem of unsupervised domain adaptation in the universal scenario, in which only some of the classes are shared between the source and target domains. We present a scoring scheme that is effective in identifying the samples of the shared classes. The score is used to select which samples in the target domain to pseudo-label during training. Another loss term encourages diversity of labels within each batch. Taken together, our method is shown to outperform, by a sizable margin, the current state of the art on the literature benchmarks.
Introduction
Traditional Unsupervised Domain Adaptation (UDA) assumes that the source and target domains share an identical label space. However, real-world applications often encounter category shifts where the domains only partially overlap. This paper addresses Universal Domain Adaptation (UDA), a generalized setting that encompasses several scenarios: Partial DA, Open Set DA, and the most complex case where both domains contain private classes.
The primary challenge in Universal DA is avoiding negative transfer, which occurs when a model incorrectly forces "unknown" target-private samples into known source categories, thereby degrading overall performance.
Methodology
The proposed approach focuses on identifying target samples belonging to shared classes to facilitate effective knowledge transfer while isolating private classes. This is achieved through three main components: a novel scoring scheme, selective pseudo-labeling, and a batch diversity loss.
1. The Sample Transfer Score ($w(x)$)
The core innovation is a simple yet effective scoring mechanism to distinguish shared classes from private ones. For a target sample $x$, the score is defined as: $$w(x) = d(x) + \max \bar{y}(x)$$ where $d(x)$ represents the domain similarity (output from a domain classifier) and $\max \bar{y}(x)$ is the label classifier's confidence. The intuition is that a target sample is likely shared if it resembles the source domain and the classifier is confident in its prediction.
2. Selective Pseudo-labeling
To leverage unlabeled target data without introducing noise, the model employs selective pseudo-labeling. Only samples with a score $w(x)$ exceeding a dynamic threshold $w_\alpha(t)$ are assigned labels. This threshold starts high and gradually relaxes as training progresses and the model's feature representation improves.
3. Batch Diversity Loss
To prevent the model from collapsing into a trivial solution (e.g., classifying all target samples as "unknown"), a diversity loss is applied. This term encourages the model to distribute its predictions across all available source classes within each training batch for the target domain.
Experiments and Results
The method was evaluated on four major benchmarks: Office-Home, Office31, VisDA2017, and ImageNet-Caltech. In all cases, the proposed approach significantly outperformed the previous state-of-the-art, Universal Adaptation Network (UAN).
| Dataset | Proposed Method | Previous SOTA (UAN) | Improvement |
|---|---|---|---|
| Office-Home | 78.29% | 77.02% | +1.27% |
| Office31 | 91.80% | 89.24% | +2.56% |
| VisDA2017 | 64.31% | 60.83% | +3.48% |
| ImageNet-Caltech | 75.40% | 72.73% | +2.67% |
Qualitatively, the scoring scheme effectively separates the distributions of shared target samples from private target samples, which is critical for successful universal adaptation.
Conclusion
This work demonstrates that a straightforward additive scoring scheme combining domain similarity and classifier confidence is highly effective for Universal Domain Adaptation. By selectively pseudo-labeling high-confidence shared samples and enforcing label diversity, the model achieves superior performance across diverse benchmarks. While the model shows robustness to threshold settings, future work could explore more explicit modeling of the "unknown" target-private distribution to further enhance performance.
Summary updated