When Does Group Invariant Learning Survive Spurious Correlations?

Yimeng Chen, Ruibin Xiong, Zhiming Ma, Yanyan Lan
6/29/2022
cs.LGstat.ML

Official code: Beastlyprime/group-invariant-learning (5 stars, Python, last commit 2022-10-11).

Abstract

By inferring latent groups in the training data, recent works introduce invariant learning to the case where environment annotations are unavailable. Typically, learning group invariance under a majority/minority split is empirically shown to be effective in improving out-of-distribution generalization on many datasets.

Show full abstract

However, theoretical guarantee for these methods on learning invariant mechanisms is lacking. In this paper, we reveal the insufficiency of existing group invariant learning methods in preventing classifiers from depending on spurious correlations in the training set. Specifically, we propose two criteria on judging such sufficiency. Theoretically and empirically, we show that existing methods can violate both criteria and thus fail in generalizing to spurious correlation shifts. Motivated by this, we design a new group invariant learning method, which constructs groups with statistical independence tests, and reweights samples by group label proportion to meet the criteria. Experiments on both synthetic and real data demonstrate that the new method significantly outperforms existing group invariant learning methods in generalizing to spurious correlation shifts.

View on arXivView PDF

Code Implementations(1)

51Python, ShellOct 11, 20224 years ago

Similar Papers

Cite this paper

@article{chen2022when,
  title  = {When Does Group Invariant Learning Survive Spurious Correlations?},
  author = {Yimeng Chen and Ruibin Xiong and Zhiming Ma and Yanyan Lan},
  year   = {2022},
  eprint = {2206.14534},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.14534}
}

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

Discussion