Collaborative and Adversarial Network for Unsupervised Domain Adaptation

Weichen Zhang, Wanli Ouyang, Wen Li, Dong Xu

Introduction

Unsupervised domain adaptation (UDA) aims to leverage a labeled source dataset to train a model that performs well on an unlabeled target dataset. A primary challenge in UDA is "domain shift," where the statistical distributions of the source and target data differ significantly. While adversarial methods like the Domain-Adversarial Neural Network (DANN) have become popular, they often focus solely on making high-level features domain-invariant. This paper argues that such an approach can lead to information loss by discarding useful low-level features and can result in biased pseudo-labeling of target samples.

To address these issues, we present the Collaborative and Adversarial Network (CAN) and its incremental variant, iCAN. CAN balances the preservation of domain-specific low-level features with the pursuit of domain-invariant high-level features. iCAN further enhances performance through a novel pseudo-labeling strategy that filters samples based on both prediction confidence and domain indistinguishability.

Methodology

Collaborative and Adversarial Network (CAN)

The core innovation of CAN is the deployment of domain classifiers across multiple blocks of a Convolutional Neural Network (CNN), rather than just at the final layer.

  1. Collaborative Learning (Lower Layers): In the initial feature extraction blocks, the network is encouraged to correctly identify the domain. This "collaborative" task ensures that the model retains informative low-level features, such as textures and edges, which are essential for robust feature extraction.
  2. Adversarial Learning (Higher Layers): In the final blocks, a Gradient Reversal Layer (GRL) is employed. Here, the model is trained to make features domain-uninformative, ensuring that the final representation used for classification is domain-invariant.
  3. Dynamic Weighting: The contribution of each domain classifier is governed by weights ($\lambda_k$) that are optimized during training, facilitating a smooth transition from domain-informative to domain-uninformative feature learning.
Architecture of the Collaborative and Adversarial Network (CAN) showing the transition from collaborative to adversarial learning across CNN blocks.

Incremental CAN (iCAN)

The iCAN framework extends CAN by iteratively selecting target samples for pseudo-labeling. Unlike standard methods that rely solely on prediction confidence, iCAN introduces a dual-filter approach:

  • Prediction Confidence: Samples are selected if the image classifier's certainty exceeds an adaptive threshold that scales with the model's performance.
  • Domain Indistinguishability: The model prioritizes target samples that the domain classifier finds "confusing" (i.e., scores near 0.5). This ensures that selected samples are truly representative of the target distribution and are not just source-like outliers.

Experimental Results

The proposed models were evaluated on standard benchmarks, including Office-31 and ImageCLEF-DA.

Performance comparison of iCAN against state-of-the-art unsupervised domain adaptation methods on the Office-31 dataset.

As shown in the results, iCAN significantly outperforms previous state-of-the-art methods. On the Office-31 benchmark, iCAN achieved an average accuracy of 87.2%, notably surpassing DANN (80.9%) and JAN (84.6%). The improvement is particularly pronounced in difficult transfer tasks, such as Amazon to Webcam (A→W), where iCAN reached 92.5% accuracy. Similar gains were observed on the ImageCLEF-DA dataset, where iCAN achieved an average accuracy of 87.4%.

Conclusion

The Collaborative and Adversarial Network (CAN) provides a nuanced approach to feature learning in domain adaptation by recognizing the value of domain-specific information in lower network layers. By combining this multi-layer strategy with a robust pseudo-labeling technique (iCAN) that targets domain-invariant samples, the proposed method sets a new standard for unsupervised domain adaptation. Future work will explore the application of this collaborative-adversarial framework to more complex tasks such as cross-domain object detection and semantic segmentation.

Summary updated

BibTeX
@inproceedings{zhang2018collaborative,
  author = {Weichen Zhang and Wanli Ouyang and Wen Li and Dong Xu},
  title = {{Collaborative and Adversarial Network for Unsupervised Domain Adaptation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00400},
}
Figure