A DIRT-T Approach to Unsupervised Domain Adaptation
Abstract
Domain adaptation refers to the problem of leveraging labeled data in a source domain to learn an accurate model in a target domain where labels are scarce or unavailable. A recent approach for finding a common representation of the two domains is via domain adversarial training (Ganin & Lempitsky, 2015), which attempts to induce a feature extractor that matches the source and target feature distributions in some feature space. However, domain adversarial training faces two critical limitations: 1) if the feature extraction function has high-capacity, then feature distribution matching is a weak constraint, 2) in non-conservative domain adaptation (where no single classifier can perform well in both the source and target domains), training the model to do well on the source domain hurts performance on the target domain. In this paper, we address these issues through the lens of the cluster assumption, i.e., decision boundaries should not cross high-density data regions. We propose two novel and related models: 1) the Virtual Adversarial Domain Adaptation (VADA) model, which combines domain adversarial training with a penalty term that punishes the violation the cluster assumption; 2) the Decision-boundary Iterative Refinement Training with a Teacher (DIRT-T) model, which takes the VADA model as initialization and employs natural gradient steps to further minimize the cluster assumption violation. Extensive empirical results demonstrate that the combination of these two models significantly improve the state-of-the-art performance on the digit, traffic sign, and Wi-Fi recognition domain adaptation benchmarks.
Empirical ResultsBrowse all benchmarks →
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| MNIST-SVHN · MNIST → SVHN | DIRT-T (W.I.N.I.; with instance-normalized input) | accuracy | 76.5% | input-normalization=instance-normalizedSource quoteL175: MNIST \leftrightarrow SVHN. The distribution shift is exacerbated when adapting between MNIST and SVHN. Whereas MNIST consists of black-and-white handwritten digits, SVHN consists of crops of colored, street house numbers. Because MNIST has a significantly lower intrinsic dimensionality that SVHN, the adaptation from MNIST \to SVHN is especially challenging when the input is not pre-processed via instance normalization. When instance normalization is applied, we achieve a strong state-of-the-art performance 76.5% and an equally impressive margin-of-improvement over source-only of 35.6%. Interestingly, by reducing the refinement interval B and taking noisier natural gradient steps, we were occasionally able to achieve accuracies as high as 87%. However, due to the high-variance associated with this, we omit reporting this configuration in \cref{table:accuracy}. |
| STL → CIFAR | DIRT-T | accuracy | 73.3% | classes=9 · excluded-classes=frog, monkeySource quoteL181: STL \leftrightarrow CIFAR. Both STL-10 and CIFAR-10 are 10-class image datasets. These two datasets contain nine overlapping classes. Following the procedure in \cite{french2017selfensembling}, we removed the non-overlapping classes (``frog'' and ``monkey'') and reduce to a 9-class classification problem. We achieve state-of-the-art performance in both adaptation directions. In STL \to CIFAR, we achieve a 11.7% margin-of-improvement and a performance accuracy of 73.3%. Note that because STL-10 contains a very small training set, it is difficult to estimate the conditional entropy, thus making DIRT-T unreliable for CIFAR \to STL. |
BibTeX
@inproceedings{shu2018dirt,
author = {Rui Shu and Hung H. Bui and Hirokazu Narui and Stefano Ermon},
title = {{A DIRT-T Approach to Unsupervised Domain Adaptation}},
booktitle = {International Conference on Learning Representations},
year = {2018},
url = {https://openreview.net/forum?id=H1q-TM-AW},
}Ask Althea to put this paper to the test.