NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ADU: Adaptive Detection of Unknown Categories in Black-Box Domain Adaptation

Yushan Lai, Guowen Li, Haoyuan Liang, Juepeng Zheng, Zhiyu YeCVPR 2025 · DOI

Introduction

In the field of Unsupervised Domain Adaptation (UDA), the goal is to transfer knowledge from a labeled source domain to an unlabeled target domain. However, practical applications often face two significant hurdles: data privacy and category mismatch. Black-Box Domain Adaptation (BDA) addresses privacy by assuming only API-level access to a source model, without access to source data or model parameters. This paper introduces ADU (Adaptive Detection of Unknown Categories), a framework designed for the even more challenging scenarios of Open-Partial Black-Box Domain Adaptation (OPBDA) and Open-Set Black-Box Domain Adaptation (OSBDA), where the target domain contains categories unknown to the source model.

Problem Formulation: Black-Box Domain Adaptation

Standard BDA assumes the source and target domains share an identical label space. In realistic settings, however, the target domain often includes "private" or "unknown" classes. For instance, a model trained to recognize "bus" and "bicycle" might encounter "trucks" in a new environment.

Comparison of standard BDA (a) and the more complex Open-partial BDA (b) where the target domain contains unknown categories.

Existing BDA methods typically struggle with these scenarios due to two main factors:

  1. Error Accumulation: Domain shifts cause the black-box API to produce noisy predictions, which lead to incorrect pseudo-labels and degraded training.
  2. Static Thresholding: Many methods rely on fixed confidence thresholds to identify unknown classes. This approach is brittle as it fails to account for varying dataset difficulties.

The ADU Framework

To overcome these challenges, ADU employs two core modules that operate under strict API-only constraints.

Selective Amplification Knowledge Distillation (SAKD)

Traditional knowledge distillation treats all predictions from the source model equally. ADU introduces SAKD, which uses a modulating parameter ($\theta$) to amplify learning from high-confidence pseudo-labels. By prioritizing certain predictions and ignoring ambiguous ones, the target model avoids being misled by the source model's domain-shifted errors.

Entropy-Driven Label Differentiation (EDLD)

Instead of a hard-coded threshold, ADU utilizes the average entropy of target predictions to dynamically set a boundary for "unknown" categories.

  • High-Quality (HQ) Labels: Samples with low entropy (high certainty) are classified as known. These are further refined using Negative Learning (NL), where the model is trained on what a sample is not. This indirectly boosts the correct class probability without overfitting to potentially noisy pseudo-labels.
  • Low-Quality (LQ) Labels: Samples with high entropy are categorized as "unknown."

To ensure stability, ADU incorporates an Exponential Moving Average (EMA) to update pseudo-labels gradually, preventing the model from over-correcting based on individual noisy samples.

Experimental Evaluation

The authors evaluated ADU on four major benchmarks: Office31, OfficeHome, VisDA, and DomainNet. The primary metric used was the H-score, the harmonic mean of accuracy for known and unknown classes, ensuring a balanced performance evaluation.

Key Results

  • VisDA (OPBDA): ADU achieved an H-score of 48.7%, representing a 3.1% improvement over the previous state-of-the-art method, UB2DA.
  • OfficeHome: The framework reached an H-score of 72.2%, outperforming baselines by 1.8%.
  • Robustness in OSBDA: In scenarios where only the target domain has private classes, ADU consistently outperformed competitors. Notably, in the "Product to Real-World" task on OfficeHome, it showed a 20.4% improvement over the baseline.

Discussion and Limitations

While ADU demonstrates significant performance gains, its effectiveness is partially dependent on the initial quality of the black-box source model. Additionally, while the entropy threshold is adaptive, other hyperparameters like the modulating parameter $\theta$ require empirical tuning. Future work may focus on reducing the computational overhead associated with iterative pseudo-label refinement.

Conclusion

ADU presents a robust solution for black-box domain adaptation in open-set environments. By replacing static thresholds with adaptive entropy-driven differentiation and employing selective distillation, it effectively manages the "unknown" category problem. The framework's ability to consistently outperform "No Adapt" baselines marks a significant advancement in making domain adaptation practical for privacy-sensitive, real-world applications.

Summary updated

BibTeX
@inproceedings{lai2025adu,
  author = {Yushan Lai and Guowen Li and Haoyuan Liang and Juepeng Zheng and Zhiyu Ye},
  title = {{ADU: Adaptive Detection of Unknown Categories in Black-Box Domain Adaptation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02848},
}
Figure