Unknown-Oriented Learning for Open Set Domain Adaptation

Jie Liu, Xiaoqing Guo, Yixuan YuanECCV 2022

Introduction

Unsupervised Domain Adaptation (UDA) has traditionally focused on bridging the gap between a labeled source domain and an unlabeled target domain, assuming both share an identical set of categories. However, real-world scenarios often involve Open Set Domain Adaptation (OSDA), where the target domain contains "unknown" categories not present during training.

Existing OSDA methods frequently struggle because they treat the "unknown" class as a single, monolithic outlier. This oversimplification leads to significant misclassification, where unknown samples are incorrectly assigned to known classes (false positives) or known samples are discarded as unknown (false negatives). The Unknown-Oriented Learning (UOL) framework addresses this by treating the unknown category as a complex, multi-faceted distribution and leveraging the geometric properties of gradient manifolds to refine classification boundaries.

The UOL Framework

The UOL framework operates through a three-stage pipeline designed to systematically isolate unknowns while aligning known categories across domains.

The three-stage Unknown-Oriented Learning (UOL) framework: (a) True Unknown Excavation, (b) False Unknown Suppression via GIA, and (c) Known Alignment.

1. True Unknown Excavation

To capture the semantic diversity of the unknown space, UOL introduces a Multi-Unknown Detector (MUD). Instead of a single output logit for the unknown class, MUD utilizes $N$ distinct weights. A Weight Discrepancy Constraint is applied to minimize the cosine similarity between these weights, forcing the model to "scout" different regions of the feature space. This allows the model to represent the unknown category as a collection of potential sub-classes rather than a single point.

2. False Unknown Suppression

To prevent the mislabeling of known target samples as unknown, the authors propose Gradient-graph Induced Annotation (GIA). This stage posits that the gradient of a sample—representing how the model intends to update its weights—is more discriminative than static feature embeddings. GIA constructs two specific graphs:

  • S2TAG: Connects target samples to their $k$-nearest source neighbors in gradient space to identify "super confident" target samples.
  • T2TAG: Propagates this confidence across the target domain using the geometric structure of the gradient manifold to generate robust pseudo-labels.

3. Known Alignment

Once unknowns are identified and suppressed, the remaining samples undergo standard category-level alignment. Using discriminators, the model aligns the shared classes between the source and target domains to ensure high accuracy on known categories.

Experimental Results and Analysis

The researchers evaluated UOL against state-of-the-art (SOTA) methods using the HOS (Harmonic mean of OS* and UNK) metric, which balances accuracy on known classes with the ability to reject unknowns. Testing was conducted on three major benchmarks: Digital Recognition (MNIST, USPS, SVHN), Office-Home, and a new medical benchmark, Endo-c2k.

Comparison of confusion matrices between existing methods and the proposed approach, showing significant reduction in misclassifications and improved identification of unknown samples.

As shown in the confusion matrix analysis, UOL significantly reduces the number of unknown samples misclassified as known categories (the blue column) and known samples misclassified as unknown (the yellow row).

Key Performance Highlights:

  • Office-Home: UOL achieved an average HOS of 74.2%, a substantial improvement over the previous SOTA, $\epsilon$-OSD, which achieved 54.0%.
  • Digital Recognition: UOL reached an average HOS of 93.1%, outperforming competitive methods like JPOT (88.9%).
  • Endo-c2k: On this medical endoscopy dataset, UOL outperformed all other methods in recognizing unknown samples by margins of 4.8% to 15.9%, demonstrating its robustness in high-stakes clinical applications.

Conclusion

The UOL framework shifts the paradigm of Open Set Domain Adaptation by acknowledging that the "unknown" is a semantically rich space rather than a statistical outlier. By utilizing multiple detectors and gradient-based graph annotation, UOL achieves superior performance in identifying unseen categories. Future work aims to incorporate visual-linguistic priors (e.g., CLIP) to provide semantic anchors for these unknown distributions, further improving the model's interpretability.

Summary updated

BibTeX
@inproceedings{liu2022unknown,
  author = {Jie Liu and Xiaoqing Guo and Yixuan Yuan},
  title = {{Unknown-Oriented Learning for Open Set Domain Adaptation}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19827-4\_20},
}
Figure