Consensus Adversarial Domain Adaptation.

Han Zou, Yuxun Zhou, Jianfei Yang, Huihan Liu, Hari Prasanna Das, Costas J. SpanosAAAI 2019

Abstract

We propose a novel domain adaptation framework, namely Consensus Adversarial Domain Adaptation (CADA), that gives freedom to both target encoder and source encoder to embed data from both domains into a common domain-invariant feature space until they achieve consensus during adversarial learning. In this manner, the domain discrepancy can be further minimized in the embedded space, yielding more generalizable representations. The framework is also extended to establish a new few-shot domain adaptation scheme (F-CADA), that remarkably enhances the ADA performance by efficiently propagating a few labeled data once available in the target domain. Extensive experiments are conducted on the task of digit recognition across multiple benchmark datasets and a real-world problem involving WiFi-enabled device-free gesture recognition under spatial dynamics. The results show the compelling performance of CADA versus the state-of-the-art unsupervised domain adaptation (UDA) and supervised domain adaptation (SDA) methods. Numerical experiments also demonstrate that F-CADA can significantly improve the adaptation performance even with sparsely labeled data in the target domain.

Introduction

Deep learning models are notoriously "brittle": a model trained to recognize digits on clean white backgrounds (MNIST) often fails when asked to recognize house numbers in messy real-world photos (SVHN). This phenomenon, known as domain shift, poses a significant challenge for deploying models in diverse environments.

To address this, researchers utilize Adversarial Domain Adaptation (ADA). Standard approaches, such as ADDA, typically involve training a target encoder to mimic a fixed source encoder so that a discriminator cannot distinguish between the two domains. However, the authors argue that fixing the source encoder creates a bottleneck. If the source encoder is overfitted or its feature space is too rigid, the target encoder cannot achieve optimal alignment. This paper introduces Consensus Adversarial Domain Adaptation (CADA), which allows both encoders to adapt until they reach a common, domain-invariant feature space.

Methodology

The CADA framework is designed to break the rigidity of fixed source encoders through a two-pronged approach.

1. CADA (Unsupervised)

CADA operates through a four-step pipeline:

  • Pre-training: A source encoder and classifier are trained on labeled source data.
  • Adversarial Consensus: This core innovation involves fine-tuning the source encoder simultaneously with the target encoder. They engage in a minimax game against a domain discriminator to find a shared, domain-invariant ground.
  • Classifier Refinement: A shared classifier is trained using the refined source features.
  • Testing: Target data is processed through the target encoder and the shared classifier.
The four steps of the CADA framework.

2. F-CADA (Few-Shot)

Recognizing the utility of even minimal labeled data in the target domain, the authors developed F-CADA. This extension employs greedy label propagation: it calculates class centroids using the few labeled target samples, assigns "presumptive labels" to unlabeled target data based on proximity to these centroids, and then fine-tunes the model using an information entropy loss to ensure well-separated clusters.

Experimental Setup

The framework was evaluated on two distinct domains:

  • Digit Recognition: Standard benchmarks including MNIST, USPS, and SVHN, representing varying levels of image-based domain shift.
  • WiFi Gesture Recognition: A real-world application using Channel State Information (CSI) from WiFi signals to recognize six gestures. The domain shift was spatial, involving a transition from a large conference room to a small room.

Results and Discussion

The experimental results demonstrate the effectiveness of the "freedom" principle in domain adaptation.

  • Performance Gains: On the challenging SVHN ⇒ MNIST task, CADA improved accuracy from 60.1% (non-adapted) to 90.9%.
  • Few-Shot Efficiency: With F-CADA, providing just one labeled sample per class boosted SVHN ⇒ MNIST accuracy to 94.8%.
  • Cross-Modal Robustness: In the spatial gesture recognition task, CADA improved accuracy by 25% over a non-adapted baseline, reaching 88.8% unsupervised and 98.7% with five labeled samples.
t-SNE visualizations comparing (a) non-adapted and (b) CADA source encoders.

Visual confirmation via t-SNE (Figure 3) shows that while standard encoders result in overlapping target data clusters, CADA produces distinct, tight clusters for each digit class. This suggests that the "consensus" approach finds a more robust representation that neither encoder could achieve in isolation.

Conclusion

CADA demonstrates that allowing source encoders to adapt during the adversarial phase significantly enhances generalizability. While this approach introduces some computational overhead by updating two encoders simultaneously, the resulting performance gains—especially in few-shot scenarios—make it a compelling framework for robust domain adaptation across diverse modalities.

Summary updated

BibTeX
@inproceedings{zou2019consensus,
  author = {Han Zou and Yuxun Zhou and Jianfei Yang and Huihan Liu and Hari Prasanna Das and Costas J. Spanos},
  title = {{Consensus Adversarial Domain Adaptation.}},
  booktitle = {AAAI},
  year = {2019},
  url = {https://openreview.net/forum?id=BmR48Tbxu6S},
}
Figure