Abstract
Black-Box unsupervised domain adaptation (BBUDA) learns knowledge only with the prediction of target data from the source model without access to the source data and source model, which attempts to alleviate concerns about the privacy and security of data. However, incorrect pseudo-labels are prevalent in the prediction generated by the source model due to the cross-domain discrepancy, which may substantially degrade the performance of the target model. To address this problem, we propose a novel approach that incrementally selects high-confidence pseudo-labels to improve the generalization ability of the target model. Specifically, we first generate pseudo-labels using a source model and train a crude target model by a vanilla BBUDA method. Second, we iteratively select high-confidence data from the low-confidence data pool by thresholding the softmax probabilities, prototype labels, and intra-class similarity. Then, we iteratively train a stronger target network based on the crude target model to correct the wrongly labeled samples to improve the accuracy of the pseudo-label. Experimental results demonstrate that the proposed method achieves state-of-the-art black-box unsupervised domain adaptation performance on three benchmark datasets.
Introduction
Unsupervised Domain Adaptation (UDA) is a critical technique for deploying machine learning models across different environments. Traditionally, UDA assumes access to source domain data or at least the internal weights of a source model. However, in many real-world applications, privacy concerns and proprietary restrictions limit access to a "Black-Box" interface. In this Black-Box Unsupervised Domain Adaptation (BBUDA) setting, the researcher only receives predictions from the source model without knowing its architecture or parameters.
The primary challenge in BBUDA is the "domain gap." Predictions from a source model on target data are often noisy or incorrect. If a target model is trained directly on these unreliable pseudo-labels, errors propagate and accumulate, leading to poor generalization. This paper addresses this by proposing an incremental selection strategy to filter out noisy labels and progressively refine the target model.
Proposed Methodology
The proposed framework operates in two distinct phases: a warm-up process and an incremental selection loop.
1. Warm-up Process
Since the source model is a black box, the first step involves knowledge distillation. A "student" network is trained to mimic the source model's predictions on the target data, allowing the system to capture relevant feature representations. Following this, a baseline BBUDA method (such as DINE) is used to initialize a "crude" target model.
2. Incremental Selection Loop
The core of the approach is an iterative loop that moves samples from a low-confidence pool to a high-confidence pool. Selection is governed by a triple-check mechanism:
- Softmax Thresholding: Ensuring high predictive certainty from the model's output.
- Prototype Consistency: Checking if a sample's feature vector is close to the centroid (prototype) of its assigned class.
- Intra-class Similarity: Verifying that the sample is similar to other high-confidence samples in the same category.
By retraining the target model on this refined set, the model becomes "stronger" in each iteration, eventually correcting previously mislabeled samples in the low-confidence pool.
Experimental Evaluation
The method was rigorously tested on three benchmark datasets: Office (31 classes), Office-Home (65 classes), and the large-scale VisDA-C dataset.
Results
The incremental pseudo-labeling approach achieved state-of-the-art (SOTA) performance across all benchmarks:
- Office: Reached an average accuracy of 87.7%, a 1.0% improvement over prior SOTA.
- Office-Home: Achieved 71.4% average accuracy.
- VisDA-C: Attained 78.6% per-class accuracy, outperforming the DINE baseline by 1.3%.
Ablation studies confirmed that the synergy between the three selection criteria and the incremental training process is vital for these gains.
Conclusion and Future Work
This research demonstrates that high-quality target models can be built even under strict black-box constraints. By treating pseudo-labeling as an incremental, self-correcting process, the method effectively mitigates the impact of domain shift.
A remaining challenge is class imbalance, as "easier" classes are selected more quickly, potentially biasing the model. Future work will focus on integrating class-balancing techniques to ensure robust performance across all categories, even when some are harder to adapt than others.
Summary updated