Adaptive Risk Minimization: Learning to Adapt to Domain Shift

Marvin Zhang, Henrik Marklund, Nikita Dhawan, Abhishek Gupta, Sergey Levine +1 more
7/6/2020
cs.LGstat.ML

Official code: henrikmarklund/arm (83 stars, MIT, last commit 2023-11-23).

Abstract

A fundamental assumption of most machine learning algorithms is that the training and test data are drawn from the same underlying distribution. However, this assumption is violated in almost all practical applications: machine learning systems are regularly tested under distribution shift, due to changing temporal correlations, atypical end users, or other factors. In this work, we consider the problem setting of domain generalization, where the training data are structured into domains and there may be multiple test time shifts, corresponding to new domains or domain distributions. Most prior methods aim to learn a single robust model or invariant feature space that performs well on all domains. In contrast, we aim to learn models that adapt at test time to domain shift using unlabeled test points. Our primary contribution is to introduce the framework of adaptive risk minimization (ARM), in which models are directly optimized for effective adaptation to shift by learning to adapt on the training domains. Compared to prior methods for robustness, invariance, and adaptation, ARM methods provide performance gains of 1-4% test accuracy on a number of image classification problems exhibiting domain shift.

View on arXivView PDF

Code Implementations(1)

henrikmarklund/armOfficial100%
MIT
8324Shell, PythonJul 6, 20202 years agoMIT

Cite this paper

@article{zhang2020adaptive,
  title  = {Adaptive Risk Minimization: Learning to Adapt to Domain Shift},
  author = {Marvin Zhang and Henrik Marklund and Nikita Dhawan and Abhishek Gupta and Sergey Levine and Chelsea Finn},
  year   = {2020},
  eprint = {2007.02931},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.02931}
}

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

Discussion