Adversarial Dual Distinct Classifiers for Unsupervised Domain Adaptation

Taotao Jing, Zhengming Ding

Abstract

Unsupervised Domain Adaptation (UDA) addresses the challenge of transferring knowledge from a labeled source domain to an unlabeled target domain. While feature alignment is a common strategy, it often fails to align task-specific decision boundaries, leading to misclassifications near domain edges. We present the Adversarial Dual Distinct Classifiers Network (AD2CN), which employs two structurally diverse classifiers—a standard neural network and a prototypical classifier—to capture both global discriminative boundaries and local geometric structures. By enforcing agreement between these distinct perspectives through adversarial training and a novel discriminative alignment loss, AD2CN achieves state-of-the-art results on the Office-Home and Office-31 benchmarks.

Introduction

In many real-world machine learning applications, models trained on a specific "source" domain (e.g., high-quality product images) often perform poorly when deployed on a related but different "target" domain (e.g., consumer snapshots or sketches). This phenomenon, known as domain shift, is the primary hurdle addressed by Unsupervised Domain Adaptation (UDA).

Most existing UDA approaches focus on global feature alignment, attempting to make the feature distributions of the source and target domains indistinguishable. However, global alignment does not guarantee that the decision boundaries learned from the source domain will remain valid for the target domain. Samples located near the boundaries are particularly susceptible to misclassification. While some methods have introduced dual-classifier architectures to detect these ambiguous regions, they typically use identical classifier structures, which limits the diversity of the "knowledge" or "perspectives" the model can leverage.

The AD2CN Framework

The Adversarial Dual Distinct Classifiers Network (AD2CN) addresses these limitations by introducing architectural diversity into the dual-classifier paradigm. The framework consists of a shared feature generator $G$ and two structurally different classifiers:

  1. Neural Network Classifier ($C_N$): A standard fully-connected layer that excels at learning global discriminative boundaries.
  2. Prototypical Classifier ($C_P$): A classifier that assigns labels based on the distance to class "prototypes" (centroids). This captures the local geometric structure of the data and is often more robust to class imbalance.
Overview of the AD2CN architecture, featuring the generator G and the two distinct classifiers $C_N$ and $C_P$.

Adversarial Training Strategy

AD2CN utilizes a three-step adversarial training process to align the domains:

  • Step A: The generator $G$ and classifier $C_N$ are trained on labeled source data to establish a baseline for classification.
  • Step B: The generator is fixed, and $C_N$ is updated to maximize the discrepancy between its predictions and those of $C_P$ on the unlabeled target data. This step identifies target samples that fall into regions where the two classifiers disagree, effectively mapping the "uncertainty" in the target domain.
  • Step C: The generator is updated to minimize this discrepancy, pushing target features into regions of the feature space where both classifiers provide consistent, high-confidence predictions.

Discriminative Cross-Domain Alignment

Beyond adversarial training, AD2CN introduces a novel alignment loss, $\mathcal{L}_m$, designed to maintain discriminative power while aligning domains. This loss combines three key components:

  • Class-wise MMD: Minimizes the Maximum Mean Discrepancy between features of the same class across domains.
  • Diff-class Divergence: Explicitly maximizes the distance between different classes across domains to prevent the feature space from collapsing.
  • Importance Guided Optimization: To mitigate the impact of noisy pseudo-labels, the model prioritizes high-confidence target samples (as determined by $C_P$) during the alignment process.

Experimental Results

The authors evaluated AD2CN on two major UDA benchmarks: Office-Home and Office-31. On the challenging Office-Home dataset, which includes 65 categories across four domains (Art, Clipart, Product, Real-world), AD2CN achieved an average accuracy of 69.9%. This represents a significant improvement over previous state-of-the-art methods like BDG (68.7%). On the Office-31 benchmark, AD2CN reached an average accuracy of 89.6%, outperforming other dual-classifier methods such as MCD (86.5%) and SWD (87.4%).

Ablation Study

A detailed ablation study highlights the contribution of each component. Removing the alignment loss ($\mathcal{L}_m$) or the discrepancy loss ($\mathcal{L}_{dis}$) leads to a noticeable drop in performance across all domain transfer tasks, confirming that both architectural diversity and discriminative alignment are critical to the model's success.

Ablation experiments showing the contribution of various loss terms on the Office-Home dataset.

Conclusion

AD2CN demonstrates that architectural diversity in dual-classifier systems is a powerful tool for UDA. By combining global and local perspectives through $C_N$ and $C_P$, and employing a discriminative alignment strategy, the model effectively bridges the domain gap while preserving class-specific boundaries. Future work may explore even more diverse classifier architectures or the integration of self-supervised tasks to further enhance robustness.

Summary updated

BibTeX
@inproceedings{jing2021adversarial,
  author = {Taotao Jing and Zhengming Ding},
  title = {{Adversarial Dual Distinct Classifiers for Unsupervised Domain Adaptation}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
  doi = {10.1109/wacv48630.2021.00065},
}
Figure