A Novel Framework based on Unknown Estimation via Principal Sub-space for Universal Domain Adaption

Yifan Wang, Lin Zhang, Ran Song, Lin Ma, Wei ZhangarXiv 2022

Abstract

Universal Domain Adaptation (UniDA) addresses the challenge of transferring knowledge between domains with partially overlapping label sets. This paper introduces a novel framework that leverages principal subspace analysis for unknown sample estimation and an uncertainty-guided margin loss to mitigate model overconfidence. By projecting features into a linear subspace, the method effectively separates unknown target samples from known categories. Experimental results on Office-31, OfficeHome, and VisDA benchmarks demonstrate state-of-the-art performance, particularly in balancing accuracy between known and unknown classes via the H-score metric.

Introduction

Domain Adaptation (DA) traditionally focuses on training models on a labeled source domain to perform well on an unlabeled target domain, assuming identical categories. However, Universal Domain Adaptation (UniDA) presents a more complex scenario where both domains may contain private classes. This "open-world" setting introduces two significant hurdles: domain misalignment and model overconfidence.

Universal Domain Adaptation setting and clustering comparison.

Domain misalignment occurs when features from different domains do not overlap perfectly in latent space, complicating the distinction between misaligned known samples and truly unknown ones. Furthermore, models trained exclusively on source labels often exhibit overconfidence, erroneously assigning unknown target samples to known source categories with high probability.

Methodology

The proposed framework tackles these issues through a structural discovery mechanism and a balanced loss function designed to handle the "wild west" of UniDA.

Overview of the proposed framework architecture.

Structural Discovery of Unknown Samples

Instead of relying on classifier outputs, which are prone to overconfidence, the framework analyzes the geometric structure of the data:

  • Neighbors Searching in Linear Subspace (NSLS): By applying Singular Value Decomposition (SVD), features are projected into a lower-dimensional principal subspace. This reduces noise and feature correlation, causing unknown samples to drift away from known clusters and making them easier to identify.
  • The $\delta$-filter: This dynamical filter uses spectral decomposition to check the compactness of a target sample relative to its neighbors. Samples that are isolated or show neighborhood inconsistency are flagged as unknown. The authors provide theoretical grounding for this approach through Proposition 1, proving the statistical reliability of this neighborhood-based estimation.

Uncertainty-Guided Margin (UGM) Loss

To counteract overconfidence, the authors introduce the UGM loss. Standard Cross-Entropy loss pushes models toward 100% confidence, which is detrimental when encountering unknown classes. UGM enforces an adaptive margin based on the uncertainty of discovered unknown samples. This margin creates a buffer in the feature space, preventing the model from overfitting to known classes before it has accurately identified the unknown ones.

Experimental Results

The framework was evaluated on three major benchmarks using the H-score (the harmonic mean of accuracy for known and unknown classes):

  • Office-31: Achieved an average H-score of 91.5%, a 2.0% improvement over previous state-of-the-art (SOTA) methods.
  • OfficeHome: Reached 74.4% in the Open-set setting, outperforming the previous SOTA by 5.3%.
  • VisDA: On the large-scale synthetic-to-real task, it achieved 74.5%, a 3.7% improvement.

Qualitative results using t-SNE visualizations demonstrate that the method produces tighter, more distinct clusters for known classes while maintaining clear separation for unknown samples (red dots).

Conclusion

This paper presents a robust framework for UniDA that effectively identifies unknown samples through subspace analysis and manages model confidence via an uncertainty-guided margin. The approach sets new performance records across standard benchmarks. Future research may explore automated threshold tuning and scaling the memory-bank-based neighbor search for larger datasets.

Summary updated

BibTeX
@misc{wang2022novel,
  author = {Yifan Wang and Lin Zhang and Ran Song and Lin Ma and Wei Zhang},
  title = {{A Novel Framework based on Unknown Estimation via Principal Sub-space for Universal Domain Adaption}},
  year = {2022},
  url = {https://openreview.net/forum?id=nkunqz8AH4Z},
}
Figure