Domain-Adversarial Training of Neural Networks

Yaroslav Ganin, Evgeniya Ustinova, Hana Ajakan, Pascal Germain, Hugo Larochelle +3 more
5/28/2015
12,806 citations
stat.MLcs.LGcs.NE

No official code found. Best implementation: fungtion/DANN (949 stars). 4 more below.

Abstract

We introduce a new representation learning approach for domain adaptation, in which data at training and test time come from similar but different distributions. Our approach is directly inspired by the theory on domain adaptation suggesting that, for effective domain transfer to be achieved, predictions must be made based on features that cannot discriminate between the training (source) and test (target) domains.

Show full abstract

The approach implements this idea in the context of neural network architectures that are trained on labeled data from the source domain and unlabeled data from the target domain (no labeled target-domain data is necessary). As the training progresses, the approach promotes the emergence of features that are (i) discriminative for the main learning task on the source domain and (ii) indiscriminate with respect to the shift between the domains. We show that this adaptation behaviour can be achieved in almost any feed-forward model by augmenting it with few standard layers and a new gradient reversal layer. The resulting augmented architecture can be trained using standard backpropagation and stochastic gradient descent, and can thus be implemented with little effort using any of the deep learning packages. We demonstrate the success of our approach for two distinct classification problems (document sentiment analysis and image classification), where state-of-the-art domain adaptation performance on standard benchmarks is achieved. We also validate the approach for descriptor learning task in the context of person re-identification application.

View on arXivView PDF

Code Implementations(5)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
fungtion/DANNCommunity949–––
NaJaeMin92/pytorch-DANNCommunity156–––
ShichengChen/Domain-Adversarial-Training-of-Neural-NetworksCommunity59–––
ajgallego/DANNCommunity12–––
enpko52/pytorch_DANNCommunity10–––
fungtion/DANNCommunity25%

pytorch implementation of Domain-Adversarial Training of Neural Networks

949160

PyTorch implementation of DANN (Domain-Adversarial Training of Neural Networks)

15627

implement Domain-Adversarial Training of Neural Networks

5917
ajgallego/DANNCommunity25%

Keras implementation of Domain-Adversarial Training of Neural Networks (DANN)

124

The PyTorch implementation of DANN (Domain-Adversarial Training of Neural Networks).

102

Similar Papers

Cite this paper

@article{ganin2015domainadversarial,
  title  = {Domain-Adversarial Training of Neural Networks},
  author = {Yaroslav Ganin and Evgeniya Ustinova and Hana Ajakan and Pascal Germain and Hugo Larochelle and François Laviolette and Mario Marchand and Victor Lempitsky},
  year   = {2015},
  eprint = {1505.07818},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1505.07818}
}

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/1505.07818.svg)](https://codeofpaper.com/paper/1505.07818)

Discussion