Unsupervised Transductive Domain Adaptation

Ozan Sener, Hyun Oh Song, Ashutosh Saxena, Silvio SavaresearXiv 2016

Abstract

Supervised learning with large scale labeled datasets and deep layered models has made a paradigm shift in diverse areas in learning and recognition. However, this approach still suffers generalization issues under the presence of a domain shift between the training and the test data distribution. In this regard, unsupervised domain adaptation algorithms have been proposed to directly address the domain shift problem. In this paper, we approach the problem from a transductive perspective. We incorporate the domain shift and the transductive target inference into our framework by jointly solving for an asymmetric similarity metric and the optimal transductive target label assignment. We also show that our model can easily be extended for deep feature learning in order to learn features which are discriminative in the target domain. Our experiments show that the proposed method significantly outperforms state-of-the-art algorithms in both object recognition and digit classification experiments by a large margin.

Introduction

Deep learning models are notoriously brittle when faced with domain shift—the phenomenon where a model trained on a source dataset performs poorly on a different but related target dataset. A classic example is a digit classifier trained on clean MNIST images failing when applied to real-world Street View House Numbers (SVHN).

Standard Unsupervised Domain Adaptation (UDA) typically seeks a feature space where source and target distributions are identical, effectively forcing domain invariance. However, the authors of this paper argue that domain invariance alone does not guarantee that the resulting features are discriminative for classification in the target domain. Instead, they propose a transductive approach that directly incorporates the labeling of target data into the training process.

Methodology

The proposed framework alternates between two key stages to bridge the domain gap: transductive label assignment and asymmetric metric learning.

Transductive Labeling

Given a fixed model, the framework labels unlabeled target data using a k-Nearest Neighbor (k-NN) graph and label propagation. By solving a discrete energy minimization problem, the model ensures label consistency: target images with high visual similarity are encouraged to share the same label.

Figure 1: The transductive framework jointly optimizes for target labels and an asymmetric similarity metric between source and target domains.

Asymmetric Metric Learning

Once pseudo-labels are assigned to the target data, the model learns an asymmetric similarity metric ($s_W$). Unlike symmetric metrics, this explicitly models the transformation required to align source points with target points of the same class. A triplet loss variant is employed to ensure a source image is more similar to its nearest target neighbor of the same class than to neighbors of different classes. This loss is backpropagated through a Convolutional Neural Network (CNN) to learn deep, discriminative features.

Experiments and Results

The method was evaluated on challenging digit classification tasks (MNIST, SVHN, MNIST-M) and object recognition (Office dataset).

Quantitative Performance

The proposed method achieved significant gains over state-of-the-art (SOTA) techniques:

  • MNIST → SVHN: Reached 32.3% accuracy, surpassing the previous SOTA of 28.9%.
  • MNIST → MNIST-M: Achieved 83.5% accuracy, a major improvement over the 73.2% achieved by previous backpropagation-based methods.
  • Office (Amazon → Webcam): Achieved 80.4% accuracy, compared to the previous best of 73.0%.

Qualitative Analysis

Qualitatively, the learned similarity metric effectively identifies correct neighbors across domains despite drastic visual differences. This demonstrates that the model successfully maps both domains to a shared conceptual space.

Figure 3: Qualitative results showing MNIST source digits (left) and their corresponding nearest neighbors in the SVHN target domain (right) retrieved using the learned asymmetric metric.

Discussion and Conclusion

A key insight of this work is the preference for equivariance over simple invariance. By using an asymmetric metric, the model explains domain differences rather than ignoring them. This ensures that target features are naturally clustered by class, as evidenced by t-SNE visualizations in the original study.

While the method shows strong performance, it relies on k-NN density, making it less effective on very small datasets where neighbor estimates are noisy. Additionally, the computational cost of solving the transductive labeling problem at each iteration presents a scaling challenge for massive datasets. Future work may explore more complex graph-based consistency terms to further enhance robustness.

Summary updated

Abstract

Supervised learning with large scale labeled datasets and deep layered models has made a paradigm shift in diverse areas in learning and recognition. However, this approach still suffers generalization issues under the presence of a domain shift between the training and the test data distribution. In this regard, unsupervised domain adaptation algorithms have been proposed to directly address the domain shift problem. In this paper, we approach the problem from a transductive perspective. We incorporate the domain shift and the transductive target inference into our framework by jointly solving for an asymmetric similarity metric and the optimal transductive target label assignment. We also show that our model can easily be extended for deep feature learning in order to learn features which are discriminative in the target domain. Our experiments show that the proposed method significantly outperforms state-of-the-art algorithms in both object recognition and digit classification experiments by a large margin.
BibTeX
@misc{sener2016unsupervised,
  author = {Ozan Sener and Hyun Oh Song and Ashutosh Saxena and Silvio Savarese},
  title = {{Unsupervised Transductive Domain Adaptation}},
  year = {2016},
  eprint = {1602.03534},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1602.03534},
}
Figure