Deep Cocktail Network: Multi-Source Unsupervised Domain Adaptation With Category Shift

Ruijia Xu, Ziliang Chen, Wangmeng Zuo, Junjie Yan, Liang Lin

Abstract

Unsupervised Domain Adaptation (UDA) typically focuses on bridging a single labeled source domain to an unlabeled target domain. However, real-world scenarios often involve multiple source domains with distinct statistical distributions and non-overlapping category sets, a challenge known as category shift. We introduce the Deep Cocktail Network (DCTN), a framework designed to handle multi-source UDA by leveraging multi-way adversarial learning and a novel "cocktail" weighting scheme. By using perplexity scores from domain discriminators to weight source-specific classifiers, DCTN effectively aggregates relevant knowledge while resisting negative transfer. Our results on Office-31, ImageCLEF-DA, and Digits-five benchmarks demonstrate that DCTN significantly outperforms state-of-the-art methods, particularly under significant category shift.

Introduction

Traditional UDA assumes a homogeneous source domain, but practical applications often draw from diverse sources like Amazon, Flickr, or ImageNet. This diversity introduces two major hurdles: domain shift (statistical differences) and category shift (disjoint category sets across sources). For example, one source might contain "bikes" and "horses," while another contains "buses" and "dogs."

Illustration of the multi-source category shift problem, where different source domains contain different subsets of categories.

Standard methods that pool all sources often suffer from negative transfer, where irrelevant data from one source degrades target performance. DCTN addresses this by dynamically weighting source contributions based on their relevance to specific target samples.

Methods: The Deep Cocktail Network (DCTN)

The DCTN architecture integrates three sub-networks with a specialized classification operator to achieve robust adaptation:

  • Feature Extractor ($F$): A shared backbone that maps all images into a common feature space.
  • Multi-source Domain Discriminator ($D$): Comprised of $N$ source-specific discriminators. Each $D_k$ attempts to distinguish if a feature originated from source $k$ or the target.
  • Multi-source Category Classifier ($C$): $N$ separate classifiers, each trained on the categories available in its respective source domain.
The DCTN architecture, showing the shared feature extractor, multiple domain discriminators, and the weighted classification operator.

The "Cocktail" Weighting Mechanism

The core of DCTN is the Target Classification Operator. For a target sample, the model computes perplexity scores from the discriminators. These scores act as weights: if a target sample is statistically similar to Source $A$, the discriminator for Source $A$ will be highly uncertain (high perplexity), leading to a higher weight for Source $A$’s classifier in the final prediction.

Training Strategies

DCTN employs multi-way adversarial learning to force the feature extractor to learn domain-invariant representations. Additionally, an Online Hard Domain Batch Mining algorithm prioritizes the most distinct source domains during training. Finally, pseudo-labeling of high-confidence target samples helps bridge the gap between source and target label spaces.

Experimental Results

DCTN was evaluated on three major benchmarks: Office-31, ImageCLEF-DA, and Digits-five. To specifically test category shift, the authors utilized "Overlap" and "Disjoint" protocols.

  • Office-31: DCTN achieved an average accuracy of 83.8%, significantly outperforming DAN (72.9%) and RevGrad (74.3%).
  • Category Shift Resilience: In the "Disjoint" setting, DCTN maintained an accuracy of 82.9%, while other methods saw performance collapse due to negative transfer.
  • Digits-five: DCTN improved performance over the best baseline by 6.0%, demonstrating its ability to handle complex, multi-domain shifts simultaneously.

Conclusion

The Deep Cocktail Network provides a principled approach to multi-source UDA by explicitly modeling domain and category shifts. By using perplexity as a proxy for source relevance, it effectively navigates the "cocktail" of available data. Future work includes scaling to larger numbers of sources and exploring open-set scenarios where the target domain contains entirely novel categories.

Summary updated

BibTeX
@inproceedings{xu2018deep,
  author = {Ruijia Xu and Ziliang Chen and Wangmeng Zuo and Junjie Yan and Liang Lin},
  title = {{Deep Cocktail Network: Multi-Source Unsupervised Domain Adaptation With Category Shift}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00417},
}
Figure