Zero-Shot Deep Domain Adaptation

Kuan-Chuan Peng, Ziyan Wu, Jan Ernst

Zero-Shot Deep Domain Adaptation

Introduction: The Challenge of Domain Shift

Machine learning models often suffer from performance degradation when deployed in environments that differ from their training data—a phenomenon known as domain shift. For instance, a digit classifier trained on clean grayscale images (source domain) typically fails when presented with noisy color images (target domain).

While traditional Domain Adaptation (DA) techniques mitigate this by incorporating target-domain data during training, such data is often unavailable in real-world scenarios due to privacy concerns, regulatory restrictions, or rapid deployment timelines. Zero-Shot Deep Domain Adaptation (ZDDA) addresses this gap, enabling models to adapt to a target domain without ever seeing task-specific samples from it.

Conceptual overview of ZDDA, illustrating the use of task-irrelevant dual-domain pairs to bridge the gap between source and target domains for a specific task.

Methodology: Leveraging Task-Irrelevant Data

The fundamental innovation of ZDDA is the use of privileged information from "task-irrelevant" (T-I) dual-domain pairs. If the goal is to adapt a digit classifier from grayscale to color but no color digits are available, ZDDA uses color/grayscale pairs of unrelated objects (e.g., clothing from Fashion-MNIST) to learn the underlying transformation between the two domains.

The ZDDA training procedure is structured into three distinct phases:

  1. Simulate Target Representation: Using T-I pairs, a source-domain CNN is trained to "mimic" the feature representations of a target-domain CNN. This step captures the structural relationship between the domains.
  2. Domain Adaptation: The model is then trained on the actual "task-of-interest" (TOI) using source-domain data. By sharing weights with the mimicry network from Step 1, the model learns a source representation that naturally aligns with the target domain's feature space.
  3. Sensor Fusion: For multi-modal applications (e.g., RGB and Depth), ZDDA can fuse sensors by "hallucinating" target representations when actual target data is noisy or missing, ensuring robust performance.
The three-step ZDDA training procedure: simulating target representation, performing domain adaptation with shared weights, and optional sensor fusion.

Experimental Evaluation

The authors validated ZDDA across several benchmarks, including MNIST/MNIST-M (digits), Fashion-MNIST (clothing), and the SUN RGB-D scene-understanding dataset. To simulate zero-shot conditions, they used one dataset (e.g., Fashion-MNIST) as task-irrelevant data to adapt a model for a different task (e.g., MNIST digit recognition).

Key Results:

  • Competitive Accuracy: On the MNIST $\rightarrow$ MNIST-M task, ZDDA achieved 94.84% accuracy. This performance is comparable to state-of-the-art methods that require access to target-domain training data (which range from 76.6% to 98.2%).
  • Significant Baseline Improvements: ZDDA consistently outperformed "Source Only" models. In a NIST $\rightarrow$ NIST-M letter recognition task, accuracy improved from a baseline of 8.59% to 34.25%.
  • Robustness to Noise: In scene classification (SUN RGB-D), ZDDA demonstrated superior resilience to sensor noise. By "hallucinating" clean representations, the model maintained high accuracy even when primary sensors (like RGB) were corrupted.

Insights and Future Directions

A critical finding of this research is that semantic similarity between the task-irrelevant data and the task-of-interest improves adaptation. Using word2vec analysis, the authors showed that more related data yields better results, though even highly unrelated data provides a significant performance boost over no adaptation.

Despite its success, ZDDA requires paired samples for the task-irrelevant data, which may be difficult to obtain in certain specialized fields. Future work aims to extend ZDDA to more abstract domain shifts, such as varying weather conditions or camera perspectives, and to industrial applications like adapting models trained on CAD data to real-world imagery.

Summary updated

BibTeX
@inproceedings{peng2018zero,
  author = {Kuan-Chuan Peng and Ziyan Wu and Jan Ernst},
  title = {{Zero-Shot Deep Domain Adaptation}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01252-6\_47},
}
Figure