HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Domain-Adversarial Training of Neural Networks

Yaroslav Ganin; Evgeniya Ustinova; Hana Ajakan; Pascal Germain; Hugo Larochelle; François Laviolette; Mario Marchand; Victor Lempitsky

Domain-Adversarial Training of Neural Networks

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. 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.

Code Repositories

vict0rsch/arxiv-pdf-abs
pytorch
Mentioned in GitHub
MarvinMartin24/MADA-PL
pytorch
Mentioned in GitHub
thuml/Transfer-Learning-Library
pytorch
Mentioned in GitHub
vcoyette/DANN
pytorch
Mentioned in GitHub
facebookresearch/DomainBed
pytorch
Mentioned in GitHub
asahi417/DeepDomainAdaptation
tf
Mentioned in GitHub
rpryzant/proxy-a-distance
Mentioned in GitHub
monkey0head/Domain_Adaptation_thesis
pytorch
Mentioned in GitHub
lywang12/cupi-domain
pytorch
Mentioned in GitHub
mashaan14/DANN-toy
pytorch
Mentioned in GitHub
tachitachi/GradientReversal
tf
Mentioned in GitHub
timgaripov/asa
pytorch
Mentioned in GitHub
vict0rsch/PaperMemory
pytorch
Mentioned in GitHub
vihari/crossgrad
tf
Mentioned in GitHub
gentlezhu/shift-robust-gnns
pytorch
Mentioned in GitHub
dv-fenix/Domain-Adaptation
pytorch
Mentioned in GitHub
erlendd/ddan
tf
Mentioned in GitHub
ShichengChen/WaveNetSeparateAudio
pytorch
Mentioned in GitHub
lywang12/cuti-domain
pytorch
Mentioned in GitHub
JorisRoels/domain-adaptive-segmentation
pytorch
Mentioned in GitHub
vict0rsch/ArxivTools
pytorch
Mentioned in GitHub
lzx6/pytorch_DA
pytorch
Mentioned in GitHub
antoinedemathelin/wann
tf
Mentioned in GitHub
sangdon/pac-ps-w
pytorch
Mentioned in GitHub
criteo-research/pytorch-ada
pytorch
Mentioned in GitHub
calico/scnym
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
domain-adaptation-on-mnist-to-mnist-mDANN [ganin2016domain]
Accuracy: 77.4
domain-adaptation-on-svnh-to-mnistDANN [ganin2016domain]
Accuracy: 70.7
domain-adaptation-on-synth-digits-to-svhnDANN [ganin2016domain]
Accuracy: 90.3
sentiment-analysis-on-multi-domain-sentimentDANN
Average: 76.26
Books: 71.43
DVD: 75.4
Electronics: 77.67
Kitchen: 80.53
synthetic-to-real-translation-on-syn2real-cDANN
Accuracy: 57.4
unsupervised-domain-adaptation-on-epicDANN
Average Accuracy: 39.2
unsupervised-domain-adaptation-on-hmdb-ucfDANN
Accuracy: 88.09
unsupervised-domain-adaptation-on-jester-1DANN
Accuracy: 55.4
unsupervised-domain-adaptation-on-office-homeDANN [cite:JMLR16RevGrad]
Accuracy: 76.8
unsupervised-domain-adaptation-on-ucf-hmdbDANN
Accuracy: 80.83

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Domain-Adversarial Training of Neural Networks | Papers | HyperAI