Skip to main content
QUICK REVIEW

[Paper Review] Undersampling is a Minimax Optimal Robustness Intervention in Nonparametric Classification

Niladri S. Chatterji, Saminul Haque|arXiv (Cornell University)|May 26, 2022
Face and Expression RecognitionComputer Science7 citations
TL;DR

This paper establishes that undersampling is minimax optimal for robust nonparametric binary classification under label shift and group-covariate shift, proving that model performance is fundamentally constrained by minority group sample size. It shows that no algorithm can outperform undersampling unless there is high distributional overlap or additional structural assumptions, with theoretical lower bounds confirming this limitation is inherent to data scarcity in minority groups.

ABSTRACT

While a broad range of techniques have been proposed to tackle distribution shift, the simple baseline of training on an $ extit{undersampled}$ balanced dataset often achieves close to state-of-the-art-accuracy across several popular benchmarks. This is rather surprising, since undersampling algorithms discard excess majority group data. To understand this phenomenon, we ask if learning is fundamentally constrained by a lack of minority group samples. We prove that this is indeed the case in the setting of nonparametric binary classification. Our results show that in the worst case, an algorithm cannot outperform undersampling unless there is a high degree of overlap between the train and test distributions (which is unlikely to be the case in real-world datasets), or if the algorithm leverages additional structure about the distribution shift. In particular, in the case of label shift we show that there is always an undersampling algorithm that is minimax optimal. In the case of group-covariate shift we show that there is an undersampling algorithm that is minimax optimal when the overlap between the group distributions is small. We also perform an experimental case study on a label shift dataset and find that in line with our theory, the test accuracy of robust neural network classifiers is constrained by the number of minority samples.

Motivation & Objective

  • To investigate why undersampling—despite discarding data—often achieves state-of-the-art robustness in distribution shift settings.
  • To determine whether the performance of robust learning algorithms is fundamentally constrained by the number of minority group samples.
  • To establish minimax optimality of undersampling in nonparametric binary classification under label shift and group-covariate shift.
  • To derive theoretical lower bounds on minimax excess risk that depend only on minority sample size $n_{\mathsf{min}}$.
  • To validate the theory experimentally on label shift datasets, showing test accuracy is constrained by minority sample count.

Proposed method

  • Analyzes nonparametric binary classification with Lipschitz-continuous class-conditional densities under label shift and group-covariate shift.
  • Derives a minimax lower bound on excess risk that depends only on the minority group sample size $n_{\mathsf{min}}$, showing fundamental performance limits.
  • Proves that undersampling achieves minimax optimality in label shift when the overlap between training and test distributions is low.
  • Uses a VC-dimension-based analysis to bound the risk of any measurable classifier, incorporating Massart noise margin $h$ and distribution complexity $V$.
  • Empirically evaluates undersampled models on a modified CIFAR10 dataset with class imbalance, comparing to VS loss, tilted loss, and Group-DRO.
  • Uses a ResNet-50 architecture trained with SGD for 800 epochs, with hyperparameters tuned from prior work.

Experimental results

Research questions

  • RQ1Is the performance of robust learning algorithms fundamentally limited by the number of minority group samples in distribution shift settings?
  • RQ2Can any algorithm outperform undersampling under label shift without additional structural assumptions about the shift?
  • RQ3Under what conditions is undersampling minimax optimal in nonparametric classification?
  • RQ4How does the minimax excess risk scale with minority sample size $n_{\mathsf{min}}$ in the presence of distribution shift?
  • RQ5To what extent does empirical performance on benchmark datasets reflect the theoretical limits derived from minimax analysis?

Key findings

  • The minimax excess risk in label shift is lower bounded by a term that scales as $1/n_{\mathsf{min}}^{1/2}$, proving that performance is fundamentally constrained by minority sample size.
  • Undersampling is minimax optimal in label shift when the overlap between train and test distributions is low, meaning no other algorithm can achieve better worst-case performance.
  • In group-covariate shift, undersampling is minimax optimal when the overlap between group distributions is small, indicating robustness under structural assumptions.
  • On the CelebA dataset, undersampling achieved 85.6% worst-group accuracy, matching the best method (gDRO) within 1.3 percentage points despite discarding 97% of training data.
  • On the MultiNLI dataset, undersampling achieved 68.9% worst-group accuracy, slightly below the best method (gDRO) at 78.0%, but still within 9.1 percentage points.
  • Experiments confirm that worst-group accuracy of robust neural networks is constrained by the number of minority samples, validating the theoretical lower bound.

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.