Change is Hard: A Closer Look at Subpopulation Shift

Yuzhe Yang, Haoran Zhang, Dina Katabi, Marzyeh Ghassemi
2/23/2023
cs.LGcs.AIcs.CV

Official code: YyzHarry/SubpopBench (112 stars, MIT, last commit 2023-07-10).

Abstract

Machine learning models often perform poorly on subgroups that are underrepresented in the training data. Yet, little is understood on the variation in mechanisms that cause subpopulation shifts, and how algorithms generalize across such diverse shifts at scale. In this work, we provide a fine-grained analysis of subpopulation shift. We first propose a unified framework that dissects and explains common shifts in subgroups. We then establish a comprehensive benchmark of 20 state-of-the-art algorithms evaluated on 12 real-world datasets in vision, language, and healthcare domains. With results obtained from training over 10,000 models, we reveal intriguing observations for future progress in this space. First, existing algorithms only improve subgroup robustness over certain types of shifts but not others. Moreover, while current algorithms rely on group-annotated validation data for model selection, we find that a simple selection criterion based on worst-class accuracy is surprisingly effective even without any group information. Finally, unlike existing works that solely aim to improve worst-group accuracy (WGA), we demonstrate the fundamental tradeoff between WGA and other important metrics, highlighting the need to carefully choose testing metrics. Code and data are available at: https://github.com/YyzHarry/SubpopBench.

View on arXivView PDF

Code Implementations(1)

MIT

[ICML 2023] Change is Hard: A Closer Look at Subpopulation Shift

11221PythonFeb 22, 20233 years agoMIT
benchmarkclass-imbalancedomain-generalizationicmlicml-2023+7 more

Similar Papers

Cite this paper

@article{yang2023change,
  title  = {Change is Hard: A Closer Look at Subpopulation Shift},
  author = {Yuzhe Yang and Haoran Zhang and Dina Katabi and Marzyeh Ghassemi},
  year   = {2023},
  eprint = {2302.12254},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.12254v3},
  journal = {ICML 2023 2023}
}

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

Discussion