Experiments performed for the NIPS 2018 Continual Learning Workshop.
Submission to the NIPS 2018 Workshop on Continual Learning. We will update information about the approach and the paper here in case of an acceptance at the workshop.
This repository contains code to reproduce our two main experiments:
digits
: Supervised domain adaptation between digit benchmark datasets. We evaluate the idea of “structural learning” for adaptation
between small digit datasetsnoise
: Supervised and Unsupervised adaptation between noisy datasets. We apply the same idea on the problem of adaptation to noisy
datasets and compare our results to the performance of various domain adaptation algorithms.In case you use code from this repository in your own work, please refer to our paper at the NIPS 2018 Continual Learning Workshop:
@misc{Schneider2018,
title={Multi-Task Generalization and Adaptation between Noisy Digit Datasets: An Empirical Study},
author={Schneider, Steffen and Ecker, Alexander S. and Macke, Jakob H. and Bethge, Matthias},
year={2018},
url={https://sites.google.com/view/continual2018}
}
Depending on which functionality you use, you might also have a look at the salad toolbox for domain adaptation and transfer learning:
@misc{schneider2018salad,
title={Salad: A Toolbox for Semi-supervised Adaptive Learning Across Domains},
author={Schneider, Steffen and Ecker, Alexander S. and Macke, Jakob H. and Bethge, Matthias},
year={2018},
url={https://openreview.net/forum?id=S1lTifykqm}
}
We provide pre-trained models and training logs to check our evaluation scheme, available here: (my.hidrive.com/share/dv2s1es8vo](https://my.hidrive.com/share/dv2s1es8vo)
You need a working PyTorch installation.
We used version 0.4.0, but more recent versions might work as well.
Apart from that, install salad
and clone this repository:
pip install torch-salad
git clone git@github.com:stes/nips2018-continual.git
train_digits
)Train the multi-task adaptation model on the four small digit benchmarks MNIST, SVHN, SYNTH and USPS. All images are upsampled to dimensions 32x32 and converted to 3 channel RGB images.
train_noise_white
)datasets_white
eval_white
train_noise_snp
)datasets_snp
eval_snp
train_noise_mixed
)datasets_mixed
eval_mixed
solver
, analysis
)solver
analysis
Makes use of & extends the salad
library for adaptive learning: salad.domainadaptation.org.
We will gradually merge our experimental setups into salad
.
Maintained by Steffen Schneider.