Skip to main content
QUICK REVIEW

[Paper Review] Minimum Class Confusion for Versatile Domain Adaptation

Ying Jin, Ximei Wang|arXiv (Cornell University)|Dec 8, 2019
Domain Adaptation and Few-Shot LearningComputer Science67 references25 citations
TL;DR

This paper proposes Minimum Class Confusion (MCC), a novel, non-adversarial domain adaptation loss that minimizes pairwise class confusion in target predictions to improve transferability across diverse domain adaptation scenarios. MCC enables a single method to outperform scenario-specific state-of-the-art approaches in closed-set, partial-set, multi-source, and multi-target DA, achieving 7.3% higher accuracy on DomainNet and converging 3× faster than existing methods.

ABSTRACT

There are a variety of Domain Adaptation (DA) scenarios subject to label sets and domain configurations, including closed-set and partial-set DA, as well as multi-source and multi-target DA. It is notable that existing DA methods are generally designed only for a specific scenario, and may underperform for scenarios they are not tailored to. To this end, this paper studies Versatile Domain Adaptation (VDA), where one method can handle several different DA scenarios without any modification. Towards this goal, a more general inductive bias other than the domain alignment should be explored. We delve into a missing piece of existing methods: class confusion, the tendency that a classifier confuses the predictions between the correct and ambiguous classes for target examples, which is common in different DA scenarios. We uncover that reducing such pairwise class confusion leads to significant transfer gains. With this insight, we propose a general loss function: Minimum Class Confusion (MCC). It can be characterized as (1) a non-adversarial DA method without explicitly deploying domain alignment, enjoying faster convergence speed; (2) a versatile approach that can handle four existing scenarios: Closed-Set, Partial-Set, Multi-Source, and Multi-Target DA, outperforming the state-of-the-art methods in these scenarios, especially on one of the largest and hardest datasets to date (7.3% on DomainNet). Its versatility is further justified by two scenarios proposed in this paper: Multi-Source Partial DA and Multi-Target Partial DA. In addition, it can also be used as a general regularizer that is orthogonal and complementary to a variety of existing DA methods, accelerating convergence and pushing these readily competitive methods to stronger ones. Code is available at https://github.com/thuml/Versatile-Domain-Adaptation.

Motivation & Objective

  • To address the limitation of existing domain adaptation methods that are tailored to specific scenarios and underperform when applied outside their intended configuration.
  • To identify a more general inductive bias beyond domain alignment that enables a single method to handle multiple domain adaptation scenarios without modification.
  • To investigate the role of class confusion—misclassification between semantically similar classes—as a key factor affecting transfer performance across diverse domain adaptation settings.
  • To develop a general-purpose loss function, Minimum Class Confusion (MCC), that reduces such confusion and improves model generalization.
  • To validate MCC as both a standalone method and a complementary regularizer that enhances convergence and accuracy of existing domain adaptation techniques.

Proposed method

  • MCC is formulated as a non-adversarial loss that minimizes class confusion by measuring the inner product between classifier predictions and their transposes, capturing pairwise confusion between classes.
  • The method incorporates three components: Class Correlation (CC) to model confusion between classes, Probability Rescaling (PR) to normalize predictions, and Uncertainty Reweighting (UR) to emphasize ambiguous examples with high entropy.
  • UR dynamically weights examples based on prediction uncertainty, prioritizing those with high ambiguity and low confidence, thus focusing on hard-to-classify samples.
  • MCC is designed to be orthogonal and complementary to existing domain adaptation methods, allowing it to be used as a regularizer to accelerate convergence and boost performance.
  • The loss is optimized end-to-end during training, with minimal hyperparameter tuning, and is applicable across all major domain adaptation scenarios including newly proposed ones: Multi-Source Partial DA and Multi-Target Partial DA.
  • The method avoids explicit domain alignment, relying instead on confusion minimization, which enables faster convergence compared to adversarial domain adaptation methods.

Experimental results

Research questions

  • RQ1Can reducing class confusion between semantically similar classes lead to improved generalization across diverse domain adaptation scenarios?
  • RQ2Is there a general inductive bias beyond domain alignment that enables a single method to handle multiple domain adaptation settings without architectural or training modifications?
  • RQ3How does class confusion manifest across different domain adaptation scenarios, including partial-set and multi-source/target settings?
  • RQ4Can a unified loss function be designed to minimize confusion while remaining effective and robust across all major DA scenarios?
  • RQ5To what extent can MCC serve as a general regularizer to improve convergence and accuracy of existing domain adaptation methods?

Key findings

  • MCC achieves state-of-the-art performance across all six domain adaptation scenarios, including closed-set, partial-set, multi-source, multi-target, and two newly proposed settings: Multi-Source Partial DA and Multi-Target Partial DA.
  • On the challenging DomainNet dataset, MCC improves accuracy by 7.3% over the previous SOTA, demonstrating its effectiveness in large-scale, hard domain shift settings.
  • MCC converges 3× faster than CDAN and DANN, reaching 95% accuracy in only 1,000 iterations, while other methods remain below 85% at that point.
  • Abllation studies confirm that all components of MCC—Class Correlation, Probability Rescaling, and Uncertainty Reweighting—are essential, with the full MCC model achieving 89.4% average accuracy on Office-31 (UDA) with ResNet-50.
  • Theoretical analysis shows MCC achieves lower A-distance and ideal error (𝜖_ideal) than mainstream methods, indicating better generalization and domain alignment.
  • When used as a regularizer, MCC accelerates convergence and boosts performance of existing DA methods, confirming its orthogonal and complementary nature.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.