M-ADDA: Unsupervised Domain Adaptation with Deep Metric Learning

Issam Laradji, Reza Babanezhad
7/6/2018
cs.LGstat.ML

Official code: IssamLaradji/M-ADDA (112 stars, Python, PyTorch, last commit 2019-06-11).

Abstract

Unsupervised domain adaptation techniques have been successful for a wide range of problems where supervised labels are limited. The task is to classify an unlabeled `target' dataset by leveraging a labeled `source' dataset that comes from a slightly similar distribution.

Show full abstract

We propose metric-based adversarial discriminative domain adaptation (M-ADDA) which performs two main steps. First, it uses a metric learning approach to train the source model on the source dataset by optimizing the triplet loss function. This results in clusters where embeddings of the same label are close to each other and those with different labels are far from one another. Next, it uses the adversarial approach (as that used in ADDA \cite{2017arXiv170205464T}) to make the extracted features from the source and target datasets indistinguishable. Simultaneously, we optimize a novel loss function that encourages the target dataset's embeddings to form clusters. While ADDA and M-ADDA use similar architectures, we show that M-ADDA performs significantly better on the digits adaptation datasets of MNIST and USPS. This suggests that using metric-learning for domain adaptation can lead to large improvements in classification accuracy for the domain adaptation task. The code is available at \url{https://github.com/IssamLaradji/M-ADDA}.

View on arXivView PDF

Code Implementations(1)

PyTorch

Domain Adaptation Based on the Triplet Loss

11227Python, ShellJul 4, 20187 years ago
domain-adaptationpytorch

Similar Papers

Cite this paper

@article{laradji2018madda,
  title  = {M-ADDA: Unsupervised Domain Adaptation with Deep Metric Learning},
  author = {Issam Laradji and Reza Babanezhad},
  year   = {2018},
  eprint = {1807.02552},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.02552}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1807.02552.svg)](https://codeofpaper.com/paper/1807.02552)

Discussion