Open-Set Hypothesis Transfer with Semantic Consistency

Zeyu Feng, Chang Xu, Dacheng Tao · DOI

Abstract

Unsupervised open-set domain adaptation (UODA) is a realistic problem where unlabeled target data contain unknown classes. Prior methods rely on the coexistence of both source and target domain data to perform domain alignment, which greatly limits their applications when source domain data are restricted due to privacy concerns. This paper addresses the challenging hypothesis transfer setting for UODA, where data from source domain are no longer available during adaptation on target domain. We introduce a method that focuses on the semantic consistency under transformation of target data, which is rarely appreciated by previous domain adaptation methods. Specifically, our model first discovers confident predictions and performs classification with pseudo-labels. Then we enforce the model to output consistent and definite predictions on semantically similar inputs. As a result, unlabeled data can be classified into discriminative classes coincided with either source classes or unknown classes. Experimental results show that our model outperforms state-of-the-art methods on UODA benchmarks.

Introduction

In traditional Unsupervised Domain Adaptation (UDA), the assumption is that source and target domains share an identical label space. However, real-world scenarios often involve Open-Set UDA (UODA), where the target domain contains "unknown" categories not present in the source data. Furthermore, data privacy regulations (e.g., GDPR) and logistical constraints often prevent simultaneous access to both source and target datasets.

This paper tackles the Hypothesis Transfer setting for UODA. In this scenario, adaptation must occur using only a pre-trained source model and unlabeled target data, without revisiting the original source samples. The goal is to bridge the domain shift while effectively segregating known source classes from novel unknown classes.

Methodology: Semantic Consistency and Hypothesis Transfer

The proposed framework operates in two primary stages, leveraging the internal structure of the target domain to compensate for the absence of source data.

Overview of the proposed source-free open-set adaptation framework, showing source training and target adaptation with semantic consistency.

1. Pseudo-label Generation

The process begins by utilizing the pre-trained source model to generate initial predictions on the target data. Samples exhibiting low prediction entropy (high confidence) are assigned "known" pseudo-labels. Conversely, samples with high entropy (high uncertainty) are categorized as "unknown." To maintain a clean training signal, samples with intermediate entropy levels are excluded from this initial phase.

2. Transformation Consistency

The core innovation lies in enforcing "semantic consistency" across different views of the same target sample. By applying stochastic transformations (e.g., cropping, noise) to an image, the model is tasked with producing consistent and definite predictions for both versions.

Rather than simple distance minimization, the authors employ Mutual Information (MI) Maximization. This objective encourages the model to be both consistent and discriminative. To accommodate novel categories, the model's output layer is expanded from the original source class count $|C_s|$ to $|C_s| + K$, where $K$ represents an estimate of the number of unknown categories. This allows the model to cluster unknown samples into distinct sub-groups rather than a single "garbage bin" class.

Experimental Results

The method was evaluated across three major UODA benchmarks: Office-31, Office-Home, and VisDA-2017.

Performance comparison on the Office-Home dataset (65 classes), demonstrating superior OS scores across various domain shifts.

On the Office-Home dataset, the model achieved an average OS score of 74.3%, a significant improvement over the previous state-of-the-art (SHOT at 70.6%). Similar gains were observed on Office-31 (95.8% vs. 93.4%) and the large-scale VisDA-2017 benchmark (70.8% OS score).

Ablation studies confirmed that pseudo-labeling and transformation consistency are complementary: pseudo-labels anchor the known classes, while consistency allows the model to explore and structure the unknown space effectively.

Discussion and Conclusion

This work demonstrates that source-free open-set adaptation is not only viable but can exceed the performance of methods that utilize source data. By treating consistency under transformation as a form of self-supervision, the model learns the underlying manifold of the target domain.

While the method shows robustness, it does rely on hyperparameters like the estimated number of unknown classes ($K$). Future work may explore automated ways to determine $K$ or utilize out-of-distribution pre-training on the source domain to provide a more robust starting point for hypothesis transfer.

Summary updated

BibTeX
@article{feng2020open,
  author = {Zeyu Feng and Chang Xu and Dacheng Tao},
  title = {{Open-Set Hypothesis Transfer with Semantic Consistency}},
  journal = {IEEE Trans. Image Process.},
  year = {2020},
  doi = {10.1109/tip.2021.3093393},
}
Figure