Introduction
Deep learning models often struggle with domain shift, where the data distribution in the target environment differs significantly from the source training data. While Unsupervised Domain Adaptation (UDA) attempts to bridge this gap without labels, it frequently fails to reach the performance levels of supervised learning. Active Domain Adaptation (ADA) provides a strategic middle ground: it utilizes a limited budget to query an oracle for labels on specific target samples. The primary challenge in ADA is selection—identifying which few samples will most effectively align the domains.
The Sage Framework
The authors propose Sage (Stochastic Adversarial Gradient Embedding), a method that prioritizes samples based on their potential to improve model transferability rather than simple uncertainty. Unlike standard active learning, which often focuses on classifier confusion, Sage analyzes the discriminator's gradient to identify samples that are poorly aligned between the source and target domains.
Core Components
- Adversarial Gradient ($g_x$): Sage examines the gradient of the discriminator's loss. This vector indicates how the model must change to make a target sample appear more "source-like."
- Positive Orthogonal Projection (POP): To maximize the impact of a label, Sage uses POP to remove the "expected" component of the gradient. This isolates the "surprise" or discrepancy that would occur if the oracle's label contradicts the model's current prediction.
- Stochastic Embedding: Because the true label is unknown during selection, Sage treats the potential gradient as a stochastic vector. It creates an embedding that captures the possible impact across all potential classes, ensuring the selection is robust to different labeling outcomes.
- Diversity via k-means++: To ensure the selected batch covers a wide range of alignment issues, Sage applies k-means++ initialization on the embeddings to select a diverse set of samples in the gradient space.
Experimental Results
Sage was evaluated against state-of-the-art methods on three major benchmarks: Office-31, VisDA-2017, and DomainNet.
- Superior Performance: Sage consistently outperformed AADA, the previous leading ADA method. On the large-scale VisDA benchmark, Sage demonstrated significant accuracy gains even with extremely small budgets (e.g., 16 or 128 samples).
- Robustness on DomainNet: In the challenging Real-to-Clipart ($R \to C$) task, Sage achieved 73.9% accuracy, notably higher than the semi-supervised MME baseline (70.1%).
- Transferability vs. Uncertainty: The results confirm that for domain adaptation, selecting samples based on domain alignment (transferability) is more effective than selecting based on raw model uncertainty.
Conclusion
Sage introduces a principled way to quantify the potential impact of target-domain annotations. By focusing on the "surprise" factor of adversarial gradients and ensuring selection diversity, it bridges the gap between active learning and domain adaptation. Future work may explore integrating Sage with more complex semi-supervised training objectives and addressing the computational costs associated with gradient calculation in massive datasets.
Summary updated