Wild-Time: A Benchmark of in-the-Wild Distribution Shift over Time

Huaxiu Yao, Caroline Choi, Bochuan Cao, Yoonho Lee, Pang Wei Koh +1 more
11/25/2022
cs.LG
benchmark-dataset

Official code: huaxiuyao/Wild-Time (69 stars, Python, MIT, last commit 2023-03-29).

Abstract

Distribution shift occurs when the test distribution differs from the training distribution, and it can considerably degrade performance of machine learning models deployed in the real world. Temporal shifts -- distribution shifts arising from the passage of time -- often occur gradually and have the additional structure of timestamp metadata.

Show full abstract

By leveraging timestamp metadata, models can potentially learn from trends in past distribution shifts and extrapolate into the future. While recent works have studied distribution shifts, temporal shifts remain underexplored. To address this gap, we curate Wild-Time, a benchmark of 5 datasets that reflect temporal distribution shifts arising in a variety of real-world applications, including patient prognosis and news classification. On these datasets, we systematically benchmark 13 prior approaches, including methods in domain generalization, continual learning, self-supervised learning, and ensemble learning. We use two evaluation strategies: evaluation with a fixed time split (Eval-Fix) and evaluation with a data stream (Eval-Stream). Eval-Fix, our primary evaluation strategy, aims to provide a simple evaluation protocol, while Eval-Stream is more realistic for certain real-world applications. Under both evaluation strategies, we observe an average performance drop of 20% from in-distribution to out-of-distribution data. Existing methods are unable to close this gap. Code is available at https://wild-time.github.io/.

View on arXivView PDF

Code Implementations(1)

MIT

Benchmark for Natural Temporal Distribution Shift (NeurIPS 2022)

697PythonJun 9, 20223 years agoMIT

Similar Papers

Cite this paper

@article{yao2022wildtime,
  title  = {Wild-Time: A Benchmark of in-the-Wild Distribution Shift over Time},
  author = {Huaxiu Yao and Caroline Choi and Bochuan Cao and Yoonho Lee and Pang Wei Koh and Chelsea Finn},
  year   = {2022},
  eprint = {2211.14238},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.14238}
}

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

Discussion