Skip to main content
QUICK REVIEW

[Paper Review] Change is Hard: A Closer Look at Subpopulation Shift

Yuzhe Yang, Haoran Zhang|arXiv (Cornell University)|Feb 23, 2023
Explainable Artificial Intelligence (XAI)Computer Science11 citations
TL;DR

This paper introduces a unified framework for subpopulation shift, benchmarks 20 SOTA algorithms across 12 real-world datasets, and reveals that improvements are limited to certain shift types and that worst-class accuracy alone can guide model selection even without group annotations.

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.

Motivation & Objective

  • Formally define a unified, fine-grained framework for subpopulation shift across attribute and class components.
  • Create a realistic benchmark with 20 state-of-the-art methods and 12 diverse real-world datasets spanning vision, language, and healthcare.
  • Characterize how different subpopulation shift types manifest in practice and how algorithms perform under them.
  • Investigate metrics, data/validation attribute availability, and model selection strategies to understand evaluation under subpopulation shift.
  • Highlight practical tradeoffs between worst-group accuracy and other performance metrics to inform evaluation decisions.

Proposed method

  • Propose a generic framework that decomposes input into an invariant core (x_core) and attributes (a), enabling PMI-based attribution and an attribute/class bias decomposition.
  • Define four basic shift types (spurious correlations, attribute imbalance, class imbalance, attribute generalization) and quantify their presence via mutual information and entropy metrics.
  • Construct a benchmark of 12 real-world datasets across vision, language, and healthcare, with 20 SOTA algorithms spanning ERM, subgroup robust methods, data augmentation, domain-invariant features, and imbalanced-learning techniques.
  • Systematically evaluate across three attribute availability settings (known in training/validation, known only in validation, unknown in both) and multiple model selection strategies.
  • Train and evaluate over 10,000 models to compare worst-group gains and other metrics, using worst-class accuracy as a robust selection criterion when group labels are unavailable.

Experimental results

Research questions

  • RQ1What are the fundamental subpopulation shift components that explain performance drops across datasets?
  • RQ2How do current SOTA algorithms perform across diverse shift types when attributes are unknown at training/validation?
  • RQ3Can simple, group-agnostic model selection criteria (e.g., worst-class accuracy) match or approach group-informed selections?
  • RQ4What is the tradeoff between worst-group accuracy and other important metrics under realistic subpopulation shifts?
  • RQ5To what extent do representation and classifier strategies decouple performance under different shift types?

Key findings

  • Existing algorithms improve subgroup robustness mainly for spurious correlations and class imbalance, with limited gains for attribute imbalance and essentially no progress for attribute generalization.
  • Decoupling representation learning from classifier learning yields notable gains across several shifts, whereas ERM-based features are not universally sufficient for subpopulation shift.
  • When training attributes are unavailable in validation, worst-class accuracy becomes a surprisingly effective model selection criterion, with average performance loss typically below 2% compared to oracle group-based selection.
  • There is a fundamental tradeoff between worst-group accuracy and other metrics like worst-case precision and calibration, suggesting the need to rethink evaluation practices beyond WGA.
  • Across datasets, the degree and type of shift vary, underscoring the need for fine-grained shift analysis and adaptable benchmarking.
  • Stratified balanced learning helps for some shifts (SC, CI) but not for attribute generalization, highlighting intrinsic limitations of current SOTA methods under diverse shifts.

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.