TL;DR
Neural networks trained with standard Empirical Risk Minimization (ERM) are surprisingly good at learning "core" features, even when they rely on spurious shortcuts for prediction. By simply retraining the final classification layer on a small, balanced dataset—a technique called Deep Feature Reweighting (DFR)—researchers achieved state-of-the-art robustness, proving that model architecture and pre-training matter far more than specialized robust training algorithms.
What Problem Does This Paper Address?
Deep learning models are notorious for taking the "path of least resistance." If a dataset contains a spurious correlation—like most "waterbird" photos having a lake background—the model will learn to identify the water rather than the bird. This leads to a "simplicity bias" where the model ignores the difficult-to-learn "core" features (the bird's anatomy) in favor of easy "spurious" features (the background).
When these models encounter a "minority group" (e.g., a waterbird on land), their performance collapses. The prevailing wisdom was that we needed complex, specialized training methods (like Group Distributionally Robust Optimization) to force models to ignore these shortcuts. This paper asks a fundamental question: Do models fail to learn core features, or do they simply fail to use them?
Methods
The authors utilize Deep Feature Reweighting (DFR) as a diagnostic and corrective tool. The process is elegantly simple:
- Standard Training: Train a model using basic ERM (no special robustness tricks).
- Feature Extraction: Treat the trained model as a fixed feature extractor, discarding the final classification layer.
- Last-Layer Retraining: Train a new linear classifier on top of these fixed features using a small, group-balanced subset of data where the spurious correlation is broken.
By comparing ERM-trained features to those from specialized "robust" methods, the authors could isolate whether the benefit of robust methods comes from better feature learning or just better weighting of existing features. They also conducted a massive sweep across different architectures (ResNets, ConvNext, ViTs) and pre-training strategies (ImageNet-1k, 22k, self-supervised) to see what actually drives feature quality.
Datasets
The study evaluates performance across several benchmarks known for spurious correlations:
- Vision: Waterbirds (land vs. water backgrounds), CelebA (predicting blond hair where gender is a spurious cue), WILDS-FMOW (satellite imagery with regional shifts), and CXR-14 (chest X-rays where medical equipment can act as a shortcut).
- NLP: MultiNLI (detecting logical relationships where negation words are spurious) and CivilComments (toxicity detection with demographic biases).
Key Insights and Ideas
- ERM is a "Hidden" Master: Standard ERM actually learns high-quality representations of core features. The reason it fails on minority groups isn't because it's "blind" to the right features, but because the final layer assigns too much weight to the easy spurious ones.
- The "Algorithm" is Overrated: Specialized group robustness methods (like Group DRO) don't actually learn better features than ERM. Their performance gains are almost entirely explained by better weighting in the final layer.
- Architecture > Training Method: Moving from an older architecture like ResNet-50 to a modern one like ConvNext, or using better pre-training (ImageNet-22k), provides a much larger boost to robustness than any specialized training algorithm.
- Generalization is the Best Defense: There is a strong linear correlation between a model's standard in-distribution accuracy and its potential for robustness. If a model generalizes well on the average case, it likely has the "hidden gems" (core features) needed for the worst-case groups.
Key Results
By combining simple ERM with DFR and modern architectures, the authors set new state-of-the-art records for Worst-Group Accuracy (WGA):
- Waterbirds: Achieved 97% WGA (up from previous benchmarks in the 90-91% range).
- CelebA: Achieved 92% WGA.
- WILDS-FMOW: Achieved 50% WGA.
Crucially, they showed that for some datasets like Waterbirds, a strong pre-trained model (like ConvNext-XL) already contains almost all the necessary core features before it even sees the target training data.
Limitations and Future Work
- Requirement for Group Labels: DFR requires a small set of data with group labels (e.g., knowing which birds are on which backgrounds) to retrain the last layer. While this set can be small, group labels are not always available in real-world settings.
- The "Why" remains elusive: While the paper proves ERM does learn core features, it doesn't fully explain why it does so despite the strong signal from spurious shortcuts.
- Future Directions: The authors suggest exploring "Rich Feature Construction"—finding ways to encourage models to learn an even more diverse set of features so that the core features are even easier to "unlock" during the reweighting phase.
Summary updated