Rethinking Distribution Shifts: Empirical Analysis and Inductive Modeling for Tabular Data

Tianyu Wang, Jiashuo Liu, Peng Cui, Hongseok Namkoong
7/11/2023
12 citations
cs.LGcs.AI

Official code: namkoong-lab/whyshift (62 stars, Jupyter Notebook, last commit 2023-11-27).

Abstract

Different distribution shifts require different interventions, and algorithms must be grounded in the specific shifts they address. However, methodological development for robust algorithms typically relies on structural assumptions that lack empirical validation.

Show full abstract

Advocating for an empirically grounded data-driven approach to algorithm development, we build an empirical testbed comprising natural shifts across 8 tabular datasets, 172 distribution pairs over 45 methods and 90,000 method configurations encompassing empirical risk minimization and distributionally robust optimization (DRO) methods. We find $Y|X$-shifts are most prevalent in our testbed, in stark contrast to the heavy focus on $X$ (covariate)-shifts in the ML literature, and that the performance of robust algorithms is no better than that of vanilla methods. To understand why, we conduct an in-depth empirical analysis of DRO methods and find that underlooked implementation details -- such as the choice of underlying model class (e.g., LightGBM) and hyperparameter selection -- have a bigger impact on performance than the ambiguity set or its radius. We illustrate via case studies how a data-driven, inductive understanding of distribution shifts can provide a new approach to algorithm development.

View on arXivView PDF

Code Implementations(1)

A python package providing a benchmark with various specified distribution shift patterns.

624Jupyter Notebook, PythonJul 11, 20233 years agoNOASSERTION
benchmarkdistribution-shiftmachine-learning

Similar Papers

Cite this paper

@article{wang2023rethinking,
  title  = {Rethinking Distribution Shifts: Empirical Analysis and Inductive Modeling for Tabular Data},
  author = {Tianyu Wang and Jiashuo Liu and Peng Cui and Hongseok Namkoong},
  year   = {2023},
  eprint = {2307.05284},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.05284v5}
}

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

Discussion