Provably Uncertainty-Guided Universal Domain Adaptation
Yifan Wang, Lin Zhang, Ran Song, Paul L. Rosin, Yibin Li, Wei Zhang
TL;DR
The paper addresses UniDA by introducing an uncertainty-guided framework that avoids relying on potentially misaligned classifier outputs. It estimates the unknown probability $p(y=C+1\mid \mathbf{z})$ from target neighborhoods, discovers unknown samples via a linear-subspace NSLS approach with a $\delta$-filter, and trains with an uncertainty-guided margin loss plus an unknown-sample entropy loss and a supervised contrastive loss on the source. Key contributions include a Bayes-based empirical uncertainty estimate, a robust NSLS/$\delta$-filter unknown-discovery scheme, and an uncertainty-balanced learning objective, all validated by state-of-the-art results on Office-31, OfficeHome, and VisDA under OPDA and ODA settings. The method demonstrates strong generalization to different backbones (ResNet-50 and VGG) and provides insights for reducing domain misalignment while controlling overconfidence on unknowns, with practical impact for reliable UniDA in real-world tasks.
Abstract
Universal domain adaptation (UniDA) aims to transfer the knowledge from a labeled source domain to an unlabeled target domain without any assumptions of the label sets, which requires distinguishing the unknown samples from the known ones in the target domain. A main challenge of UniDA is that the nonidentical label sets cause the misalignment between the two domains. Moreover, the domain discrepancy and the supervised objectives in the source domain easily lead the whole model to be biased towards the common classes and produce overconfident predictions for unknown samples. To address the above challenging problems, we propose a new uncertainty-guided UniDA framework. Firstly, we introduce an empirical estimation of the probability of a target sample belonging to the unknown class which fully exploits the distribution of the target samples in the latent space. Then, based on the estimation, we propose a novel neighbors searching scheme in a linear subspace with a $δ$-filter to estimate the uncertainty score of a target sample and discover unknown samples. It fully utilizes the relationship between a target sample and its neighbors in the source domain to avoid the influence of domain misalignment. Secondly, this paper well balances the confidences of predictions for both known and unknown samples through an uncertainty-guided margin loss based on the confidences of discovered unknown samples, which can reduce the gap between the intra-class variances of known classes with respect to the unknown class. Finally, experiments on three public datasets demonstrate that our method significantly outperforms existing state-of-the-art methods.
