Abstract
Unsupervised domain adaptation aims at transferring knowledge from the labeled source domain to the unlabeled target domain. Previous adversarial domain adaptation methods mostly adopt the discriminator with binary or $K$-dimensional output to perform marginal or conditional alignment independently. Recent experiments have shown that when the discriminator is provided with domain information in both domains and label information in the source domain, it is able to preserve the complex multimodal information and high semantic information in both domains. Following this idea, we adopt a discriminator with $2K$-dimensional output to perform both domain-level and class-level alignments simultaneously in a single discriminator. However, a single discriminator can not capture all the useful information across domains and the relationships between the examples and the decision boundary are rarely explored before. Inspired by multi-view learning and latest advances in domain adaptation, besides the adversarial process between the discriminator and the feature extractor, we also design a novel mechanism to make two discriminators pit against each other, so that they can provide diverse information for each other and avoid generating target features outside the support of the source domain. To the best of our knowledge, it is the first time to explore a dual adversarial strategy in domain adaptation. Moreover, we also use the semi-supervised learning regularization to make the representations more discriminative. Comprehensive experiments on two real-world datasets verify that our method outperforms several state-of-the-art domain adaptation methods.
Introduction
In machine learning, the challenge of Unsupervised Domain Adaptation (UDA) arises when a model trained on a labeled "source" domain must generalize to an unlabeled "target" domain with a different statistical distribution. This "domain shift" often leads to poor performance because global alignment (marginal distribution) may fail to preserve class-specific structures (conditional distribution). For instance, a model might align the target domain with the source domain but misclassify target samples by mapping them to incorrect source categories.
Existing methods often use a single discriminator to distinguish between domains. However, a single discriminator may fail to capture the complex multimodal semantic structures inherent in the data. Furthermore, target samples that fall outside the "support" region of the source domain—where the source model has high confidence—are often misclassified.
The DADA Framework
The proposed Dual Adversarial Domain Adaptation (DADA) framework addresses these issues through a novel architecture and training strategy.
2K-Dimensional Joint Discriminator
Unlike standard binary discriminators, DADA employs discriminators with $2K$ outputs, where $K$ is the number of classes. The first $K$ dimensions correspond to source classes, and the remaining $K$ dimensions correspond to target classes. This design allows the discriminator to perform domain-level and class-level alignment simultaneously, preserving semantic information across domains.
Dual Adversarial Mechanism
DADA introduces two joint discriminators ($D_1$ and $D_2$) that compete against each other. By maximizing the discrepancy between their predictions on target data, the model identifies ambiguous target samples that lie near decision boundaries or outside the source support.
The training follows a three-step loop:
- Source Training: The feature extractor $G$ and class predictor $F$ are trained on labeled source data.
- Maximizing Discrepancy: The discriminators $D_1$ and $D_2$ are trained to maximize their prediction discrepancy on target data, forcing them to explore diverse features.
- Minimizing Discrepancy: The feature extractor $G$ is trained to minimize this discrepancy, effectively "pulling" target features into regions where both discriminators agree, which typically corresponds to the well-supported regions of the source domain.
Experimental Evaluation
DADA was evaluated on two standard benchmarks: Office-31 (31 categories across Amazon, Webcam, and DSLR domains) and ImageCLEF-DA (12 classes across Caltech-256, ImageNet, and Pascal VOC).
Results
DADA achieved state-of-the-art results on both datasets:
- Office-31: An average accuracy of 88.0%, surpassing baselines like CDAN (87.5%) and MCD (86.5%). Significant improvements were noted in challenging tasks like Amazon → DSLR.
- ImageCLEF-DA: An average accuracy of 89.3%, outperforming the previous best method, RCA (88.9%).
- Domain Invariance: Analysis of the "A-distance" confirmed that DADA produces more domain-invariant features than previous methods, theoretically validating the effectiveness of the dual adversarial strategy.
Conclusion
DADA demonstrates that using two discriminators to detect and resolve prediction discrepancies significantly improves domain alignment. While the method introduces additional computational overhead and relies on semi-supervised techniques like entropy minimization, its ability to perform joint domain-class alignment and constrain target features to the source support makes it a robust solution for UDA. Future work may extend this dual adversarial approach to open-set scenarios where source and target class sets do not perfectly overlap.
Summary updated