Transferable Query Selection for Active Domain Adaptation

Bo Fu, Zhangjie Cao, Jianmin Wang, Mingsheng Long

Introduction

In machine learning, the challenge of domain shift arises when a model trained on a labeled source domain (e.g., synthetic images) performs poorly on a different target domain (e.g., real-world photos). While Unsupervised Domain Adaptation (UDA) attempts to bridge this gap without new labels, it rarely matches the performance of fully supervised models. Active Domain Adaptation (ADA) offers a middle ground: achieving high performance by manually labeling a tiny, carefully selected fraction of the target data.

The Challenge of Outliers in Active Learning

Traditional active learning strategies, such as selecting the most "uncertain" samples based on entropy, often fail under domain shift. These methods are prone to selecting outliers—samples that are noisy, blacked out, or otherwise unrepresentative of the actual target distribution. Labeling such samples wastes the limited annotation budget without improving the model's generalization.

Target domain samples categorized by utility, illustrating the risk of selecting uninformative outliers.

The Transferable Query Selection (TQS) Framework

To address these issues, the authors propose Transferable Query Selection (TQS). TQS uses an ensemble of three novel criteria to score the informativeness of unlabeled target samples:

1. Transferable Committee ($TQSc$)

Rather than relying on disagreement between random classifiers, TQS generates a committee through adversarial training. This forces the classifiers to remain consistent in high-density regions and only disagree in the "low-density" regions where the decision boundary should ideally lie. This ensures that the disagreement is meaningful for the target task.

The iterative training flow to obtain a transferable committee via adversarial transformation and discrepancy minimization.

2. Transferable Uncertainty ($TQSu$)

Instead of simple entropy, TQS employs a "margin" function across the ensemble. It identifies samples where the gap between the most likely and second-most likely class is consistently small across the entire committee, which reduces the variance of the uncertainty estimate and leads to more stable selections.

3. Transferable Domainness ($TQSd$)

This criterion acts as an "anti-outlier" filter. Using a domain discriminator and a Gaussian (bell-shaped) function, TQS targets the "sweet spot" of domainness. It ignores samples that look too much like the source (which the model already understands) and those that look too different (likely uninformative outliers), focusing instead on samples that are truly representative of the target domain.

Key Results and Efficiency

The authors evaluated TQS on standard benchmarks including Office-31, Office-Home, and VisDA-2017. Key findings include:

  • Superior Accuracy: On Office-31, TQS achieved an average accuracy of 91.1% with only a 5% labeling budget, consistently outperforming previous ADA methods.
  • Label Efficiency: With just 3% of target data labeled, TQS performed comparably to state-of-the-art UDA methods that utilize 100% of the unlabeled target data.
  • Computational Speed: TQS is significantly faster than many UDA methods. For instance, on Office-31, it converged in roughly 25 minutes, compared to nearly two hours for standard adversarial alignment methods.

Conclusion

Transferable Query Selection (TQS) demonstrates that active learning can be highly effective for domain adaptation if the selection criteria are specifically designed to handle domain shift. By filtering out outliers and stabilizing uncertainty measurements through ensembles, TQS provides a practical and efficient framework for deploying models in new environments with minimal human effort.

Summary updated

BibTeX
@inproceedings{fu2021transferable,
  author = {Bo Fu and Zhangjie Cao and Jianmin Wang and Mingsheng Long},
  title = {{Transferable Query Selection for Active Domain Adaptation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00719},
}
Figure