Minimum Class Confusion for Versatile Domain Adaptation
arXiv:1912.03699
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.
arXiv commentAccepted by ECCV2020
References in corpus (17)
- Distilling the Knowledge in a Neural Network
- Conditional Generative Adversarial Nets
- DeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognition
- How transferable are features in deep neural networks?
- Learning Transferable Features with Deep Adaptation Networks
- Deep Domain Confusion: Maximizing for Domain Invariance
- On Calibration of Modern Neural Networks
- Conditional Adversarial Domain Adaptation
- Unsupervised Domain Adaptation with Residual Transfer Networks
- VisDA: The Visual Domain Adaptation Challenge
- A DIRT-T Approach to Unsupervised Domain Adaptation
- Bridging Theory and Algorithm for Domain Adaptation
- On Learning Invariant Representation for Domain Adaptation
- Domain Agnostic Learning with Disentangled Representations
- Towards Accurate Model Selection in Deep Unsupervised Domain Adaptation
- Adversarial Dropout Regularization
- Open Set Domain Adaptation by Backpropagation