Abstract
In this paper, we study the formalism of unsupervised multi-class domain adaptation (multi-class UDA), which underlies a few recent algorithms whose learning objectives are only motivated empirically. Multi-Class Scoring Disagreement (MCSD) divergence is presented by aggregating the absolute margin violations in multi-class classification, and this proposed MCSD is able to fully characterize the relations between any pair of multi-class scoring hypotheses. By using MCSD as a measure of domain distance, we develop a new domain adaptation bound for multi-class UDA; its data-dependent, probably approximately correct bound is also developed that naturally suggests adversarial learning objectives to align conditional feature distributions across source and target domains. Consequently, an algorithmic framework of Multi-class Domain-adversarial learning Networks (McDalNets) is developed, and its different instantiations via surrogate learning objectives either coincide with or resemble a few recently popular methods, thus (partially) underscoring their practical effectiveness. Based on our identical theory for multi-class UDA, we also introduce a new algorithm of Domain-Symmetric Networks (SymmNets), which is featured by a novel adversarial strategy of domain confusion and discrimination. SymmNets affords simple extensions that work equally well under the problem settings of either closed set, partial, or open set UDA. We conduct careful empirical studies to compare different algorithms of McDalNets and our newly introduced SymmNets. Experiments verify our theoretical analysis and show the efficacy of our proposed SymmNets.
Introduction
Standard machine learning assumes that training and test data are drawn from the same distribution. However, in real-world applications, this assumption often fails. Unsupervised Domain Adaptation (UDA) addresses this by attempting to transfer knowledge from a labeled source domain to an unlabeled target domain. While theoretical foundations for UDA have been established for binary classification, multi-class UDA has largely relied on empirical heuristics. This paper bridges that gap by introducing a rigorous theoretical foundation based on Multi-Class Scoring Disagreement (MCSD).
Theoretical Foundation: MCSD Divergence
Previous metrics for measuring domain distance often collapsed multi-class information into a single scalar, losing critical class-wise relationship data. The authors propose MCSD, which characterizes the disagreement between two multi-class hypotheses by aggregating violations of "absolute margins" across all classes. This matrix-based approach allows for a much finer-grained measurement of domain distance and provides a tighter bound for multi-class adaptation.
Algorithmic Framework: McDalNets and SymmNets
The theoretical bound derived from MCSD naturally suggests an adversarial learning objective. The authors formalize this into Multi-class Domain-adversarial learning Networks (McDalNets). They demonstrate that several popular empirical methods, such as Maximum Classifier Discrepancy (MCD), can be viewed as specific surrogate optimizations within this framework.
Building on this theory, the authors introduce Domain-Symmetric Networks (SymmNets). SymmNets utilizes a symmetric architecture with two task classifiers—one for the source and one for the target—that share a concatenated output layer. This design facilitates "neuron-wise correspondence," ensuring that domain alignment respects class boundaries.
Empirical Evaluation
The proposed methods were evaluated across seven major benchmarks, including Office-31, VisDA-2017, and DomainNet. SymmNets-V2 consistently achieved state-of-the-art (SOTA) results:
- VisDA-2017: Achieved 76.8% accuracy, a significant improvement over the DANN baseline (57.4%).
- Office-31: Reached an average accuracy of 89.1%, outperforming specialized methods like CDAN and MDD.
- Partial and Open-Set UDA: SymmNets proved remarkably versatile, handling scenarios where the target domain has a different set of classes than the source with high efficiency. On Office-Home, SymmNets with active weighting reached 72.69% in partial UDA tasks.
Conclusion
This work provides a unifying theoretical perspective on multi-class domain adaptation. By introducing MCSD and the McDalNets framework, the authors justify existing empirical practices and pave the way for more robust algorithms like SymmNets, which demonstrate superior performance across a wide range of adaptation tasks, including closed, partial, and open-set scenarios.
Summary updated