Bi-Classifier Determinacy Maximization for Unsupervised Domain Adaptation

Shuang Li, Fangrui Lv, Binhui Xie, Chi Harold Liu, Jian Liang, Chen Qin

Introduction

Unsupervised Domain Adaptation (UDA) aims to leverage labeled data from a source domain (e.g., synthetic images) to improve performance on an unlabeled target domain (e.g., real-world photos). A common paradigm in UDA involves using a single feature generator paired with two separate classifiers. While previous methods like Maximum Classifier Discrepancy (MCD) focus on aligning predictions between these classifiers, they often overlook the confidence, or "determinacy," of those predictions.

Bi-Classifier Determinacy Maximization (BCDM) introduces a novel framework that prioritizes both consistency and determinacy, ensuring that target domain features are not just aligned, but highly discriminative.

The Determinacy Gap

The primary limitation of existing bi-classifier methods is the "determinacy gap." Two classifiers can be perfectly consistent—predicting the same class—while remaining highly uncertain (e.g., both predicting a 34% probability for the top class). This lack of certainty leads to "confused" target samples near the decision boundary, resulting in fuzzy boundaries and poor feature discriminability.

Comparison of MCD and BCDM across motivation (a), determinacy (b), and confusion matrices (c).

As shown in the figure above, BCDM significantly increases the "determinacy" of predictions. In the histogram (b), BCDM pushes the maximum probability of final predictions toward 1.0, whereas MCD exhibits a much higher frequency of low-confidence, "confused" predictions. This leads to the cleaner separation and more accurate confusion matrices seen in (a) and (c).

The BCDM Framework

The core innovation of BCDM is the Classifier Determinacy Disparity (CDD) metric. Instead of measuring simple distance between prediction vectors $p_1$ and $p_2$, BCDM constructs a Prediction Relevance Matrix $A = p_1 p_2^T$.

  • Diagonal Elements: Represent the probability that both classifiers agree on the same class.
  • Off-Diagonal Elements: Represent fine-grained confusion, where classifiers disagree or are uncertain.

The training follows a three-step adversarial game:

  1. Source Training: Standard supervised learning on labeled source data to establish a baseline.
  2. Maximizing CDD: The classifiers are fixed and trained to maximize the CDD loss, effectively identifying target samples that are ambiguous or near the decision boundary.
  3. Minimizing CDD: The generator is trained to minimize CDD, forcing target features into high-certainty regions away from the decision boundary.

Theoretical analysis confirms that minimizing this "Determinacy Disparity Discrepancy" (DDD) effectively reduces the expected error on the target domain.

Experimental Performance

BCDM demonstrates state-of-the-art performance across a comprehensive suite of benchmarks:

  • VisDA-2017: Achieved 83.4% accuracy, a massive improvement over the source-only baseline and significantly beating MCD (71.9%).
  • DomainNet: On this notoriously difficult dataset with 345 classes, BCDM outperformed competitors like CDAN and BNM, proving its scalability.
  • Semantic Segmentation: In the GTA5 to Cityscapes task, it achieved a Mean IoU of 46.6%, outperforming other bi-classifier methods like SWD.

Singular Value Decomposition (SVD) analysis further revealed that BCDM utilizes more dimensions of the feature space effectively, preventing the feature collapse often seen in simpler discrepancy-based methods.

Conclusion

By shifting the focus from simple prediction consistency to determinacy, BCDM ensures that models are not just aligned, but confident. This approach leads to more discriminative feature representations and superior performance in complex, large-scale domain adaptation scenarios.

Summary updated

BibTeX
@inproceedings{li2021bi,
  author = {Shuang Li and Fangrui Lv and Binhui Xie and Chi Harold Liu and Jian Liang and Chen Qin},
  title = {{Bi-Classifier Determinacy Maximization for Unsupervised Domain Adaptation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i10.17027},
}
Figure