Diagnosing Model Performance Under Distribution Shift

Tiffany Tianhui Cai, Hongseok Namkoong, Steve Yadlowsky
3/3/2023
55 citations
stat.MLcs.LG

Official code: namkoong-lab/disde (8 stars, Jupyter Notebook, last commit 2023-06-25). 1 more implementation below.

Abstract

Prediction models can perform poorly when deployed to target distributions different from the training distribution. To understand these operational failure modes, we develop a method, called DIstribution Shift DEcomposition (DISDE), to attribute a drop in performance to different types of distribution shifts.

Show full abstract

Our approach decomposes the performance drop into terms for 1) an increase in harder but frequently seen examples from training, 2) changes in the relationship between features and outcomes, and 3) poor performance on examples infrequent or unseen during training. These terms are defined by fixing a distribution on $X$ while varying the conditional distribution of $Y \mid X$ between training and target, or by fixing the conditional distribution of $Y \mid X$ while varying the distribution on $X$. In order to do this, we define a hypothetical distribution on $X$ consisting of values common in both training and target, over which it is easy to compare $Y \mid X$ and thus predictive performance. We estimate performance on this hypothetical distribution via reweighting methods. Empirically, we show how our method can 1) inform potential modeling improvements across distribution shifts for employment prediction on tabular census data, and 2) help to explain why certain domain adaptation methods fail to improve model performance for satellite image classification.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
namkoong-lab/disdeOfficial8Jupyter Notebook–2023-06-25
Yoontae6719/Diagnosing-Model-Performance-Under-Distribution-ShiftCommunity7Jupyter NotebookMIT2023-07-09
namkoong-lab/disdeOfficial100%
80Jupyter Notebook, PythonJun 19, 20233 years ago
MIT

Unofficial Implementation of Diagnosing Model Performance Under Distribution Shift

70Jupyter Notebook, PythonJul 9, 20233 years agoMIT

Similar Papers

Cite this paper

@article{cai2023diagnosing,
  title  = {Diagnosing Model Performance Under Distribution Shift},
  author = {Tiffany Tianhui Cai and Hongseok Namkoong and Steve Yadlowsky},
  year   = {2023},
  eprint = {2303.02011},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.02011v4}
}

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

Discussion