NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multiple Classifiers Based Adversarial Training for Unsupervised Domain Adaptation

Yiju Yang, Taejoon Kim, Guanghui Wang

TL;DR

This paper proposes an extension to the Maximum Classifier Discrepancy (MCD) adversarial training method for unsupervised domain adaptation. By introducing multiple classifiers instead of just two, they achieve improved classification accuracy with minimal computational overhead. Their key insight is that a carefully constructed discrepancy loss across multiple classifiers prevents model collapse and leads to more robust domain-invariant features.

What Problem Does This Paper Address?

Deep learning models excel at image classification, but their performance degrades significantly when applied to new, unseen domains with different data distributions. Unsupervised Domain Adaptation (UDA) aims to bridge this gap, allowing models trained on a labeled "source" domain to generalize to an unlabeled "target" domain. A common UDA approach is adversarial training, where a feature extractor tries to produce domain-invariant features that fool a domain discriminator. The Maximum Classifier Discrepancy (MCD) method specifically uses two classifiers to maximize the difference in their predictions on target domain data, forcing the feature extractor to learn domain-invariant representations. However, the authors argue that the decision boundary learned by only two classifiers might not be sufficiently discriminative. They question whether using more classifiers could further boost performance and how to effectively train such a multi-classifier system without introducing new problems.

Methods

The core of this paper is the extension of the MCD framework to incorporate multiple classifiers. The authors propose a straightforward method to add more classifiers to the existing structure. Instead of simply adding more classifiers and using the original MCD loss, they introduce a novel multi-classifier discrepancy loss function. This loss is designed to ensure that the classifiers remain distinct from each other. If classifiers become too similar, it can lead to model collapse and hinder performance. Their proposed loss function is a sum of pairwise discrepancies between all classifiers, ensuring that each pair of classifiers has a significant difference in their predictions.

The training process is divided into three steps:

  1. Initial Source Domain Training: The model is trained on the source domain data to learn initial features and classifier decision boundaries.
  2. Joint Training (Source & Target): Both source and target domain data are used. Source domain data is trained with cross-entropy loss. For the target domain, the multi-classifier discrepancy loss is applied to maximize the differences between classifier predictions. The feature extractor is fixed, and only classifier parameters are updated.
  3. Feature Extractor Adaptation: The multi-classifier discrepancy loss is used again, but this time, the classifier parameters are fixed, and the feature extractor's parameters are updated. This step forces the feature extractor to produce features that lead to consistent predictions across all classifiers, effectively aligning the domains.

Datasets

The paper evaluates their proposed method on several standard UDA benchmarks:

  • Toy Dataset: A custom dataset used for visualization and demonstrating the decision boundary improvements.
  • Digits Datasets:
    • MNIST
    • USPS
    • SVHN
  • Traffic Sign Datasets:
    • SYN SIGNS
    • GTSRB
  • VisDA-2017 Dataset: A large-scale dataset for image classification with synthetic-to-real domain adaptation.

Key Insights and Ideas

  • More Classifiers, Better Adaptation: The core idea that increasing the number of classifiers beyond two can significantly improve domain adaptation performance is validated.
  • The Importance of Distinct Classifiers: Simply adding more classifiers isn't enough; they must remain distinct. The proposed multi-classifier discrepancy loss is crucial for preventing model collapse and ensuring that each classifier contributes uniquely.
  • Trade-off Between Accuracy and Complexity: While more classifiers generally lead to better accuracy, this improvement plateaus and can eventually decrease. The authors identify three classifiers as a sweet spot, offering a good balance between performance and computational cost.
  • Visualizing Decision Boundaries: The toy dataset experiments provide a clear visual intuition for how multiple classifiers lead to more robust and accurate decision boundaries in the target domain.

Key Results

  • Significant Accuracy Improvements: Across various datasets (digits, traffic signs, VisDA-2017), the proposed multi-classifier approach (especially with 3 classifiers) consistently outperforms the original MCD (2-classifier) method. For example, on USPS-MNIST, accuracy improved by 2.0% when moving from 2 to 3 classifiers. On VisDA-2017, mean accuracy increased from 71.9% to 78.3% with 3 classifiers.
  • Reduced Variance: The multi-classifier approach also leads to lower accuracy variance, indicating more stable and reliable performance.
  • Minimal Computational Overhead: Increasing the number of classifiers from 2 to 3 results in only a slight increase in training time per epoch, making it an efficient improvement.
  • Ablation Study: Experiments demonstrate that the proposed closed-loop discrepancy loss structure is essential. Removing or duplicating parts of the loss function leads to performance drops, even below the baseline MCD.

Limitations and Future Work

  • Diminishing Returns: The paper explicitly states that blindly adding more classifiers does not indefinitely increase performance. There's a peak performance range, and adding too many can lead to a decrease.
  • Optimal Number of Classifiers: While three classifiers are recommended as a good trade-off, the paper doesn't explore methods for automatically determining the optimal number of classifiers for a given task.
  • Future Work: The authors suggest that their proposed approach is a straightforward extension and that further research could explore more complex multi-classifier structures or loss functions. They also mention that the source code is available for further experimentation.

Summary updated

BibTeX
@inproceedings{yang2022multiple,
  author = {Yiju Yang and Taejoon Kim and Guanghui Wang},
  title = {{Multiple Classifiers Based Adversarial Training for Unsupervised Domain Adaptation}},
  booktitle = {CRV},
  year = {2022},
  doi = {10.1109/crv55824.2022.00014},
}
Figure