Robust Learning with Progressive Data Expansion Against Spurious Correlation
About
While deep learning models have shown remarkable performance in various tasks, they are susceptible to learning non-generalizable spurious features rather than the core features that are genuinely correlated to the true label. In this paper, beyond existing analyses of linear models, we theoretically examine the learning process of a two-layer nonlinear convolutional neural network in the presence of spurious features. Our analysis suggests that imbalanced data groups and easily learnable spurious features can lead to the dominance of spurious features during the learning process. In light of this, we propose a new training algorithm called PDE that efficiently enhances the model's robustness for a better worst-group performance. PDE begins with a group-balanced subset of training data and progressively expands it to facilitate the learning of the core features. Experiments on synthetic and real-world benchmark datasets confirm the superior performance of our method on models such as ResNets and Transformers. On average, our method achieves a 2.8% improvement in worst-group accuracy compared with the state-of-the-art method, while enjoying up to 10x faster training efficiency. Codes are available at https://github.com/uclaml/PDE.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Classification | CelebA (test) | Average Accuracy55 | 92 | |
| Image Classification | CMNIST (test) | Test Accuracy1.3 | 55 | |
| Classification | Waterbirds (test) | Test Accuracy57.1 | 15 | |
| Image Classification | CelebA original unshifted | Worst Acc91 | 10 | |
| Image Classification | Waterbirds original unshifted | Worst Accuracy90.3 | 10 | |
| Image Classification | CMNIST original unshifted | Worst Accuracy72.6 | 9 | |
| Image Classification | Shifted CMNIST | Worst Accuracy65.3 | 5 | |
| Image Classification | Waterbirds (shifted) | Worst Accuracy84.4 | 5 | |
| Image Classification | Shifted CelebA | Worst Accuracy56.3 | 5 |