Learning Representations that Support Robust Transfer of Predictors

Yilun Xu, Tommi Jaakkola
10/19/2021
29 citations
cs.LG

Official code: Newbeeer/TRM (20 stars, Python, last commit 2021-11-07).

Abstract

Ensuring generalization to unseen environments remains a challenge. Domain shift can lead to substantially degraded performance unless shifts are well-exercised within the available training environments.

Show full abstract

We introduce a simple robust estimation criterion -- transfer risk -- that is specifically geared towards optimizing transfer to new environments. Effectively, the criterion amounts to finding a representation that minimizes the risk of applying any optimal predictor trained on one environment to another. The transfer risk essentially decomposes into two terms, a direct transfer term and a weighted gradient-matching term arising from the optimality of per-environment predictors. Although inspired by IRM, we show that transfer risk serves as a better out-of-distribution generalization criterion, both theoretically and empirically. We further demonstrate the impact of optimizing such transfer risk on two controlled settings, each representing a different pattern of environment shift, as well as on two real-world datasets. Experimentally, the approach outperforms baselines across various out-of-distribution generalization tasks. Code is available at \url{https://github.com/Newbeeer/TRM}.

View on arXivView PDF

Code Implementations(1)

Newbeeer/TRMOfficial100%

Learning Representations that Support Robust Transfer of Predictors

202Python, ShellOct 17, 20215 years ago

Similar Papers

Cite this paper

@article{xu2021learning,
  title  = {Learning Representations that Support Robust Transfer of Predictors},
  author = {Yilun Xu and Tommi Jaakkola},
  year   = {2021},
  eprint = {2110.09940},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.09940}
}

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

Discussion