Unveiling Class-Labeling Structure for Universal Domain Adaptation

Haifeng Hu, Yueming Yin, Zhen Yang, Xiaofu Wu, Haifeng Hu 0004arXiv 2020 · arXiv

Abstract

Universal Domain Adaptation (UDA) addresses the challenge of domain shift when label sets between source and target domains only partially overlap. Traditional methods rely on prediction entropy to identify common classes, but this signal is often noisy and unreliable. We present S-UAN (Simple Universal Adaptation Network), which leverages the "class-labeling structure" of target data through prediction margins. By focusing on target-side confidence rather than source-side uncertainty, S-UAN effectively identifies shared categories and mitigates negative transfer. Our approach achieves state-of-the-art performance on major benchmarks including Office-31, Office-Home, and VisDA2017.

Introduction

Domain Adaptation (DA) typically assumes a closed-set scenario where source and target domains share identical label sets. However, real-world applications often involve "wild" scenarios where the target domain may contain novel classes (Open-set DA) or only a subset of source classes (Partial DA). Universal Domain Adaptation (UDA) encompasses these variations, requiring models to autonomously identify the common label set shared by both domains without access to target labels.

Previous state-of-the-art methods, such as the original Universal Adaptation Network (UAN), utilized prediction entropy and auxiliary classifiers to weight samples. A critical observation made in this work is that entropy is a deceptive metric: as adversarial training aligns domains, source samples in common classes often exhibit increased entropy, making them harder to distinguish from private classes. S-UAN addresses this by shifting the focus to the prediction margin of target data.

Methodology: The S-UAN Framework

The core innovation of S-UAN is the use of the prediction margin—the difference between the highest and second-highest class probabilities—to unveil the underlying class-labeling structure.

The Margin Vector and Target Margin Register (TMR)

Instead of sample-wise entropy, S-UAN calculates a "margin vector" over the target domain. If target samples are consistently predicted into a specific source class with a high margin, that class is likely part of the common label set. To stabilize this estimation during training, we introduce the Target Margin Register (TMR). The TMR maintains a running average of empirical margins for each class, updating only when the source classification error is sufficiently low to ensure reliable signals.

Mechanism for determining pseudo-label reliability using prediction margins.

Architecture and Weighting

The S-UAN architecture is streamlined, consisting of a feature extractor ($F$), a classifier ($G$), and a domain discriminator ($D$). It eliminates the need for the auxiliary non-adversarial classifiers used in prior work.

  • Source Weighting: Source samples are weighted class-wise based on TMR values. Classes deemed "reliable" (common) receive higher weights during adversarial training.
  • Target Weighting: Target samples are weighted based on their maximum prediction probability, facilitating the decision to either classify them into a known category or reject them as "unknown."

Key Insights and Results

A primary finding of this research is that the target domain's class-labeling structure provides a significantly more discriminative signal than source-side uncertainty. By using class-wise weighting for the source domain, S-UAN achieves greater robustness compared to sample-wise methods.

Comparison of class distributions between UAN and the proposed S-UAN.

As shown in the distribution visualizations, S-UAN provides much clearer separation between shared and private classes compared to the baseline UAN. This separation is crucial for mitigating "negative transfer," where forcing alignment between non-overlapping classes degrades model performance.

Experimental Performance

S-UAN was evaluated on four standard benchmarks, consistently outperforming existing methods:

  • Office-31: Achieved 94.03% average accuracy (vs. 89.24% for UAN).
  • Office-Home: Reached 79.33% average accuracy (vs. 77.02% for UAN).
  • VisDA2017: Improved accuracy to 65.20% (vs. 60.83% for UAN).
  • ImageNet-Caltech: Demonstrated scalability and robustness on massive-scale shifts.

Conclusion

S-UAN simplifies the UDA pipeline while improving accuracy by focusing on the inherent labeling structure of the target domain. While the model effectively handles common classes, bounding the theoretical risk for target-private ("unknown") classes remains a challenge for future research. Adaptive thresholding mechanisms and more sophisticated modeling of unknown distributions represent promising directions for extending this work.

Summary updated

Abstract

As a more practical setting for unsupervised domain adaptation, Universal Domain Adaptation (UDA) is recently introduced, where the target label set is unknown. One of the big challenges in UDA is how to determine the common label set shared by source and target domains, as there is simply no labeling available in the target domain. In this paper, we employ a probabilistic approach for locating the common label set, where each source class may come from the common label set with a probability. In particular, we propose a novel approach for evaluating the probability of each source class from the common label set, where this probability is computed by the prediction margin accumulated over the whole target domain. Then, we propose a simple universal adaptation network (S-UAN) by incorporating the probabilistic structure for the common label set. Finally, we analyse the generalization bound focusing on the common label set and explore the properties on the target risk for UDA. Extensive experiments indicate that S-UAN works well in different UDA settings and outperforms the state-of-the-art methods by large margins.
BibTeX
@misc{hu2020unveiling,
  author = {Haifeng Hu and Yueming Yin and Zhen Yang and Xiaofu Wu and Haifeng Hu},
  title = {{Unveiling Class-Labeling Structure for Universal Domain Adaptation}},
  year = {2020},
  eprint = {2010.04873},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.04873},
}
Figure