Skip to main content
QUICK REVIEW

[Paper Review] Wild-Time: A Benchmark of in-the-Wild Distribution Shift over Time

Huaxiu Yao, Caroline Choi|arXiv (Cornell University)|Nov 25, 2022
Machine Learning in HealthcareComputer Science21 citations
TL;DR

Wild-Time benchmarks temporally evolving distribution shifts across diverse real-world tasks and evaluates 13 methods; results show large ID-to-OOD drops and no consistent gains from invariant, self-supervised, or ensemble approaches over ERM.

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

Motivation & Objective

  • Assess how models degrade under gradual temporal distribution shifts using real-world datasets.
  • Provide a standardized benchmark with timestamped data and two evaluation protocols (Eval-Fix and Eval-Stream).
  • Evaluate a broad set of baselines (ERM, continual learning, invariant learning, self-supervised, and ensemble) on temporal robustness.

Proposed method

  • Curate 5 datasets with timestamped data reflecting temporal shifts across vision, healthcare, and NLP.
  • Propose two evaluation strategies: Eval-Fix (fixed train-test time split) and Eval-Stream (data stream of timestamps).
  • Adapt invariant learning methods to temporal domains by constructing a temporal robustness set via sliding windows to create domains.
  • Benchmark 13 approaches including ERM, Fine-tuning, EWC, SI, A-GEM, CORAL-T, IRM-T, GroupDRO-T, LISA, mixup, SimCLR, SwaV, and SWA.
  • Report accuracy or ROC-AUC as appropriate and compare ID vs. OOD performance.

Experimental results

Research questions

  • RQ1How large is the performance drop from in-distribution to out-of-distribution data under temporal shifts across multiple domains?
  • RQ2Do existing invariant learning, continual learning, self-supervised, or ensemble methods improve temporal robustness over standard ERM?
  • RQ3How do different evaluation protocols (Eval-Fix vs Eval-Stream) affect perceived temporal robustness and method efficacy?
  • RQ4Can timestamp metadata be effectively leveraged to construct temporal domains for invariant learning in unsegmented data streams?

Key findings

  • Across datasets, OOD performance substantially underperforms ID performance, indicating strong temporal distribution shift.
  • Invariant learning methods (CORAL-T, GroupDRO-T, IRM-T, LISA, mixup) rarely outperform ERM on Wild-Time tasks.
  • Incremental training methods improve some OOD metrics on certain datasets (e.g., arXiv, MIMIC-Readmission) but not consistently across tasks.
  • Self-supervised learning and ensemble methods do not show consistent benefits over ERM in temporal robustness.
  • In Eval-Stream, results largely align with Eval-Fix, underscoring persistent temporal robustness gaps.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.