Introduction
Machine learning models are notoriously prone to learning "shortcuts"—technically known as spurious correlations. These are patterns that appear predictive within a training set but are irrelevant to the actual task at hand. A classic example is the "Waterbirds" dataset, where models often learn to identify a bird based on its background (water vs. land) rather than the physical characteristics of the bird itself.
When datasets are imbalanced, models naturally prioritize majority groups (e.g., waterbirds on water), leading to poor performance on minority groups (e.g., waterbirds on land). To measure this, researchers use Worst-Group Accuracy (WGA). While many complex algorithms have been proposed to improve WGA, most practitioners rely on simple class-balancing. This paper investigates why these standard fixes often fail and how model scaling interacts with these dynamics.
The Problem: Catastrophic Collapse
The authors identify a phenomenon they term "catastrophic collapse." In many finetuning scenarios, standard balancing techniques like upsampling (repeating minority samples) or upweighting (increasing their importance in the loss function) appear to work initially. However, as training progresses, the WGA often plummets. The model overfits the minority groups so severely that its ability to generalize to unseen test samples from those groups vanishes, even while training accuracy remains high.
Conversely, subsetting—the practice of removing majority class data to match the size of the minority—avoids this overfitting but introduces its own risks. Subsetting can inadvertently delete critical samples if the minority groups are nested within larger, more diverse majority classes, leading to a loss of useful feature information.
Proposed Method: Mixture Balancing
To address these failures, the authors propose Mixture Balancing. This hybrid approach functions in two stages:
- Moderate Subsetting: It creates a subset that reduces the dominance of majority classes without being as aggressive as standard subsetting.
- Adjusted Sampling: It then uses specific sampling probabilities to achieve a final balance.
By combining these techniques, Mixture Balancing prevents the catastrophic collapse seen in pure upsampling while retaining more data than pure subsetting. On the Waterbirds benchmark, this method achieved a WGA of ~81.1%, significantly outperforming standard upsampling, which often converged to a dismal ~50%.
The Interaction of Scaling and Robustness
A central question in modern AI is whether larger models are inherently more robust. This research provides a nuanced answer: scaling is beneficial, but its success is strictly dependent on data balancing.
When scaling from "Atto" to "Base" model sizes (using architectures like ConvNeXt-V2), the authors observed WGA improvements of up to 12% for interpolating models and a massive 40% for non-interpolating models—provided they were balanced correctly. Without proper balancing, larger models simply become more efficient at memorizing spurious correlations, failing to improve on the worst-performing groups.
Spectral Analysis of Feature Representations
To understand why minority groups are harder to learn, the authors performed a spectral analysis of the models' internal features. By examining the eigenvalues of the covariance matrices for different groups, they found that minority groups consistently exhibit a larger "spectral norm." In practical terms, this means the model's internal representation of minority groups is "noisier" and more spread out than its representation of majority groups, even when the training data is perfectly balanced. This suggests that the difficulty of group robustness is rooted in how models fundamentally structure their feature space.
Practical Implementation and Validation
One hurdle in improving group robustness is that calculating WGA usually requires expensive group labels (e.g., knowing exactly which images have land backgrounds). The authors demonstrate that Worst-Class Accuracy—which only requires standard class labels—serves as a surprisingly effective proxy for model selection. This finding makes robust finetuning much more accessible for real-world applications where detailed group annotations are unavailable.
Conclusion
The study concludes that the key to group robustness lies in the fine details of the finetuning process. While model scaling offers a path toward more robust systems, it is not a silver bullet. Practitioners must carefully manage data distribution through methods like Mixture Balancing to avoid catastrophic collapse and ensure that the benefits of larger architectures are shared across all sub-populations, not just the majority.
Summary updated