The Evolution of Domain Adaptation
Traditional Domain Adaptation (DA) focuses on transferring knowledge from a labeled source domain (e.g., studio photos) to an unlabeled target domain (e.g., webcam images). However, existing methods often rely on strict, pre-defined assumptions regarding the overlap between source and target label sets. These are typically categorized into three rigid settings: Closed Set, Partial, and Open Set DA.
In real-world scenarios, these relationships are rarely known a priori. Applying a specialized method (e.g., Partial DA) to a mismatched setting (e.g., Open Set) often leads to negative transfer, where the model's performance degrades below a baseline trained only on the source. This paper introduces Universal Domain Adaptation (UDA), a setting where the relationship between label sets is completely unknown and can involve any combination of shared and private categories.
The Universal Adaptation Network (UAN)
To address the UDA challenge, the authors propose the Universal Adaptation Network (UAN). The architecture integrates a feature extractor ($F$), a label classifier ($G$), and two types of domain discriminators: an adversarial one ($D$) and a non-adversarial one ($D'$).
The core innovation is the Sample-level Transferability Criterion. UAN assigns a weight to each sample by combining two factors:
- Domain Similarity: Estimated by $D'$, determining how closely a target sample resembles the source distribution.
- Prediction Uncertainty: Measured by the entropy of classifier $G$'s output.
By combining these, UAN creates a weighting mechanism that ignores private source samples during alignment and identifies private target samples to be labeled as "unknown" during inference. Common samples are expected to have high domain similarity and low uncertainty, while "unknown" samples typically exhibit low similarity and high uncertainty.
Experimental Evaluation
UAN was benchmarked on major computer vision datasets, including Office-31, Office-Home, VisDA2017, and ImageNet-Caltech, modified to vary the "commonness" ($\xi$) of labels.
Key Results
- Outperforming the State-of-the-Art: UAN consistently outperformed existing closed-set, partial, and open-set methods. On the challenging Office-Home dataset, UAN achieved an average accuracy of 77.02%, significantly higher than the next best specialized method.
- Avoiding Negative Transfer: While standard methods like DANN often performed worse than a basic ResNet when the category gap was large, UAN consistently provided a performance boost.
- Robustness: UAN performs stably across a wide spectrum of label overlaps. Whether domains share 10% or 100% of their labels, UAN remains competitive, whereas specialized models fail when their specific assumptions are violated.
Conclusion and Future Work
Universal Domain Adaptation represents a significant step toward more robust and autonomous machine learning systems. By discovering label relationships rather than assuming them, UAN provides a versatile framework capable of handling the complexities of real-world data distribution shifts.
While UAN is robust, it still relies on a hyperparameter ($w_0$) to decide when to label a sample as "unknown." Future work could explore ways to cluster these unknown samples into their own distinct categories or automate the thresholding process to further reduce the need for manual tuning.
Summary updated